diff --git a/softmmu/runstate.c b/softmmu/runstate.c index e770cdde09c..77b1adb84f9 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 --- }