c++ - winapi get the mangled name from a function's address -
in c++ applicatoin have virtual addresses of functions , want mangled names. right can unmangled name using winapi symfromaddr
function. there way mangled names ?
use symsetoptions(). want turn off symopt_undname
option see mangled name.
so, roughly:
dword options = symgetoptions(); symsetoptions(options & ~symopt_undname); if (symfromaddr(hprocess, dwaddress, &dwdisplacement, psymbol)) { // etc... } symsetoptions(options);
Comments
Post a Comment