1 write to _target
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\StackWalk_1.cs (1)
26_target = target;
54 references to _target
Microsoft.Diagnostics.DataContractReader.Contracts (54)
Contracts\StackWalk\StackWalk_1.cs (44)
128IPlatformAgnosticContext context = IPlatformAgnosticContext.GetContextForPlatform(_target); 132FrameIterator frameIterator = new(_target, threadData); 145tmpContext.Unwind(_target); 148bool isX86 = _target.Contracts.RuntimeInfo.GetTargetArchitecture() == RuntimeInfoArchitecture.X86; 193IPlatformAgnosticContext context = IPlatformAgnosticContext.GetContextForPlatform(_target); 195FrameIterator frameIterator = new(_target, threadData); 250IPlatformAgnosticContext context = IPlatformAgnosticContext.GetContextForPlatform(_target); 253FrameIterator frameIterator = new(_target, threadData); 274GcScanContext scanContext = new(_target, resolveInteriorPointers); 314IGCInfoHandle gcHandle = _target.Contracts.GCInfo.DecodePlatformSpecificGCInfo(gcInfoAddr, gcVersion); 317foreach (var range in _target.Contracts.GCInfo.GetInterruptibleRanges(gcHandle)) 391Data.Thread thread = _target.ProcessedData.GetOrAdd<Data.Thread>(threadData.ThreadAddress); 392TargetPointer pExInfo = _target.ReadPointer(thread.ExceptionTracker); 396IException exceptionContract = _target.Contracts.Exception; 418ulong pointerSize = (ulong)_target.PointerSize; 426Data.GCFrame gcFrame = _target.ProcessedData.GetOrAdd<Data.GCFrame>(pGCFrame); 638if (parentStackFrame == TargetPointer.PlatformMaxValue(_target) || 689if (parentStackFrame == TargetPointer.PlatformMaxValue(_target) || 699Data.ExceptionInfo exInfo = _target.ProcessedData.GetOrAdd<Data.ExceptionInfo>(pExInfo); 801callerContext.Unwind(_target); 834handle.Context.Unwind(_target); 852HijackKind hijackKind = _target.Contracts.Debugger.GetHijackKind(ip); 860FrameIterator frameIterator = new(_target, handle.ThreadData); 988parentContext.Unwind(_target); 1005TargetPointer contextAddress = _target.ReadPointer(slotAddress.Value); 1007IPlatformAgnosticContext recovered = IPlatformAgnosticContext.GetContextForPlatform(_target); 1008recovered.ReadFromAddress(_target, contextAddress); 1017(bool useFramePointer, long offset) = _target.Contracts.RuntimeInfo.GetTargetArchitecture() switch 1071Data.Frame frameData = _target.ProcessedData.GetOrAdd<Data.Frame>(framePtr); 1077IRuntimeTypeSystem rts = _target.Contracts.RuntimeTypeSystem; 1079Data.InlinedCallFrame icf = _target.ProcessedData.GetOrAdd<Data.InlinedCallFrame>(framePtr); 1094TargetPointer methodDescPtr = framePtr + _target.GetTypeInfo(DataType.InlinedCallFrame).Size 1096return _target.ReadPointer(methodDescPtr); 1114ThreadData threadData = _target.Contracts.Thread.GetThreadData(threadPointer); 1115FrameIterator iterator = new FrameIterator(_target, threadData); 1130Data.FuncEvalFrame funcEvalFrame = _target.ProcessedData.GetOrAdd<Data.FuncEvalFrame>(funcEvalFrameAddress); 1131Data.DebuggerEval debuggerEval = _target.ProcessedData.GetOrAdd<Data.DebuggerEval>(funcEvalFrame.DebuggerEvalPtr); 1137IPlatformAgnosticContext context = IPlatformAgnosticContext.GetContextForPlatform(_target); 1148_target.ReadBuffer(filterContext.Value, buffer); 1152bool success = _target.TryGetThreadContext(threadData.OSId.Value, contextFlags, buffer); 1162IPlatformAgnosticContext context = IPlatformAgnosticContext.GetContextForPlatform(_target); 1164FrameIterator iterator = new FrameIterator(_target, threadData); 1197FrameIterator iterator = new FrameIterator(_target, threadData); 1200Data.ResumableFrame rf = _target.ProcessedData.GetOrAdd<Data.ResumableFrame>(iterator.CurrentFrameAddress);
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (10)
50callerContext.Unwind(_target); 68return TargetPointer.PlatformMaxValue(_target); 74callerCallerContext.Unwind(_target); 83Data.ExceptionInfo exInfo = _target.ProcessedData.GetOrAdd<Data.ExceptionInfo>(pExInfo); 87if (exInfo.StackLowBound == TargetPointer.PlatformMaxValue(_target) && 134Data.Thread thread = _target.ProcessedData.GetOrAdd<Data.Thread>(handle.ThreadData.ThreadAddress); 137return _target.ReadPointer(thread.ExceptionTracker); 148callerContext.Unwind(_target); 159Data.ExceptionInfo exceptionInfo = _target.ProcessedData.GetOrAdd<Data.ExceptionInfo>(pExInfo); 175if (exceptionInfo.StackLowBound == TargetPointer.PlatformMaxValue(_target)