On Sun, May 1, 2011 at 2:38 AM, Daniel Shahaf <[email protected]> wrote:
> Nice series of patches tonight --- what tool / gcc flags did you use
> to catch them?

I've been playing around with clang-analyzer, a static analyzer that
is part of llvm:
http://clang-analyzer.llvm.org/

There are still a lot of false positives (it has trouble grokking our
SVN_ERR_ASSERT() macro), but it's been useful to find the kinds of
problems fixed in my patches the last few days.

At some point, it might be useful to set up a nightly buildbot to
automatically run static analysis on a regular basis.

-Hyrum

Reply via email to