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