Title :
From preprocessor-constrained parse graphs to preprocessor-constrained control flow
Author :
Dierk Lüdemann;Rainer Koschke
Author_Institution :
Universitä
Abstract :
Preprocessor-aware static analysis tools are needed for C Code to gain sound knowledge about the interference among all conditionally compiled program parts. We provide formal descriptions and algorithms to construct a preprocessor-aware control flow graph from preprocessor-aware parse graphs of SuperC. Based on the structure of parse graphs capturing the syntax nodes constrained by preprocessor constraints, we show how to model, formalize, and compute preprocessor-aware intra-procedural control-flow graphs. Such preprocessor-aware control-flow graphs may serve as the basis for subsequent preprocessor-aware control and data flow analyses.
Keywords :
"Syntactics","Data preprocessing","Grammar","Java","Linux","Algorithm design and analysis","Computational modeling"
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2015 IEEE 15th International Working Conference on
DOI :
10.1109/SCAM.2015.7335417