• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
creating a load map to associate addresses with symbols
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: creating a load map to associate addresses with symbols
      • From: Jason Molenda <email@hidden>
    • Re: creating a load map to associate addresses with symbols
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Xcode 2.3 changes $ARCHS=ppc i386 to $NATIVE_ARCH?
  • Next by Date: Re: creating a load map to associate addresses with symbols
  • Previous by thread: Xcode 2.3 changes $ARCHS=ppc i386 to $NATIVE_ARCH?
  • Next by thread: Re: creating a load map to associate addresses with symbols
  • Index(es):
    • Date
    • Thread