retdec
Enumerations
x86_defs.h File Reference

Additional (on top of Capstone) definitions for x86 translator. More...

Go to the source code of this file.

Enumerations

enum  x86_reg_rflags {
  X86_REG_CF = X86_REG_ENDING + 1 , X86_REG_PF , X86_REG_AF , X86_REG_ZF ,
  X86_REG_SF , X86_REG_TF , X86_REG_IF , X86_REG_DF ,
  X86_REG_OF , X86_REG_IOPL , X86_REG_NT , X86_REG_RF ,
  X86_REG_VM , X86_REG_AC , X86_REG_VIF , X86_REG_VIP ,
  X86_REG_ID
}
 
enum  x87_reg_status {
  X87_REG_IE = X86_REG_ID + 1 , X87_REG_DE , X87_REG_ZE , X87_REG_OE ,
  X87_REG_UE , X87_REG_PE , X87_REG_SF , X87_REG_ES ,
  X87_REG_C0 , X87_REG_C1 , X87_REG_C2 , X87_REG_C3 ,
  X87_REG_TOP , X87_REG_B
}
 
enum  x87_reg_control {
  X87_REG_IM = X87_REG_B + 1 , X87_REG_DM , X87_REG_ZM , X87_REG_OM ,
  X87_REG_UM , X87_REG_PM , X87_REG_PC , X87_REG_RC ,
  X87_REG_X
}
 
enum class  x86_addr_space { DEFAULT = 0 , GS = 256 , FS = 257 , SS = 258 }
 

Detailed Description

Additional (on top of Capstone) definitions for x86 translator.

Enumeration Type Documentation

◆ x86_addr_space

enum x86_addr_space
strong

Representation of x86 address spaces.

Based on values in X86ISelDAGToDag.cpp.

Enumerator
DEFAULT 
GS 
FS 
SS 

◆ x86_reg_rflags

A flag register addition to x86_reg from capstone/x86.h. Translator works with flag registers explicitly, but they are modeled only as X86_REG_EFLAGS in the original x86_reg enum. This is intentionally not a strongly typed enum to keep it consistent with x86_reg enum.

Enumerator
X86_REG_CF 
X86_REG_PF 
X86_REG_AF 
X86_REG_ZF 
X86_REG_SF 
X86_REG_TF 
X86_REG_IF 
X86_REG_DF 
X86_REG_OF 
X86_REG_IOPL 
X86_REG_NT 
X86_REG_RF 
X86_REG_VM 
X86_REG_AC 
X86_REG_VIF 
X86_REG_VIP 
X86_REG_ID 

◆ x87_reg_control

An FPU control register addition to x86_reg from capstone/x86.h. Translator works with control registers explicitly, but it looks like they are not modeled in the original x86_reg enum. This is intentionally not a strongly typed enum to keep it consistent with x86_reg enum.

Enumerator
X87_REG_IM 
X87_REG_DM 
X87_REG_ZM 
X87_REG_OM 
X87_REG_UM 
X87_REG_PM 
X87_REG_PC 
X87_REG_RC 
X87_REG_X 

◆ x87_reg_status

An FPU status register addition to x86_reg from capstone/x86.h. Translator works with status registers explicitly, but they are modeled only as X86_REG_FPSW in the original x86_reg enum. This is intentionally not a strongly typed enum to keep it consistent with x86_reg enum.

Enumerator
X87_REG_IE 
X87_REG_DE 
X87_REG_ZE 
X87_REG_OE 
X87_REG_UE 
X87_REG_PE 
X87_REG_SF 
X87_REG_ES 
X87_REG_C0 
X87_REG_C1 
X87_REG_C2 
X87_REG_C3 
X87_REG_TOP 
X87_REG_B