1 implementation of InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\Context\ContextHolder.cs (1)
22public TargetCodePointer InstructionPointer { get => Context.InstructionPointer; set => Context.InstructionPointer = value; }
6 writes to InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (6)
Contracts\Debugger\Debugger_1.cs (1)
278ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value);
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (3)
28_context.InstructionPointer = inlinedCallFrame.CallerReturnAddress; 40_context.InstructionPointer = otherContextHolder.InstructionPointer; 52_context.InstructionPointer = transitionBlock.ReturnAddress;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
468context.InstructionPointer = new TargetCodePointer((ulong)topContextFrame.Ip); 517context.InstructionPointer = new TargetCodePointer((ulong)parentFrame.Ip);
30 references to InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (24)
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (1)
40_context.InstructionPointer = otherContextHolder.InstructionPointer;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
251return ctx.InstructionPointer; 260return ctx.InstructionPointer;
Contracts\StackWalk\StackWalk_1.cs (18)
131StackWalkState state = IsManaged(context.InstructionPointer, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext; 140TargetCodePointer curPc = context.InstructionPointer; 196StackWalkState state = IsManaged(context.InstructionPointer, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext; 215&& IsInterpreterCode(context.InstructionPointer) 252StackWalkState state = IsManaged(context.InstructionPointer, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext; 258&& IsInterpreterCode(context.InstructionPointer) 287gcFrame.Frame.Context.InstructionPointer, 294if (!IsManaged(gcFrame.Frame.Context.InstructionPointer, out CodeBlockHandle? cbh)) 347Debug.WriteLine($"Skipping frame at IP=0x{gcFrame.Frame.Context.InstructionPointer:X}: {ex.Message}"); 354Debug.WriteLine($"Exception during WalkStackReferences at IP=0x{gcFrame.Frame.Context.InstructionPointer:X}: {ex.GetType().Name}: {ex.Message}"); 826if (IsInterpreterCode(handle.Context.InstructionPointer)) 851TargetCodePointer ip = handle.Context.InstructionPointer; 857handle.State = IsManaged(recoveredContext.InstructionPointer, out _) 927bool isManaged = IsManaged(handle.Context.InstructionPointer, out _); 978Debug.Assert(IsManaged(handle.Context.InstructionPointer, out _)); 1047return handle.Context.InstructionPointer; 1106if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? codeBlockHandle)) 1181if (context.StackPointer.Value != 0 && context.InstructionPointer.Value != 0)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (3)
58TargetCodePointer callerIp = callerContext.InstructionPointer; 112if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 126if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh))
Microsoft.Diagnostics.DataContractReader.Legacy (6)
Dbi\DacDbiImpl.cs (5)
1093if (!_target.Contracts.ExecutionManager.IsGcSafe(context.InstructionPointer)) 1568sb.Append($" | IP cdac=0x{cdacCtx.InstructionPointer.Value:X16} dac=0x{dacCtx.InstructionPointer.Value:X16}"); 2101&& givenCtx.InstructionPointer == leafCtx.InstructionPointer
SOSDacImpl.cs (1)
2214TargetPointer pThunk = context.InstructionPointer.AsTargetPointer;