x64: Add support for CET IBT.

Note: this is not enabled by default, look for CET in lj_arch.h
Contributed by Yuichiro Naito. #1391
This commit is contained in:
Mike Pall
2025-10-16 14:24:52 +02:00
parent 5c3254d68d
commit 25a61a1821
7 changed files with 95 additions and 10 deletions

View File

@@ -242,6 +242,9 @@ typedef enum {
XV_SHLX = XV_660f38(f7),
XV_SHRX = XV_f20f38(f7),
/* Special NOP instructions. */
XI_ENDBR64 = 0xfa1e0ff3,
/* Variable-length opcodes. XO_* prefix. */
XO_OR = XO_(0b),
XO_MOV = XO_(8b),