944,171 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 936
  • C RSS
Jan 30th, 2007
0

Mangled Names

Expand Post »
how to retrieve mangled names in GCC. any Idea
Similar Threads
Reputation Points: 64
Solved Threads: 7
Junior Poster
shouvik.d is offline Offline
198 posts
since Jan 2007
Jan 30th, 2007
0

Re: Mangled Names

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.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,963 posts
since Aug 2005
Jan 30th, 2007
0

Re: Mangled Names

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.
Reputation Points: 64
Solved Threads: 7
Junior Poster
shouvik.d is offline Offline
198 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC