Re: MallocGuardEdges not finding buffer overrun
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