nm

List symbol names in object files. More information: https://manned.org/nm.

nm -g path/to/file.o

nm -u path/to/file.o

nm -a path/to/file.o

nm --demangle path/to/file.o