将被C++编译器编译后的函数名逆向回去,搜罗半天找到了c++filt命令使用方法如下:
1.
c++filt -n _Z1fv
f()
2.
c++filt -n _ZN5boost4asio2ip7address11from_stringEPKcRNS_6system10error_codeE
boost::asio::ip::address::from_string(char const*, boost::system::error_code&)
参考:
http://www.cnblogs.com/hibernate6/archive/2011/12/30/2521960.html
http://stackoverflow.com/questions/4468770/c-name-mangling-decoder-for-g
本文深入探讨了使用c++filt命令解析C++编译后函数名的过程,并提供了具体实例演示,帮助开发者理解函数名逆向的原理与应用。
11万+

被折叠的 条评论
为什么被折叠?



