<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 4, 2012, at 4:20 PM, Karl Mazurak wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On 06/04/2012 02:40 PM, Manuel Klimek wrote:<br><blockquote type="cite">what we do is outputting strings of (key, value) pairs from the analysis<br></blockquote><blockquote type="cite">and later  fold those via an outside script;<br></blockquote><br>That's roughly what we were thinking about starting off with, which sounds like it should work fine with a plugin.  (Unless I'm overlooking something?)<br><br><blockquote type="cite">you can use python or somesuch for the post-processing<br></blockquote><br>Speaking of which, there isn't official documentation for the LibClang Python bindings yet, is there?<br><br><br></div></blockquote><blockquote type="cite"><div>On 06/04/2012 04:57 PM, Anna Zaks wrote:<br><blockquote type="cite">You can use ViewCFG and DumpCFG checkers to see how C++ statements are<br></blockquote><blockquote type="cite">modeled (and what the deficiencies are):<br></blockquote><blockquote type="cite">*clang -cc1 -analyze -analyzer-checker=debug.ViewCFG test.c*<br></blockquote><br>Hmm, my copy is still a bit out of date, but I'm getting nothing for ViewCFG; DumpCFG works fine, though.<br></div></blockquote>debug.ViewCFG output is based on Graphviz: <a href="http://llvm.org/docs/ProgrammersManual.html#ViewGraph">http://llvm.org/docs/ProgrammersManual.html#ViewGraph</a><br><blockquote type="cite"><div><br>Also, is either of these formats meant to be read back in?  In case we end up needing more detail in our whole program analyses.<br><br></div></blockquote>No. I don't think we have any CFG serialization mechanisms.</div><div><br></div><div>Also, Tooling infrastructure and the static analyzer are not currently integrated. The analyzer is relying on scan-build script to interpose itself on a build. Tooling is a new infrastructure which has been used for AST analyzes based projects like refactoring.</div><div><br><blockquote type="cite"><div><br>On 06/04/2012 06:06 PM, Jim Goodnow II wrote:<br><blockquote type="cite">Actually, except for some of the new c++11 concepts like lambdas, most<br></blockquote><blockquote type="cite">are currently handled and the analyzer can already be very useful for<br></blockquote><blockquote type="cite">C++ programs.<br></blockquote><br>Ah, good to know.<br><br><br>Thanks, all of you!<br><br>-- <br>Karl<br></div></blockquote></div><br></body></html>