mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-17 04:18:06 +00:00
Add AFL_FORK_SERVER_KILL_SIGNAL environment variable.
The AFL_FORK_SERVER_KILL_SIGNAL variable allows to configure the signal used to kill the fork server on termination.
This commit is contained in:
@ -1116,7 +1116,10 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
}
|
||||
|
||||
fsrv.child_kill_signal =
|
||||
parse_afl_kill_signal_env(getenv("AFL_KILL_SIGNAL"), SIGKILL);
|
||||
parse_afl_kill_signal(getenv("AFL_KILL_SIGNAL"), SIGKILL);
|
||||
fsrv.fsrv_kill_signal =
|
||||
parse_afl_kill_signal(getenv("AFL_FORK_SERVER_KILL_SIGNAL"), SIGTERM);
|
||||
|
||||
|
||||
read_initial_file();
|
||||
(void)check_binary_signatures(fsrv.target_path);
|
||||
|
Reference in New Issue
Block a user