Achilles Achilles - 1 year ago 89
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.

Answer Source

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!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download