• 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
guardmalloc with no frame pointers...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guardmalloc with no frame pointers...


  • Subject: guardmalloc with no frame pointers...
  • From: "Jeff Roberts" <email@hidden>
  • Date: Wed, 25 Oct 2006 08:08:38 -0700
  • Organization: RAD Game Tools

Is there a way to use guardmalloc in a dylib that doesn't require stack frame pointers?

On x86 Mac, we use the Intel compiler which agressively reuses EBP as a general register whenever it can. However, if you call malloc in any function that doesn't have a valid EBP (or valid EBP all the way up the callback chain), then guardmalloc crashes (it's not a guardmalloc warning - rather, guardmalloc itself actually crashes while backtracking the stack).

Is there a way to turn off stack backtracking, but still use the guard checks? I'd rather not rebuild my entire library with frame pointers turned back on, just to support our developers that want to use gm...

->Jeff

_______________________________________________
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


  • Prev by Date: Re: using chud.framework
  • Next by Date: Accessing function definitions
  • Previous by thread: Re: using chud.framework
  • Next by thread: Accessing function definitions
  • Index(es):
    • Date
    • Thread