Thursday, May 26, 2011

Linux - nm Command

When you want to list the symbol in a shared object (.so) file, you can use nm command to list them.

Some examples are

1. List all symbol

nm your.so

2. List symbol that are external and de-mangled.

nm -gC your.so

3. List all undefined symbol

nm -u your.so

No comments:

Post a Comment