Patents
US 7,873,945 B2#2429135 Most CitedActiveUnited States (USPTO)Utility

Automatically generating test cases for binary code

29Forward Citations (#2429135 Global)
1.9/yrCitation Velocity (#2245642 Global)
3.48Citation PageRank (#5954477 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

The present invention extends to methods, systems, and computer program products for automatically generating test cases for binary code. Embodiments of the present invention can automatically generate test inputs for systematically covering program execution paths within binary code. By monitoring program execution of the binary code on existing or random test cases, branch predicates on execution paths can be dynamically inferred. These inferred branch predicates can then be used to drive the program along previously unexplored execution paths, enabling the learning of further execution paths. Embodiments of the invention can be used in combination with other analysis and testing techniques to provide better test coverage and expose program errors.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    At a computer system, a method for automatically generating test cases for testing binary code, the method comprising: an act of accessing a portion of binary code that has a specified number of input variables; an act of analyzing the portion of binary code to identify the locations of conditional statements within the portion of binary code, each conditional statement including a branch predicate, the branch predicate used to determine the direction of the branch execution within the portion of binary code; an act of inserting instrumentation probes into the portion of binary code to probe i

Technical Overview & Description

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

Non-Patent Literature (5)

  • Beyleda et al. "BINTEST-search-based test case generation" Computer Software and Application Conference, 2003. COMPSAC 2003. Proceedings 27th Annual International Publication Year: 2003, pp. 28-33.
  • Gao, Haichang, et al., "A kind of SAaGA Hybrid Meta-heuristic Algorithm for the Automatic Test Data Generation", 2005 IDDD, pp. 111-114.
  • Korel, Bogdan, "Automated Software Test Data Generation", IEEE Transactions on Software Engineering, vol. 16 No. 8, Aug. 1990, pp. 870-879.
  • Liu, Hui, "Automated Verification and Test Case Generation for Input Validation", AST'06, May 23, 2006, Shanghai, China, 2006 ACM, pp. 29-35.
  • Paradkar et al. "Automatic test-generation for predicates [software testing]" Reliability, IEEE Transactions on, vol. 45, Issue: 4, pp. 515-530.