creating a load map to associate addresses with symbols
creating a load map to associate addresses with symbols
- Subject: creating a load map to associate addresses with symbols
- From: Brendan Creane <email@hidden>
- Date: Thu, 25 May 2006 17:42:44 -0700 (PDT)
Hi All,
I'm new to the xcode-user's group, and although I've
searched past posts, I may inadvertantly bring up an
old topic.
I'm trying to essentially create a stack backtrace
with symbols ... with a stripped (e.g. production
build) binary. My idea is to replicate what
backtrace_symbols() or dladdr() does with a routine
that consults some sort of load map to infer the
symbol name.
On linux, ld will create a load map by passing
"-Map=somefile.map", however the only OS X ld flag
I've found (-M) sends the load map to stdout.
Another possibility is to parse the new .dSYM files
... but I haven't found an API for accessing the
contents of the .dSYM file.
Another minor goal is to find analagous functionality
to libcwd to demangle C++ symbol names.
Any thoughts on strategies would be greatly
appreciated. Thanks for your time.
- Brendan Creane
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden