Patents
US 8,434,064 B2#16110623 Most CitedActiveUnited States (USPTO)Utility

Detecting memory errors using write integrity testing

7Forward Citations (#16110623 Global)
0.5/yrCitation Velocity (#14817640 Global)
1.32Citation PageRank (#27938881 Global)
35Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods of detecting memory errors using write integrity testing are described. In an embodiment, additional analysis is performed when a program is compiled. This analysis identifies a set of objects which can be written by each instruction in the program. Additional code is then inserted into the program so that, at runtime, the program checks before performing a write instruction that the particular object being written is one of the set of objects that it is allowed to write. The inserted code causes an exception to be raised if this check fails and allows the write to proceed if the check is successful. In a further embodiment, code may also be inserted to perform checks before indirect control-flow transfer instructions, to ensure that those instructions cannot transfer control to locations different from those intended.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    One or more tangible device-readable memory with device-executable instructions for performing acts comprising: analyzing a program at compile-time to compute a set of objects associated with each instruction in the program, the set of objects associated with the instruction comprising objects that can be written by the instruction; assigning a first color to instructions and associated objects that are identified as safe; assigning a second color to an instruction and associated objects that are identified as unsafe; for each instruction identified as unsafe, defining a color set associated w

Technical Overview & Description

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

References Cited — Backward Prior Art (35)

PatentTitleYearCitations
US 5,408,650 AMemory analysis system for dynamically displaying memory allocation and de-allocation events associated with an application program1995165
US 5,611,043 ADebugger system and method for controlling child processes199771
US 5,909,580 ADevelopment system and methods with direct compiler support for detecting invalid use and management of resources and memory at runtime199995
US 5,963,972 AMemory architecture dependent program mapping199952
US 5,987,626 APrecise detection of errors using hardware watchpoint mechanism199911
US 2001049817 A1System developing method, storage medium, information processing apparatus, information terminal apparatus, information processing system, and information processing method—10
US 6,493,834 B1Apparatus and method for dynamically defining exception handlers in a debugger200236
US 6,550,056 B1Source level debugger for debugging source programs200368
US 2003110476 A1Source code debugger, debugging method and debugging program—15
US 2003172293 A1System and method of foiling buffer-overflow and alien-code attacks—73
US 6,993,663 B1Input buffer overrun checking and prevention200646
US 2006130021 A1Automated safe secure techniques for eliminating undefined behavior in computer software—93
US 2006195745 A1Methods and systems for repairing applications—86
US 2006195906 A1System, method, and service for detecting improper manipulation of an application—64
US 2006253508 A1System and method for creating target byte code—63
US 2006277539 A1Constraint injection system for immunizing software programs against vulnerabilities and attacks—149
US 2007006047 A1Architecture support system and method for memory monitoring—42
US 2007006150 A9Multi-level boot hierarchy for software development on an integrated circuit—143
US 2007006170 A1Execution failure investigation using static analysis—36
US 2007044075 A1Method for analysis of source code and display of corresponding output through a marking scheme—28
US 7,185,329 B1Use of different color sequences for variables of different sizes and different semantics200717
US 2007074190 A1Use of different color sequences for variables of different sizes and different semantics—8
US 2007074169 A1Apparatus and method for analyzing and supplementing a program to provide security—234

Non-Patent Literature (5)

  • "Advanced Doug lea's malloc exploits," retrieved on Mar. 7, 2008 at <<http://doc.bughunter.net/buffer-overflow/advanced-malloc-exploits.html>>, 37 pages.
  • "Advanced Doug lea's malloc exploits," retrieved on Mar. 7, 2008 at >, 37 pages.
  • "Beyond Stack Smashing: Recent Advances in Exploiting Buffer Overruns", IEEE Computer Society, 2004, pp. 8.
  • "Dangling pointer: Smashing the pointer for fun and profit," retrieved on Mar. 7, 2008 at <<http://download.watchfire.com/whitepapers/Dangling-Pointer.pdf>>, 31 pages.
  • "Dangling pointer: Smashing the pointer for fun and profit," retrieved on Mar. 7, 2008 at >, 31 pages.