Re: What environment var corresponds to "Enable Guard Malloc"?
Re: What environment var corresponds to "Enable Guard Malloc"?
- Subject: Re: What environment var corresponds to "Enable Guard Malloc"?
- From: Sean McBride <email@hidden>
- Date: Thu, 19 Jun 2014 14:27:49 -0400
- Organization: Rogue Research Inc.
On Thu, 19 Jun 2014 11:23:21 -0700, Jens Alfke said:
>It appears that “Enable Guard Edges” corresponds to MallocGuardEdges.
Yes.
>But what does “Enable Guard Malloc” correspond to? I don’t see any
>option with a similar name described in the malloc(3) man page.
man libgmalloc
>Also, anyone know of instructions on how to use valgrind on Mac OS,
>preferably within Xcode?
Valgrind, last I checked, doesn't support the newest versions of OS X.
Have you looked at ASan instead? Infuriatingly not part of Apple's fork of clang, but you can build clang yourself, point Xcode at it, and use ASan. Catches most of what valgrind does, and more, and faster.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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