For PE executable, I can list the imported symbols using

dumpbin /imports FILE.EXE

or using the depends utility which is GUI application.

`nm ELF-binary' just returns "no symbols".

link|improve this question

feedback

1 Answer

up vote 1 down vote accepted

Try objdump -T 'ELF-file'

link|improve this answer
I thought objdump -T worked mainly on shared libraries... – jim mcnamara Jul 9 '10 at 14:35
well... not really, if I do: objdump -t /bin/ls it returns: "SYMBOL TABLE: no symbols", with -T (which lists DYNAMIC SYMBOL TABLE) outputs a lot of data, like: "00000000 DF UND 00000000 GLIBC_2.0 strchr" – MrShunz Jul 9 '10 at 15:11
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.