ACM Transactions on Programming Languages and Systems · 2002 · 784 citations · 26 references
ComputingComputer ScienceFormal MethodsProgramming LanguagesAbstract InterpretationData-flow AnalysisMemory ModelingShape AnalysisShape RepresentationAbstract SemanticsInvariantsStructural InvariantsThree-valued Logic
Shape analysis seeks shape invariants for programs that destructively update dynamically allocated storage. The article proposes a parametric framework for shape analysis that can be instantiated to yield algorithms with varying efficiency and precision. The framework represents possible stores with 3‑valued logical structures, and its instantiations vary by the predicates used, allowing application to any program while potentially yielding imprecise but conservative results.
Shape analysis concerns the problem of determining "shape invariants" for programs that perform destructive updating on dynamically allocated storage. This article presents a parametric framework for shape analysis that can be instantiated in different ways to create different shape-analysis algorithms that provide varying degrees of efficiency and precision. A key innovation of the work is that the stores that can possibly arise during execution are represented (conservatively) using 3-valued logical structures. The framework is instantiated in different ways by varying the predicates used in the 3-valued logic. The class of programs to which a given instantiation of the framework can be applied is not limited a priori (i.e., as in some work on shape analysis, to programs that manipulate only lists, trees, DAGS, etc.); each instantiation of the framework can be applied to any program, but may produce imprecise results (albeit conservative ones) due to the set of the set of predicates employed.
26
Patrick Cousot, Radhia Cousot · 1977 · 6.2K citations
Systematic design of program analysis frameworks
Patrick Cousot, Radhia Cousot · 1979 · 1.6K citations · Full text
Analysis of pointers and structures
David Chase, Mark N. Wegman, F. K. Zadeck · ACM SIGPLAN Notices · 2004 · 437 citations