qiling
qiling copied to clipboard
Get backtrace when hook_block is triggered
I want to get the backtrace of the target process at the hook point, does qiling currently have this feature?
Not directly, but you can implement it farily easily.
If were to do that, I would probably use hook_code to record a tail of instructions (deque will be excellent for that), or any other context I might need, and then emit it once emulation hits the hook_block callback.