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