diff options
Diffstat (limited to 'executor/common_test.h')
| -rw-r--r-- | executor/common_test.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/executor/common_test.h b/executor/common_test.h index 9e3dcd6ff..826d2c8d8 100644 --- a/executor/common_test.h +++ b/executor/common_test.h @@ -27,6 +27,15 @@ static long syz_errno(long v) } #endif +#if SYZ_EXECUTOR || __NR_syz_exit +// syz_exit(status int32) +static long syz_exit(long status) +{ + _exit(status); + return 0; +} +#endif + #if SYZ_EXECUTOR || __NR_syz_compare #include <errno.h> #include <string.h> |
