Method for testing a computer program
AssigneeRobert Bosch GmbH
InventorsChristopher Huth, Max Camillo Eisele
Life of this patent
Estimating the term…
Abstract
A method for testing a computer program. The method includes executing the computer program until a memory enable command is called for a memory region previously allocated by a memory allocation command of the computer program; skipping the memory enable command, and setting, for each of one or more memory locations of the memory region that is to be enabled by the memory enable command, a relevant watchpoint to the memory location of the memory region; and displaying, for each set watchpoint, that the computer program has a bug if the set watchpoint is triggered.
Claims7
A method for testing a computer program, comprising the following steps:
- executing the computer program until a memory enable command is called for a memory region previously allocated by a memory allocation command of the computer program;
- skipping the memory enable command, and setting, for each of one or more memory locations of the memory region that is to be enabled by the memory enable command, a relevant watchpoint to the memory location of the memory region;
- and
- displaying, for each set watchpoint, that the computer program has a bug when the set watchpoint is triggered.
A test arrangement configured to test a computer program, the test arrangement configured to:
- execute the computer program until a memory enable command is called for a memory region previously allocated by a memory allocation command of the computer program;
- skip the memory enable command, and set, for each of one or more memory locations of the memory region that is to be enabled by the memory enable command, a relevant watchpoint to the memory location of the memory region;
- and
- display, for each set watchpoint, that the computer program has a bug when the set watchpoint is triggered.
A non-transitory computer-readable medium on which is stored a computer program including instructions for testing a computer program, the instructions, when executed by a processor, causing the processor to perform the following steps:
- executing the computer program until a memory enable command is called for a memory region previously allocated by a memory allocation command of the computer program;
- skipping the memory enable command, and setting, for each of one or more memory locations of the memory region that is to be enabled by the memory enable command, a relevant watchpoint to the memory location of the memory region;
- and
- displaying, for each set watchpoint, that the computer program has a bug when the set watchpoint is triggered.
Dependencies are inferred from the claim text.