+++ fix relative calls in build_trampoline()
++Detect loops to the start of the function to be hooked
start:
jmp hook_function
bla
jXX start+3
How to fix that:
Also fix that jump
Copy more into the trampoline
++ search for code caves and use those
++ more jump types in is_jump()