Quote:
Originally Posted by Fyren
As pred said, there may not be a call at all in the binary for one OS while it may be there in the other, likely due to inlining.
|
Yes, I know. I considered that in the example I gave.
Quote:
Originally Posted by Fyren
This is an interesting idea, and I've pondered it myself, but I'm way too lazy.
|
I hope that you or someone implement it. I would like to see it in action and see its pros and cons in practice.
Edit:
Another thing: I just thought that by having this tree one could do another kind of hooking. Hooking calls to functions instead of functions being called. Like, instead of hooking everytime X is called, just hooking when Y calls X. This can be nice for some kind of functions. It would only take the effort of patching the calls so they call instead a hook function and then calling forwards and call the original back. (Not an original idea but, this tree would make it easier)
__________________