Linux: nm command 'G/g', 'p' and 'S/s' symbols types

59 Views Asked by At

I'm trying to understand the outputs of nm command, but I'm not able to find g, G, p, S and s types on my object files or executables.

I tried to code many C programs, compiling those files with differents gcc flags but I didn't succeed :/

Any tips ?

Thanks in advance ;)

What I've tried so far:

  • nm on several ELF64 and ELF32 not stripped executables /bin/*, /usr/bin/*, ...
  • nm On my own .o (ELF) files and executables (ELF)
  • nm On several dynamic libraries (.so / ELF): /usr/share, /usr/lib, ...
0

There are 0 best solutions below