Allow SIGINT (Ctrl-C) to stop the fuzzer
This commit is contained in:
@@ -556,6 +556,7 @@ done1(int sig_unused UNUSED)
|
|||||||
#ifndef NO_SIGNAL
|
#ifndef NO_SIGNAL
|
||||||
(void) signal(SIGINT, SIG_IGN);
|
(void) signal(SIGINT, SIG_IGN);
|
||||||
#endif
|
#endif
|
||||||
|
iflags.debug_fuzzer = FALSE;
|
||||||
if (flags.ignintr) {
|
if (flags.ignintr) {
|
||||||
#ifndef NO_SIGNAL
|
#ifndef NO_SIGNAL
|
||||||
(void) signal(SIGINT, (SIG_RET_TYPE) done1);
|
(void) signal(SIGINT, (SIG_RET_TYPE) done1);
|
||||||
|
|||||||
Reference in New Issue
Block a user