System and method for generating a predicate abstraction of a program
Abstract
Described is a method that enables the automatic generation of a boolean program that is a predicate abstraction of a program written using a general programming language. The method is capable of abstracting code statements within the program that include procedure calls, assignments, goto statements, conditionals, and pointers. In accordance with the invention, predicates of interest are identified for each code statement in the program. For each particular code statement, the process generates predicate statements that describe an effect that the statement has on the predicates of interest. If the effect of a particular code statement is indeterminable, non-deterministic predicate statements are included in the boolean program to model the indeterminable nature of the code statement. In addition, if a particular code statement includes a procedure call, the arguments and return value of the procedure call are translated to associated predicates in the calling context.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for generating a boolean program that is a predicate abstraction of a program having a plurality of code statements, the method comprising: receiving a plurality of predicates that define properties for the program; for each code statement in the program, identifying one or more predicates of interest out of the plurality of predicates, wherein the predicates of interest are affected by a procedure call in the program; for each particular procedure call in the program, generating one or more predicate statements that describe an effect of the particular procedure
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (4)
- Ball et al., "Automatic Predicate Abstraction of C Programs," Programming Language Design and Implementation (PLDI '01), Snowbird, Utah, 11 pp. (May 2001).
- Ball et al., "Checking Temporal Properties of Software with Boolean Programs", by Thomas Ball and Sriram K. Rajamani, "Proceedings of the Workshop on Advances in Verification", Jul. 2000.
- Das et al., "Experience With Predicate Abstraction" Computer-Aided Verification (CAV'99), LNCS 1633, oo. 160-171 (1999).
- Tai, Kuo-Chung. "Predicate-Based Test Generation for Computer Programs", 1993, IEEE, pp. 267-276.