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>>
70 references to IPlatformAgnosticContext
Microsoft.Diagnostics.DataContractReader.Contracts (41)
Contracts\StackWalk\Context\ContextHolder.cs (1)
52
public
IPlatformAgnosticContext
Clone() => new ContextHolder<T>() { Context = Context };
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (2)
27
public abstract
IPlatformAgnosticContext
Clone();
34
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);
362
private IPlatformFrameHandler GetFrameHandler(
IPlatformAgnosticContext
context)
462
IPlatformAgnosticContext
context,
492
public void InterpreterVirtualUnwind(
IPlatformAgnosticContext
context)
507
private bool VirtualUnwindInterpreterCallFrame(
IPlatformAgnosticContext
context)
526
private void ApplyInterpreterFrameTransition(
IPlatformAgnosticContext
context, TargetPointer interpreterFrameAddress)
532
private TargetPointer GetFirstArgRegister(
IPlatformAgnosticContext
context)
543
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 (14)
32
IPlatformAgnosticContext
Context,
40
private class StackWalkData(
IPlatformAgnosticContext
context, StackWalkState state, FrameIterator frameIter, ThreadData threadData)
42
public
IPlatformAgnosticContext
Context { get; set; } = context;
127
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
170
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
645
IPlatformAgnosticContext
callerContext = handle.Context.Clone();
808
IPlatformAgnosticContext
parentContext = handle.Context.Clone();
923
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
949
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1006
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();
147
IPlatformAgnosticContext
callerContext = handle.Context.Clone();
Microsoft.Diagnostics.DataContractReader.Legacy (29)
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)
95
IPlatformAgnosticContext
contextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
96
IPlatformAgnosticContext
localContextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
Dbi\DacDbiImpl.cs (12)
1263
IPlatformAgnosticContext
ctx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1507
IPlatformAgnosticContext
leafCtx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1514
IPlatformAgnosticContext
givenCtx =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1543
uint allFlags =
IPlatformAgnosticContext
.GetContextForPlatform(_target).AllContextFlags;
1556
uint contextSize =
IPlatformAgnosticContext
.GetContextForPlatform(_target).Size;
1565
IPlatformAgnosticContext
contextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
1566
IPlatformAgnosticContext
localContextStruct =
IPlatformAgnosticContext
.GetContextForPlatform(_target);
SOSDacImpl.cs (2)
2227
IPlatformAgnosticContext
context =
IPlatformAgnosticContext
.GetContextForPlatform(_target);