forgot include

This commit is contained in:
Romain Malmain 2025-05-02 14:43:34 +02:00
parent d4a6db3260
commit 5feca574fc
No known key found for this signature in database
GPG Key ID: 02E4A13F7415468A
2 changed files with 12 additions and 0 deletions

View File

@ -24,6 +24,12 @@
#include "user/cpu_loop.h" #include "user/cpu_loop.h"
#include "signal-common.h" #include "signal-common.h"
//// --- Begin LibAFL code ---
#include "libafl/exit.h"
//// --- End LibAFL code ---
static inline uint64_t cpu_ppc_get_tb(CPUPPCState *env) static inline uint64_t cpu_ppc_get_tb(CPUPPCState *env)
{ {
return cpu_get_host_ticks(); return cpu_get_host_ticks();

View File

@ -26,6 +26,12 @@
#include "elf.h" #include "elf.h"
#include "semihosting/common-semi.h" #include "semihosting/common-semi.h"
//// --- Begin LibAFL code ---
#include "libafl/exit.h"
//// --- End LibAFL code ---
void cpu_loop(CPURISCVState *env) void cpu_loop(CPURISCVState *env)
{ {
CPUState *cs = env_cpu(env); CPUState *cs = env_cpu(env);