31 instantiations of TargetCodePointer
Microsoft.Diagnostics.DataContractReader (4)
ContractDescriptorTarget.cs (4)
616return new TargetCodePointer(Read<uint>(address)); 620return new TargetCodePointer(Read<ulong>(address)); 632value = new TargetCodePointer(val); 640value = new TargetCodePointer(val);
Microsoft.Diagnostics.DataContractReader.Abstractions (2)
TargetCodePointer.cs (2)
9public static TargetCodePointer Null = new(0); 14public static implicit operator TargetCodePointer(ulong v) => new TargetCodePointer(v);
Microsoft.Diagnostics.DataContractReader.Contracts (19)
CodePointerUtils.cs (2)
25return new TargetCodePointer(address.Value | Arm32ThumbBit); 32return new TargetCodePointer(address.Value);
Contracts\Debugger\Debugger_1.cs (1)
278ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value);
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
267new TargetCodePointer(range.Data.RangeBegin + runtimeFunction.BeginAddress), _target); 327if (((IExecutionManager)this).GetCodeKind(new TargetCodePointer(startAddress.Value)) == CodeKind.Interpreter)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
206TargetPointer codeStart = FindMethodCode(rangeSection, new TargetCodePointer(codeInfoHandle.Address));
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
116TargetPointer codeStart = FindMethodCode(rangeSection, new TargetCodePointer(codeInfoHandle.Address));
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
51new TargetCodePointer(imageBase.Value + function.BeginAddress), Target); 60new TargetCodePointer(imageBase.Value + coldFunction.BeginAddress), Target);
Contracts\PrecodeStubs_Common.cs (1)
205return new TargetCodePointer(precodeData.ByteCodeAddr);
Contracts\StackWalk\Context\AMD64Context.cs (1)
50readonly get => new(Rip);
Contracts\StackWalk\Context\ARM64Context.cs (1)
56readonly get => new(Pc);
Contracts\StackWalk\Context\ARMContext.cs (1)
49readonly get => new(Pc);
Contracts\StackWalk\Context\LoongArch64Context.cs (1)
54readonly get => new(Pc);
Contracts\StackWalk\Context\RISCV64Context.cs (1)
54readonly get => new(Pc);
Contracts\StackWalk\Context\X86Context.cs (1)
57readonly get => new(Eip);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
468context.InstructionPointer = new TargetCodePointer((ulong)topContextFrame.Ip); 517context.InstructionPointer = new TargetCodePointer((ulong)parentFrame.Ip);
Contracts\StackWalk\StackWalk_1.cs (1)
824TargetCodePointer preUnwindIp = new(handle.Context.InstructionPointer.Value);
Microsoft.Diagnostics.DataContractReader.Legacy (6)
ConversionExtensions.cs (2)
73return new TargetCodePointer(address); 82return new TargetCodePointer((uint)address);
Dbi\DacDbiImpl.cs (3)
1859if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not CodeBlockHandle cbh) 5038TargetCodePointer codeAddress = new TargetCodePointer(codeStartAddress); 5479NativeCodeVersionHandle ncvh = cv.GetNativeCodeVersionForIP(new TargetCodePointer(codeAddr));
SOSDacImpl.IXCLRDataProcess.cs (1)
127TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(new TargetCodePointer(entryPoint.Value));
206 references to TargetCodePointer
Microsoft.Diagnostics.DataContractReader (2)
ContractDescriptorTarget.cs (2)
611public override TargetCodePointer ReadCodePointer(ulong address) 625public override bool TryReadCodePointer(ulong address, out TargetCodePointer value)
Microsoft.Diagnostics.DataContractReader.Abstractions (39)
Contracts\Extensions\ICodeVersionsExtensions.cs (4)
14public static TargetCodePointer GetNativeCodeAnyVersion(this ICodeVersions cv, TargetPointer methodDesc) 20if (cv.GetNativeCode(nativeCodeVersionHandle) != TargetCodePointer.Null) 26return TargetCodePointer.Null; 30=> cv.GetNativeCodeAnyVersion(methodDesc) != TargetCodePointer.Null;
Contracts\ICodeVersions.cs (2)
21public virtual NativeCodeVersionHandle GetNativeCodeVersionForIP(TargetCodePointer ip) => throw new NotImplementedException(); 25public virtual TargetCodePointer GetNativeCode(NativeCodeVersionHandle codeVersionHandle) => throw new NotImplementedException();
Contracts\IDebugger.cs (1)
30HijackKind GetHijackKind(TargetCodePointer controlPC) => throw new NotImplementedException();
Contracts\IDebugInfo.cs (4)
112bool HasDebugInfo(TargetCodePointer pCode) => throw new NotImplementedException(); 116IEnumerable<OffsetMapping> GetMethodNativeMap(TargetCodePointer pCode, bool preferUninstrumented, out uint codeOffset) => throw new NotImplementedException(); 121IEnumerable<DebugVarInfo> GetMethodVarInfo(TargetCodePointer pCode, out uint codeOffset) => throw new NotImplementedException(); 127IReadOnlyList<AsyncSuspensionInfo> GetAsyncSuspensionPoints(TargetCodePointer pCode) =>
Contracts\IExecutionManager.cs (3)
98CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => throw new NotImplementedException(); 103TargetPointer NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) => throw new NotImplementedException(); 117CodeKind GetCodeKind(TargetCodePointer codeAddress) => throw new NotImplementedException();
Contracts\IObject.cs (1)
17TargetCodePointer TargetMethodPtr,
Contracts\IPrecodeStubs.cs (4)
11TargetPointer GetMethodDescFromStubAddress(TargetCodePointer entryPoint) => throw new NotImplementedException(); 15TargetPointer GetPrecodeEntryPointFromInteriorAddress(TargetCodePointer interiorAddress, bool isFixupPrecode) => throw new NotImplementedException(); 23TargetCodePointer GetInterpreterCodeFromInterpreterPrecodeIfPresent(TargetCodePointer entryPoint) => entryPoint;
Contracts\IRuntimeTypeSystem.cs (3)
134TargetCodePointer GetSlot(TypeHandle typeHandle, uint slot) => throw new NotImplementedException(); 283TargetCodePointer GetNativeCode(MethodDescHandle methodDesc) => throw new NotImplementedException(); 284TargetCodePointer GetMethodEntryPointIfExists(MethodDescHandle methodDesc) => throw new NotImplementedException();
Contracts\IStackWalk.cs (1)
101TargetCodePointer GetInstructionPointer(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException();
Target.cs (2)
84public abstract TargetCodePointer ReadCodePointer(ulong address); 92public abstract bool TryReadCodePointer(ulong address, out TargetCodePointer value);
TargetCodePointer.cs (13)
7public readonly struct TargetCodePointer : IEquatable<TargetCodePointer> 9public static TargetCodePointer Null = new(0); 13public static implicit operator ulong(TargetCodePointer p) => p.Value; 14public static implicit operator TargetCodePointer(ulong v) => new TargetCodePointer(v); 16public static bool operator ==(TargetCodePointer left, TargetCodePointer right) => left.Value == right.Value; 17public static bool operator !=(TargetCodePointer left, TargetCodePointer right) => left.Value != right.Value; 19public override bool Equals(object? obj) => obj is TargetCodePointer pointer && Equals(pointer); 20public bool Equals(TargetCodePointer other) => Value == other.Value; 24public bool Equals(TargetCodePointer x, TargetCodePointer y) => x.Value == y.Value; 25public int GetHashCode(TargetCodePointer obj) => obj.Value.GetHashCode();
TargetFieldExtensions.cs (1)
98public static TargetCodePointer ReadCodePointerField(this Target target, ulong address, Target.TypeInfo typeInfo, string fieldName)
Microsoft.Diagnostics.DataContractReader.Contracts (145)
CodePointerUtils.cs (3)
14internal static TargetCodePointer CodePointerFromAddress(TargetPointer address, Target target) 18return TargetCodePointer.Null; 35internal static TargetPointer AddressFromCodePointer(TargetCodePointer code, Target target)
Contracts\AuxiliarySymbols_1.cs (1)
21TargetCodePointer codePointer = CodePointerUtils.CodePointerFromAddress(ip, _target);
Contracts\BuiltInCOM_1.cs (1)
67|| !_target.TryReadCodePointer(vtable + (ulong)pointerSize, out TargetCodePointer addRefValue))
Contracts\CodeVersions_1.cs (5)
118NativeCodeVersionHandle ICodeVersions.GetNativeCodeVersionForIP(TargetCodePointer ip) 141TargetCodePointer startAddress = CodePointerUtils.CodePointerFromAddress( 167TargetCodePointer ICodeVersions.GetNativeCode(NativeCodeVersionHandle codeVersionHandle) 245private NativeCodeVersionHandle GetSpecificNativeCodeVersion(IRuntimeTypeSystem rts, MethodDescHandle md, TargetCodePointer startAddress) 248TargetCodePointer firstNativeCode = rts.GetNativeCode(md);
Contracts\ComWrappers_1.cs (1)
36if (!_target.TryReadCodePointer(vtable, out TargetCodePointer qiCodePtr))
Contracts\Debugger\Debugger_1.cs (1)
129HijackKind IDebugger.GetHijackKind(TargetCodePointer controlPC)
Contracts\DebugInfo\DebugInfo_1.cs (2)
27bool IDebugInfo.HasDebugInfo(TargetCodePointer pCode) 35IEnumerable<OffsetMapping> IDebugInfo.GetMethodNativeMap(TargetCodePointer pCode, bool preferUninstrumented, out uint codeOffset)
Contracts\DebugInfo\DebugInfo_2.cs (5)
34bool IDebugInfo.HasDebugInfo(TargetCodePointer pCode) 42IEnumerable<OffsetMapping> IDebugInfo.GetMethodNativeMap(TargetCodePointer pCode, bool preferUninstrumented, out uint codeOffset) 120IEnumerable<DebugVarInfo> IDebugInfo.GetMethodVarInfo(TargetCodePointer pCode, out uint codeOffset) 135TargetCodePointer nativeCodeStart = cv.GetNativeCode(ncvh); 153IReadOnlyList<AsyncSuspensionInfo> IDebugInfo.GetAsyncSuspensionPoints(TargetCodePointer pCode)
Contracts\ExecutionManager\ExecutionManager_1.cs (3)
19public CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip); 24public TargetPointer NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) => _executionManagerCore.NonVirtualEntry2MethodDesc(entrypoint); 36public CodeKind GetCodeKind(TargetCodePointer codeAddress) => _executionManagerCore.GetCodeKind(codeAddress);
Contracts\ExecutionManager\ExecutionManager_2.cs (3)
19public CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip); 24public TargetPointer NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) => _executionManagerCore.NonVirtualEntry2MethodDesc(entrypoint); 36public CodeKind GetCodeKind(TargetCodePointer codeAddress) => _executionManagerCore.GetCodeKind(codeAddress);
Contracts\ExecutionManager\ExecutionManagerCore.cs (12)
112public abstract bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info); 115TargetCodePointer jittedCodeAddress, 119public abstract TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress); 120public abstract TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte); 121public abstract void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion); 123public abstract CodeKind GetCodeKind(RangeSection rangeSection, TargetCodePointer jittedCodeAddress); 152internal static RangeSection Find(Target target, Data.RangeSectionMap topRangeSectionMap, ExecutionManagerHelpers.RangeSectionMap rangeSectionLookup, TargetCodePointer jittedCodeAddress) 200private CodeBlock? GetCodeBlock(TargetCodePointer jittedCodeAddress) 217CodeBlockHandle? IExecutionManager.GetCodeBlockHandle(TargetCodePointer ip) 285TargetPointer IExecutionManager.NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) 432TargetCodePointer codeAddr = CodePointerUtils.CodePointerFromAddress(address, _target); 609public CodeKind GetCodeKind(TargetCodePointer codeAddress)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (7)
23public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info) 48TargetCodePointer jittedCodeAddress, 64public override TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 94public override TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte) 117public override CodeKind GetCodeKind(RangeSection rangeSection, TargetCodePointer codeAddress) 125public override void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion) 148private TargetPointer FindMethodCode(RangeSection rangeSection, TargetCodePointer codeAddress)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (7)
22public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info) 47TargetCodePointer jittedCodeAddress, 62public override TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 68public override CodeKind GetCodeKind(RangeSection rangeSection, TargetCodePointer codeAddress) 73public override TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte) 89public override void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion) 128private TargetPointer FindMethodCode(RangeSection rangeSection, TargetCodePointer jittedCodeAddress)
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (9)
32public override bool GetMethodInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info) 76TargetCodePointer jittedCodeAddress, 106public override TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 116public override TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte) 150public override CodeKind GetCodeKind(RangeSection rangeSection, TargetCodePointer codeAddress) 157public override void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion) 212TargetCodePointer jittedCodeAddress, 258private bool IsStubCodeBlockThunk(Data.RangeSection rangeSection, Data.ReadyToRunInfo r2rInfo, TargetCodePointer jittedCodeAddress) 274TargetCodePointer startAddress = imageBase + function.BeginAddress;
Contracts\ExecutionManager\Helpers\INibbleMap.cs (1)
14public TargetPointer FindMethodCode(Data.CodeHeapListNode heapListNode, TargetCodePointer jittedCodeAddress);
Contracts\ExecutionManager\Helpers\NibbleMapConstantLookup.cs (2)
59internal TargetPointer FindMethodCode(TargetPointer mapBase, TargetPointer mapStart, TargetCodePointer currentPC) 140public TargetPointer FindMethodCode(Data.CodeHeapListNode heapListNode, TargetCodePointer jittedCodeAddress)
Contracts\ExecutionManager\Helpers\NibbleMapLinearLookup.cs (2)
67internal TargetPointer FindMethodCode(TargetPointer mapBase, TargetPointer mapStart, TargetCodePointer currentPC) 149public TargetPointer FindMethodCode(Data.CodeHeapListNode heapListNode, TargetCodePointer jittedCodeAddress)
Contracts\ExecutionManager\Helpers\RangeSectionMap.cs (5)
100internal Cursor GetTopCursor(TargetPointer topMap, TargetCodePointer jittedCodeAddress) 106internal Cursor GetNextCursor(Target target, Cursor cursor, TargetCodePointer jittedCodeAddress) 136internal int GetIndexForLevel(TargetCodePointer address, int level) 152public TargetPointer /*PTR_RangeSectionFragment*/ FindFragment(Target target, Data.RangeSectionMap topRangeSectionMap, TargetCodePointer jittedCodeAddress) 157internal Cursor? FindFragmentInternal(Target target, TargetPointer topMap, TargetCodePointer jittedCodeAddress)
Contracts\Object_1.cs (3)
171if (del.MethodPtrAux == TargetCodePointer.Null) 177(TargetPointer targetObject, TargetCodePointer targetMethodPtr) = delegateType switch 181_ => (TargetPointer.Null, TargetCodePointer.Null),
Contracts\PrecodeStubs_Common.cs (6)
109internal TargetPointer CodePointerReadableInstrPointer(TargetCodePointer codePointer) 124internal ValidPrecode GetPrecodeFromEntryPoint(TargetCodePointer entryPoint) 156TargetPointer IPrecodeStubs.GetMethodDescFromStubAddress(TargetCodePointer entryPoint) 163TargetPointer IPrecodeStubs.GetPrecodeEntryPointFromInteriorAddress(TargetCodePointer interiorAddress, bool isFixupPrecode) 189TargetCodePointer IPrecodeStubs.GetInterpreterCodeFromInterpreterPrecodeIfPresent(TargetCodePointer entryPoint)
Contracts\RuntimeTypeSystem_1.cs (11)
1969TargetCodePointer pCode = _target.ReadCodePointer(slotPtr); 1971if (pCode == TargetCodePointer.Null) 1996private readonly TargetPointer GetMethodDescForEntrypoint(TargetCodePointer pCode) 2013TargetCodePointer IRuntimeTypeSystem.GetSlot(TypeHandle typeHandle, uint slot) 2023return TargetCodePointer.Null; 2032TargetCodePointer IRuntimeTypeSystem.GetNativeCode(MethodDescHandle methodDescHandle) 2042TargetCodePointer pCode = _target.ReadCodePointer(ppCode); 2047return TargetCodePointer.Null; 2052TargetCodePointer IRuntimeTypeSystem.GetMethodEntryPointIfExists(MethodDescHandle methodDescHandle) 2058private TargetCodePointer GetStableEntryPoint(MethodDesc md) 2066private TargetCodePointer GetMethodEntryPointIfExists(MethodDesc md)
Contracts\StackWalk\Context\AMD64Context.cs (1)
48public TargetCodePointer InstructionPointer
Contracts\StackWalk\Context\ARM64Context.cs (1)
54public TargetCodePointer InstructionPointer
Contracts\StackWalk\Context\ARMContext.cs (1)
47public TargetCodePointer InstructionPointer
Contracts\StackWalk\Context\ContextHolder.cs (1)
22public TargetCodePointer InstructionPointer { get => Context.InstructionPointer; set => Context.InstructionPointer = value; }
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (1)
18public TargetCodePointer InstructionPointer { get; set; }
Contracts\StackWalk\Context\IPlatformContext.cs (1)
16TargetCodePointer InstructionPointer { get; set; }
Contracts\StackWalk\Context\LoongArch64Context.cs (1)
52public TargetCodePointer InstructionPointer
Contracts\StackWalk\Context\RISCV64Context.cs (1)
52public TargetCodePointer InstructionPointer
Contracts\StackWalk\Context\X86Context.cs (1)
55public TargetCodePointer InstructionPointer
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (5)
217public TargetCodePointer GetReturnAddress(Data.Frame frame) 225return InlinedCallFrameHasActiveCall(icf) ? icf.CallerReturnAddress : TargetCodePointer.Null; 278return TargetCodePointer.Null; 283return TargetCodePointer.Null; 376return frame.CallerReturnAddress != TargetCodePointer.Null;
Contracts\StackWalk\FrameHandling\FrameIterator.cs (1)
57public TargetCodePointer GetCurrentReturnAddress()
Contracts\StackWalk\GC\GcScanContext.cs (2)
25public TargetCodePointer InstructionPointer { get; private set; } 46public void UpdateScanContext(TargetPointer sp, TargetCodePointer ip, TargetPointer frame, StackRefData.SourceTypes? sourceTypeOverride = null)
Contracts\StackWalk\StackWalk_1.cs (12)
142TargetCodePointer curPc = context.InstructionPointer; 409scanContext.UpdateScanContext(pExInfo, TargetCodePointer.Null, pExInfo, StackRefData.SourceTypes.StackSourceOther); 431scanContext.UpdateScanContext(pGCFrame, TargetCodePointer.Null, pGCFrame, StackRefData.SourceTypes.StackSourceOther); 824TargetCodePointer preUnwindIp = new(handle.Context.InstructionPointer.Value); 858TargetCodePointer ip = handle.Context.InstructionPointer; 883TargetCodePointer returnAddress = handle.FrameIter.GetCurrentReturnAddress(); 885&& returnAddress != TargetCodePointer.Null; 1064TargetCodePointer IStackWalk.GetInstructionPointer(IStackDataFrameHandle stackDataFrameHandle) 1100TargetCodePointer returnAddress = icf.CallerReturnAddress; 1101if (returnAddress != TargetCodePointer.Null && _eman.GetCodeBlockHandle(returnAddress) is CodeBlockHandle cbh) 1227private bool IsManaged(TargetCodePointer ip, [NotNullWhen(true)] out CodeBlockHandle? codeBlockHandle) 1268private bool IsInterpreterCode(TargetCodePointer ip)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (1)
58TargetCodePointer callerIp = callerContext.InstructionPointer;
Data\AuxiliarySymbolInfo.cs (1)
14[Field("Address")] public TargetCodePointer CodeAddress { get; }
Data\ComWrappersVtablePtrs.cs (2)
12public IReadOnlyList<TargetCodePointer> ComWrappersInterfacePointers { get; private set; } = []; 19List<TargetCodePointer> pointers = new(count);
Data\Delegate.cs (2)
10[Field] public TargetCodePointer MethodPtr { get; } 11[Field] public TargetCodePointer MethodPtrAux { get; }
Data\Frames\FuncEvalFrame.cs (1)
13[Field] public TargetCodePointer ReturnAddress { get; }
Data\Frames\HijackFrame.cs (1)
9[Field] public TargetCodePointer ReturnAddress { get; }
Data\Frames\InlinedCallFrame.cs (1)
10[Field] public TargetCodePointer CallerReturnAddress { get; }
Data\Frames\SoftwareExceptionFrame.cs (1)
12[Field] public TargetCodePointer ReturnAddress { get; }
Data\Frames\TailCallFrame.cs (1)
12[Field] public TargetCodePointer ReturnAddress { get; }
Data\Frames\TransitionBlock.cs (1)
9[Field] public TargetCodePointer ReturnAddress { get; }
Data\MethodDescCodeData.cs (1)
9[Field] public TargetCodePointer TemporaryEntryPoint { get; }
Data\NativeCodeVersionNode.cs (1)
12[Field] public TargetCodePointer NativeCode { get; }
Data\RangeSectionFragment.cs (1)
26public bool Contains(TargetCodePointer address)
RuntimeTypeSystemHelpers\MethodValidation.cs (11)
120private TargetCodePointer GetTemporaryEntryPointIfExists(NonValidatedMethodDesc umd) 124return TargetCodePointer.Null; 130private TargetCodePointer GetCodePointer(NonValidatedMethodDesc umd) 139TargetCodePointer pCode = _target.ReadCodePointer(ppCode); 145return TargetCodePointer.Null; 150private TargetCodePointer GetStableEntryPoint(NonValidatedMethodDesc umd) 159private TargetCodePointer GetMethodEntryPointIfExists(NonValidatedMethodDesc umd) 174private bool HasNativeCode(NonValidatedMethodDesc umd) => GetCodePointer(umd) != TargetCodePointer.Null; 195TargetCodePointer temporaryEntryPoint = GetTemporaryEntryPointIfExists(umd); 196if (temporaryEntryPoint != TargetCodePointer.Null) 208TargetCodePointer jitCodeAddr = GetCodePointer(umd);
Microsoft.Diagnostics.DataContractReader.Legacy (20)
ClrDataFrame.cs (1)
460TargetCodePointer codePointer = stackWalk.GetInstructionPointer(_dataFrame);
ClrDataMethodInstance.cs (4)
197TargetCodePointer pCode = address.ToTargetCodePointer(_target); 291TargetCodePointer nativeCode = _target.Contracts.RuntimeTypeSystem.GetNativeCode(_methodDesc); 292TargetCodePointer pCode = _target.Contracts.PrecodeStubs.GetInterpreterCodeFromInterpreterPrecodeIfPresent(nativeCode); 395TargetCodePointer addrCode = rts.GetNativeCode(_methodDesc);
ConversionExtensions.cs (3)
32public static ClrDataAddress ToClrDataAddress(this TargetCodePointer address, Target target) 69public static TargetCodePointer ToTargetCodePointer(this ClrDataAddress address, Target target) 89public static TargetPointer ToAddress(this TargetCodePointer code, Target target)
Dbi\DacDbiImpl.cs (4)
5038TargetCodePointer codeAddress = new TargetCodePointer(codeStartAddress); 5475TargetCodePointer pCode; 5480pCode = ncvh.Valid ? cv.GetNativeCode(ncvh) : TargetCodePointer.Null; 5487if (pCode != TargetCodePointer.Null)
SOSDacImpl.cs (6)
776TargetCodePointer targetCodePointer = ip.ToTargetCodePointer(_target); 2294TargetCodePointer nativeCodeAddr = TargetCodePointer.Null; 2299if (nativeCodeAddr != TargetCodePointer.Null) 2514TargetCodePointer nativeCode = cv.GetNativeCode(nativeCodeVersion); 5322TargetCodePointer nativeCode = _target.Contracts.PrecodeStubs.GetInterpreterCodeFromInterpreterPrecodeIfPresent(codeVersions.GetNativeCode(nativeCodeVersionHandle));
SOSDacImpl.IXCLRDataProcess.cs (2)
112TargetCodePointer codeAddr = address.ToTargetCodePointer(_target); 458TargetCodePointer methodAddr = address.ToTargetCodePointer(_target);