c++ - components of a symbol name in objdump output -
i'm trying use objdump compare 2 different versions of binary file , wondering if knew how interpret symbol name following line of objdump output:
102b33bc l o .rodata 00000058 thisismystruct::thisismystruct()::c.24
this output generated using following command:
objdump -t -c -r -w --special-syms my.bin > my.bin.txt
my problem 2 different versions of my.bin have same line, 1 has c.24 @ end , other has c.12 @ end.
what c.# represent?
thanks!
it represents whatever compiler wants represent. symbol name mangling entirely compiler specific, , vary version of compiler. other day surprised when gcc compiler options resulted in different symbol mangling. fun.
a search of http://gcc.gnu.org not seem find documentation gcc's name mangling. general google search not enlightening.
Comments
Post a Comment