1 write to _target
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\Debugger\Debugger_1.cs (1)
26_target = target;
38 references to _target
Microsoft.Diagnostics.DataContractReader.Contracts (38)
Contracts\Debugger\Debugger_1.cs (38)
33TargetPointer debuggerPtrPtr = _target.ReadGlobalPointer(Constants.Globals.Debugger); 37debuggerAddress = _target.ReadPointer(debuggerPtrPtr); 47Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 54TargetPointer addr = _target.ReadGlobalPointer(Constants.Globals.CLRJitAttachState); 55return (int)_target.Read<uint>(addr.Value); 60TargetPointer addr = _target.ReadGlobalPointer(Constants.Globals.CORDebuggerControlFlags); 61uint currentFlags = _target.Read<uint>(addr.Value); 62_target.Write<uint>(addr.Value, currentFlags | (uint)DebuggerControlFlag_1.PendingAttach); 67TargetPointer addr = _target.ReadGlobalPointer(Constants.Globals.CORDebuggerControlFlags); 68uint currentFlags = _target.Read<uint>(addr.Value); 71_target.Write<uint>(addr.Value, currentFlags | (uint)DebuggerControlFlag_1.Attached); 75_target.Write<uint>(addr.Value, currentFlags & ~((uint)DebuggerControlFlag_1.Attached | (uint)DebuggerControlFlag_1.PendingAttach)); 81if (_target.TryReadGlobalPointer(Constants.Globals.MetadataUpdatesApplied, out TargetPointer? addr)) 83return _target.Read<byte>(addr.Value.Value) != 0; 93Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 102Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 111Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 116Data.DebuggerRCThread debuggerRcThread = _target.ProcessedData.GetOrAdd<Data.DebuggerRCThread>(rcThread); 125Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 134Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 138uint maxHijackFunctions = _target.ReadGlobal<uint>(Constants.Globals.MaxHijackFunctions); 142uint stride = Data.MemoryRange.GetSize(_target); 147Data.MemoryRange entry = _target.ProcessedData.GetOrAdd<Data.MemoryRange>(entryAddress); 172Data.Debugger debugger = _target.ProcessedData.GetOrAdd<Data.Debugger>(debuggerAddress); 176uint maxHijackFunctions = _target.ReadGlobal<uint>(Constants.Globals.MaxHijackFunctions); 180uint stride = Data.MemoryRange.GetSize(_target); 182range = _target.ProcessedData.GetOrAdd<Data.MemoryRange>(entryAddress); 192int ptrSize = _target.PointerSize; 200int numberParametersOffset = sizeof(uint) + sizeof(uint) + (2 * _target.PointerSize); 202return _target.IsLittleEndian 210int cbSize = ExceptionRecordHeaderSize() + ((int)numberParameters * _target.PointerSize); 211_target.WriteBuffer(remotePtr.Value, record.AsSpan(0, cbSize)); 220IPlatformAgnosticContext ctx = IPlatformAgnosticContext.GetContextForPlatform(_target); 231ThreadData threadData = _target.Contracts.Thread.GetThreadData(vmThread); 238_target.WriteBuffer(espOSContext.Value, ctx.GetBytes()); 255espContext = StackPusher.Push(_target, ref sp, ctx.GetBytes(), align: true); 261espRecord = StackPusher.Push(_target, ref sp, exceptionRecord, align: true); 274IntegerArgPlacer.PlaceArgs(_target, ctx, ref sp, args);