-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function hook stops application without any error #21
Comments
Doublecheck the original signature in your disassembler. Chances are you probably need to use |
there is anyway to check signature in x64dbg? |
You can probably have a guess if you know the calling convention of the function and check how it's called. Way easier with IDA/Ghidra/BinaryNinjs though. |
Calling this function work fine. |
Do i do something wrong? |
Nothing particularly sticks out here, degelate seems fine, declaration seems fine. Only thing that's a little unclear is which address you're hooking. If you're hooking the one ending with 881dc0, this is fine. What I'd do is doublecheck just in case you're hooking the right address by comparing the assembly (in CE, x64asm or other); since it seems that in Binja you're showing absolute addresses rather than module relative ones. |
Yeah; it tried to brute force find some memory within 2GB memory space of the code you are hooking. I'm not sure if there's much possible to do about this specific one. |
i have thats same problem when i try hook API functions in notepad so maybe its because i using clr host? |
I wouldn't know; though the free buffer/address scanning part is done mainly through native API. |
The text was updated successfully, but these errors were encountered: