Tools for working with ELFs
Here I collect a list of tools which I found useful for working with ELFs (incl. executables and shared libraries).
Dumping symbols
objdump:objdump --TC xxx.so- The
-Cflag enables demangling.
- The
ldd:ldd xxx.so- Print shared object dependencies, which allows you to find out which shared library is missing.
ld:ld xxx.sonm:nm xxx.so- The
-Cflag enables demangling.
- The
readelf:readelf --dyn-syms xxx.so- The
--demangleflag enables demangling.
- The
patchelf:- Particularly useful when you bring your own GLIBC and want to link to the updated one.
Demangling
llvm-cxxfiltinstalled with LLVMc++filton Linux