subhook
subhook copied to clipboard
[Question] Support for Mid-Function Hooking?
I was wondering whether it's possible, using this library, to hook into middle of functions instead of entirely replacing them, and view/edit the current state of the registers at the point of insertion.
There is a relatively new hooking library out there that can perform that behaviour, and I was wondering whether it's possible to do a simillar thing with this one.
It appears that subhook_install can only be used to replace the functions entirely, or execute the original code via the trampoline, but not hooking in the middle of functions.