forked from 9ee1/Capstone.NET
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNativeArchitectureInstructionDetail.cs
59 lines (51 loc) · 1.97 KB
/
NativeArchitectureInstructionDetail.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
using Gee.External.Capstone.Arm;
using Gee.External.Capstone.Arm64;
using Gee.External.Capstone.Mips;
using Gee.External.Capstone.PowerPc;
using Gee.External.Capstone.Sparc;
using Gee.External.Capstone.SystemZ;
using Gee.External.Capstone.X86;
using Gee.External.Capstone.XCore;
using System;
using System.Runtime.InteropServices;
namespace Gee.External.Capstone {
/// <summary>
/// Native Architecture Dependent Instruction Detail.
/// </summary>
[Obsolete("Deprecated.")]
[StructLayout(LayoutKind.Explicit)]
public struct NativeArchitectureInstructionDetail {
/// <summary>
/// Instruction's X86 Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeX86InstructionDetail X86Detail;
/// <summary>
/// Instruction's ARM64 Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeArm64InstructionDetail Arm64Detail;
// <summary>
/// Instruction's ARM64 Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeArmInstructionDetail ArmDetail;
/// <summary>
/// Instruction's MIPS Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeMipsInstructionDetail MipsDetail;
/// <summary>
/// Instruction's PowerPC Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativePowerPcInstructionDetail PowerPcDetail;
/// <summary>
/// Instruction's SPARC Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeSparcInstructionDetail SparcDetail;
/// <summary>
/// Instruction's SystemZ Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeSystemZInstructionDetail SystemZDetail;
/// <summary>
/// Instruction's XCore Architecture Detail.
/// </summary>
[FieldOffset(0)] public NativeXCoreInstructionDetail XCoreDetail;
}
}