44 references to new
Microsoft.Diagnostics.DataContractReader (4)
ContractDescriptorTarget.cs (4)
700return new TargetCodePointer(Read<uint>(address)); 704return new TargetCodePointer(Read<ulong>(address)); 716value = new TargetCodePointer(val); 724value = 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 (28)
CodePointerUtils.cs (3)
25return new TargetCodePointer(address.Value | Arm32ThumbBit); 28return new TargetCodePointer(address.Value); 51return new TargetCodePointer(returnAddress.Value & ~metadata.GetPointerAuthenticationMask());
Contracts\Debugger\Debugger_1.cs (1)
333ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value);
Contracts\ExecutionManager\ExecutionManagerCore.cs (5)
389new TargetCodePointer(range.Data.RangeBegin + beginAddress), _target); 481return new TargetCodePointer(interpreterCode); 499? new TargetCodePointer(virtualIP) 507if (((IExecutionManager)this).GetCodeKind(new TargetCodePointer(startAddress.Value)) == CodeKind.Interpreter) 537TargetCodePointer 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\ARM64\ARM64Unwinder.cs (1)
766context.Lr = CodePointerUtils.StripPointerAuthentiationFromReturnAddress(new TargetCodePointer(context.Lr), _target).Value;
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)
153return new TargetCodePointer(baseVirtualIP + functionLocalVirtualIP);
Contracts\StackWalk\Context\WasmContext.cs (1)
68readonly get => new(_interpreterIP);
Contracts\StackWalk\Context\X86Context.cs (1)
62readonly get => new(Eip);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (3)
459returnAddress = new TargetCodePointer((uint)tb.ReturnAddress - X86FrameHandler.CallInstructionSize); 747context.InstructionPointer = new TargetCodePointer((ulong)topContextFrame.Ip); 805context.InstructionPointer = new TargetCodePointer((ulong)parentFrame.Ip);
Microsoft.Diagnostics.DataContractReader.Legacy (10)
ConversionExtensions.cs (2)
73return new TargetCodePointer(address); 82return new TargetCodePointer((uint)address);
Dbi\DacDbiImpl.cs (6)
1663TargetCodePointer codePointer = new TargetCodePointer(startAddress); 2571if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not CodeBlockHandle cbh) 3026code = new TargetCodePointer(code.ToAddress(_target).Value); 3051NativeCodeVersionHandle nativeCodeVersion = codeVersions.GetNativeCodeVersionForIP(new TargetCodePointer(codeStart.Value)); 6056TargetCodePointer codeAddress = new TargetCodePointer(codeStartAddress); 6508NativeCodeVersionHandle ncvh = cv.GetNativeCodeVersionForIP(new TargetCodePointer(codeAddr));
EnumMemory\ObjectCollector.cs (1)
160_methods.CaptureMethod(frame.MethodDesc, new TargetCodePointer(frame.Ip.Value));
SOSDacImpl.IXCLRDataProcess.cs (1)
319TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(new TargetCodePointer(entryPoint.Value));