diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-01-17 10:39:52 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2025-01-22 17:12:18 +0000 |
| commit | 9d4f14f879d34d715f61d84f4b1144e9fa8ca236 (patch) | |
| tree | 701b4caa4a10dfe221ba80f03a6777079c87735c /tools/syz-declextract | |
| parent | 8aaf5d60aa0b3ddb05e117f52c0e30ec246b7aad (diff) | |
pkg/declextract: infer syscall commands
Use function scope information extracted in the previous commit
to infer multiplexed syscalls (fcntl, prctl, ...) and infer
their arguments.
Descriptions generated on Linux commit c4b9570cfb63501.
Diffstat (limited to 'tools/syz-declextract')
| -rw-r--r-- | tools/syz-declextract/testdata/scopes.c.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/syz-declextract/testdata/scopes.c.txt b/tools/syz-declextract/testdata/scopes.c.txt index aec7f7f2d..3a0c20709 100644 --- a/tools/syz-declextract/testdata/scopes.c.txt +++ b/tools/syz-declextract/testdata/scopes.c.txt @@ -4,4 +4,15 @@ meta automatic type auto_todo int8 +include <include/uapi/file_operations.h> + scopes0$auto(x int32, cmd intptr, aux intptr) +scopes0$auto_100(x int32, cmd const[100], aux intptr) +scopes0$auto_101(x int32, cmd const[101], aux intptr) +scopes0$auto_102(x int32, cmd const[102], aux intptr) +scopes0$auto_1074291461(x int32, cmd const[1074291461], aux intptr) +scopes0$auto_1074291462(x int32, cmd const[1074291462], aux intptr) +scopes0$auto_FOO_IOCTL1(x int32, cmd const[FOO_IOCTL1], aux intptr) +scopes0$auto_FOO_IOCTL2(x int32, cmd const[FOO_IOCTL2], aux intptr) +scopes0$auto_FOO_IOCTL3(x int32, cmd const[FOO_IOCTL3], aux intptr) +scopes0$auto_FOO_IOCTL4(x int32, cmd const[FOO_IOCTL4], aux intptr) |
