How can I view symbols in a .o file? nm does not work for me. I use g++/linux.
What exactly are these? Object files are almost full executables. They contain machine code, but that code still requires a relocation step. It also contains metadata about the addresses of its variables and functions (called symbols) in an associative data structure called a symbol table.
Need to view 3D files online? Just install the software OBJ Viewer To begin viewing 3D files, simply do the following Install the extension OBJ Viewer Click on the extension icon Choose the 3D file you wish to open Begin viewing your 3D files online today! This 3D viewer works for both STL and OBJ file formats.
Instead of nm
, you can use the powerful objdump
. See the man page for details. Try objdump -t myfile
or objdump -T myfile
. With the -C
flag you can also demangle C++ names, like nm
does.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With