Determining control flow divergence due to variable value difference
Abstract
An embodiment is directed to a method for analyzing a computer program that includes receiving an instruction specifying a first variable of the program. The first variable has a first value at a first location during program execution. The instruction further specifies a second value for the first variable at the first location. The method includes determining that a second location during program execution includes a conditional control flow instruction that includes the first variable. In addition, the method includes evaluating the conditional control flow instruction using the first and second values of the first variable at the second location. It may be determined whether control flow diverges at the second location based on the evaluating of the conditional control flow instruction using the first and second values at the second location.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for analyzing a computer program, comprising: receiving an instruction specifying a first variable of the program, the first variable having a first value at a first location during program execution, the instruction further specifying a second value for the first variable at the first location; determining that a second location during program execution includes a conditional control flow instruction that includes the first variable; evaluating the conditional control flow instruction using the first and second values of the first variable at the second location; and determining whet
- Claim 2Depends on #1
The method of claim 1 , wherein the determining t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (12)
Non-Patent Literature (5)
- "Tutorial-Eclipse: Advanced Debugging", Victoria University of Wellington, School of Engineering and Computer Science, Accessed Apr. 19, 2013, last updates Jan. 31, 2011, © Victoria University of Wellington, New Zealand. ecs.victoria.ac.nz/Support/EclipseAdvancedDebugging.
- "Tutorial—Eclipse: Advanced Debugging", Victoria University of Wellington, School of Engineering and Computer Science, Accessed Apr. 19, 2013, last updates Jan. 31, 2011, © Victoria University of Wellington, New Zealand. ecs.victoria.ac.nz/Support/EclipseAdvancedDebugging.
- Anton et al., "Determining Control Flow Divergence Due to Variable Value Difference," U.S. Appl. No. 14/488,543, filed Sep. 17, 2014.
- Tim-Arduino for Visual Studio, "Debugger-Change the Values of Variables on a Running Arduino", DIY Drones, Posted Nov. 12, 2012, Accessed Apr. 19, 2013, © 2013 Created by Chris Anderson. diydrones.com/profiles/blogs/debugger-change-the-values-of-variables-on-a-running-arduino.
- Tim-Arduino for Visual Studio, "Debugger—Change the Values of Variables on a Running Arduino", DIY Drones, Posted Nov. 12, 2012, Accessed Apr. 19, 2013, © 2013 Created by Chris Anderson. diydrones.com/profiles/blogs/debugger-change-the-values-of-variables-on-a-running-arduino.