Semantic function corresponding to opcodes that Intel deems to be illegal or reserved
(x86-illegal-instruction message start-rip temp-rip x86) → x86
Note that the
Function:
(defun x86-illegal-instruction (message start-rip temp-rip x86) (declare (xargs :stobjs (x86))) (declare (type (signed-byte 48) start-rip) (type (signed-byte 48) temp-rip)) (let ((__function__ 'x86-illegal-instruction)) (declare (ignorable __function__)) (b* ((ctx 'x86-illegal-instruction) (x86 (!rip temp-rip x86))) (!!fault-fresh :ud message :instruction-address start-rip))))
Theorem:
(defthm x86p-of-x86-illegal-instruction (implies (x86p x86) (b* ((x86 (x86-illegal-instruction message start-rip temp-rip x86))) (x86p x86))) :rule-classes :rewrite)