• 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: MallocGuardEdges not finding buffer overrun
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MallocGuardEdges not finding buffer overrun


  • Subject: Re: MallocGuardEdges not finding buffer overrun
  • From: David Dunham <email@hidden>
  • Date: Tue, 16 Jan 2007 19:47:24 -0800

On 16 Jan 2007, at 17:45, Eric Albert wrote:

Looking at the source code for Libc, MallocGuardEdges adds guard pages whenever malloc grabs new pages from the VM system. In other words, it guards malloc regions, not individual allocations. That makes it far less useful for tracking down overruns (or, rather, for just about anything) than you'd like.

Ah, that's a pretty clear explanation.

In my experience Guard Malloc runs quite a lot faster (albeit still very slowly) on Intel systems with lots of RAM, so if you were doing this work on PowerPC you might want to give an Intel Mac a shot.

I happened to be using PowerPC. I'll try Intel (though I don't know if 2 GB on my MacBook Pro counts as lots).


David Dunham       Development Manager
+1 206 926 5722      GameHouse Studios


_______________________________________________ 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: MallocGuardEdges not finding buffer overrun
      • From: Thomas Engelmeier <email@hidden>
References: 
 >MallocGuardEdges not finding buffer overrun (From: David Dunham <email@hidden>)
 >Re: MallocGuardEdges not finding buffer overrun (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: Tip: How to add an Xcode template timestamp macro
  • Next by Date: Re: MallocGuardEdges not finding buffer overrun
  • Previous by thread: Re: MallocGuardEdges not finding buffer overrun
  • Next by thread: Re: MallocGuardEdges not finding buffer overrun
  • Index(es):
    • Date
    • Thread