40 references to new
Microsoft.Diagnostics.DataContractReader (4)
ContractDescriptorTarget.cs (4)
649return new TargetCodePointer(Read<uint>(address)); 653return new TargetCodePointer(Read<ulong>(address)); 665value = new TargetCodePointer(val); 673value = 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 (25)
CodePointerUtils.cs (2)
25return new TargetCodePointer(address.Value | Arm32ThumbBit); 32return new TargetCodePointer(address.Value);
Contracts\Debugger\Debugger_1.cs (1)
333ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value);
Contracts\ExecutionManager\ExecutionManagerCore.cs (5)
372new TargetCodePointer(range.Data.RangeBegin + beginAddress), _target); 464return new TargetCodePointer(interpreterCode); 482? new TargetCodePointer(virtualIP) 490if (((IExecutionManager)this).GetCodeKind(new TargetCodePointer(startAddress.Value)) == CodeKind.Interpreter) 520TargetCodePointer filterAddress = new(info.StartAddress.Value + filterOffset);
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)
55new TargetCodePointer(codeBase.Value + functionBeginAddress), Target); 64new TargetCodePointer(codeBase.Value + _runtimeFunctions.GetBeginAddress(coldFunction)), Target);
Contracts\PrecodeStubs_1.cs (1)
137: 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)
131return 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)
484context.InstructionPointer = new TargetCodePointer((ulong)topContextFrame.Ip); 533context.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)
1656TargetCodePointer codePointer = new TargetCodePointer(startAddress); 2546if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not CodeBlockHandle cbh) 2983code = new TargetCodePointer(code.ToAddress(_target).Value); 3008NativeCodeVersionHandle nativeCodeVersion = codeVersions.GetNativeCodeVersionForIP(new TargetCodePointer(codeStart.Value)); 6024TargetCodePointer codeAddress = new TargetCodePointer(codeStartAddress); 6476NativeCodeVersionHandle ncvh = cv.GetNativeCodeVersionForIP(new TargetCodePointer(codeAddr));
SOSDacImpl.IXCLRDataProcess.cs (1)
319TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(new TargetCodePointer(entryPoint.Value));