diff options
author | van Hauser <vh@thc.org> | 2022-10-29 15:12:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-29 15:12:07 +0200 |
commit | 2d640558a09b03e9416b5d87e98cf938b38def9e (patch) | |
tree | 36490ea5c663cc5b4f8e3bb94ccfae22c734cf69 /src/afl-analyze.c | |
parent | 340647c5f1dda67957cf9f85b2af9e9ef7fb28af (diff) | |
parent | ec19a9b06881b6e69e5d15ea3fba527a0b53fd55 (diff) | |
download | afl++-2d640558a09b03e9416b5d87e98cf938b38def9e.tar.gz |
Merge pull request #1573 from AFLplusplus/dev
push to stable
Diffstat (limited to 'src/afl-analyze.c')
-rw-r--r-- | src/afl-analyze.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/afl-analyze.c b/src/afl-analyze.c index 757c9306..a9b5b326 100644 --- a/src/afl-analyze.c +++ b/src/afl-analyze.c @@ -862,11 +862,15 @@ static void usage(u8 *argv0) { "MSAN_OPTIONS: custom settings for MSAN\n" " (must contain exitcode="STRINGIFY(MSAN_ERROR)" and symbolize=0)\n" "AFL_ANALYZE_HEX: print file offsets in hexadecimal instead of decimal\n" + "AFL_KILL_SIGNAL: Signal ID delivered to child processes on timeout, etc.\n" + " (default: SIGKILL)\n" + "AFL_FORK_SERVER_KILL_SIGNAL: Kill signal for the fork server on termination\n" + " (default: SIGTERM). If unset and AFL_KILL_SIGNAL is\n" + " set, that value will be used.\n" "AFL_MAP_SIZE: the shared memory size for that target. must be >= the size\n" " the target was compiled for\n" "AFL_PRELOAD: LD_PRELOAD / DYLD_INSERT_LIBRARIES settings for target\n" "AFL_SKIP_BIN_CHECK: skip checking the location of and the target\n" - , argv0, EXEC_TIMEOUT, MEM_LIMIT, doc_path); exit(1); @@ -1115,7 +1119,8 @@ int main(int argc, char **argv_orig, char **envp) { } - configure_afl_kill_signals(&fsrv, NULL, NULL); + configure_afl_kill_signals( + &fsrv, NULL, NULL, (fsrv.qemu_mode || unicorn_mode) ? SIGKILL : SIGTERM); read_initial_file(); (void)check_binary_signatures(fsrv.target_path); |