internal GDBBreakpoint(GDBConnector connector, int breakpointNum, UInt64 address, string identifier, Action<int> removeMe) { _connector = connector; _breakpointNum = breakpointNum; _address = address; _identifier = identifier; _removeMe = removeMe; }
public GDBSnapshot(GDBConnector connector, IDebuggerStop lastDebuggerStop) { _connector = connector; if(lastDebuggerStop == null) throw new ArgumentException("No last stop address found"); if(lastDebuggerStop.Address == 0 ) throw new ArgumentException("Last stop does not provide address"); _myBreakpoint = connector.SetSoftwareBreakpoint(lastDebuggerStop.Address, 0, "_snapshot"); //Activate reverse debugging connector.QueueCommand(new RecordCmd(_connector)); }
public BreakpointRH(GDBConnector connector, GDBConnector.GdbStopDelegate gdbStopped) : base(connector) { _connector = connector; _gdbStopped = gdbStopped; }
public GDBLogger(GDBConnector gdbConn, string path) { _path = path; _connector = gdbConn; }
public ExitRH(GDBConnector.GdbStopDelegate gdbStopped,GDBSubProcess gdbProc) : base(gdbProc) { _gdbStopped = gdbStopped; }
public GDBCalculatedSymbolTableVariable(GDBConnector connector, string expression, int size) : base(connector, expression, size) { }
public GDBSymbolTableVariableAddress(GDBConnector connector, IAddressSpecifier address, int size) { _connector = connector; _address = address; _size = size; }
public GDBCStyleReferenceSymbolTableVariable(GDBConnector connector, string name, int size) : base(connector, name, size) { }
public GDBSymbolTableVariable(GDBConnector connector, string name, int size) { _connector = connector; _name = name; _size = size; }
public static ISymbolTableVariable InternalDereference(GDBConnector connector, UInt64? address, int size) { UInt64? newAddress = null; byte[] buffer = new byte[size]; if(address == null) return null; UInt64 readSize = connector.ReadMemory(buffer, address.Value, (UInt64)size); if(readSize != (UInt64)size) return null; newAddress = ByteHelper.ByteArrayToUInt64(buffer, 0, size); if (newAddress == null) return null; return new GDBSymbolTableVariableAddress (connector, new StaticAddress (newAddress), size); }
public RecordLogRH(GDBConnector connector, GDBConnector.GdbStopDelegate gdbStopped) : base(connector) { _connector = connector; _gdbStopped = gdbStopped; }