Method and device for operating fuzz testing of a program code
AssigneeRobert Bosch GmbH
InventorsAnupam Sarkar, Christopher Huth, Hans Loehr, Simon Greiner
Life of this patent
Estimating the term…
Abstract
A computer-implemented method for performing a test for a program code. The method includes the following steps: providing a modified program code, which includes the program code to be tested and at least one code segment, the at least one code segment monitoring an execution sequence of execution segments, and the code segment being developed to induce a program termination when an impermissible execution sequence is detected; performing a fuzz test for the modified program code; signaling a program termination when an impermissible execution sequence is detected.
Claims8
A computer-implemented method for performing a test for a program code, the method comprising the following steps:
- providing a modified program code, which includes the program code to be tested and at least one code segment, the at least one code segment monitoring an execution sequence of execution segments, and the code segment being configured to induce a program termination when an impermissible execution sequence is detected;
- performing a fuzz test for the modified program code;
- signaling a program termination when an impermissible execution sequence is detected.
A data processing device configured to perform a test for a program code, the data processing device configured to:
- supply a modified program code, which includes the program code to be tested and at least one code segment, the at least one code segment monitoring an execution sequence of execution segments, and the code segment being configured to induce a program termination when an impermissible execution sequence is detected;
- perform a fuzz test for the modified program code;
- signal a program termination when an impermissible execution sequence is detected.
A non-transitory machine-readable memory medium on which is stored a computer program for performing a test for a program code, the computer program, when executed by a data processing device, causing the data processing device to perform the following steps:
- providing a modified program code, which includes the program code to be tested and at least one code segment, the at least one code segment monitoring an execution sequence of execution segments, and the code segment being configured to induce a program termination when an impermissible execution sequence is detected;
- performing a fuzz test for the modified program code;
- signaling a program termination when an impermissible execution sequence is detected.
Dependencies are inferred from the claim text.