We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b688436 commit d6fd436Copy full SHA for d6fd436
libafl/exit.c
@@ -7,7 +7,7 @@
7
#include "libafl/defs.h"
8
#include "libafl/cpu.h"
9
10
-#ifndef CONFIG_USER_ONLY
+#if !defined(CONFIG_USER_ONLY) && defined(AS_LIB)
11
#include "system/runstate.h"
12
#endif
13
@@ -79,7 +79,7 @@ static void prepare_qemu_exit(CPUState* cpu, target_ulong next_pc)
79
last_exit_reason.cpu = cpu;
80
last_exit_reason.next_pc = next_pc;
81
82
83
qemu_system_return_request();
84
85
@@ -146,7 +146,9 @@ void libafl_exit_request_timeout(void)
146
last_exit_reason.kind = TIMEOUT;
147
last_exit_reason.cpu = current_cpu;
148
149
+#ifdef AS_LIB
150
151
+#endif
152
}
153
154
0 commit comments