Patent · US Active

Automatically generating test cases for binary code

US7873945B2 · kind B2 · utility

22Cited by
10References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 29, 2007
Grant dateJan 18, 2011
Priority date
Expiry dateNov 17, 2029

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F11/3688
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.