Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

creating a load map to associate addresses with symbols



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.