×

Method for detecting program errors

  • US 5,355,469 A
  • Filed: 07/30/1990
  • Issued: 10/11/1994
  • Est. Priority Date: 07/30/1990
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of automatically detecting operational errors in execution of commands of a computer program in a computer by monitoring memory allocations, such commands being of the type that allocate memory for a variable, each variable having a name location, a name, and a size, comprising the steps of:

  • a. generating a logical table in the computer structured to store at least one entry comprising values for a variable name location, variable name, and variable size;

    b. defining a set of allocation test conditions;

    c. during execution in the computer of a command allocating a variable, comparing in the computer the variable name location, variable name, and variable size of the variable to the set of allocation test conditions, including comparison of the variable name location of the variable to the variable name location value of the at least one entry of the logical table;

    d. if the variable fails any one of the set of allocation test conditions, then generating an error indication to the computer;

    e. otherwise,(1) storing the variable name location, variable name, and variable size of the variable as an entry in the logical table; and

    (2) allocating the variable in the computer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×