You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i was trying out this library and for hooking it works really well, but it crash when i try to unhook, i tried to use this funtion from interceptor.cc void Interceptor::RemoveHook(int id);
but it crash at the following instruction: entry->StopHook()
i called it like this: whale::Interceptor::Instance()->RemoveHook(id)
where the id is the index of the hook in the list
to create the hook i used void WInlineHookFunction(void *address, void *replace, void **backup)
i tried to put log messages inside void ArmInlineHook::StopHook()
but they weren't executed.
I tried to look the crash address in the library using ida pro, and it crash on the function call without even reaching the function.
This is the function call pseudocode: (int *)(*(int (**)(void))(**(_DWORD **)v5 + 20))();
This is the assembly:
Hi, i was trying out this library and for hooking it works really well, but it crash when i try to unhook, i tried to use this funtion from interceptor.cc
void Interceptor::RemoveHook(int id);
but it crash at the following instruction:
entry->StopHook()
i called it like this:
whale::Interceptor::Instance()->RemoveHook(id)
where the id is the index of the hook in the list
to create the hook i used
void WInlineHookFunction(void *address, void *replace, void **backup)
i tried to put log messages inside
void ArmInlineHook::StopHook()
but they weren't executed.
I tried to look the crash address in the library using ida pro, and it crash on the function call without even reaching the function.
This is the function call pseudocode:
(int *)(*(int (**)(void))(**(_DWORD **)v5 + 20))();
This is the assembly:
The text was updated successfully, but these errors were encountered: