Automated Software Analysis Group

Inferring Specifications to Detect Errors in Code

  • Author:

    Mana Taghdiri

  • Place:

    International Conference on Automated Software Engineering (ASE), 2004. (distinguished paper award)

  • Date: Sep. 2004
  • A new static program analysis method for checking structural properties of code is proposed. The user need only provide a property to check; no further annotations are required. An initial abstraction of the code is computed that over-approximates the effect of function calls. This abstraction is then iteratively refined in response to spurious counterexamples. The refinement involves inferring a context-dependent specification for each function call, so that only as much information about a function is used as is necessary to analyze its caller. When the algorithm terminates, the remaining counterexample is guaranteed not to be spurious, but because the program and its heap are finitized, absence of a counterexample does not constitute proof.

BibTex

@InProceedings{taghdiri-2004,
    author    = "M. Taghdiri",
    title     = {Inferring Specifications to Detect Errors in Code},
    booktitle = {19th International Conference on Automated Software Engineering (ASE)},
    pages     = {144-153},
    year      = {2004}   
}