37 references to TargetCodePointer
Microsoft.Diagnostics.DataContractReader (4)
ContractDescriptorTarget.cs (4)
642return new TargetCodePointer(Read<uint>(address)); 646return new TargetCodePointer(Read<ulong>(address)); 658value = new TargetCodePointer(val); 666value = 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 (22)
CodePointerUtils.cs (2)
25return new TargetCodePointer(address.Value | Arm32ThumbBit); 32return new TargetCodePointer(address.Value);
Contracts\Debugger\Debugger_1.cs (1)
277ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value);
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
271new TargetCodePointer(range.Data.RangeBegin + runtimeFunction.BeginAddress), _target); 331if (((IExecutionManager)this).GetCodeKind(new TargetCodePointer(startAddress.Value)) == CodeKind.Interpreter)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (3)
172TargetCodePointer current = new(heapListNode.EndAddress.Value); 194current = new TargetCodePointer(codeStart.Value - 1); 245TargetPointer codeStart = FindMethodCode(rangeSection, new TargetCodePointer(codeInfoHandle.Address));
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
117TargetPointer 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_3.cs (1)
139: 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\Wasm\WasmUnwinder.cs (1)
130return new TargetCodePointer(baseVirtualIP + functionLocalVirtualIP);
Contracts\StackWalk\Context\WasmContext.cs (1)
68readonly get => new(_interpreterIP);
Contracts\StackWalk\Context\X86Context.cs (1)
57readonly get => new(Eip);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (2)
469context.InstructionPointer = new TargetCodePointer((ulong)topContextFrame.Ip); 518context.InstructionPointer = new TargetCodePointer((ulong)parentFrame.Ip);
Microsoft.Diagnostics.DataContractReader.Legacy (9)
ConversionExtensions.cs (2)
73return new TargetCodePointer(address); 82return new TargetCodePointer((uint)address);
Dbi\DacDbiImpl.cs (6)
1561TargetCodePointer codePointer = new TargetCodePointer(startAddress); 2440if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not CodeBlockHandle cbh) 2865code = new TargetCodePointer(code.ToAddress(_target).Value); 2890NativeCodeVersionHandle nativeCodeVersion = codeVersions.GetNativeCodeVersionForIP(new TargetCodePointer(codeStart.Value)); 5816TargetCodePointer codeAddress = new TargetCodePointer(codeStartAddress); 6257NativeCodeVersionHandle ncvh = cv.GetNativeCodeVersionForIP(new TargetCodePointer(codeAddr));
SOSDacImpl.IXCLRDataProcess.cs (1)
259TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(new TargetCodePointer(entryPoint.Value));