how to retrieve mangled names in GCC. any Idea:?:

Recommended Answers

All 2 Replies

executables normally do not contain symbols unless compiled for debug. But compilers will often create map files that contain the mangled names. Check your compiler's documentation to see if it has an option to generate a map file, most likely it does.

I generated the map file with -Map option while compilation but it doesn't contain any mangled name. One way is using the object file and then using the command
nm -g --defined-only <object_file>
but then if I get some stream reader sort of thing my job becomes easier.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.