mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-18 04:38:08 +00:00
AFL_FORK_SERVER_KILL_SIGNAL backwards compatiblity
If `AFL_KILL_SIGNAL` is set, `AFL_FORK_SERVER_KILL_SIGNAL` is set to the same value.
This commit is contained in:
@ -1197,10 +1197,7 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
}
|
||||
|
||||
fsrv->child_kill_signal =
|
||||
parse_afl_kill_signal(getenv("AFL_KILL_SIGNAL"), SIGKILL);
|
||||
fsrv->fsrv_kill_signal =
|
||||
parse_afl_kill_signal(getenv("AFL_FORK_SERVER_KILL_SIGNAL"), SIGTERM);
|
||||
configure_afl_kill_signals(fsrv, NULL, NULL);
|
||||
|
||||
|
||||
if (getenv("AFL_CRASH_EXITCODE")) {
|
||||
|
Reference in New Issue
Block a user