Displaying 1 result from an estimated 1 matches for "thunk3".
Did you mean:
thunk
2014 Nov 29
3
[LLVMdev] Frontend: How to use Member to Function Pointer as callbacks
...meter" (one such function per callback
signature)
- This redirect method would receive arguments unmodified from C
functions (since previous call was a simple jmp)
- It would check in the call stack the current slot X being called (up
in the callstack, if call instruction is "call Thunk3" from address Thunk3
we know X is 3 -- it will need assembly, might be difficult to compute and
won't be portable...)
- ThunkIdToFuncPtr[X] would give us the actual method to forward to
- RedirectMethodFuncWithIntParameter would call
ThunkIdToFuncPtr[X](arg1)
This design allow to...