diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-12-13 15:17:06 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-12-13 15:16:31 +0000 |
| commit | 07522f013fe6e6aaad28c40247f11e6409477f64 (patch) | |
| tree | 2300b7c7fd8518da9d1e69119adced443bbaf947 /tools/syz-declextract/testdata | |
| parent | ce78f675cfb8aad794f186afa0f702c5ca4928c0 (diff) | |
pkg/declextract: change auto_todo type to int8
We use auto_todo type as an element of array for void*.
array[int8] is lowered to the buffer type, which is much
better handled by the fuzzer engine + closer resembles real blobs.
Diffstat (limited to 'tools/syz-declextract/testdata')
| -rw-r--r-- | tools/syz-declextract/testdata/file_operations.c.txt | 2 | ||||
| -rw-r--r-- | tools/syz-declextract/testdata/functions.c.txt | 2 | ||||
| -rw-r--r-- | tools/syz-declextract/testdata/io_uring.c.txt | 2 | ||||
| -rw-r--r-- | tools/syz-declextract/testdata/netlink.c.txt | 2 | ||||
| -rw-r--r-- | tools/syz-declextract/testdata/syscall.c.txt | 2 | ||||
| -rw-r--r-- | tools/syz-declextract/testdata/types.c.json | 2 | ||||
| -rw-r--r-- | tools/syz-declextract/testdata/types.c.txt | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/tools/syz-declextract/testdata/file_operations.c.txt b/tools/syz-declextract/testdata/file_operations.c.txt index e812350a3..f2a0455bc 100644 --- a/tools/syz-declextract/testdata/file_operations.c.txt +++ b/tools/syz-declextract/testdata/file_operations.c.txt @@ -2,7 +2,7 @@ meta automatic -type auto_todo intptr +type auto_todo int8 include <vdso/bits.h> include <linux/types.h> diff --git a/tools/syz-declextract/testdata/functions.c.txt b/tools/syz-declextract/testdata/functions.c.txt index 998d5fb72..cab813f8b 100644 --- a/tools/syz-declextract/testdata/functions.c.txt +++ b/tools/syz-declextract/testdata/functions.c.txt @@ -2,7 +2,7 @@ meta automatic -type auto_todo intptr +type auto_todo int8 include <vdso/bits.h> include <linux/types.h> diff --git a/tools/syz-declextract/testdata/io_uring.c.txt b/tools/syz-declextract/testdata/io_uring.c.txt index 3ddbbcf40..77183198f 100644 --- a/tools/syz-declextract/testdata/io_uring.c.txt +++ b/tools/syz-declextract/testdata/io_uring.c.txt @@ -2,7 +2,7 @@ meta automatic -type auto_todo intptr +type auto_todo int8 include <vdso/bits.h> include <linux/types.h> diff --git a/tools/syz-declextract/testdata/netlink.c.txt b/tools/syz-declextract/testdata/netlink.c.txt index f4042d816..e61244406 100644 --- a/tools/syz-declextract/testdata/netlink.c.txt +++ b/tools/syz-declextract/testdata/netlink.c.txt @@ -2,7 +2,7 @@ meta automatic -type auto_todo intptr +type auto_todo int8 include <vdso/bits.h> include <linux/types.h> diff --git a/tools/syz-declextract/testdata/syscall.c.txt b/tools/syz-declextract/testdata/syscall.c.txt index b55b077c3..de87f1866 100644 --- a/tools/syz-declextract/testdata/syscall.c.txt +++ b/tools/syz-declextract/testdata/syscall.c.txt @@ -2,7 +2,7 @@ meta automatic -type auto_todo intptr +type auto_todo int8 include <vdso/bits.h> include <linux/types.h> diff --git a/tools/syz-declextract/testdata/types.c.json b/tools/syz-declextract/testdata/types.c.json index 944346502..9733798ab 100644 --- a/tools/syz-declextract/testdata/types.c.json +++ b/tools/syz-declextract/testdata/types.c.json @@ -79,7 +79,7 @@ "ptr": { "elem": { "int": { - "byte_size": 8, + "byte_size": 1, "name": "TODO", "base": "long" } diff --git a/tools/syz-declextract/testdata/types.c.txt b/tools/syz-declextract/testdata/types.c.txt index 88da34315..45d451d8a 100644 --- a/tools/syz-declextract/testdata/types.c.txt +++ b/tools/syz-declextract/testdata/types.c.txt @@ -2,7 +2,7 @@ meta automatic -type auto_todo intptr +type auto_todo int8 include <vdso/bits.h> include <linux/types.h> |
