Exploiting the Clang AST for Analysis of C++ Applications

Edward Duffy, Brian A. Malloy, Stephen A. Schaub · 2014

In this paper, we describe our methodology for leveraging the Clang parser front-end to address the problem of tool development. We describe our approach and demonstrate its utility by computing some common metrics for three version releases of a popular, open source video game, Aleph One, a continuation of Marathon, a game produced by Bungie Software. We describe our results for applying two commonly used metrics to the three version releases and we describe an interesting contradiction in the two metrics when applied to successive version releases of Aleph One.

Read the paper · More papers on PaperTik