Sciweavers

SCAM
2003
IEEE

XOgastan: XML-Oriented gcc AST Analysis and Transformations

13 years 9 months ago
XOgastan: XML-Oriented gcc AST Analysis and Transformations
Software maintenance, program analysis and transformation tools almost always rely on static source code analysis as the first and fundamental step to gather information. In the past, two different strategies have been adopted to develop tool suites. There are tools encompassing or implementing the source parse step, where the parser is internal to the toolkit, developed and maintained with it. A different approach builds tools on the top of external, already availmponents such as compilers that output the abstract syntax tree, or make it available via an API. This paper presents an approach and a tool, XOgastan, developed exploiting the gcc/g++ ability to save a repren of the intermediate abstract syntax tree into a file. XOgastan translates the gcc/g++ format into a Graph eXchange Language representation, thus taking advantage of the high number of currently available XML tools for the subsequent analysis phases. Here the tool is illustrated and its design is discussed, showing it...
Giuliano Antoniol, Massimiliano Di Penta, Gianluca
Added 05 Jul 2010
Updated 05 Jul 2010
Type Conference
Year 2003
Where SCAM
Authors Giuliano Antoniol, Massimiliano Di Penta, Gianluca Masone, Umberto Villano
Comments (0)