System and method for static analysis using fault paths
Abstract
A system and method for analyzing a program includes determining possible bug paths in a program based on statistical analysis of test cases. A static analysis is then performed only on the possible bug paths. The bugs are then located in the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 12.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for analyzing a program, comprising the steps of: determining possible bug paths in a program using a processor based on statistics of at least one of type and location of bugs in test cases; performing a static analysis using the processor only on the possible bug paths; and locating the bugs in the program.
- Claim 2Depends on #1
The method as recited in claim 1 , wherein the step of determining includes performing a meet over possible bug paths (mobp) analysis which includes determining possible bug paths based on statistics of type and location of bugs in test cases.
- Claim 3Depends on #2
The method as recited in claim 2 , wherein the test case programs include unit tests and/or regression tests.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- Andreas Zeller, "Isolating Cause-Effect Chains from Computer Program", SIGSOFT 2002/ FSE-10, Nov. 18-22, 2002; Charleston, SC USA; 10 pages.
- Bjarne Steensgaard "Points-toAnalysis in Almost Linear Time", The 23rd Symposium on Principles of Programming Languages, pp. 32-41, 1996.
- Chen et al., Algorithms for compacting error traces, Jan. 2005, 5 pages.
- D. Avots, et al., "Improving Software Security with a C Pointer Analysis", ICSE, May 15-21, 2005; St. Louis MO, 10 pages.
- D. Brand, IBM Watson Research Center, Error Detection by Data Flow Analysis Restricted to Executable Paths, 1999, 22 pages, .