BinUtils/related stuff.
Tools for various operating systems
Tool/function |
Linux |
macOS |
Windows/Visual Studio |
List shared libraries needed for an executable |
ldd a.out |
|
|
List shared libraries needed for a shared library |
ldd liba.so |
otool -L |
|
List symbols in object file, archived library |
nm file.{o,a} |
|
|
List symbols in shared library |
nm --dynamic libexample.so or readelf -s libexample.so |
|
|
Version of glibc is needed for an Linux/ELF executable |
readelf -V ${BINARY} or objdump -T ${BINARY} | grep -o 'GLIBC_.* ' | sort | uniq |
|
Linux tools
- ldd
- nm
- objdump