Optimizing libraries for validating C++ programs using symbolic execution
Abstract
Particular embodiments optimize a C++ function comprising one or more loops for symbolic execution, comprising for each loop, if there is a branching condition within the loop, then rewrite the loop to move the branching condition outside the loop. Particular embodiments may further optimize the C++ function through simplified symbolic expressions and adding constructs forcing delayed interpretation of symbolic expressions during the symbolic execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: by one or more computing devices, using a source code-to-source code rewrite to optimize a C++ function comprising one or more loops for symbolic execution, comprising: for a first loop of the one or more loops, the first loop comprising a first branching condition, performing semantics preserving source code-to-source code rewrite to convert the first loop to move the first branching condition outside the loop; and for a second loop of the one or more loops, the second loop comprising a second branching condition, rewriting the second loop to include a symbolic variable r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (5)
- Clarke, L., et al., Applications of Symbolic Evaluation, Journal of Systems and Software, vol. 5 Issue 1, Feb. 1985, pp. 15-35, [retrieved on Aug. 19, 2013], Retrieved from the Internet: .
- Clarke, L., et al., Applications of Symbolic Evaluation, Journal of Systems and Software, vol. 5 Issue 1, Feb. 1985, pp. 15-35, [retrieved on Aug. 19, 2013], Retrieved from the Internet: <URL:http://dl.acm.org/>.
- Hu, Y., et al., C/C++ Conditional Compilation Analysis Using Symbolic Execution, Proceedings of the International Conference on Software Maintenance, 2000, pp. 196-206, [retrieved on Aug. 19, 2013], Retrieved from the Internet: .
- Hu, Y., et al., C/C++ Conditional Compilation Analysis Using Symbolic Execution, Proceedings of the International Conference on Software Maintenance, 2000, pp. 196-206, [retrieved on Aug. 19, 2013], Retrieved from the Internet: <URL:http://ieeexplore.ieee.org/>.
- Lin, M., et al., Lazy Symbolic Evaluation and its Path Constraints Solution, ICSE Workshop on Automation of Software Test, 2009, pp. 79-87, [retrieved on Aug. 21, 2013], Retrieved from the Internet: .