Fix signals for libafl

This commit is contained in:
Andrea Fioraldi 2022-07-26 17:27:17 +02:00
parent 03fad12e80
commit 6264355e8d

View File

@ -764,7 +764,7 @@ void dump_core_and_abort(int target_sig)
sigfillset(&act.sa_mask);
act.sa_handler = SIG_DFL;
act.sa_flags = 0;
sigaction(host_sig, &act, NULL);
// sigaction(host_sig, &act, NULL); // LibAFL uses it's own handler
/* For some reason raise(host_sig) doesn't send the signal when
* statically linked on x86-64. */