NEGATIVE PATH TESTING IN A BOOTLOADER ENVIRONMENT
First Claim
Patent Images
1. A method for negative path testing in a bootloader environment, comprising:
- backing up a global state of a component under test;
injecting a fault to trigger an error in the component under test in a bootloader environment;
executing error handling instructions until a checkpoint of the component under test in the bootloader environment is reached;
restoring the global state to the component under test from the backup; and
restarting the component under test.
2 Assignments
0 Petitions
Accused Products
Abstract
Negative path testing in a bootloader environment can include backing up a global state of a component under test, injecting a fault to trigger an error in the component under test in a bootloader environment, executing error handling instructions until a checkpoint of the component under test in the bootloader environment is reached, restoring the global state to the component under test from the backup, and restarting the component under test.
-
Citations
20 Claims
-
1. A method for negative path testing in a bootloader environment, comprising:
-
backing up a global state of a component under test; injecting a fault to trigger an error in the component under test in a bootloader environment; executing error handling instructions until a checkpoint of the component under test in the bootloader environment is reached; restoring the global state to the component under test from the backup; and restarting the component under test. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory machine-readable medium storing instructions for negative path testing in a bootloader environment executable by a processing resource to:
-
make a data segment twice as large as a sum of data sections; label a start and an end of a first portion of the data segment containing initialized data; label a start and an end of a second portion of the data segment comprising extra space; clear uninitialized data as an entry point to a component under test; save the initialized data between the start and the end of the first portion to the second portion; inject a fault to trigger an error in the component under test; perform error handling for the component under test; restore the initialized data by copying data between the start and the end of the second portion to the first portion; and branch to the entry point to the component under test. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A system for negative path testing in a bootloader environment, comprising:
-
a processing resource; and a memory resource coupled to the processing resource and storing instructions executable by the processing resource to; back up mutable portions of a component under test; inject a first fault to trigger a first error in the component under test in a bootloader environment; execute error handling instructions until a first checkpoint of the component under test in the bootloader environment; restore the mutable portions to the component under test from the backup; restart the component under test; inject a second fault to trigger a second error in the component under test in the bootloader environment; and execute error handling instructions until a second checkpoint of the component under test in the bootloader environment. - View Dependent Claims (19, 20)
-
Specification