loading...
 This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
11th Working Conference on Reverse Engineering (WCRE 2004)
TUAnalyzer — Analyzing Templates in C++ Code
Delft, The Netherlands
November 08-November 12
ISBN: 0-7695-2243-2
Thomas Gschwind, Technische Universität Wien
Martin Pinzger, Technische Universität Wien
Harald Gall, Universität Zürich
In this paper, we present TUAnalyzer, a novel tool that extracts the template structure of C++ programs on the basis of the GNU C/C++ Compiler?s internal representation of a C/C++ translation unit. In comparison to other such tools, our tool is capable of supporting the extraction of function invocations that depend on the particular instantiation of C++ templates and to relate them to their particular template instantiation. TUAnalyzer produces RSF format output that can be easily fed into existing visualization and analysis tools such as Rigi or Graphviz. We motivate why this kind of template analysis information is essential to understand real-world legacy C++ applications. We present how our tool extracts this kind of information to allow others to build on our results and further use the template information. The applicability of our tool has been validated on real code as proof of concept. The results obtained with TUAnalyzer enable us and other approaches and tools to perform detailed studies of large (open source) C/C++ projects in the near future.
Citation:
Thomas Gschwind, Martin Pinzger, Harald Gall, "TUAnalyzer — Analyzing Templates in C++ Code," wcre, pp.48-57, 11th Working Conference on Reverse Engineering (WCRE 2004), 2004
Usage of this product signifies your acceptance of the Terms of Use.