ComputingComputer ScienceCompilersComputer ArchitectureProgramming LanguagesAbstract Syntax TreesCompiler ConstructionControl-flow AnalysisData-flow AnalysisIntermediate RepresentationStatic Code AnalysisCall Graph ConstructionControl DependenceControl-flow Graph ConstructionData Flow PatternsIntermediate Representation DesignProgram ComprehensionProgram Dependence GraphsProgram Representation
The process of program comprehension is often aided by the use of static analysis tools to provide a maintainer with different views of the code. Each view however often requires a different intermediate program representation, leading to redundancies and repetition of information. A solution is to develop a single intermediate representation which contains sufficient information to construct each program view. This paper describes the Combined C Graph (CCG), a fine-grained intermediate representation for programs written in the C language from which program slices, call graph, flow-sensitive data flow, definition-use and control dependence views can be easily constructed. The CCG allows the representation of embedded side effects and control flows and value returning functions with value parameters. The effects of pointer parameters are also modelled. Construction of the CCG makes use of the PERPLEX C analysis tool which produces a generic Prolog fact base representation of the source code. Existing data flow analysis techniques are extended to allow the computation of flow-sensitive data flow analysis information.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>
6
Dependence analysis for pointer variables
Susan Horwitz, Phil Pfeiffer, Thomas Reps · 1989 · 233 citations
On the adequacy of program dependence graphs for representing programs
Susan Horwitz, Jan F. Prins, Thomas Reps · 1988 · 126 citations · Full text