Patents
US 8,739,145 B2#32809793 Most CitedActiveUnited States (USPTO)Utility

Super nested block method to minimize coverage testing overhead

3Forward Citations (#32809793 Global)
0.2/yrCitation Velocity (#28828123 Global)
1.08Citation PageRank (#37563126 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for determining the number and location of instrumentation probes to be inserted into a program is disclosed. The method advantageously inserts the minimum number of probes that are required to obtain execution coverage for every node in the program's control-flow graph. In addition, the method requires only one bit to store each probe and does not require the assignment of weights to arcs or nodes of the control-flow graph. In the illustrative embodiment, the nodes of a control-flow graph are partitioned into non-empty sets, where each non-empty set corresponds to a super nested block of the program.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method comprising: while a control-flow graph for a program is generated via a processor: determining a subset of nodes of the control-flow graph by solving a minimum-cut maximum-flow problem; partitioning the control-flow graph into subgraphs that correspond to child nodes of the subset of nodes; and determining a respective partition of each of the subgraphs; partitioning the program into a plurality of blocks of code based on the respective partition, wherein: (1) for any two consecutive lines of code within any block belonging to the plurality of blocks, when a first line of the two cons

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,790,858 AMethod and system for selecting instrumentation points in a computer program1998163
US 5,987,250 ATransparent instrumentation for computer program behavior analysis1999100
US 6,105,018 AMinimum leaf spanning tree200096
US 2002095660 A1Method and apparatus for analyzing software in a language-independent manner—109
US 6,481,008 B1Instrumentation and optimization tools for heterogeneous programs200295
US 2003041041 A1Spectral kernels for learning machines—51
US 2003046029 A1Method for merging white box and black box testing—81
US 2003145313 A1Enhanced instruction scheduling after register allocation by employing traces—13
US 6,671,876 B1Monitoring of software operation for improving computer program performance200344
US 2004088666 A1System and method for partitioning control-dataflow graph representations—58
US 2004088699 A1System and method for measuring code segment performance—59
US 2004154011 A1Speculative multi-threading for instruction prefetch and/or trace pre-build—98
US 2005050527 A1Data flow analysis of transactional processes—21
US 2005060696 A1Method and a system for constructing control flows graphs of binary executable programs at post-link time—30
US 2005060697 A1Method and a device for abstracting instruction sequences with tail merging—13
US 2005134587 A1Method and apparatus for segmenting an image in order to locate a part thereof—35
US 6,938,249 B2Compiler apparatus and method for optimizing loops in a computer program200548
US 2005223361 A1Software testing based on changes in execution paths—114
US 2005229165 A1Method and system for probe optimization while instrumenting a program—42
US 2006112377 A1Phantom serializing compiler and method of operation of same—80
US 2006212874 A1Inserting instructions—15
US 2006218537 A1Method of instrumenting code having restrictive calling conventions—29
US 2007074175 A1Method and system for dynamic probes for injection and extraction of data for test and monitoring of software—34
US 2007089097 A1Region based code straightening—19
US 2007103175 A1Static instrumentation macros for fast declaration free dynamic probes—35
US 2007174750 A1Apparatus and method for software-based control flow checking for soft error detection to improve microprocessor reliability—39
US 7,251,810 B1Minimal instrumentation for lossless call profiling200735

Non-Patent Literature (5)

  • Adam Betts and Guillem Bernat, "Tree-Based WCET Analysis on Instrumentation Point Graphs", Real-Times Systems Research Group, University of York, Apr. 24, 2006.
  • Definition of "Basic block," Wikipedia website, 3 pages, http://en.wikipedia.org/wiki/Basic-block.
  • Hanlai et al., Extended Control Flow Graph Based Performance Optimization Using Scratch-Pad Memory, Mar. 2005, 2 pages.
  • J. Jenny Li, David M. Weiss, and Howell Yee, "An Automatically-Generated Run-Time Instrumenter to Reduce Coverage Testing Overhead", Proceedings of the 3rd International Workshop on Automation of Software Test (AST'08), pp. 49-56, 2008.
  • Mustafa M. Tikir and Jeffrey K. Hollingsworth, "Efficient Online Computation of Statement Coverage", Computer Science Department, University of Maryland, College Park, MD, Nov. 2005.