mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-30 16:40:57 +00:00
Apply desired lifecycle of esil syscall and interrupt handlers in esil_dummy plugin ##emu ##api
This commit is contained in:
parent
65f0c42131
commit
ca8dab9b1c
@ -36,6 +36,12 @@ static void r_esil_dummy_fini(RAnalEsil *esil, void *user) {
|
||||
if (op && op->code == esil_dummy_operation) {
|
||||
r_anal_esil_del_op (esil, "dummy_op");
|
||||
}
|
||||
if (r_anal_esil_get_interrupt (esil, 1337) == esil_dummy_interrupt_handler) {
|
||||
r_anal_esil_del_interrupt (esil, 1337);
|
||||
}
|
||||
if (r_anal_esil_get_syscall (esil, 1337) == esil_dummy_syscall_handler) {
|
||||
r_anal_esil_del_syscall (esil, 1337);
|
||||
}
|
||||
eprintf ("Dummy: Deactivated\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user