mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-12 01:58:17 +00:00
fix -n
This commit is contained in:
@ -23,6 +23,7 @@
|
|||||||
- -V timing is now accurately the fuzz time (without syncing), before
|
- -V timing is now accurately the fuzz time (without syncing), before
|
||||||
long calibration times and syncing could result in now fuzzing being
|
long calibration times and syncing could result in now fuzzing being
|
||||||
made when the time was already run out until then, thanks to @eqv!
|
made when the time was already run out until then, thanks to @eqv!
|
||||||
|
- fix -n uninstrumented mode when ending fuzzing
|
||||||
- make afl-fuzz use less memory with cmplog and fix a memleak
|
- make afl-fuzz use less memory with cmplog and fix a memleak
|
||||||
* afl-cc:
|
* afl-cc:
|
||||||
- re-enable i386 support that was accidently disabled
|
- re-enable i386 support that was accidently disabled
|
||||||
|
@ -769,8 +769,9 @@ void afl_states_stop(void) {
|
|||||||
if (el->fsrv.fsrv_pid > 0) {
|
if (el->fsrv.fsrv_pid > 0) {
|
||||||
|
|
||||||
kill(el->fsrv.fsrv_pid, el->fsrv.fsrv_kill_signal);
|
kill(el->fsrv.fsrv_pid, el->fsrv.fsrv_kill_signal);
|
||||||
|
usleep(100);
|
||||||
/* Make sure the forkserver does not end up as zombie. */
|
/* Make sure the forkserver does not end up as zombie. */
|
||||||
waitpid(el->fsrv.fsrv_pid, NULL, 0);
|
waitpid(el->fsrv.fsrv_pid, NULL, WNOHANG);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1469,15 +1469,16 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
configure_afl_kill_signals(&afl->fsrv, afl->afl_env.afl_child_kill_signal,
|
configure_afl_kill_signals(
|
||||||
afl->afl_env.afl_fsrv_kill_signal,
|
&afl->fsrv, afl->afl_env.afl_child_kill_signal,
|
||||||
(afl->fsrv.qemu_mode || afl->unicorn_mode
|
afl->afl_env.afl_fsrv_kill_signal,
|
||||||
|
(afl->fsrv.qemu_mode || afl->unicorn_mode || afl->non_instrumented_mode
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|| afl->fsrv.nyx_mode
|
|| afl->fsrv.nyx_mode
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
? SIGKILL
|
? SIGKILL
|
||||||
: SIGTERM);
|
: SIGTERM);
|
||||||
|
|
||||||
setup_signal_handlers();
|
setup_signal_handlers();
|
||||||
check_asan_opts(afl);
|
check_asan_opts(afl);
|
||||||
|
Reference in New Issue
Block a user