public void EndDisassembly() { CapstoneAPI.cs_free(InstrBuffer, 1); InstrBuffer = IntPtr.Zero; }
public void StartDisassembly() { InstrBuffer = CapstoneAPI.cs_malloc(Handle); }
public void Close() { ThrowOnError(CapstoneAPI.cs_close(ref Handle)); }
public void Open(cs_arch Architecture, cs_mode Mode) { ThrowOnError(CapstoneAPI.cs_open(Architecture, Mode, out Handle)); }
public void SetOption(cs_opt_type Type, cs_opt_value Value) { ThrowOnError(CapstoneAPI.cs_option(Handle, Type, (uint)Value)); }
public static void Version(out int Major, out int Minor) { CapstoneAPI.cs_version(out Major, out Minor); }