最終更新:2021-01-23 (土) 20:22:10 (1185d)  

c++filt
Top / c++filt

オーバーロードされたC++の関数から作成される低レベルの複雑なアセンブララベルをユーザレベルの名前に変換

nm  foo.o | c++filt
$ gcc -c test.cpp
$ nm test.o
                 U __Z13test_functionv
                 U __Z14test_function2i
                 U __Z14test_function3d
                 U __Z14test_function4f
0000000000000000 T _main

$ nm test.o | c++filt
                 U test_function()
                 U test_function2(int)
                 U test_function3(double)
                 U test_function4(float)
0000000000000000 T _main

Ubuntu/パッケージ

関連