2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-15 06:12:59 +00:00
cheat.sheets/sheets/readelf

3 lines
110 B
Plaintext
Raw Normal View History

2021-05-01 07:53:10 +00:00
# How to check that an object file was built with -fPIC
readelf --relocs foo.o | egrep '(GOT|PLT|JU?MP_SLOT)'