From e42124c0c8363184ef286fde43dce1d5c607699b Mon Sep 17 00:00:00 2001 From: Andrea Fioraldi Date: Wed, 25 Oct 2023 11:58:10 +0200 Subject: [PATCH] Fix TLS ref for libafl_breakpoint_cpu --- cpu-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-target.c b/cpu-target.c index 7765adcaac..cde63343f4 100644 --- a/cpu-target.c +++ b/cpu-target.c @@ -96,7 +96,7 @@ int libafl_qemu_remove_hook(size_t num, int invalidate); struct libafl_hook* libafl_search_hook(target_ulong addr); void libafl_flush_jit(void); -extern CPUState* libafl_breakpoint_cpu; +extern __thread CPUState* libafl_breakpoint_cpu; extern int libafl_restoring_devices;