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