Hook after Function execution
Posted: Fri Nov 08, 2019 8:00 am
Is it possible to hook an API but after its execution. Before it is returning
high quality low level programming
http://forum.madshi.net/
Code: Select all
int SomeApiCallback(int param)
{
// you can do some processing here
int result = SomeApiOriginalApi(param);
// you can do some more processing here
return result;
}
In which case you could use a VEH hook through PAGE_GUARD tripping/resetting and single-step to play with the registers directly (modify eip/rip etc.)Hook after Function execution