protected override void Dispose(bool disposing) { if (pointer != null) { Native.DisposeDisassembler(pointer); pointer = null; } base.Dispose(disposing); }
public Disassembler(bool is64Bit = true, OpInfoCallback opInfoCallback = null, SymbolLookupCallback symbolLookupCallback = null) { this.opInfoCallback = opInfoCallback; this.symbolLookupCallback = symbolLookupCallback; pointer = Native.CreateDisassembler(is64Bit, this.opInfoCallback, this.symbolLookupCallback); }