interstar interstar - 3 months ago 8
C Question

How can I look inside a Linux .so or .a object and see what functions they contain?

The linker can presumably do this, so is there a command-line tool to list functions in object files and tell me the names of functions and their signatures?

Answer

you can do nm Linux.so and it'll show the functions and variables inside the .so file.

Comments