File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,12 @@ void libafl_exit_request_breakpoint(CPUState* cpu, target_ulong pc)
123
123
prepare_qemu_exit (cpu , pc );
124
124
}
125
125
126
+ void libafl_qemu_trigger_breakpoint (CPUState * cpu )
127
+ {
128
+ CPUClass * cc = CPU_GET_CLASS (cpu );
129
+ libafl_exit_request_breakpoint (cpu , cc -> get_pc (cpu ));
130
+ }
131
+
126
132
void libafl_exit_signal_vm_start (void )
127
133
{
128
134
last_exit_reason .cpu = NULL ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ void libafl_breakpoint_invalidate(CPUState *cpu, target_ulong pc);
17
17
18
18
int libafl_qemu_set_breakpoint (target_ulong pc );
19
19
int libafl_qemu_remove_breakpoint (target_ulong pc );
20
+ void libafl_qemu_trigger_breakpoint (CPUState * cpu );
20
21
21
22
enum libafl_exit_reason_kind {
22
23
INTERNAL = 0 ,
You can’t perform that action at this time.
0 commit comments