Generating error traces from verification-condition counterexamples

  • Authors:
  • K. Rustan M. Leino;Todd Millstein;James B. Saxe

  • Affiliations:
  • Microsoft Research, Redmond, WA;UCLA Computer Science Department, Los Angeles, CA;HP Laboratories, Palo Alto, CA

  • Venue:
  • Science of Computer Programming - Formal methods for components and objects pragmatic aspects and applications
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

A technique for finding errors in computer programs is to translate a given program and its correctness criteria into a logical formula in mathematics and then let an automatic theorem prover check the validity of the formula. This approach gives the tool designer much flexibility in which conditions are to be checked, and the technique can reason about as many aspects of the given program as the underlying theorem prover allows. This paper describes a method for reconstructing, from the theorem prover's mathematical output, error traces that lead to the program errors that the theorem prover discovers.