Method and apparatus for evaluating paths in a state machine
Abstract
Methods and apparatus are provided for exploring paths through a graph representation of a program or another entity. According to one aspect of the invention, at least one property of a state machine, such as a graph representing a software program, is evaluated. One or more paths in the state machine are evaluated using a state exploration algorithm, wherein the state exploration algorithm maintains a stack data structure representing a current path being processed from an entry state to a current state and a visited state cache indicating zero or more states that have been evaluated. When a state satisfies at least one property, such as having an error, each of the states in the path are removed from the visited states cache if the path satisfies one or more predefined criteria. The one or more predefined criteria may comprise a feasibility of the path.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for evaluating at least one property of a state machine, said method comprising the steps of: evaluating one or more paths in said state machine using a state exploration algorithm, wherein said state exploration algorithm maintains a stack data structure representing a current path being processed from an entry state to a current state and a visited state cache indicating zero or more states that have been evaluated; and determining whether said path to said current state satisfies one or more predefined criteria when a state satisfies said at least one property; and removing each of
- Claim 2Depends on #1
The method of claim 1 , wherein said state exploration algorithm is a depth-first search (DFS).
- Claim 3Depends on #1
The method of claim 1
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (4)
- Brand, Daniel, "A Software Falsifier", International Symposium on Software Reliability Engineering, pp. 174-185, Oct. 2000.
- D. Brand, Error Detection by Data Flow Analysis Restricted to Executable Paths, IBM T.J. Watson Research Center, May 24, 1999.
- Dams, et al., "Orion: High-Precision Methods for Static Error Analysis of C and C++ Programs", downloadable from http://cm.bell-labs.com/who/dennis/Papers/dn04c.pdf, 2006.
- J. Geldenhuys, "State Caching Reconsidered," SPIN, 23-38 (2004).