diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-03-05 12:07:55 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-03-05 12:10:27 +0100 |
| commit | 70a1ddb9390f3785761a7163e4ccf38c752090a7 (patch) | |
| tree | 4c4edfe853cba22990b47c91a3fb7914c5025664 /executor | |
| parent | b99c76c405cbddfdbebe41891ea0d024e8b8f5aa (diff) | |
prog: harden program parsing against description changes more
Handle most of type changes, e.g. const is changed to struct,
or struct to pointers. In all these cases we create default args.
They may not give the coverage anymore, but still better than
losing them right away.
Diffstat (limited to 'executor')
| -rw-r--r-- | executor/syscalls_test.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/executor/syscalls_test.h b/executor/syscalls_test.h index 0ce585670..40e696e94 100644 --- a/executor/syscalls_test.h +++ b/executor/syscalls_test.h @@ -2,11 +2,11 @@ #if 0 #define GOARCH "32" -#define SYZ_REVISION "2ab86a8beeba1b75df587c05981b40d6b8761273" +#define SYZ_REVISION "88188c72dcf69cae330d7ea531d2d69773177a5c" #define SYZ_PAGE_SIZE 8192 #define SYZ_NUM_PAGES 2048 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 96; +unsigned syscall_count = 97; call_t syscalls[] = { {"foo$any0", 0, (syscall_t)foo}, {"foo$anyres", 0, (syscall_t)foo}, @@ -100,6 +100,7 @@ call_t syscalls[] = { {"syz_test$text_x86_32", 0, (syscall_t)syz_test}, {"syz_test$text_x86_64", 0, (syscall_t)syz_test}, {"syz_test$text_x86_real", 0, (syscall_t)syz_test}, + {"syz_test$type_confusion1", 0, (syscall_t)syz_test}, {"syz_test$union0", 0, (syscall_t)syz_test}, {"syz_test$union1", 0, (syscall_t)syz_test}, {"syz_test$union2", 0, (syscall_t)syz_test}, @@ -110,11 +111,11 @@ call_t syscalls[] = { #if 0 #define GOARCH "64" -#define SYZ_REVISION "23d45e5a436efcf4d413c5828f0337e9125d2e0e" +#define SYZ_REVISION "5d44fc53feb6e540adc5b87ec9ee5cde1093f925" #define SYZ_PAGE_SIZE 4096 #define SYZ_NUM_PAGES 4096 #define SYZ_DATA_OFFSET 536870912 -unsigned syscall_count = 96; +unsigned syscall_count = 97; call_t syscalls[] = { {"foo$any0", 0, (syscall_t)foo}, {"foo$anyres", 0, (syscall_t)foo}, @@ -208,6 +209,7 @@ call_t syscalls[] = { {"syz_test$text_x86_32", 0, (syscall_t)syz_test}, {"syz_test$text_x86_64", 0, (syscall_t)syz_test}, {"syz_test$text_x86_real", 0, (syscall_t)syz_test}, + {"syz_test$type_confusion1", 0, (syscall_t)syz_test}, {"syz_test$union0", 0, (syscall_t)syz_test}, {"syz_test$union1", 0, (syscall_t)syz_test}, {"syz_test$union2", 0, (syscall_t)syz_test}, |
