Analysis of the effect of program execution of calling components with data variable checkpointing and resource allocation analysis
Abstract
An error detection mechanism for detecting programming errors in a computer program. A component of the computer program, e.g., a procedure or function of the computer program, is analyzed to determine the effect of the component on resources used by the computer program. A component is analyzed by traversing the computer instructions, i.e., statements, of the component and tracking the state of resources used by the component as affected by the statements of the component. Each resource has a prescribed behavior represented by a number of states and transition between states. Violations in the prescribed behavior of a resource resulting from an emulated execution of the statements of the component are detected and reported as programming errors. Resources used by two or more components are modelled by modelling externals of the components. The effect of execution of a component on externals and resources of the component is determined by traversing one or more possible control flow paths through the component and tracking the use of each external and resource by each statement of each control flow path. Once the effect of execution of a component on externals and resources of the
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 127.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for analyzing the effect of execution of a calling component of a computer program on an item of the calling component, the method comprising: determining that the calling component includes a call to a called component, of which the item is an external; and determining, from a component model which describes effects of execution of the called component on one or more externals of the called component, the effect of execution of the called component on the item, said component model specifying operations applied to said one or more externals and corresponding state changes produced
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 127 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Austin et al., "Efficient Detection of All Pointer and Array Access Errors," ACM SIGPLAN, document No. 0-89791-662-x/94/0006, pp. 290-301 (1994).
- Austin et al., Efficient Detection of All Pointer and Array Access Errors, ACM SIGPLAN, document No. 0 89791 662 x/94/0006, pp. 290 301 (1994).
- Bogdan Korel, "Automated Software Test Data Generation," IEEE Transactions on Software Engineering, vol. 16, No. 8, pp. 870-879 (Aug. 1990).
- Bogdan Korel, Automated Software Test Data Generation, IEEE Transactions on Software Engineering, vol. 16, No. 8, pp. 870 879 (Aug. 1990).
- Boris Beizer, Software Testing Techniques, 2nd Ed., Van Nostrand Reinhold, New York, NY., pp. 59 60, 70 77, 145 and 150 172 (1990).