Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

share|improve this answer

You can use objdump :

objdump -T -C libfoo.so
  • -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

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.