diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-06-25 15:43:52 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-06-25 13:58:54 +0000 |
| commit | dc5564eb36462b29de4a0dbf85ef9f91df2eecca (patch) | |
| tree | be71aec17a1289b7cba876dfec19d86bf6d1955f /executor/common_test.h | |
| parent | 707e48e60aa33a49ef5c753466930f70227a7d21 (diff) | |
executor: prohibit malloc/calloc via linter
We include a number of C++ headers in the runnner.
On FreeBSD some of them mention malloc, and our defines break the build.
Use the style test to check only our files for these things.
Diffstat (limited to 'executor/common_test.h')
| -rw-r--r-- | executor/common_test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common_test.h b/executor/common_test.h index 67585be9a..c5f7f5bca 100644 --- a/executor/common_test.h +++ b/executor/common_test.h @@ -31,7 +31,7 @@ static long syz_errno(volatile long v) // syz_exit(status int32) static long syz_exit(volatile long status) { - _exit(status); + doexit(status); return 0; } #endif |
