search for: getglobalvalueforstub

Displaying 2 results from an estimated 2 matches for "getglobalvalueforstub".

Did you mean: getglobalvalueforstubs
2008 Feb 13
0
[LLVMdev] Instrumenting virtual function calls
On Feb 12, 2008, at 5:08 PM, Robert Zeh wrote: > After hacking away at it for a bit, it looks like the mystery > function is actually a stub function. You know, I had this lengthy email written to cover all the details and I decided not to send it as I wasn't sure if that was what you were hitting a stub and I didn't want to confuse the issue if it wasn't due to stubs...
2008 Feb 13
5
[LLVMdev] Instrumenting virtual function calls
After hacking away at it for a bit, it looks like the mystery function is actually a stub function. The function pointer is coming from a vtable, which gets filled in with pointers to stub functions. Is there any way to do the round trip for a stub function? Two possible solutions come to mind: 1) Modify getGlobalValueAtAddress to work for pointers to stub functions 2) Add a