How can I see symbols of (C and C++) binary on linux? How can I see symbols of (C and C++) binary on linux? c c

How can I see symbols of (C and C++) binary on linux?


Use nm to see all symbols and c++filt to demangle.

Example:

nm -an foo | c++filt


The profiling tool I use already knows the symbols and source code, since it is just the debugger. I can build the app with symbols included, even with full optimization.