/// <summary> /// Create an X86 Instruction. /// </summary> /// <param name="disassembler"> /// A disassembler. /// </param> /// <param name="hInstruction"> /// An instruction handle. /// </param> /// <returns> /// An X86 instruction. /// </returns> internal static X86Instruction Create(CapstoneDisassembler disassembler, NativeInstructionHandle hInstruction) { var builder = new X86InstructionBuilder(); builder.Build(disassembler, hInstruction); return(builder.Create()); }
/// <summary> /// Create an X86 Instruction. /// </summary> /// <param name="builder"> /// A builder to initialize the object with. /// </param> internal X86Instruction(X86InstructionBuilder builder) : base(builder) { }