Re: Enabling AddressSanitizer from Xcode
Re: Enabling AddressSanitizer from Xcode
- Subject: Re: Enabling AddressSanitizer from Xcode
- From: Sean McBride <email@hidden>
- Date: Fri, 15 Mar 2013 10:34:31 -0400
- Organization: Rogue Research Inc.
On Thu, 14 Mar 2013 15:50:23 -0700, Jens Alfke said:
>I’ve used valgrind for similar purposes in the past — it’s great at
>detecting illegal memory accesses (even reading one byte past the end of
>an array, or reading any memory location that hasn’t been written to
>yet.) It’s been long enough that I don’t remember offhand how to set it
>up, but it was pretty straightforward.
>
>Does the Address Sanitizer go beyond what valgrind does?
They have overlapping abilities, and each can catch bugs the other cannot:
<http://llvm.org/devmtg/2011-11/Serebryany_FindingRacesMemoryErrors.pdf>
(slide #4)
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