views:

234

answers:

2

hi,

I have a static C library (say mylib.a) and I was wondering if it's possible to find out what functions are implemented inside that file. I don't have a corresponding header file. what I need is like the equivalent of javap for Java.

+8  A: 

On Windows you can use dumpbin. On Linux and friends you can use nm.

James McNellis
+5  A: 

use nm . That will only give you the symbol names - of which most of the symbols prefixed with T will be functions. function arguments are not retained in the binary.

nos