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

SamatsWiki: CheatSheet/BinUtils (last edited 2020-03-10 22:00:21 by SamatJain)