mangling names

I am using eclipse on Ubuntu. Where would I find the encoded name for a c++ file ?

Last edited on
nm: list symbols from object files
thanks...but what if you want to look at the object itself ?
i.e..

i have test.cpp
using nm test.o gives me what's in test.cpp

How to I get to the mangling name for test.o ?
Then I don't understand what you want, ¿care to show an example?

1
2
3
//foo.cpp
void foo(int, int){}
void foo(int, double){}
$ nm foo.o
000000000000000c T _Z3fooid
0000000000000000 T _Z3fooii
`_Z3fooid' is the mangled name for `foo(int, double)'
Last edited on
got it.
thanks ne555
Topic archived. No new replies allowed.