Is there the way to add an extra custom code before jump instruction while using MS Detours?

51 Views Asked by At

As known, MS Detours library copies a few set of starting instructions of the hooked function to the trampoline, and places the jump instruction to hook function. I need to add some extra custom code before this jump. Is there a legal documented way to do this?

0

There are 0 best solutions below