private ProcessBinaryWriter(IntPtr baseAddress, Stream inputStream) : base(inputStream) { this.baseStream = (ProcessStream)this.BaseStream; this.baseAddress = (ulong)unchecked (baseAddress.ToInt64()); this.processDiagnostics = new ProcessDiagnosticsWrapper(); this.baseStream.ProcessDiagnostics = processDiagnostics; this.regions = new Dictionary <ulong, ProcessBinaryReader>(); }
public unsafe ProcessBinaryWriter(uint hProcess, IntPtr baseAddress, ulong size, IProcessDiagnostics processDiagnostics) : this(hProcess, baseAddress, size) { this.processDiagnostics = new ProcessDiagnosticsWrapper(processDiagnostics); this.baseStream.ProcessDiagnostics = processDiagnostics; }
public ProcessDiagnosticsWrapper(IProcessDiagnostics diagnostics) { this.diagnostics = diagnostics; }