[cfe-dev] Question on where to start contributing to Clang static analyzer
jordan_rose at apple.com
Thu Mar 14 09:41:01 PDT 2013
Hi, Brian. Glad to hear you're interested in the static analyzer!
Implementing a simple checker is a great way to get involved. I just looked through the list of potential checkers again, though, and a lot of them are either non-path-sensitive (though still important), or involve enhancements to the existing MallocChecker, which Anton is currently in the middle of improving. Two existing bug reports on Bugzilla suggest additional possibilities: checking that two C++ iterators are from the same container, and for checking that Objective-C collections are not mutated during iteration. I will warn you that the former has more pitfalls than it seems, since iterators are often copied around by value and thus won't have an associated symbol. But the latter may not interest you as much. (Of course, the C++11 version of the latter may also be interesting.)
Please e-mail us / the list with any questions you have!
On Mar 12, 2013, at 12:39 , Brian Keng <brian.keng at gmail.com> wrote:
> Hi all,
> I think Clang static analyzer is a great project and I'm interested in contributing. I've watched the "Building a Checker in 24 Hours" talk at the LLVM dev meeting, and I've seen the list of potential checkers here: http://clang-analyzer.llvm.org/potential_checkers.html
> So my question is, what's a good place to start and do you have any tips? I have some academic background in symbolic checkers/constraint solvers, and I've been developing C++ for a while now.
> My idea is to just pick up one of the (simpler) unimplemented checkers from the list and implement it to get my hands dirty.
> Brian Keng
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev