System and method for preventing software errors
Abstract
The present invention provides systems and methods for preventing software errors caused by address range or alignment errors. In architecture, a representative system includes a compiler that parses a program and further comprises a logic that generates a verification value for a block of code in the program, a logic that stores the verification value in the block of code, and a logic that inserts verification value instruction code into the block of code. The present invention can also be viewed as a method for preventing software errors in a program. A representative method operates by generating a verification value for a block of code in the program, and storing the verification value in the block of code. During execution of the program, a runtime verification value is generated for the block of code, and the block of code is executed if the verification value equals the runtime verification value, and generates an error message if the verification value does not equals the runtime verification value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for preventing software errors in a program, said method comprising steps of: generating a verification value for a block of code in the program, the block of code corresponding to one of a statically allocated object, a procedure call and a function call; storing the verification value in the block of code; computing a runtime verification value for the block of code during execution of the program; executing the block of code if the verification value equals the runtime verification value; and generating an error message if the verification value does not equal the runtime verificat
- Claim 2Depends on #1
The method of claim 1 , wherein the generating a verification value step further comprises: allocating area for the generated verification value.
- Claim 3Depends on #1
The method of claim 1 , wherein the generating a verification value step furth
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (2)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 6,122,738 A | Computer file integrity verification | 2000 | 40 |
| US 6,732,306 B2 | Special programming mode with hashing | 2004 | 9 |