Testing Mercurial with ASAN
Matt Mackall
mpm at selenic.com
Fri Apr 10 13:57:43 CDT 2015
On Fri, 2015-04-10 at 09:53 -0700, Bryan O'Sullivan wrote:
> If you haven't come across the Address Sanitizer that's shipped with clang
> and gcc the past few years, start here:
> https://code.google.com/p/address-sanitizer/wiki/AddressSanitizer
>
> I spent some time building and testing Mercurial against both clang (3.6)
> and gcc (4.9) ASAN implementations yesterday. The good, and
> unsurprising-to-me news: t's completely clean right now.
Nice!
I think we're at a point where we've got a fair amount of churn in the C
codebase and we need to record some of the C verification steps we're
doing on the wiki, so there's now a stub page:
http://mercurial.selenic.com/wiki/CVerificationTools
We've got a build script to download and build random versions of
Python, so perhaps the ASAN bits can be added.
Augie had some sort of reference-counting sanity checking tool as well.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list