Binary analyzis

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
objdump -f a.out            # file headers
objdump -r a.out            # check offsets
objdump -h a.out            # sections
objdump -j .text -s a.out   # check content of section
objdump -tT a.out           # symbols
objdump -p a.out            # private symbols
objdump -D a.out
objdump -S a.out

hexdump
strings
size

readelf -h a.out			# show elf file information
readelf -r a.out			# show realocations offsets


ldd /usr/bin/ls