Whitebox trace fuzzing
Abstract
Disclosed is a process to generate and execute relevant, non-redundant test cases starting with an execution trace. An execution trace may be collected. A sequence of actions and the data involved in the actions may then be extracted from the execution trace and persisted separately from one another. Code for a non-deterministic program (“NDP”) may be generated, comprising the sequence of actions but without determining the data. A systematic program analysis of the NDP may be made, exploring possible execution paths and beginning from the path exercised by the persisted data. A new test case may be generated which fixes particular test inputs for the NDP.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 8.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
One or more computer-readable storage media storing instructions that when executed instruct a processor to perform acts comprising: collecting an execution trace resulting from software under test; extracting from the execution trace a sequence of actions; extracting from the execution trace observed data associated with the actions; generating code for a non-deterministic program (“NDP”) from the extracted execution trace; storing the observed data; performing a systematic program analysis of the NDP, starting from a path exercised by the observed data and extending into one or more differen
- Claim 2Depends on #1
The computer-readable storage media of claim of claim 1 , wherein the generated test case fixes particular test inputs for the NDP.
- Claim 3Independent Claim
The c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- "POCMock: the ultimate tool for creating Mock classes", retrieved on Mar. 13, 2009 at <<http://en.www.prettyobjects.com/POCMock,aspx>>, 2009 pretty OBJECTS, 1 page.
- "POCMock: the ultimate tool for creating Mock classes", retrieved on Mar. 13, 2009 at >, 2009 pretty OBJECTS, 1 page.
- "Rhino Mocks 3.5 RTM", retrieved on Mar. 13, 2009 at http://ayende.com/default.aspx>>, Ayende@ Rahien, Apr. 10, 2008, 2 pages.
- Csallner, et al., "DySy: Dynamic Symbolic Execution for Invariant Inference", retrieved on Mar. 13, 2009 at <<http://research.microsoft.com/pubs/70511/tr-2007-151.pdf, 10 pages.
- Ganesh, et al., "Taint-based Directed Whitebox Fuzzing", retrieved on Mar. 13, 2009 at <<http;//people.csail.mit.edu/vganesh/Publications—files/vg2009-BuzzFuzz-ICSE.pdf>>, MIT Computer Science and Artificial Intelligence Lab, pp. 1-11.