How to list the functions in a .a library on Linux
Posted on In QAHow to list the functions in a .a library on Linux?
The nm utility shall display symbolic information appearing in the object file, executable file, or object-file library named by file. If no symbolic information is available for a valid input file, the nm utility shall report that fact, but not consider it an error condition.
The common usage:
nm lib.a
it will prints the names.
For more options, check the nm manual.