#readelf: -lWSDs There are [0-9]+ section headers, starting at offset 0x[a-f0-9]+: #... Program Headers: Type +Offset +VirtAddr.* # On MIPS, the first segment is for .reginfo. #... LOAD .* #... DYNAMIC .* #... +Num: +Value +Size Type +Bind +Vis +Ndx Name +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + #... .* FUNC +GLOBAL +DEFAULT.* (UND +_?puts(@.*|)|[0-9]+ +_?test) #... .* FUNC +GLOBAL +DEFAULT.* (UND +_?puts(@.*|)|[0-9]+ +_?test) #pass