1 implementation of IPlatformAgnosticContext
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\Context\ContextHolder.cs (1)
9
public sealed class ContextHolder<T> :
IPlatformAgnosticContext
, IEquatable<ContextHolder<T>>
66 references to IPlatformAgnosticContext
Microsoft.Diagnostics.DataContractReader.Contracts (39)
Contracts\StackWalk\Context\ContextHolder.cs (1)
51
public
IPlatformAgnosticContext
Clone() => new ContextHolder<T>() { Context = Context };
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (2)
26
public abstract
IPlatformAgnosticContext
Clone();
33
public static
IPlatformAgnosticContext
GetContextForPlatform(Target target)
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (5)
13
internal abstract class BaseFrameHandler(Target target,
IPlatformAgnosticContext
context)
17
private readonly
IPlatformAgnosticContext
_context = context;
35
IPlatformAgnosticContext
otherContextHolder =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
97
protected void UpdateCalleeSavedRegistersFromOtherContext(
IPlatformAgnosticContext
otherContext)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (12)
142
public void UpdateContextFromFrame(Data.Frame frame,
IPlatformAgnosticContext
context)
249
IPlatformAgnosticContext
ctx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
258
IPlatformAgnosticContext
ctx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
289
private IPlatformFrameHandler GetFrameHandler(
IPlatformAgnosticContext
context)
389
IPlatformAgnosticContext
context,
419
public void InterpreterVirtualUnwind(
IPlatformAgnosticContext
context)
434
private bool VirtualUnwindInterpreterCallFrame(
IPlatformAgnosticContext
context)
453
private void ApplyInterpreterFrameTransition(
IPlatformAgnosticContext
context, TargetPointer interpreterFrameAddress)
459
private TargetPointer GetFirstArgRegister(
IPlatformAgnosticContext
context)
470
private void SetFirstArgRegister(
IPlatformAgnosticContext
context, TargetPointer value)
Contracts\StackWalk\FrameHandling\FrameIterator.cs (1)
63
public void UpdateContextFromCurrentFrame(
IPlatformAgnosticContext
context)
Contracts\StackWalk\GC\GcScanner.cs (3)
37
IPlatformAgnosticContext
context,
472
private TargetPointer GetCallerSP(
IPlatformAgnosticContext
context, ref TargetPointer? cached)
476
IPlatformAgnosticContext
callerContext = context.Clone();
Contracts\StackWalk\StackWalk_1.cs (10)
47
IPlatformAgnosticContext
Context,
55
private class StackWalkData(
IPlatformAgnosticContext
context, StackWalkState state, FrameIterator frameIter, ThreadData threadData)
57
public
IPlatformAgnosticContext
Context { get; set; } = context;
142
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
191
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
666
IPlatformAgnosticContext
callerContext = handle.Context.Clone();
807
IPlatformAgnosticContext
parentContext = handle.Context.Clone();
909
private void FillContextFromThread(
IPlatformAgnosticContext
context, ThreadData threadData, uint flags)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (3)
49
IPlatformAgnosticContext
callerContext = handle.Context.Clone();
73
IPlatformAgnosticContext
callerCallerContext = callerContext.Clone();
145
IPlatformAgnosticContext
callerContext = handle.Context.Clone();
Contracts\Thread_1.cs (2)
311
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
Microsoft.Diagnostics.DataContractReader.Legacy (27)
ClrDataFrame.cs (11)
80
IPlatformAgnosticContext
contextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
81
IPlatformAgnosticContext
localContextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
846
IPlatformAgnosticContext
platformContext =
IPlatformAgnosticContext
.GetContextForPlatform(target);
862
IPlatformAgnosticContext
context,
906
private static NativeVarLocation[] ResolveRegByRef(
IPlatformAgnosticContext
context, Target target, uint register, int pointerSize)
918
private static NativeVarLocation[] ResolveStack(
IPlatformAgnosticContext
context, Target target, uint baseRegister, int offset, int pointerSize, bool deref)
927
private static ulong ComputeStackAddress(
IPlatformAgnosticContext
context, Target target, uint baseRegister, int offset)
950
private static ulong ReadRegister(
IPlatformAgnosticContext
context, Target target, uint registerNumber)
ClrDataStackWalk.cs (4)
74
IPlatformAgnosticContext
contextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
75
IPlatformAgnosticContext
localContextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
Dbi\DacDbiImpl.cs (10)
1124
IPlatformAgnosticContext
leafCtx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1130
IPlatformAgnosticContext
givenCtx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1159
uint allFlags =
IPlatformAgnosticContext
.GetContextForPlatform(_target).AllContextFlags;
1171
uint contextSize =
IPlatformAgnosticContext
.GetContextForPlatform(_target).Size;
1180
IPlatformAgnosticContext
contextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1181
IPlatformAgnosticContext
localContextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
SOSDacImpl.cs (2)
2227
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);