• 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
Re: Why no execinfo.h?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why no execinfo.h?


  • Subject: Re: Why no execinfo.h?
  • From: Steve Checkoway <email@hidden>
  • Date: Fri, 21 Apr 2006 00:18:47 -0700


On Apr 20, 2006, at 4:56 PM, Rush Manbert wrote:
The only remaining issue is that the name returned by dladdr is mangled. My function called "level" is returned as _Z5leveli. I know about c++filt, is there any library function that can demangle the names?

There is. It's in <cxxabi.h>

char * abi::__cxa_demangle( const char *mangled_name, char *output_buffer, size_t *length, int *status );

I'm not sure what the status field is, but the rest is clear.

- Steve

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Why no execinfo.h?
      • From: Rush Manbert <email@hidden>
References: 
 >Why no execinfo.h? (From: Rush Manbert <email@hidden>)
 >Re: Why no execinfo.h? (From: Eric Albert <email@hidden>)
 >Re: Why no execinfo.h? (From: Rush Manbert <email@hidden>)

  • Prev by Date: Re: What causes this and how can I fix it ?
  • Next by Date: Help folder
  • Previous by thread: Re: Why no execinfo.h?
  • Next by thread: Re: Why no execinfo.h?
  • Index(es):
    • Date
    • Thread