From 0dc52ed6f3915f727aaec8648706760f278f0571 Mon Sep 17 00:00:00 2001 From: biazo Date: Mon, 27 Feb 2023 11:35:56 -0500 Subject: [PATCH] fixing standalone gdb break exit (#19) --- softmmu/runstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/softmmu/runstate.c b/softmmu/runstate.c index e770cdde09..77b1adb84f 100644 --- a/softmmu/runstate.c +++ b/softmmu/runstate.c @@ -668,9 +668,9 @@ static bool main_loop_should_exit(int *status) vm_stop(RUN_STATE_DEBUG); //// --- Begin LibAFL code --- - +#ifdef AS_LIB return true; // exit back to fuzzing harness - +#endif //// --- End LibAFL code --- }