• 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
Detecting the presence of Guard Malloc in code?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting the presence of Guard Malloc in code?


  • Subject: Detecting the presence of Guard Malloc in code?
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 3 Feb 2006 10:50:14 -0700

I tried searching around, but I can't seem to find any way of detecting whether or not Guard Malloc is currently being used inside the image. I'd like to know because, if Guard Malloc is running, I'd rather not have my task launch a particular NSTask, since the NSTask will be launched with Guard Malloc running as well, and I don't want this to happen.

I already tried using NSIsSymbolNameDefined() and _dyld_func_lookup() with a number of different combinations of GMmalloc (GMmalloc, _GMmalloc, __dyld_GMmalloc) and none of them are returning a true value. Is there a method that works, and if so, then what is it?

Nick Zitzmann
<http://www.chronosnet.com/>


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Detecting the presence of Guard Malloc in code?
      • From: "Timothy J. Wood" <email@hidden>
  • Prev by Date: Re: Objective-C or Objective-C++
  • Next by Date: Re: Detecting the presence of Guard Malloc in code?
  • Previous by thread: Re: Custom NSView doesn't redraw itself properly after use of NSPopUpButton
  • Next by thread: Re: Detecting the presence of Guard Malloc in code?
  • Index(es):
    • Date
    • Thread