Patents
US 8,869,113 B2#15921684 Most CitedActiveUnited States (USPTO)Utility

Software architecture for validating C++ programs using symbolic execution

7Forward Citations (#15921684 Global)
0.6/yrCitation Velocity (#13746811 Global)
1.47Citation PageRank (#23622261 Global)
38Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Particular embodiment compile a C++ program having one or more input variables to obtain bytecode of the C++ program; compile a C++ library to obtain bytecode of the C++ library; symbolically execute the bytecode of the C++ program and the bytecode of the C++ library, comprising assign a symbolic input to each input variable of the C++ program; determine one or more execution paths in the C++ program; and for each execution path, construct a symbolic expression that if satisfied, causes the C++ program to proceed down the execution path; and generate one or more test cases for the C++ program by solving the symbolic expressions.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 7.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: by one or more computing devices, compiling a C++ program having one or more input variables to obtain bytecode of the C++ program; modifying a standard C++ library associated with the C++ program to create an optimized C++ library, the optimized C++ library used for symbolic execution and the standard C++ library used for concrete execution, wherein modifying the standard C++ library comprises rewriting one or more classes defined in the standard C++ library to result in fewer execution paths; compiling the optimized C++ library to obtain bytecode of the optimized C++ lib

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (38)

PatentTitleYearCitations
US 5,325,530 AController for sequential programming tools executed in a parallel computing environment199484
US 5,367,685 AMethod and apparatus for resolving data references in generated code1994233
US 5,511,198 AOptimizing compiler for shortening execution time of object program199664
US 2004015934 A1Mechanism for software pipelining loop nests—24
US 6,766,511 B1Apparatus and method for performing symbolic resolution of modules using static representations of a trace200459
US 2004148475 A1Method, apparatus, program and recording medium for memory access serialization and lock management—18
US 2004181713 A1Automatic identification of input values that expose output failures in software object—54
US 6,918,106 B1Method and apparatus for collocating dynamically loaded program files200528
US 2005229044 A1Predicate-based test coverage and generation—87
US 6,988,263 B1Apparatus and method for cataloging symbolic data for use in performance analysis of computer programs200666
US 2006023723 A1Object oriented library for markov chain monte carlo simulation—15
US 7,171,655 B2Verifier to check intermediate language200786
US 2007033576 A1Symbolic execution of object oriented programs with axiomatic summaries—64
US 2007130403 A1Apparatus, method and computer program product providing data serializing by direct memory access controller—12
US 7,231,632 B2System for reducing the number of programs necessary to render an image200742
US 2007150869 A1Performance computer program testing after source code modification using execution conditions—20
US 2008010635 A1Method, Apparatus, and Program Product for Improving Branch Prediction in a Processor Without Hardware Branch Prediction but Supporting Branch Hint Instruction—24
US 2008256517 A1Method and System for Automatically Generating Unit Test Cases Which Can Reproduce Runtime Problems—105
US 7,441,110 B1Prefetching using future branch path information derived from branch prediction200842
US 2009106737 A1Using Cross-entropy to Test Executable Logic Code—16
US 2009113550 A1Automatic Filter Generation and Generalization—50
US 7,614,041 B2System for reducing the number of programs necessary to render an image20096
US 7,624,449 B1Countering polymorphic malicious computer code through code optimization200959

Non-Patent Literature (5)

  • Cadar, C., et al., "KLEE: Unassisted and Automatic Generation of High-Coverage Tests for Complex Systems Programs," OSDI '08 Proceedings of the 8th Usenix Conference on Operating Systems Design and Implementation, pp. 209-224, Dec. 8, 2008, 2010.
  • Cui, H., et al., "Stable Deterministic Multithreading through Schedule Memoization," Proceedings of the Ninth Symposium on Operating Systems Design and Implementation, pp. 1-15, Oct. 2010.
  • Li, G., "A Short Tutorial of CKLEE for CUDA (Version 0.01)*," http://www.cs.utah.edu/formal-verification/mediawiki/images/e/e5/GKLEE-Tutorial, pp. 1-8, dated: Nov. 3, 2010.
  • Li, G., “A Short Tutorial of CKLEE for CUDA (Version 0.01)*,” http://www.cs.utah.edu/formal—verification/mediawiki/images/e/e5/GKLEE—Tutorial, pp. 1-8, dated: Nov. 3, 2010.
  • Office Action for U.S. Appl. No. 13/021,604, Apr. 5, 2013.