8 references to WasmContext
Microsoft.Diagnostics.DataContractReader.Contracts (8)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (1)
53RuntimeInfoArchitecture.Wasm => new ContextHolder<WasmContext>(),
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
472ContextHolder<WasmContext> contextHolder => new WasmFrameHandler(_target, contextHolder), 709RuntimeInfoArchitecture.Wasm => WasmContext.InterpreterWalkFramePointerRegister,
Contracts\StackWalk\FrameHandling\WasmFrameHandler.cs (5)
26internal sealed class WasmFrameHandler(Target target, ContextHolder<WasmContext> contextHolder) 33private readonly ContextHolder<WasmContext> _holder = contextHolder; 68if (!_holder.Context.TrySetRegister(WasmContext.InterpreterWalkFramePointerRegister, new TargetNUInt(next.Address.Value))) 69throw new InvalidOperationException($"Failed to set WASM interpreter frame-pointer register '{WasmContext.InterpreterWalkFramePointerRegister}'."); 77ContextHolder<WasmContext> saved = new();