File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3737
3838//// --- Begin LibAFL code ---
3939
40+ #include "libafl_extras/exit.h"
41+
4042#ifndef CONFIG_USER_ONLY
4143
4244#include "sysemu/runstate.h"
4951#include <stdlib.h>
5052#include <string.h>
5153
52- #include "libafl_extras/exit.h"
53-
5454void libafl_save_qemu_snapshot (char * name , bool sync );
5555void libafl_load_qemu_snapshot (char * name , bool sync );
5656
Original file line number Diff line number Diff line change 99__thread int libafl_qemu_break_asap = 0 ;
1010__thread CPUState * libafl_breakpoint_cpu ;
1111__thread vaddr libafl_breakpoint_pc ;
12- __thread static struct libafl_exit_reason last_exit_reason ;
12+ static __thread struct libafl_exit_reason last_exit_reason ;
1313#else
1414static struct libafl_exit_reason last_exit_reason ;
1515#endif
1616
17- #ifdef TARGET_ARM
17+ #if defined( TARGET_ARM ) && !defined( TARGET_AARCH64 )
1818#define THUMB_MASK (value ) (value | cpu_env(libafl_breakpoint_cpu)->thumb)
1919#else
2020#define THUMB_MASK (value ) value
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: [files(
22 ' syx-snapshot/device-save.c' ,
33 ' syx-snapshot/syx-snapshot.c' ,
44 ' syx-snapshot/channel-buffer-writeback.c' ,
5- ' exit.c' ,
65)])
6+ specific_ss.add(files (' exit.c' ))
You can’t perform that action at this time.
0 commit comments