CPC G06F 21/572 (2013.01) [G06F 21/51 (2013.01); G06F 2221/033 (2013.01)] | 14 Claims |
1. A hardware monitor arranged to detect illegal firmware instructions in a firmware binary image based on a hardware design for an electronic device configured to execute the firmware binary image, detect illegal firmware instructions in the firmware binary image, and stop execution of the firmware binary image upon detection of an illegal firmware instruction, the hardware monitor comprising:
monitor and detection logic configured to:
detect that an instantiation of the hardware design has stopped execution of the firmware binary image; and
detect that the instantiation of the hardware design implements a decode of an illegal firmware instruction; and
assertion evaluation logic configured to determine whether the firmware binary image comprises an illegal firmware instruction by evaluating one or more formal assertions that assert a formal property that states that if a stop of firmware binary image execution has been detected, that decode of an illegal firmware instruction has, or has not, been detected.
|