Fixed `ZydisISAExt` enum

This commit is contained in:
flobernd 2017-09-14 17:54:22 +02:00
parent 1b56dfc49a
commit f230688af4
3 changed files with 2543 additions and 2481 deletions

View File

@ -9,7 +9,12 @@ typedef uint8_t ZydisISAExt;
enum ZydisISAExts
{
ZYDIS_ISA_EXT_INVALID,
ZYDIS_ISA_EXT_AES,
ZYDIS_ISA_EXT_AMD,
ZYDIS_ISA_EXT_AMD3DNOW,
ZYDIS_ISA_EXT_AVX,
ZYDIS_ISA_EXT_AVX2,
ZYDIS_ISA_EXT_AVX2GATHER,
ZYDIS_ISA_EXT_AVX512BW_128,
ZYDIS_ISA_EXT_AVX512BW_128N,
ZYDIS_ISA_EXT_AVX512BW_256,
@ -43,14 +48,21 @@ enum ZydisISAExts
ZYDIS_ISA_EXT_AVX512_VBMI_256,
ZYDIS_ISA_EXT_AVX512_VBMI_512,
ZYDIS_ISA_EXT_AVX512_VPOPCNTDQ_512,
ZYDIS_ISA_EXT_AVXAES,
ZYDIS_ISA_EXT_BDW,
ZYDIS_ISA_EXT_BMI1,
ZYDIS_ISA_EXT_BMI2,
ZYDIS_ISA_EXT_CET,
ZYDIS_ISA_EXT_CLFLUSHOPT,
ZYDIS_ISA_EXT_CLFSH,
ZYDIS_ISA_EXT_CLWB,
ZYDIS_ISA_EXT_CLZERO,
ZYDIS_ISA_EXT_CMOV,
ZYDIS_ISA_EXT_CMPXCHG16B,
ZYDIS_ISA_EXT_F16C,
ZYDIS_ISA_EXT_FAT_NOP,
ZYDIS_ISA_EXT_FCMOV,
ZYDIS_ISA_EXT_FMA,
ZYDIS_ISA_EXT_FMA4,
ZYDIS_ISA_EXT_FXSAVE,
ZYDIS_ISA_EXT_FXSAVE64,
@ -70,9 +82,12 @@ enum ZydisISAExts
ZYDIS_ISA_EXT_KNC_PF_HINT,
ZYDIS_ISA_EXT_LAHF,
ZYDIS_ISA_EXT_LONGMODE,
ZYDIS_ISA_EXT_LZCNT,
ZYDIS_ISA_EXT_MONITOR,
ZYDI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DIS_ISA_EXT_MAX_VALUE ZYDIS_ISA_EXT_XSAVES
#define ZYDIS_ISA_EXT_MAX_BITS 0x0007

View File

@ -1,7 +1,12 @@
static const char* zydisISAExtStrings[] =
{
"INVALID",
"AES",
"AMD",
"AMD3DNOW",
"AVX",
"AVX2",
"AVX2GATHER",
"AVX512BW_128",
"AVX512BW_128N",
"AVX512BW_256",
@ -35,14 +40,21 @@ static const char* zydisISAExtStrings[] =
"AVX512_VBMI_256",
"AVX512_VBMI_512",
"AVX512_VPOPCNTDQ_512",
"AVXAES",
"BDW",
"BMI1",
"BMI2",
"CET",
"CLFLUSHOPT",
"CLFSH",
"CLWB",
"CLZERO",
"CMOV",
"CMPXCHG16B",
"F16C",
"FAT_NOP",
"FCMOV",
"FMA",
"FMA4",
"FXSAVE",
"FXSAVE64",
@ -62,9 +74,12 @@ static const char* zydisISAExtStrings[] =
"KNC_PF_HINT",
"LAHF",
"LONGMODE",
"LZCNT",
"MONITOR",
"MOVBE",
"MPX",
"PAUSE",
"PCLMULQDQ",
"PENTIUMMMX",
"PENTIUMREAL",
"PKU",
@ -72,20 +87,36 @@ static const char* zydisISAExtStrings[] =
"PPRO",
"PREFETCHWT1",
"PREFETCH_NOP",
"PT",
"RDPMC",
"RDRAND",
"RDSEED",
"RDTSCP",
"RDWRFSGS",
"RTM",
"SGX",
"SHA",
"SMAP",
"SMX",
"SSE",
"SSE2",
"SSE2MMX",
"SSE3",
"SSE3X87",
"SSE4",
"SSE42",
"SSEMXCSR",
"SSE_PREFETCH",
"SSSE3",
"SSSE3MMX",
"SVM",
"TBM",
"VMFUNC",
"XOP"
"VTX",
"X87",
"XOP",
"XSAVE",
"XSAVEC",
"XSAVEOPT",
"XSAVES"
};

File diff suppressed because it is too large Load Diff