tl;dr concentrated like a poem
Readme

Inspect binary files

Apr 18, 2023

Inspect binary files and libraries (.so files and so on):

- readelf -d <lib.so>
- strings <lib.so>
- nm -D <lib.so>
- nm -Ca <lib.so>
- ldd <lib.so>
  • see man ld.so to check in which order things will be linked
  • compile time information can be added using the -r flags!
  • https://stackoverflow.com/questions/7967848/use-rpath-but-not-runpath
  • https://medium.com/obscure-system/rpath-vs-runpath-883029b17c45

tl;dr

  • xy124