diff --git a/go.mod b/go.mod index b6c5a53..75d8967 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/can1357/zydis-go go 1.22.1 require ( - github.com/can1357/gengo v0.1.8 + github.com/can1357/gengo v0.1.9 golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect golang.org/x/sys v0.19.0 // indirect golang.org/x/tools v0.1.12 // indirect diff --git a/go.sum b/go.sum index 3425771..25bb0f3 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/can1357/gengo v0.1.8 h1:EkXhNUq3jO/UBU2Fsnu2enofA62wvODRPhFxRelwSic= -github.com/can1357/gengo v0.1.8/go.mod h1:4qb/hPH3ONxXtgiXHDFHPteAfAm3LxafZX6A8/QCGsM= +github.com/can1357/gengo v0.1.9 h1:o77nlo3wIhxa7O5sTVFqDJKE2GR/V+jT22zD2gDxYrM= +github.com/can1357/gengo v0.1.9/go.mod h1:4qb/hPH3ONxXtgiXHDFHPteAfAm3LxafZX6A8/QCGsM= github.com/dave/dst v0.27.3 h1:P1HPoMza3cMEquVf9kKy8yXsFirry4zEnWOdYPOoIzY= github.com/dave/dst v0.27.3/go.mod h1:jHh6EOibnHgcUW3WjKHisiooEkYwqpHLBSX1iOBhEyc= github.com/dave/jennifer v1.5.0 h1:HmgPN93bVDpkQyYbqhCHj5QlgvUkvEOzMyEvKLgCRrg= diff --git a/zydis.go b/zydis.go index dfeb5a8..716b291 100644 --- a/zydis.go +++ b/zydis.go @@ -4585,64 +4585,64 @@ func init() { __imp_ZydisCalcAbsoluteAddressEx = GengoLibrary.ImportNow("ZydisCalcAbsoluteAddressEx") __imp_ZydisGetVersion = GengoLibrary.ImportNow("ZydisGetVersion") __imp_ZydisIsFeatureEnabled = GengoLibrary.ImportNow("ZydisIsFeatureEnabled") - gengort.Validate[ShortString](0x9, 0x1) - gengort.Validate[RegisterContext](0x850, 0x8, "Values", 0x0) - gengort.Validate[DecodedOperandReg](0x4, 0x4, "Value", 0x0) - gengort.Validate[DecodedOperandMem](0x28, 0x8, "Type", 0x0, "Segment", 0x4, "Base", 0x8, "Index", 0xc, "Scale", 0x10, "Disp", 0x18) - gengort.Validate[DecodedOperandMemDisp_](0x10, 0x8, "HasDisplacement", 0x0, "Value", 0x8) - gengort.Validate[DecodedOperandPtr](0x8, 0x4, "Segment", 0x0, "Offset", 0x4) - gengort.Validate[DecodedOperandImm](0x10, 0x8, "IsSigned", 0x0, "IsRelative", 0x1, "Value", 0x8) - gengort.Validate[DecodedOperandImmValue_](0x8, 0x8) - gengort.Validate[DecodedOperand](0x50, 0x8, "Id", 0x0, "Visibility", 0x4, "Actions", 0x8, "Encoding", 0xc, "Size", 0x10, "ElementType", 0x14, "ElementSize", 0x18, "ElementCount", 0x1a, "Attributes", 0x1c, "Type", 0x20) - gengort.Validate[Anon53065](0x28, 0x8) - gengort.Validate[AccessedFlags](0x14, 0x4, "Tested", 0x0, "Modified", 0x4, "Set0", 0x8, "Set1", 0xc, "Undefined", 0x10) - gengort.Validate[DecodedInstructionRawRex](0x5, 0x1, "W", 0x0, "R", 0x1, "X", 0x2, "B", 0x3, "Offset", 0x4) - gengort.Validate[DecodedInstructionRawXop](0x9, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "MMmmm", 0x3, "W", 0x4, "Vvvv", 0x5, "L", 0x6, "Pp", 0x7, "Offset", 0x8) - gengort.Validate[DecodedInstructionRawVex](0xa, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "MMmmm", 0x3, "W", 0x4, "Vvvv", 0x5, "L", 0x6, "Pp", 0x7, "Offset", 0x8, "Size", 0x9) - gengort.Validate[DecodedInstructionRawEvex](0xf, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "R2", 0x3, "Mmm", 0x4, "W", 0x5, "Vvvv", 0x6, "Pp", 0x7, "Z", 0x8, "L2", 0x9, "L", 0xa, "Br", 0xb, "V2", 0xc, "Aaa", 0xd, "Offset", 0xe) - gengort.Validate[DecodedInstructionRawMvex](0xd, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "R2", 0x3, "Mmmm", 0x4, "W", 0x5, "Vvvv", 0x6, "Pp", 0x7, "E", 0x8, "Sss", 0x9, "V2", 0xa, "Kkk", 0xb, "Offset", 0xc) - gengort.Validate[DecodedInstructionAvx](0x24, 0x4, "VectorLength", 0x0, "Mask", 0x4, "Broadcast", 0xc, "Rounding", 0x14, "Swizzle", 0x18, "Conversion", 0x1c, "HasSae", 0x20, "HasEvictionHint", 0x21) - gengort.Validate[DecodedInstructionAvxMask_](0x8, 0x4, "Mode", 0x0, "Reg", 0x4) - gengort.Validate[DecodedInstructionAvxBroadcast_](0x8, 0x4, "IsStatic", 0x0, "Mode", 0x4) - gengort.Validate[DecodedInstructionAvxRounding_](0x4, 0x4, "Mode", 0x0) - gengort.Validate[DecodedInstructionAvxSwizzle_](0x4, 0x4, "Mode", 0x0) - gengort.Validate[DecodedInstructionAvxConversion_](0x4, 0x4, "Mode", 0x0) - gengort.Validate[DecodedInstructionMeta](0x14, 0x4, "Category", 0x0, "IsaSet", 0x4, "IsaExt", 0x8, "BranchType", 0xc, "ExceptionClass", 0x10) - gengort.Validate[DecodedInstructionRaw](0xd8, 0x8, "PrefixCount", 0x0, "Prefixes", 0x4, "Encoding2", 0x7c, "Modrm", 0x8f, "Sib", 0x93, "Disp", 0x98, "Imm", 0xa8) - gengort.Validate[DecodedInstructionRawPrefixes_](0x8, 0x4, "Type", 0x0, "Value", 0x4) - gengort.Validate[Anon61855](0xf, 0x1) - gengort.Validate[DecodedInstructionModRm_](0x4, 0x1, "Mod", 0x0, "Reg", 0x1, "Rm", 0x2, "Offset", 0x3) - gengort.Validate[DecodedInstructionRawSib_](0x4, 0x1, "Scale", 0x0, "Index", 0x1, "Base", 0x2, "Offset", 0x3) - gengort.Validate[DecodedInstructionRawDisp_](0x10, 0x8, "Value", 0x0, "Size", 0x8, "Offset", 0x9) - gengort.Validate[DecodedInstructionRawImm_](0x18, 0x8, "IsSigned", 0x0, "IsRelative", 0x1, "Value", 0x8, "Size", 0x10, "Offset", 0x11) - gengort.Validate[DecodedInstructionRawImmValue_](0x8, 0x8) - gengort.Validate[DecodedInstruction](0x148, 0x8, "MachineMode", 0x0, "Mnemonic", 0x4, "Length", 0x8, "Encoding", 0xc, "OpcodeMap", 0x10, "Opcode", 0x14, "StackWidth", 0x15, "OperandWidth", 0x16, "AddressWidth", 0x17, "OperandCount", 0x18, "OperandCountVisible", 0x19, "Attributes", 0x20, "CpuFlags", 0x28, "FpuFlags", 0x30, "Avx", 0x38, "Meta", 0x5c, "Raw", 0x70) - gengort.Validate[DecoderContext](0x20, 0x8, "Definition", 0x0, "EoszIndex", 0x8, "EaszIndex", 0x9, "VectorUnified", 0xa, "RegInfo", 0x14, "Evex", 0x1a, "Mvex", 0x1c, "Cd8Scale", 0x1d) - gengort.Validate[Anon64195](0xa, 0x1, "W", 0x0, "R", 0x1, "X", 0x2, "B", 0x3, "L", 0x4, "Ll", 0x5, "R2", 0x6, "V2", 0x7, "Vvvv", 0x8, "Mask", 0x9) - gengort.Validate[Anon64355](0x6, 0x1, "IsModReg", 0x0, "IdReg", 0x1, "IdRm", 0x2, "IdNdsndd", 0x3, "IdBase", 0x4, "IdIndex", 0x5) - gengort.Validate[Anon64725](0x2, 0x1, "TupleType", 0x0, "ElementSize", 0x1) - gengort.Validate[Anon64865](0x1, 0x1, "Functionality", 0x0) - gengort.Validate[Decoder](0x14, 0x4, "MachineMode", 0x0, "StackWidth", 0x4, "DecoderMode", 0x8) - gengort.Validate[EncoderOperand](0x40, 0x8, "Type", 0x0, "Reg", 0x4, "Mem", 0x10, "Ptr", 0x30, "Imm", 0x38) - gengort.Validate[EncoderOperandReg_](0x8, 0x4, "Value", 0x0, "Is4", 0x4) - gengort.Validate[EncoderOperandMem_](0x20, 0x8, "Base", 0x0, "Index", 0x4, "Scale", 0x8, "Displacement", 0x10, "Size", 0x18) - gengort.Validate[EncoderOperandPtr_](0x8, 0x4, "Segment", 0x0, "Offset", 0x4) - gengort.Validate[EncoderOperandImm_](0x8, 0x8) - gengort.Validate[EncoderRequest](0x190, 0x8, "MachineMode", 0x0, "AllowedEncodings", 0x4, "Mnemonic", 0x8, "Prefixes", 0x10, "BranchType", 0x18, "BranchWidth", 0x1c, "AddressSizeHint", 0x20, "OperandSizeHint", 0x24, "OperandCount", 0x28, "Operands", 0x30, "Evex", 0x170, "Mvex", 0x17c) - gengort.Validate[EncoderRequestEvexFeatures_](0xc, 0x4, "Broadcast", 0x0, "Rounding", 0x4, "Sae", 0x8, "ZeroingMask", 0x9) - gengort.Validate[EncoderRequestMvexFeatures_](0x14, 0x4, "Broadcast", 0x0, "Conversion", 0x4, "Rounding", 0x8, "Swizzle", 0xc, "Sae", 0x10, "EvictionHint", 0x11) - gengort.Validate[Allocator](0x18, 0x8, "Allocate", 0x0, "Reallocate", 0x8, "Deallocate", 0x10) - gengort.Validate[Vector](0x38, 0x8, "Allocator", 0x0, "GrowthFactor", 0x8, "ShrinkThreshold", 0x9, "Size", 0x10, "Capacity", 0x18, "ElementSize", 0x20, "Destructor", 0x28, "Data", 0x30) - gengort.Validate[String](0x40, 0x8, "Flags", 0x0, "Vector", 0x8) - gengort.Validate[StringView](0x40, 0x8, "String", 0x0) - gengort.Validate[FormatterToken](0x2, 0x1, "Type", 0x0, "Next", 0x1) - gengort.Validate[FormatterBuffer](0x50, 0x8, "IsTokenList", 0x0, "Capacity", 0x8, "String", 0x10) - gengort.Validate[FormatterContext](0x28, 0x8, "Instruction", 0x0, "Operands", 0x8, "Operand", 0x10, "RuntimeAddress", 0x18, "UserData", 0x20) - gengort.Validate[Formatter](0x248, 0x8, "Style", 0x0, "ForceMemorySize", 0x4, "ForceMemorySegment", 0x5, "ForceMemoryScale", 0x6, "ForceRelativeBranches", 0x7, "ForceRelativeRiprel", 0x8, "PrintBranchSize", 0x9, "DetailedPrefixes", 0xa, "AddrBase", 0xc, "AddrSignedness", 0x10, "AddrPaddingAbsolute", 0x14, "AddrPaddingRelative", 0x18, "DispBase", 0x1c, "DispSignedness", 0x20, "DispPadding", 0x24, "ImmBase", 0x28, "ImmSignedness", 0x2c, "ImmPadding", 0x30, "CasePrefixes", 0x34, "CaseMnemonic", 0x38, "CaseRegisters", 0x3c, "CaseTypecasts", 0x40, "CaseDecorators", 0x44, "HexUppercase", 0x48, "HexForceLeadingNumber", 0x49, "NumberFormat", 0x50, "FuncPreInstruction", 0x1b0, "FuncPostInstruction", 0x1b8, "FuncFormatInstruction", 0x1c0, "FuncPreOperand", 0x1c8, "FuncPostOperand", 0x1d0, "FuncFormatOperandReg", 0x1d8, "FuncFormatOperandMem", 0x1e0, "FuncFormatOperandPtr", 0x1e8, "FuncFormatOperandImm", 0x1f0, "FuncPrintMnemonic", 0x1f8, "FuncPrintRegister", 0x200, "FuncPrintAddressAbs", 0x208, "FuncPrintAddressRel", 0x210, "FuncPrintDisp", 0x218, "FuncPrintImm", 0x220, "FuncPrintTypecast", 0x228, "FuncPrintSegment", 0x230, "FuncPrintPrefixes", 0x238, "FuncPrintDecorator", 0x240) - gengort.Validate[Anon112225](0x58, 0x8, "String", 0x0, "StringData", 0x8, "Buffer", 0x48) - gengort.Validate[InstructionSegments](0x4c, 0x4, "Count", 0x0, "Segments", 0x4) - gengort.Validate[Anon116335](0x8, 0x4, "Type", 0x0, "Offset", 0x4, "Size", 0x5) - gengort.Validate[DisassembledInstruction](0x4d0, 0x8, "RuntimeAddress", 0x0, "Info", 0x8, "Operands", 0x150, "Text", 0x470) + gengort.Validate((*ShortString)(nil), 0x9, 0x1) + gengort.Validate((*RegisterContext)(nil), 0x850, 0x8, "Values", 0x0) + gengort.Validate((*DecodedOperandReg)(nil), 0x4, 0x4, "Value", 0x0) + gengort.Validate((*DecodedOperandMem)(nil), 0x28, 0x8, "Type", 0x0, "Segment", 0x4, "Base", 0x8, "Index", 0xc, "Scale", 0x10, "Disp", 0x18) + gengort.Validate((*DecodedOperandMemDisp_)(nil), 0x10, 0x8, "HasDisplacement", 0x0, "Value", 0x8) + gengort.Validate((*DecodedOperandPtr)(nil), 0x8, 0x4, "Segment", 0x0, "Offset", 0x4) + gengort.Validate((*DecodedOperandImm)(nil), 0x10, 0x8, "IsSigned", 0x0, "IsRelative", 0x1, "Value", 0x8) + gengort.Validate((*DecodedOperandImmValue_)(nil), 0x8, 0x8) + gengort.Validate((*DecodedOperand)(nil), 0x50, 0x8, "Id", 0x0, "Visibility", 0x4, "Actions", 0x8, "Encoding", 0xc, "Size", 0x10, "ElementType", 0x14, "ElementSize", 0x18, "ElementCount", 0x1a, "Attributes", 0x1c, "Type", 0x20) + gengort.Validate((*Anon53065)(nil), 0x28, 0x8) + gengort.Validate((*AccessedFlags)(nil), 0x14, 0x4, "Tested", 0x0, "Modified", 0x4, "Set0", 0x8, "Set1", 0xc, "Undefined", 0x10) + gengort.Validate((*DecodedInstructionRawRex)(nil), 0x5, 0x1, "W", 0x0, "R", 0x1, "X", 0x2, "B", 0x3, "Offset", 0x4) + gengort.Validate((*DecodedInstructionRawXop)(nil), 0x9, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "MMmmm", 0x3, "W", 0x4, "Vvvv", 0x5, "L", 0x6, "Pp", 0x7, "Offset", 0x8) + gengort.Validate((*DecodedInstructionRawVex)(nil), 0xa, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "MMmmm", 0x3, "W", 0x4, "Vvvv", 0x5, "L", 0x6, "Pp", 0x7, "Offset", 0x8, "Size", 0x9) + gengort.Validate((*DecodedInstructionRawEvex)(nil), 0xf, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "R2", 0x3, "Mmm", 0x4, "W", 0x5, "Vvvv", 0x6, "Pp", 0x7, "Z", 0x8, "L2", 0x9, "L", 0xa, "Br", 0xb, "V2", 0xc, "Aaa", 0xd, "Offset", 0xe) + gengort.Validate((*DecodedInstructionRawMvex)(nil), 0xd, 0x1, "R", 0x0, "X", 0x1, "B", 0x2, "R2", 0x3, "Mmmm", 0x4, "W", 0x5, "Vvvv", 0x6, "Pp", 0x7, "E", 0x8, "Sss", 0x9, "V2", 0xa, "Kkk", 0xb, "Offset", 0xc) + gengort.Validate((*DecodedInstructionAvx)(nil), 0x24, 0x4, "VectorLength", 0x0, "Mask", 0x4, "Broadcast", 0xc, "Rounding", 0x14, "Swizzle", 0x18, "Conversion", 0x1c, "HasSae", 0x20, "HasEvictionHint", 0x21) + gengort.Validate((*DecodedInstructionAvxMask_)(nil), 0x8, 0x4, "Mode", 0x0, "Reg", 0x4) + gengort.Validate((*DecodedInstructionAvxBroadcast_)(nil), 0x8, 0x4, "IsStatic", 0x0, "Mode", 0x4) + gengort.Validate((*DecodedInstructionAvxRounding_)(nil), 0x4, 0x4, "Mode", 0x0) + gengort.Validate((*DecodedInstructionAvxSwizzle_)(nil), 0x4, 0x4, "Mode", 0x0) + gengort.Validate((*DecodedInstructionAvxConversion_)(nil), 0x4, 0x4, "Mode", 0x0) + gengort.Validate((*DecodedInstructionMeta)(nil), 0x14, 0x4, "Category", 0x0, "IsaSet", 0x4, "IsaExt", 0x8, "BranchType", 0xc, "ExceptionClass", 0x10) + gengort.Validate((*DecodedInstructionRaw)(nil), 0xd8, 0x8, "PrefixCount", 0x0, "Prefixes", 0x4, "Encoding2", 0x7c, "Modrm", 0x8f, "Sib", 0x93, "Disp", 0x98, "Imm", 0xa8) + gengort.Validate((*DecodedInstructionRawPrefixes_)(nil), 0x8, 0x4, "Type", 0x0, "Value", 0x4) + gengort.Validate((*Anon61855)(nil), 0xf, 0x1) + gengort.Validate((*DecodedInstructionModRm_)(nil), 0x4, 0x1, "Mod", 0x0, "Reg", 0x1, "Rm", 0x2, "Offset", 0x3) + gengort.Validate((*DecodedInstructionRawSib_)(nil), 0x4, 0x1, "Scale", 0x0, "Index", 0x1, "Base", 0x2, "Offset", 0x3) + gengort.Validate((*DecodedInstructionRawDisp_)(nil), 0x10, 0x8, "Value", 0x0, "Size", 0x8, "Offset", 0x9) + gengort.Validate((*DecodedInstructionRawImm_)(nil), 0x18, 0x8, "IsSigned", 0x0, "IsRelative", 0x1, "Value", 0x8, "Size", 0x10, "Offset", 0x11) + gengort.Validate((*DecodedInstructionRawImmValue_)(nil), 0x8, 0x8) + gengort.Validate((*DecodedInstruction)(nil), 0x148, 0x8, "MachineMode", 0x0, "Mnemonic", 0x4, "Length", 0x8, "Encoding", 0xc, "OpcodeMap", 0x10, "Opcode", 0x14, "StackWidth", 0x15, "OperandWidth", 0x16, "AddressWidth", 0x17, "OperandCount", 0x18, "OperandCountVisible", 0x19, "Attributes", 0x20, "CpuFlags", 0x28, "FpuFlags", 0x30, "Avx", 0x38, "Meta", 0x5c, "Raw", 0x70) + gengort.Validate((*DecoderContext)(nil), 0x20, 0x8, "Definition", 0x0, "EoszIndex", 0x8, "EaszIndex", 0x9, "VectorUnified", 0xa, "RegInfo", 0x14, "Evex", 0x1a, "Mvex", 0x1c, "Cd8Scale", 0x1d) + gengort.Validate((*Anon64195)(nil), 0xa, 0x1, "W", 0x0, "R", 0x1, "X", 0x2, "B", 0x3, "L", 0x4, "Ll", 0x5, "R2", 0x6, "V2", 0x7, "Vvvv", 0x8, "Mask", 0x9) + gengort.Validate((*Anon64355)(nil), 0x6, 0x1, "IsModReg", 0x0, "IdReg", 0x1, "IdRm", 0x2, "IdNdsndd", 0x3, "IdBase", 0x4, "IdIndex", 0x5) + gengort.Validate((*Anon64725)(nil), 0x2, 0x1, "TupleType", 0x0, "ElementSize", 0x1) + gengort.Validate((*Anon64865)(nil), 0x1, 0x1, "Functionality", 0x0) + gengort.Validate((*Decoder)(nil), 0x14, 0x4, "MachineMode", 0x0, "StackWidth", 0x4, "DecoderMode", 0x8) + gengort.Validate((*EncoderOperand)(nil), 0x40, 0x8, "Type", 0x0, "Reg", 0x4, "Mem", 0x10, "Ptr", 0x30, "Imm", 0x38) + gengort.Validate((*EncoderOperandReg_)(nil), 0x8, 0x4, "Value", 0x0, "Is4", 0x4) + gengort.Validate((*EncoderOperandMem_)(nil), 0x20, 0x8, "Base", 0x0, "Index", 0x4, "Scale", 0x8, "Displacement", 0x10, "Size", 0x18) + gengort.Validate((*EncoderOperandPtr_)(nil), 0x8, 0x4, "Segment", 0x0, "Offset", 0x4) + gengort.Validate((*EncoderOperandImm_)(nil), 0x8, 0x8) + gengort.Validate((*EncoderRequest)(nil), 0x190, 0x8, "MachineMode", 0x0, "AllowedEncodings", 0x4, "Mnemonic", 0x8, "Prefixes", 0x10, "BranchType", 0x18, "BranchWidth", 0x1c, "AddressSizeHint", 0x20, "OperandSizeHint", 0x24, "OperandCount", 0x28, "Operands", 0x30, "Evex", 0x170, "Mvex", 0x17c) + gengort.Validate((*EncoderRequestEvexFeatures_)(nil), 0xc, 0x4, "Broadcast", 0x0, "Rounding", 0x4, "Sae", 0x8, "ZeroingMask", 0x9) + gengort.Validate((*EncoderRequestMvexFeatures_)(nil), 0x14, 0x4, "Broadcast", 0x0, "Conversion", 0x4, "Rounding", 0x8, "Swizzle", 0xc, "Sae", 0x10, "EvictionHint", 0x11) + gengort.Validate((*Allocator)(nil), 0x18, 0x8, "Allocate", 0x0, "Reallocate", 0x8, "Deallocate", 0x10) + gengort.Validate((*Vector)(nil), 0x38, 0x8, "Allocator", 0x0, "GrowthFactor", 0x8, "ShrinkThreshold", 0x9, "Size", 0x10, "Capacity", 0x18, "ElementSize", 0x20, "Destructor", 0x28, "Data", 0x30) + gengort.Validate((*String)(nil), 0x40, 0x8, "Flags", 0x0, "Vector", 0x8) + gengort.Validate((*StringView)(nil), 0x40, 0x8, "String", 0x0) + gengort.Validate((*FormatterToken)(nil), 0x2, 0x1, "Type", 0x0, "Next", 0x1) + gengort.Validate((*FormatterBuffer)(nil), 0x50, 0x8, "IsTokenList", 0x0, "Capacity", 0x8, "String", 0x10) + gengort.Validate((*FormatterContext)(nil), 0x28, 0x8, "Instruction", 0x0, "Operands", 0x8, "Operand", 0x10, "RuntimeAddress", 0x18, "UserData", 0x20) + gengort.Validate((*Formatter)(nil), 0x248, 0x8, "Style", 0x0, "ForceMemorySize", 0x4, "ForceMemorySegment", 0x5, "ForceMemoryScale", 0x6, "ForceRelativeBranches", 0x7, "ForceRelativeRiprel", 0x8, "PrintBranchSize", 0x9, "DetailedPrefixes", 0xa, "AddrBase", 0xc, "AddrSignedness", 0x10, "AddrPaddingAbsolute", 0x14, "AddrPaddingRelative", 0x18, "DispBase", 0x1c, "DispSignedness", 0x20, "DispPadding", 0x24, "ImmBase", 0x28, "ImmSignedness", 0x2c, "ImmPadding", 0x30, "CasePrefixes", 0x34, "CaseMnemonic", 0x38, "CaseRegisters", 0x3c, "CaseTypecasts", 0x40, "CaseDecorators", 0x44, "HexUppercase", 0x48, "HexForceLeadingNumber", 0x49, "NumberFormat", 0x50, "FuncPreInstruction", 0x1b0, "FuncPostInstruction", 0x1b8, "FuncFormatInstruction", 0x1c0, "FuncPreOperand", 0x1c8, "FuncPostOperand", 0x1d0, "FuncFormatOperandReg", 0x1d8, "FuncFormatOperandMem", 0x1e0, "FuncFormatOperandPtr", 0x1e8, "FuncFormatOperandImm", 0x1f0, "FuncPrintMnemonic", 0x1f8, "FuncPrintRegister", 0x200, "FuncPrintAddressAbs", 0x208, "FuncPrintAddressRel", 0x210, "FuncPrintDisp", 0x218, "FuncPrintImm", 0x220, "FuncPrintTypecast", 0x228, "FuncPrintSegment", 0x230, "FuncPrintPrefixes", 0x238, "FuncPrintDecorator", 0x240) + gengort.Validate((*Anon112225)(nil), 0x58, 0x8, "String", 0x0, "StringData", 0x8, "Buffer", 0x48) + gengort.Validate((*InstructionSegments)(nil), 0x4c, 0x4, "Count", 0x0, "Segments", 0x4) + gengort.Validate((*Anon116335)(nil), 0x8, 0x4, "Type", 0x0, "Offset", 0x4, "Size", 0x5) + gengort.Validate((*DisassembledInstruction)(nil), 0x4d0, 0x8, "RuntimeAddress", 0x0, "Info", 0x8, "Operands", 0x150, "Text", 0x470) } // Returns the specified instruction category string.