Symbolic execution of object oriented programs with axiomatic summaries
Abstract
Symbolic execution identifies possible execution paths of a computer program or method, each having certain constraints over the input values. The symbolic execution also records updates of memory locations, e.g. updates of the fields of symbolic objects in the heap of an object oriented program, involving a description of the previous heap, the updated symbolic object, a field identification, and a newly assigned symbolic value. The symbolic execution can also record calls to summarized methods, involving a description of previous calls, an identification of the summarized methods, and its symbolic arguments. The behavior of summarized methods can be expressed by axioms. Axioms describe the relationship between summarized methods under certain conditions. Axioms can be generated from parameterized unit tests. A parameterized unit test is a method with parameters which executes a sequence of calls to methods of an implementation under test; it asserts constraints over the inputs and outputs of the calls. A software testing program receives a parameterized unit test of an implementation under test, and symbolically executes the parameterized unit test. It can re-use axioms generated
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computerized method comprising: receiving a parameterized unit test of an implementation under test; creating, in a computer, at least one axiom summarizing behavior of at least one method of the parameterized unit test, wherein creating a given axiom comprises (a)-(c) for a given method: (a) exploring the given method with a modified one-step relation starting with a variable intensional heap, wherein the variable intensional heap is described by a history of method invocations; and (b) for the modified one-step relation, treating a call to a test statement that checks if an assertion is tr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Ambert et al., "BZ-TT: A Tool-Set for Test Generation from Z and B using Constraint Logic Programming," Formal Approaches to Testing of Software, FATES 2002 workshop of CONCUR '02, INRIA Report, Aug. 2002, pp. 105-119.
- Babic et al., "Modular Arithmetic Decision Procedure." Jul. 18, 2005. Microsoft Technical Reports TR-2005-114. http://research.microsoft.com/pubs/70210/tr-2005-114.pdf, retrieved on Jun. 23, 2009, 10 pages.
- Ball, "Formalizing Counterexample-driven Refinement with Weakest Preconditions," Proceedings of 2004 Marktoberdorf Summer School, Dec. 10, 2004, 19 pages.
- Barnett et al., "99.44% pure: Useful Abstractions in Specifications," Conference Proceedings ICIS report NIII-R0426, University of Nijmegen, 2004, pp. 11-19.
- Barnett et al., "The Spec# Programming System: An Overview," Construction and Analysis of Safe, Secure, and Interoperable Smart Devices: International Workshop, CASSIS 2004, vol. 3362 of LNCS, 2005, pp. 49-69.