Method for testing a computer program
OwnerChristopher Huth, Max Camillo Eiseleinventors
Life of this patent
Estimating the term…
Abstract
A method for testing a computer program. The method includes ascertaining uninitialized variables of the test program, setting watchpoints to memory locations reserved for the uninitialized variables, and executing the computer program. The method also includes, for each set watchpoint: removing the watchpoint if the memory location to which the watchpoint is set is written to; and indicating that the computer program has an error if the watchpoint is triggered by a read access.
Claims10
A method for testing a computer program, comprising the following steps:
- ascertaining uninitialized variables of the computer program;
- setting watchpoints to memory locations reserved for the uninitialized variables;
- and
- executing the computer program, wherein the method includes, for each set watchpoint:
- removing the watchpoint when the memory location to which the watchpoint is set is written to, and
- indicating that the computer program has an error when the watchpoint is triggered by a read access.
A test arrangement configured to test a computer program, the test arrangement configured to:
- ascertain uninitialized variables of the computer program;
- set watchpoints to memory locations reserved for the uninitialized variables;
- and
- execute the computer program, wherein the method includes, for each set watchpoint:
- remove the watchpoint when the memory location to which the watchpoint is set is written to, and
- indicate that the computer program has an error when the watchpoint is triggered by a read access.
A non-transitory computer-readable medium on which is stored a computer program including instructions for testing a computer program, the computer program, when executed by a computer, causing the processor to perform the following steps:
- ascertaining uninitialized variables of the computer program;
- setting watchpoints to memory locations reserved for the uninitialized variables;
- and
- executing the computer program, wherein the method includes, for each set watchpoint:
- removing the watchpoint when the memory location to which the watchpoint is set is written to, and
- indicating that the computer program has an error when the watchpoint is triggered by a read access.
Dependencies are inferred from the claim text.