Patents
US 8,788,884 B2#18768331 Most CitedActiveUnited States (USPTO)Utility

Automatic correction of program logic

6Forward Citations (#18768331 Global)
0.5/yrCitation Velocity (#15911731 Global)
1.29Citation PageRank (#28972820 Global)
9Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An approach to detection and repair of application level semantic errors in deployed software includes inferring aspects of correct operation of a program. For instance, a suite of examples of operations that are known or assumed to be correct are used to infer correct operation. Further operation of the program can be compared to results found during correct operation and the logic of the program can be augmented to ensure that aspects of further examples of operation of the program are sufficiently similar to the examples in the correct suite. In some examples, the similarity is based on identifying invariants that are satisfied at certain points in the program execution, and augmenting (e.g., “patching”) the logic includes adding tests to confirm that the invariants are satisfied in the new examples. In some examples, the logic invokes an automatic or semi-automatic error handling procedure if the test is not satisfied. Augmenting the logic in this way may prevent malicious parties from exploiting the semantic errors, and may prevent failures in execution of the programs that may have been avoided.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method for automatically patching errors in a software system that includes a first software component and a second software component including a set of interfaces, the method comprising: monitoring a first set of executions of the software system including: monitoring a plurality of error-free interactions between the first software component and the set of interfaces of the second software component; identifying invariants from the plurality of error-free interactions, each invariant being associated with one or more contexts; forming a data structure including an ass

Technical Overview & Description

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

Non-Patent Literature (3)

  • "Web sites that can take a punch" by Larry Hardesty. MIT News: http://web.mit.edu/newsoffice/2010/web-attacks-0317.html, Mar. 17, 2010.
  • Ernst, M. D., Perkins, J. H., Guo, P. J., McCamant, S., Pacheco, C., Tschantz, M. S., and Xiao, C. "The Diakon system for dynamic detection of likely invariants." Science of Computer Programming 69, 1-3 (Dec. 2007).
  • Jeff H. Perkins, Sunghun Kim, Sam Larsen, Saman Amarasinghe, Jonathan Bachrach, Michael Carbin, Carlos Pacheco, Frank Sherwood, Stelios Sidiroglou, Greg Sullivan, Weng-Fai Wong, Yoav Zibin, Michael D. Ernst, and Martin Rinard. "Automatically patching errors in deployed software." In Proceedings of t