nm
A command-line tool that lists the names an object file or executable defines and the names it needs from elsewhere.
nm prints an object file's or executable's symbol table, one symbol per line with its address and a type letter (T for defined code, U for undefined, D for initialized data, and so on).
See also