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)
333ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value);
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (3)
28_context.InstructionPointer = inlinedCallFrame.CallerReturnAddress; 40_context.InstructionPointer = otherContextHolder.InstructionPointer; 49_context.InstructionPointer = transitionBlock.ReturnAddress;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
484context.InstructionPointer = new TargetCodePointer((ulong)topContextFrame.Ip); 533context.InstructionPointer = new TargetCodePointer((ulong)parentFrame.Ip);
35 references to InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (29)
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (1)
40_context.InstructionPointer = otherContextHolder.InstructionPointer;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
252return ctx.InstructionPointer; 261return ctx.InstructionPointer;
Contracts\StackWalk\StackWalk_1.cs (22)
139StackWalkState state = IsManaged(context.InstructionPointer, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext; 148TargetCodePointer curPc = context.InstructionPointer; 210StackWalkState state = IsManaged(context.InstructionPointer, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext; 230&& IsInterpreterCode(context.InstructionPointer) 268StackWalkState state = IsManaged(context.InstructionPointer, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext; 274&& IsInterpreterCode(context.InstructionPointer) 303gcFrame.Frame.Context.InstructionPointer, 310if (!IsManaged(gcFrame.Frame.Context.InstructionPointer, out CodeBlockHandle? cbh)) 363Debug.WriteLine($"Skipping frame at IP=0x{gcFrame.Frame.Context.InstructionPointer:X}: {ex.Message}"); 370Debug.WriteLine($"Exception during WalkStackReferences at IP=0x{gcFrame.Frame.Context.InstructionPointer:X}: {ex.GetType().Name}: {ex.Message}"); 843if (IsInterpreterCode(handle.Context.InstructionPointer)) 868TargetCodePointer ip = handle.Context.InstructionPointer; 874handle.State = IsManaged(recoveredContext.InstructionPointer, out _) 945bool isManaged = IsManaged(handle.Context.InstructionPointer, out _); 999Debug.Assert(IsManaged(handle.Context.InstructionPointer, out _)); 1068return handle.Context.InstructionPointer; 1142if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 1148IGCInfoHandle gcHandle = IsInterpreterCode(handle.Context.InstructionPointer) 1211if (IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 1221HijackKind hijackKind = _target.Contracts.Debugger.GetHijackKind(handle.Context.InstructionPointer); 1281if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? codeBlockHandle)) 1356if (context.StackPointer.Value != 0 && context.InstructionPointer.Value != 0)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (4)
58TargetCodePointer callerIp = callerContext.InstructionPointer; 151if (IsManaged(cf.Context.InstructionPointer, out CodeBlockHandle? cbh)) 167if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 181if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh))
Microsoft.Diagnostics.DataContractReader.Legacy (6)
Dbi\DacDbiImpl.cs (5)
1239if (!_target.Contracts.ExecutionManager.IsGcSafe(context.InstructionPointer)) 1717sb.Append($" | IP cdac=0x{cdacCtx.InstructionPointer.Value:X16} dac=0x{dacCtx.InstructionPointer.Value:X16}"); 2517&& givenCtx.InstructionPointer == leafCtx.InstructionPointer
SOSDacImpl.cs (1)
2213TargetPointer pThunk = context.InstructionPointer.AsTargetPointer;