Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func X86Reference ¶
func X86Reference() *x86Reference
Types ¶
type AddressingType ¶
type AddressingType string
const ( CodeDirectAddress AddressingType = "DirectAddress" CodeBasedAddressA AddressingType = "BasedAddressA" CodeBasedAddressB AddressingType = "BasedAddressB" CodeBasedAddressD AddressingType = "BasedAddressD" CodeCRField AddressingType = "CRField" CodeDebugField AddressingType = "DebugField" CodeModRMAddress AddressingType = "ModRMAddress" CodeModRMAddressX87FPU AddressingType = "ModRMAddressX87FPU" CodeModRMX87FPU AddressingType = "ModRMX87FPU" CodeRFlags AddressingType = "RFlags" CodeGeneralReg AddressingType = "GeneralReg" CodeGeneralRegAddr AddressingType = "GeneralRegAddr" CodeImmediate AddressingType = "Immediate" CodeRelativeOffset AddressingType = "RelativeOffset" CodeModRMAddrOnlyMemory AddressingType = "ModRMAddrOnlyMemory" CodeModRM_MMX AddressingType = "ModRM_MMX" CodeModRMAddressMoffs AddressingType = "ModRMAddressMoffs" CodeModRM_MMXRegField AddressingType = "ModRM_MMXRegField" CodeModRMMinor AddressingType = "ModRMMinor" CodeSregField AddressingType = "SregField" CodeStackField AddressingType = "StackField" CodeRegFieldTest AddressingType = "RegFieldTest" CodeXmmRMField AddressingType = "XmmRMField" CodeXmmRegField AddressingType = "XmmRegField" CodeXmmOperand AddressingType = "XmmOperand" CodeMemoryAddressX AddressingType = "MemoryAddressX" CodeMemoryAddressY AddressingType = "MemoryAddressY" CodeModRM AddressingType = "ModRM" // r )
func GetCode ¶
func GetCode(s string) (AddressingType, bool)
type Instruction ¶
type Operand ¶
type Operand struct { Destination struct { Str string `yaml:"operand_s"` Address string `yaml:"a,omitempty"` Type string `yaml:"t,omitempty"` } `yaml:"dst,omitempty"` Source struct { Str string `yaml:"operand_s"` Address string `yaml:"a,omitempty"` Type string `yaml:"t,omitempty"` } `yaml:"src,omitempty"` }
Click to show internal directories.
Click to hide internal directories.