Achilles Achilles - 6 months ago 55
C Question

Pin Binary instrumentation: How to precisely identify a function name.

Anyone who's used PIN? How would you identify a function exactly (in presence of method overloading)? I can see PIN provides RTN_Name() function, which would return the function name, but surely that's no enough… so what else would you use? Would using RTN_Address() in conjunction with RT_Name() suffice?

Many thanks for any help.


Ok I just found out about name mangling! Apparently C/C++ uses name mangling, and so it seems that even using RTN_Name() should suffice then!