Title of article :
Extensible intraprocedural flow analysis at the abstract syntax tree level
Author/Authors :
Emma S?derberg، نويسنده , , Torbj?rn Ekman، نويسنده , , G?rel Hedin، نويسنده , , Eva Magnusson، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2013
Abstract :
We have developed a new approach for implementing precise intraprocedural control-flow and dataflow analyses at the abstract syntax tree level. Our approach is declarative, making use of reference attribute grammars augmented with circular attributes and collection attributes. This results in concise executable specifications of the analyses, allowing extensions both to the language and with further source code analyses.To evaluate the new approach, we have implemented control flow, dataflow and dead assignment analyses for Java, by extending the JastAdd Extensible Java Compiler. We have compared our results to several well-known analysis frameworks and tools, using a set of Java programs as benchmarks. These results show that our approach performs well concerning both efficiency and preciseness
Keywords :
Attribute grammars , Java , declarative , Dataflow , analysis , Control-flow , Compiler
Journal title :
Science of Computer Programming
Journal title :
Science of Computer Programming