diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-07 15:32:16 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-07 15:32:30 +0200 |
| commit | 645e75f8038d1b177ead2d6ea0b3ade6f7f9d985 (patch) | |
| tree | abdb1ba3d8b7dff944d0ca84fc382bc0094f8635 /executor/common.h | |
| parent | 7fb9023fd78f6c0641624e3169c405e384f14691 (diff) | |
executor: make syscall table and number constant
We see some crashes that suggest corruption of the syscall number:
invalid command number 1296 (errno 11)
invalid command number 107 (errno 110)
Make the table and the number constant to prevent corruption.
Diffstat (limited to 'executor/common.h')
| -rw-r--r-- | executor/common.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/executor/common.h b/executor/common.h index c1fcbae88..fe1290f73 100644 --- a/executor/common.h +++ b/executor/common.h @@ -69,9 +69,6 @@ struct call_t { syscall_t call; }; -// Defined in generated syscalls_OS.h files. -extern call_t syscalls[]; -extern unsigned syscall_count; #endif // #if defined(SYZ_EXECUTOR) #if defined(SYZ_EXECUTOR) || (defined(SYZ_REPEAT) && defined(SYZ_WAIT_REPEAT)) || \ |
