Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Is there a tool that list the prototypes in a .so library.

I found nm close to my need, but what I got are just symbols.

share|improve this question

2 Answers 2

You can use objdump :

objdump -T -C
  • -T stands for dynamic symbols
  • -C will help making c++ methods more human-friendly
share|improve this answer
That's the same as nm – psusi Apr 27 '12 at 17:16

No, there isn't, because the prototypes are not stored in the library; they go in the header file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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