×

Specifying an invariant property (range of addresses) in the annotation in source code of the computer program

  • US 7,013,460 B2
  • Filed: 05/15/2001
  • Issued: 03/14/2006
  • Est. Priority Date: 05/15/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method for verifying at runtime an invariant property of a data structure of a computer program, comprising:

  • automatically generating a first code segment that verifies a runtime value of the data structure is consistent with the invariant property in response to an annotation of the data structure that defines the invariant property of the data structure, wherein the invariant property is a range of addresses specified in the annotation in source code of the computer program;

    comparing the runtime value of the data structure with the invariant property during execution of the program via execution of the first code segment, and verifying that the runtime value of the data structure is within the range of addresses; and

    performing a programmed action if the runtime value is inconsistent with the invariant property.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×