-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HookId trait and types in libafl_qemu #1796
Conversation
Hi, thank you, hookid is WIP, the plan is to have a type for each hook (InstructionHookId, CmpHookId, PreSyscallHookId, etc...) implementing a trait with a removal method, something like |
45e2fd6
to
ac3f604
Compare
I adapted the PR, now it uses a trait and specialized structs. NOTE the trait function is |
ty! |
This needs a |
fix: #1795
This created
HookType
and add it toHookId
, what allows the functionremove_hook
to call the properlibafl_qemu_sys::libafl_qemu_remove*_hook
function for the received hook.