forgot include

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

View File

@ -28,6 +28,12 @@
#include "user/page-protection.h"
#include "target/arm/syndrome.h"
//// --- Begin LibAFL code ---
///
#include "libafl/exit.h"
//// --- End LibAFL code ---
#define get_user_code_u32(x, gaddr, env) \
({ abi_long __r = get_user_u32((x), (gaddr)); \
if (!__r && bswap_code(arm_sctlr_b(env))) { \

View File

@ -25,6 +25,12 @@
#include "signal-common.h"
#include "internal.h"
//// --- Begin LibAFL code ---
///
#include "libafl/exit.h"
//// --- End LibAFL code ---
void cpu_loop(CPUHexagonState *env)
{
CPUState *cs = env_cpu(env);