1 implementation of InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\Context\ContextHolder.cs (1)
23
public TargetCodePointer
InstructionPointer
{ get => Context.InstructionPointer; set => Context.InstructionPointer = value; }
6 writes to InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (6)
Contracts\Debugger\Debugger_1.cs (1)
333
ctx.
InstructionPointer
= new TargetCodePointer(pfnHijackFunction.Value);
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (3)
28
_context.
InstructionPointer
= CodePointerUtils.StripPointerAuthentiationFromReturnAddress(inlinedCallFrame.CallerReturnAddress, _target);
40
_context.
InstructionPointer
= otherContextHolder.InstructionPointer;
49
_context.
InstructionPointer
= CodePointerUtils.StripPointerAuthentiationFromReturnAddress(transitionBlock.ReturnAddress, _target);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
747
context.
InstructionPointer
= new TargetCodePointer((ulong)topContextFrame.Ip);
805
context.
InstructionPointer
= new TargetCodePointer((ulong)parentFrame.Ip);
36 references to InstructionPointer
Microsoft.Diagnostics.DataContractReader.Contracts (30)
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (1)
40
_context.InstructionPointer = otherContextHolder.
InstructionPointer
;
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
476
return ctx.
InstructionPointer
;
485
return ctx.
InstructionPointer
;
Contracts\StackWalk\StackWalk_1.cs (23)
180
StackWalkState state = IsManaged(context.
InstructionPointer
, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext;
189
TargetCodePointer curPc = context.
InstructionPointer
;
251
StackWalkState state = IsManaged(context.
InstructionPointer
, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext;
299
if (state != StackWalkState.Frameless || !IsInterpreterCode(context.
InstructionPointer
))
318
StackWalkState state = IsManaged(context.
InstructionPointer
, out _) ? StackWalkState.Frameless : StackWalkState.InitialNativeContext;
345
gcFrame.Frame.Context.
InstructionPointer
,
352
if (!IsManaged(gcFrame.Frame.Context.
InstructionPointer
, out CodeBlockHandle? cbh))
407
Debug.WriteLine($"Skipping frame at IP=0x{gcFrame.Frame.Context.
InstructionPointer
:X}: {ex.Message}");
414
Debug.WriteLine($"Exception during WalkStackReferences at IP=0x{gcFrame.Frame.Context.
InstructionPointer
:X}: {ex.GetType().Name}: {ex.Message}");
887
if (IsInterpreterCode(handle.Context.
InstructionPointer
))
912
TargetCodePointer ip = handle.Context.
InstructionPointer
;
918
handle.State = IsManaged(recoveredContext.
InstructionPointer
, out _)
970
if (isActiveICF && !IsManaged(handle.Context.
InstructionPointer
, out _))
1009
bool isManaged = IsManaged(handle.Context.
InstructionPointer
, out _);
1063
Debug.Assert(IsManaged(handle.Context.
InstructionPointer
, out _));
1131
return handle.Context.
InstructionPointer
;
1186
if (IsInterpreterCode(context.
InstructionPointer
))
1213
if (!IsManaged(handle.Context.
InstructionPointer
, out CodeBlockHandle? cbh))
1219
IGCInfoHandle gcHandle = IsInterpreterCode(handle.Context.
InstructionPointer
)
1282
if (IsManaged(handle.Context.
InstructionPointer
, out CodeBlockHandle? cbh))
1292
HijackKind hijackKind = _target.Contracts.Debugger.GetHijackKind(handle.Context.
InstructionPointer
);
1351
if (!IsManaged(handle.Context.
InstructionPointer
, out CodeBlockHandle? codeBlockHandle))
1426
if (context.StackPointer.Value != 0 && context.
InstructionPointer
.Value != 0)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (4)
58
TargetCodePointer callerIp = callerContext.
InstructionPointer
;
151
if (IsManaged(cf.Context.
InstructionPointer
, out CodeBlockHandle? cbh))
167
if (!IsManaged(handle.Context.
InstructionPointer
, out CodeBlockHandle? cbh))
181
if (!IsManaged(handle.Context.
InstructionPointer
, out CodeBlockHandle? cbh))
Microsoft.Diagnostics.DataContractReader.Legacy (6)
Dbi\DacDbiImpl.cs (5)
1305
if (!_target.Contracts.ExecutionManager.IsGcSafe(context.
InstructionPointer
))
2631
&& givenCtx.
InstructionPointer
== leafCtx.
InstructionPointer
6734
&& ctx1.
InstructionPointer
== ctx2.
InstructionPointer
SOSDacImpl.cs (1)
2314
TargetPointer pThunk = context.
InstructionPointer
.AsTargetPointer;