Detouring variadic functions (like NdrClientCall2) and then call it again #316
Unanswered
Henrik Karlsson (honkstar1)
asked this question in
Q&A
Replies: 1 comment 1 reply
|
Ok, I resolved it writing some asm as a trampoline. Still, would be awesome with some guidelines or code to handle these functions :-) |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, is there any tricks in microsoft detours to be able to detour a function like NdrClientCall2 and then be able to call it again.
I have been looking at wine and some other projects and it seems like the way to do this is to create an asm-file and fix up stack state yourself. Is there no simpler way?
Thank you for an amazing library!
(Here's the function I'm talking about: https://learn.microsoft.com/en-us/windows/win32/api/rpcndr/nf-rpcndr-ndrclientcall2)
All reactions