public CapstoneWrapper() { Handle = IntPtr.Zero; LastError = cs_err.CS_ERR_OK; LastInstruction = new cs_insn(); }
private void ThrowOnError(cs_err Result) { LastError = Result; if (HasError) { throw new CapstoneError(ErrorString); } }
internal static extern IntPtr cs_strerror([In] cs_err code);