183 instantiations of TargetPointer
Microsoft.Diagnostics.DataContractReader (5)
ContractDescriptorTarget.cs (5)
595return new TargetPointer(allocatedAddress); 629return new TargetPointer(Read<uint>(bytes.Slice(0, sizeof(uint)), _config.IsLittleEndian)); 633return new TargetPointer(Read<ulong>(bytes.Slice(0, sizeof(ulong)), _config.IsLittleEndian)); 768pointer = new TargetPointer(value); 863value = new TargetPointer(globalValue);
Microsoft.Diagnostics.DataContractReader.Abstractions (5)
TargetCodePointer.cs (1)
27public TargetPointer AsTargetPointer => new(Value);
TargetPointer.cs (4)
10public static TargetPointer Null = new(0); 11public static TargetPointer Max32Bit = new(uint.MaxValue); 12public static TargetPointer Max64Bit = new(ulong.MaxValue); 18public static implicit operator TargetPointer(ulong v) => new TargetPointer(v);
Microsoft.Diagnostics.DataContractReader.Contracts (77)
CodePointerUtils.cs (2)
41return new TargetPointer(code.Value & ~Arm32ThumbBit); 48return new TargetPointer(code.Value);
Contracts\BuiltInCOM_1.cs (2)
81ccw = new TargetPointer(interfacePointer & thisMask.Value); 124TargetPointer comMethodTableAddr = new TargetPointer(slotValue - comMethodTableSize);
Contracts\CodeNotifications_1.cs (1)
178=> new(_target, new TargetPointer(EntriesBase + (ulong)(index * EntrySize)));
Contracts\ConditionalWeakTable_1.cs (1)
51value = new TargetPointer(extraInfo.Value);
Contracts\Debugger\Debugger_1.cs (1)
309sp = new TargetPointer(sp.Value - (ulong)(cc.HomeSpaceSlotCount * target.PointerSize));
Contracts\Debugger\StackPusher.cs (3)
17sp = new TargetPointer(sp.Value - (ulong)bytes.Length); 35sp = new TargetPointer(sp.Value - (ulong)target.PointerSize); 69sp = new TargetPointer(sp.Value & mask);
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
514TargetPointer jitManagerAddress = new(table.Context.Value & ~(ulong)3); 672TargetPointer address = new(codeAddress.Value);
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
210TargetPointer codeHeaderIndirect = new TargetPointer(codeStart - (ulong)codeHeaderOffset);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
149TargetPointer codeHeaderIndirect = new TargetPointer(codeStart - (ulong)codeHeaderOffset);
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
307startExInfoRVA = new TargetPointer(entry.ExceptionInfoRVA + rangeStart); 308endExInfoRVA = new TargetPointer(nextEntry.ExceptionInfoRVA + rangeStart);
Contracts\ExecutionManager\Helpers\HashMapLookup.cs (1)
58return new TargetPointer((uint)SpecialKeys.InvalidEntry);
Contracts\GC\GC_1.cs (2)
462TargetPointer next = new TargetPointer(currentAddress.Value + currentObjectSize); 471return new TargetPointer(context.Limit.Value + minObjSize);
Contracts\GCInfo\X86\GCInfo.cs (4)
564return new TargetPointer(GetOutermostBaseFP(fp).Value & ~SHADOW_SP_BITS); 569return new TargetPointer(sp.Value + CalculatePushedArgSizeAt(codeOffset)); 576TargetPointer pLocalloc = new(ebp.Value - GetLocallocSPOffset()); 580return new TargetPointer(ebp.Value - RawStackSize + (uint)sizeof(int));
Contracts\PrecodeStubs_3.cs (1)
98byte targetBytePattern = target.Read<byte>(new TargetPointer((instrAddress.Value + (ulong)i)));
Contracts\PrecodeStubs_Common.cs (1)
188return new TargetPointer(entryPointAddress);
Contracts\RuntimeMutableTypeSystem_1.cs (1)
133TargetPointer helperObjectAddress = new TargetPointer(secondary.Value);
Contracts\RuntimeTypeSystem_1.cs (1)
2503return new TargetPointer(@base + offset);
Contracts\Signature\RuntimeSignatureDecoder.cs (2)
269return _provider.GetInternalType(new TargetPointer(val)); 277return _provider.GetInternalModifiedType(new TargetPointer(val), unmodifiedType, isRequired);
Contracts\Signature\Signature_1.cs (2)
66return new TargetPointer(vaSigCookieAddr.Value + cookie.SizeOfArgs); 69return new TargetPointer(vaSigCookieAddr.Value + (ulong)_target.PointerSize);
Contracts\StackWalk\Context\AMD64Context.cs (2)
45readonly get => new(Rsp); 55readonly get => new(Rbp);
Contracts\StackWalk\Context\ARM64Context.cs (2)
51readonly get => new(Sp); 61readonly get => new(Fp);
Contracts\StackWalk\Context\ARMContext.cs (2)
43readonly get => new(Sp); 55readonly get => new(R11);
Contracts\StackWalk\Context\LoongArch64Context.cs (2)
49readonly get => new(Sp); 59readonly get => new(Fp);
Contracts\StackWalk\Context\RISCV64Context.cs (2)
49readonly get => new(Sp); 59readonly get => new(Fp);
Contracts\StackWalk\Context\Wasm\WasmR2RInfo.cs (1)
102unwindDataAddress = new TargetPointer(r2rInfo.LoadedImageBase.Value + runtimeFunction.UnwindData);
Contracts\StackWalk\Context\Wasm\WasmUnwinder.cs (2)
99frameBase = new TargetPointer(current); 163sp = new TargetPointer(frameBase.Value + frameSize);
Contracts\StackWalk\Context\WasmContext.cs (2)
62readonly get => new(_interpreterSP); 74readonly get => new(_interpreterFP);
Contracts\StackWalk\Context\X86Context.cs (2)
52readonly get => new(Esp); 62readonly get => new(Ebp);
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (1)
539return new TargetPointer(value.Value);
Contracts\StackWalk\FrameHandling\FrameIterator.cs (1)
29terminator = new TargetPointer(target.PointerSize == 8 ? ulong.MaxValue : uint.MaxValue);
Contracts\StackWalk\GC\GCRefMapDecoder.cs (1)
93_currentByte = new TargetPointer(_currentByte.Value + 1);
Contracts\StackWalk\GC\GcScanner.cs (13)
69scanContext.GCEnumCallback(new TargetPointer(regValue.Value), scanFlags, loc); 85? new TargetPointer(val.Value) 91TargetPointer addr = new(baseAddr.Value + (ulong)(long)slot.SpOffset); 296TargetPointer sectionAddr = new(sectionsBase.Value + i * ImportSectionSize); 311TargetPointer gcRefMapBase = new(imageBase + auxDataRva); 317uint lookupOffset = _target.Read<uint>(new TargetPointer(gcRefMapBase.Value + lookupIndex * 4)); 318TargetPointer p = new(gcRefMapBase.Value + lookupOffset); 323p = new(p.Value + 1); 324p = new(p.Value + 1); 364return new TargetPointer(tb.FirstGCRefMapSlot.Value + (ulong)(pos * _target.PointerSize)); 375return new TargetPointer(tb.ArgumentRegisters.Value + (ulong)offset); 378return new TargetPointer(tb.OffsetOfArgs.Value + (ulong)stackOffset); 380return new TargetPointer(tb.ArgumentRegisters.Value + (ulong)(argIndex * _target.PointerSize));
Contracts\StackWalk\StackWalk_1.cs (7)
445TargetPointer slot = new(gcFrame.ObjRefs.Value + (ulong)i * pointerSize); 1048return new TargetPointer(unchecked(baseValue + (ulong)offset)); 1168? new TargetPointer(registerValue.Value) 1177return ReadPointerRelativeTo(new TargetPointer(baseRegister.Value), storage.Offset); 1187=> _target.ReadPointer(new TargetPointer(unchecked(baseAddress.Value + (ulong)(long)offset))); 1212return new TargetPointer(unwoundEsp - stackParameterSize - pointerSize); 1219return new TargetPointer(hijacked.StackPointer.Value - pointerSize);
Contracts\StressLog.cs (5)
96return new TargetPointer(stressLog.ModuleOffset.Value + formatOffset); 118return new TargetPointer((ulong)module.BaseAddress + relativeOffset); 144currentPointer = new TargetPointer((ulong)currentPointer - target.ReadGlobal<ulong>(Constants.Globals.StressLogMaxMessageSize)); 178p = new TargetPointer((ulong)p + pointerSize); 212readPointer = new TargetPointer((ulong)readPointer + stressMsgHeaderSize + pointerSize * (uint)parsedMessage.Args.Count);
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
98return new TargetPointer(chunkAddress);
Microsoft.Diagnostics.DataContractReader.Legacy (96)
ClrDataExceptionState.cs (1)
330TargetPointer requestedAddress = new(
ClrDataMethodInstance.cs (2)
330maps[outputMapIndex].startAddress = new TargetPointer(codeStart + entry.NativeOffset).ToClrDataAddress(_target); 331maps[outputMapIndex].endAddress = new TargetPointer(codeStart + nativeEndOffset).ToClrDataAddress(_target);
ConversionExtensions.cs (4)
53return new TargetPointer(address); 62return new TargetPointer((uint)address); 95return new TargetPointer(code.Value & ~Arm32ThumbBit); 102return new TargetPointer(code.Value);
Dbi\DacDbiImpl.cs (80)
161Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 193Contracts.ModuleHandle handle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 309Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 360Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 409Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 445Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 495Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 538Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 589Contracts.ModuleHandle handle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 659Contracts.ModuleHandle handle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 695Contracts.ModuleHandle handle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 756new TargetPointer(vmAppDomain), 946new TargetPointer(vmThread), 949new TargetPointer((ulong)pUserData)); 1030Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1055Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1081Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1109TargetPointer threadPtr = new TargetPointer(vmThread); 1143TargetPointer threadPtr = new TargetPointer(vmThread); 1178Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1211TargetPointer threadPtr = new TargetPointer(vmThread); 1245TargetPointer threadPtr = new TargetPointer(vmThread); 1324Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1353Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1379TargetPointer threadPtr = new TargetPointer(vmThread); 1413TargetPointer ccwAddress = new(ccwPtr); 1461Contracts.ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1514Contracts.ModuleHandle scopeModule = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmScope)); 1719ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 1945_target.Contracts.Thread.GetStackLimitData(new TargetPointer(vmThread), out TargetPointer stackBase, out TargetPointer stackLimit, out _); 2265foreach (Contracts.StackFrameData frame in stackwalk.GetFrames(new TargetPointer(vmThread))) 2297TargetPointer threadPtr = new TargetPointer(vmThread); 2483ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 2518ThreadData threadData = _target.Contracts.Thread.GetThreadData(new TargetPointer(vmThread)); 2559Contracts.MethodDescHandle md = rts.GetMethodDescHandle(new TargetPointer(vmMethodDesc)); 2594TargetPointer argBase = signature.GetVarArgArgsBase(new TargetPointer(VASigCookieAddr)); 2595signature.GetVarArgSignature(new TargetPointer(VASigCookieAddr), out TargetPointer sigAddr, out uint sigLen); 2633ITypeHandle th = rts.GetTypeHandle(new TargetPointer(thExact)); 2678*pRetVal = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(rawToken)).Value; 2718Contracts.ModuleHandle moduleHandle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 2787Contracts.ModuleHandle module = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 2972ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 2999ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3295ITypeHandle th = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 3323TargetPointer mtAddr = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(addr)); 3401TargetPointer module = new TargetPointer(vmModule); 3541th = rts.GetTypeHandle(new TargetPointer(vmTh)); 3560return rts.GetTypeHandle(new TargetPointer(vmTh)); 3660pSpecificMethod = rts.GetMethodDescHandle(new TargetPointer(genericsToken)); 3667thSpecificClass = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3674ITypeHandle thFromThis = rts.GetTypeHandle(new TargetPointer(genericsToken)); 3777TargetPointer fd = new TargetPointer(vmField); 3784*pRetVal = rts.GetFieldDescThreadStaticAddress(fd, new TargetPointer(vmRuntimeThread)).Value; 3810TargetPointer fd = new TargetPointer(vmField); 3845Contracts.ModuleHandle moduleHandle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 3860TargetPointer objectPointer = new TargetPointer(pEnCFieldInfo->vmObject); 3938Contracts.ModuleHandle moduleHandle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly)); 3970ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(vmTypeHandle)); 4086TargetPointer objectAddress = new TargetPointer(vmObject); 4147foreach (ExceptionStackFrameInfo frame in exceptionContract.GetExceptionStackFrames(new TargetPointer(vmObject))) 4192_ = obj.GetBuiltInComData(new TargetPointer(vmObject), out TargetPointer rcw, out _, out _); 4236_ = obj.GetBuiltInComData(new TargetPointer(vmObject), out TargetPointer rcw, out _, out _); 4508*pRetVal = _target.ReadPointer(new TargetPointer(ptr)).Value; 4568TargetPointer obj = _target.ReadPointer(new TargetPointer(vmHandle)); 5056TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 5242TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 5312ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5463ITypeHandle typeHandle = rts.GetTypeHandle(new TargetPointer((ulong)id)); 5519ITypeHandle arrayOrStringTypeHandle = rts.GetTypeHandle(new TargetPointer(id)); 5646Contracts.ModuleHandle module = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 5694Contracts.ModuleHandle module = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 5746Contracts.ModuleHandle module = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 5855NativeCodeVersionHandle nativeCodeVersion = NativeCodeVersionHandle.CreateExplicit(new TargetPointer(vmNativeCodeVersionNode)); 5994DelegateInfo delegateInfo = _target.Contracts.Object.GetDelegateInfo(new TargetPointer(delegateObject)); 6052DelegateInfo delegateInfo = _target.Contracts.Object.GetDelegateInfo(new TargetPointer(delegateObject)); 6098Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(pModule)); 6163Contracts.ModuleHandle handle = loader.GetModuleHandleFromModulePtr(new TargetPointer(vmModule)); 6192ContinuationInfo info = _target.Contracts.Object.GetContinuationInfo(new TargetPointer(continuationAddress)); 6249Contracts.MethodDescHandle md = rts.GetMethodDescHandle(new TargetPointer(vmMethod)); 6330Contracts.MethodDescHandle md = rts.GetMethodDescHandle(new TargetPointer(vmMethod));
Dbi\DacDbiImpl.NativeCodeInfo.cs (1)
20MethodDescHandle mdh = rts.GetMethodDescHandle(new TargetPointer(vmMethodDesc));
Dbi\Helpers\HeapWalk.cs (1)
58mt = new TargetPointer(mt.Value & _methodTableMask);
Dbi\TypeDataWalk.cs (1)
213Contracts.ModuleHandle moduleHandle = loader.GetModuleHandleFromAssemblyPtr(new TargetPointer(vmAssembly));
SOSDacImpl.cs (4)
1188string name = stackWalk.GetFrameName(new(vtable)); 2286requestedNativeCodeVersion = nativeCodeContract.GetActiveNativeCodeVersion(new TargetPointer(methodDesc)); 2335activeNativeCodeVersion = nativeCodeContract.GetActiveNativeCodeVersion(new TargetPointer(methodDesc)); 4673ehInfo.mtCatch = clause.TypeHandle is TargetNUInt th ? new TargetPointer(th.Value).ToClrDataAddress(_target) : 0;
SOSDacImpl.IXCLRDataProcess.cs (2)
1099exInfo[i] = new TargetPointer(record->ExceptionInformation[i]); 1688ClrDataAddress codeStart = new TargetPointer(ilHeader + (uint)headerSize).ToClrDataAddress(_target);
5688 references to TargetPointer
Microsoft.Diagnostics.DataContractReader (30)
ContractDescriptorTarget.cs (30)
51private readonly List<(string Name, TargetPointer Slot)> _pendingSubDescriptors = []; 65foreach ((string pendingName, TargetPointer _) in _pendingSubDescriptors) 123TargetPointer[] globalPointerValues, 166foreach ((string name, TargetPointer pSubDescriptor) in GetSubDescriptors(descriptor)) 168if (pSubDescriptor == TargetPointer.Null) 187(_, TargetPointer pendingSubDescriptor) = _pendingSubDescriptors[i]; 188if (TryReadPointer(pendingSubDescriptor, out TargetPointer subDescriptorAddress) 189&& subDescriptorAddress != TargetPointer.Null) 313public TargetPointer[] PointerData { get; init; } 316private static IEnumerable<(string Name, TargetPointer Slot)> GetSubDescriptors(Descriptor descriptor) 375if (!TryReadPointer(address, config, dataTargetDelegates, out TargetPointer descriptorAddr)) 390if (!TryReadPointer(address, config, dataTargetDelegates, out TargetPointer pointerDataAddr)) 424TargetPointer[] pointerData = new TargetPointer[pointerDataLength]; 524public override void WritePointer(ulong address, TargetPointer value) 587public override TargetPointer AllocateMemory(uint size) 614public override TargetPointer ReadPointer(ulong address) 616if (!TryReadPointer(address, _config, _dataTargetDelegates, out TargetPointer pointer)) 622public override bool TryReadPointer(ulong address, out TargetPointer value) 625public override TargetPointer ReadPointerFromSpan(ReadOnlySpan<byte> bytes) 674public void ReadPointers(ulong address, Span<TargetPointer> buffer) 762private static bool TryReadPointer(ulong address, Configuration config, DataTargetDelegates dataTargetDelegates, out TargetPointer pointer) 764pointer = TargetPointer.Null; 817public override bool IsAlignedToPointerSize(TargetPointer pointer) 850public override bool TryReadGlobalPointer(string name, [NotNullWhen(true)] out TargetPointer? value) 853public bool TryReadGlobalPointer(string name, [NotNullWhen(true)] out TargetPointer? value, out string? type) 867public override TargetPointer ReadGlobalPointer(string name) 870public TargetPointer ReadGlobalPointer(string name, out string? type) 872if (!TryReadGlobalPointer(name, out TargetPointer? value, out type)) 950public T GetOrAdd<T>(TargetPointer address) where T : IData<T>
Microsoft.Diagnostics.DataContractReader.Abstractions (442)
Contracts\Extensions\ICodeVersionsExtensions.cs (3)
8public static NativeCodeVersionHandle GetActiveNativeCodeVersion(this ICodeVersions cv, TargetPointer methodDesc) 14public static TargetCodePointer GetNativeCodeAnyVersion(this ICodeVersions cv, TargetPointer methodDesc) 29public static bool HasNativeCodeAnyVersion(this ICodeVersions cv, TargetPointer methodDesc)
Contracts\Extensions\IGCExtensions.cs (1)
32foreach (TargetPointer heapAddress in gc.GetGCHeaps())
Contracts\Extensions\ILoaderExtensions.cs (2)
27TargetPointer modulePtr = loader.GetModuleLookupMapElement(tables.ManifestModuleReferences, token, out _); 28if (modulePtr == TargetPointer.Null)
Contracts\Extensions\IReJITExtensions.cs (1)
10public static IEnumerable<TargetNUInt> GetRejitIds(this IReJIT rejit, Target target, TargetPointer methodDesc)
Contracts\IAuxiliarySymbols.cs (1)
12bool TryGetAuxiliarySymbolName(TargetPointer ip, [NotNullWhen(true)] out string? symbolName) => throw new NotImplementedException();
Contracts\IBuiltInCOM.cs (27)
11public TargetPointer InterfacePointerAddress { get; init; } 12public TargetPointer MethodTable { get; init; } 23public TargetPointer OuterIUnknown { get; init; } 28TargetPointer RCW, 29TargetPointer Context, 30TargetPointer STAThread, 34TargetPointer IdentityPointer, 35TargetPointer UnknownPointer, 36TargetPointer ManagedObject, 37TargetPointer VTablePtr, 38TargetPointer CreatorThread, 39TargetPointer CtxCookie, 52TargetPointer GetCCWFromInterfacePointer(TargetPointer interfacePointer) => throw new NotImplementedException(); 55IEnumerable<COMInterfacePointerData> GetCCWInterfaces(TargetPointer ccw) => throw new NotImplementedException(); 57TargetPointer GetObjectHandle(TargetPointer ccw) => throw new NotImplementedException(); 59SimpleComCallWrapperData GetSimpleComCallWrapperData(TargetPointer ccw) => throw new NotImplementedException(); 62TargetPointer GetStartWrapper(TargetPointer ccw) => throw new NotImplementedException(); 63IEnumerable<RCWCleanupInfo> GetRCWCleanupList(TargetPointer cleanupListPtr) => throw new NotImplementedException(); 64IEnumerable<(TargetPointer MethodTable, TargetPointer Unknown)> GetRCWInterfaces(TargetPointer rcw) => throw new NotImplementedException(); 65TargetPointer GetRCWContext(TargetPointer rcw) => throw new NotImplementedException(); 66RCWData GetRCWData(TargetPointer rcw) => throw new NotImplementedException();
Contracts\ICodeNotifications.cs (3)
36void SetCodeNotification(TargetPointer module, uint methodToken, CodeNotificationKind flags) => throw new NotImplementedException(); 41CodeNotificationKind GetCodeNotification(TargetPointer module, uint methodToken) => throw new NotImplementedException(); 46void SetAllCodeNotifications(TargetPointer module, CodeNotificationKind flags) => throw new NotImplementedException();
Contracts\ICodeVersions.cs (40)
20public virtual ILCodeVersionHandle GetActiveILCodeVersion(TargetPointer methodDesc) => throw new NotImplementedException(); 24public virtual IEnumerable<ILCodeVersionHandle> GetILCodeVersions(TargetPointer methodDesc) => throw new NotImplementedException(); 26public virtual IEnumerable<NativeCodeVersionHandle> GetNativeCodeVersions(TargetPointer methodDesc, ILCodeVersionHandle ilCodeVersionHandle) => throw new NotImplementedException(); 30public virtual NativeCodeVersionHandle GetActiveNativeCodeVersionForILCodeVersion(TargetPointer methodDesc, ILCodeVersionHandle ilCodeVersionHandle) => throw new NotImplementedException(); 34public virtual TargetPointer GetGCStressCodeCopy(NativeCodeVersionHandle codeVersionHandle) => throw new NotImplementedException(); 36public virtual bool CodeVersionManagerSupportsMethod(TargetPointer methodDesc) => throw new NotImplementedException(); 38public virtual TargetPointer GetIL(ILCodeVersionHandle ilCodeVersionHandle) => throw new NotImplementedException(); 40public virtual bool TryGetInstrumentedILMap(ILCodeVersionHandle ilCodeVersionHandle, out uint mapEntryCount, out TargetPointer mapEntries) => throw new NotImplementedException(); 50public readonly TargetPointer Module; 52public readonly TargetPointer ILCodeVersionNode; 53private ILCodeVersionHandle(TargetPointer module, uint methodDef, TargetPointer ilCodeVersionNodeAddress) 55if (module != TargetPointer.Null && ilCodeVersionNodeAddress != TargetPointer.Null) 58if (module != TargetPointer.Null && methodDef == 0) 61if (module == TargetPointer.Null && methodDef != 0) 70public static ILCodeVersionHandle CreateExplicit(TargetPointer ilCodeVersionNodeAddress) => 71new ILCodeVersionHandle(TargetPointer.Null, 0, ilCodeVersionNodeAddress); 72public static ILCodeVersionHandle CreateSynthetic(TargetPointer module, uint methodDef) => 73new ILCodeVersionHandle(module, methodDef, TargetPointer.Null); 75public static ILCodeVersionHandle Invalid { get; } = new(TargetPointer.Null, 0, TargetPointer.Null); 77public bool IsValid => Module != TargetPointer.Null || ILCodeVersionNode != TargetPointer.Null; 79public bool IsExplicit => ILCodeVersionNode != TargetPointer.Null; 86public readonly TargetPointer MethodDescAddress; 87public readonly TargetPointer CodeVersionNodeAddress; 88private NativeCodeVersionHandle(TargetPointer methodDescAddress, TargetPointer codeVersionNodeAddress) 90if (methodDescAddress != TargetPointer.Null && codeVersionNodeAddress != TargetPointer.Null) 99public static NativeCodeVersionHandle CreateExplicit(TargetPointer codeVersionNodeAddress) => 100new NativeCodeVersionHandle(TargetPointer.Null, codeVersionNodeAddress); 101public static NativeCodeVersionHandle CreateSynthetic(TargetPointer methodDescAddress) => 102new NativeCodeVersionHandle(methodDescAddress, TargetPointer.Null); 104public static NativeCodeVersionHandle Invalid { get; } = new(TargetPointer.Null, TargetPointer.Null); 106public bool Valid => MethodDescAddress != TargetPointer.Null || CodeVersionNodeAddress != TargetPointer.Null; 108public bool IsExplicit => CodeVersionNodeAddress != TargetPointer.Null;
Contracts\IComWrappers.cs (14)
12TargetPointer GetComWrappersIdentity(TargetPointer address) => throw new NotImplementedException(); 13TargetPointer GetManagedObjectWrapperFromCCW(TargetPointer ccw) => throw new NotImplementedException(); 14TargetPointer GetComWrappersObjectFromMOW(TargetPointer mow) => throw new NotImplementedException(); 15long GetMOWReferenceCount(TargetPointer mow) => throw new NotImplementedException(); 16TargetPointer GetIdentityForMOW(TargetPointer mow) => throw new NotImplementedException(); 17List<TargetPointer> GetMOWs(TargetPointer obj, out bool hasMOWTable) => throw new NotImplementedException(); 18bool IsComWrappersRCW(TargetPointer rcw) => throw new NotImplementedException(); 19TargetPointer GetComWrappersRCWForObject(TargetPointer obj) => throw new NotImplementedException();
Contracts\IConditionalWeakTable.cs (3)
11bool TryGetValue(TargetPointer conditionalWeakTable, TargetPointer key, out TargetPointer value) => throw new NotImplementedException();
Contracts\IDacStreams.cs (1)
11string? StringFromEEAddress(TargetPointer address) => throw new NotImplementedException();
Contracts\IDebugger.cs (4)
28TargetPointer GetDebuggerControlBlockAddress() => throw new NotImplementedException(); 31TargetPointer PrepareExceptionHijack(byte[] context, TargetPointer vmThread, byte[]? exceptionRecord, int reason, TargetPointer userData) => throw new NotImplementedException();
Contracts\IException.cs (14)
10TargetPointer Message, 11TargetPointer InnerException, 12TargetPointer StackTrace, 13TargetPointer WatsonBuckets, 14TargetPointer StackTraceString, 15TargetPointer RemoteStackTraceString, 20TargetPointer Ip, 21TargetPointer MethodDesc, 28TargetPointer GetNestedExceptionInfo(TargetPointer exception, out TargetPointer nextNestedException, out TargetPointer thrownObjectHandle) => throw new NotImplementedException(); 29ExceptionData GetExceptionData(TargetPointer managedException) => throw new NotImplementedException(); 30IEnumerable<ExceptionStackFrameInfo> GetExceptionStackFrames(TargetPointer exceptionAddr) => throw new NotImplementedException();
Contracts\IExecutionManager.cs (28)
12public readonly TargetPointer Address; 13public CodeBlockHandle(TargetPointer address) => Address = address; 35public TargetPointer? ModuleAddr; 40public TargetPointer ManagerAddress; 42public TargetPointer HeapListAddress; 70public TargetPointer HeapAddress { get; } 71public TargetPointer LoaderHeapAddress { get; } 73public LoaderCodeHeapInfo(TargetPointer heapAddress, TargetPointer loaderHeapAddress) 82public TargetPointer HeapAddress { get; } 83public TargetPointer BaseAddress { get; } 84public TargetPointer CurrentAddress { get; } 86public HostCodeHeapInfo(TargetPointer heapAddress, TargetPointer baseAddress, TargetPointer currentAddress) 100TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 101TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 102TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 103void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => throw new NotImplementedException(); 104TargetPointer NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) => throw new NotImplementedException(); 107TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 108TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 109TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => throw new NotImplementedException(); 110void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => throw new NotImplementedException(); 117IReadOnlyList<TargetPointer> GetDynamicFunctionTableEntries(TargetPointer tableAddress) => throw new NotImplementedException(); 121TargetPointer FindReadyToRunModule(TargetPointer address) => throw new NotImplementedException();
Contracts\IGC.cs (41)
35TargetPointer Handle, 36TargetPointer Secondary, 43public TargetPointer MarkArray { get; init; } 44public TargetPointer NextSweepObject { get; init; } 45public TargetPointer BackGroundSavedMinAddress { get; init; } 46public TargetPointer BackGroundSavedMaxAddress { get; init; } 47public TargetPointer AllocAllocated { get; init; } 48public TargetPointer EphemeralHeapSegment { get; init; } 49public TargetPointer CardTable { get; init; } 51public IReadOnlyList<TargetPointer> FillPointers { get; init; } 52public TargetPointer SavedSweepEphemeralSegment { get; init; } /* Only valid in segment GC builds */ 53public TargetPointer SavedSweepEphemeralStart { get; init; } /* Only valid in segment GC builds */ 55public TargetPointer? InternalRootArray { get; init; } 67public TargetPointer StartSegment { get; init; } 68public TargetPointer AllocationStart { get; init; } 69public TargetPointer AllocationContextPointer { get; init; } 70public TargetPointer AllocationContextLimit { get; init; } 75public TargetPointer Allocated { get; init; } 76public TargetPointer Committed { get; init; } 77public TargetPointer Reserved { get; init; } 78public TargetPointer Used { get; init; } 79public TargetPointer Mem { get; init; } 81public TargetPointer Next { get; init; } 82public TargetPointer BackgroundAllocated { get; init; } 83public TargetPointer Heap { get; init; } 90public TargetPointer Reserved { get; init; } 91public TargetPointer Allocated { get; init; } 111public TargetPointer Start { get; init; } 130TargetPointer Start, 131TargetPointer End, 143void GetGCBounds(out TargetPointer minAddr, out TargetPointer maxAddr) => throw new NotImplementedException(); 146GCHeapSegmentData GetHeapSegmentData(TargetPointer segmentAddress) => throw new NotImplementedException(); 148IEnumerable<TargetPointer> GetGCHeaps() => throw new NotImplementedException(); 153GCHeapData GetHeapData(TargetPointer heapAddress) => throw new NotImplementedException(); 158GCOomData GetOomData(TargetPointer heapAddress) => throw new NotImplementedException(); 162TargetNUInt GetHandleExtraInfo(TargetPointer handle) => throw new NotImplementedException(); 164void GetGlobalAllocationContext(out TargetPointer allocPtr, out TargetPointer allocLimit) => throw new NotImplementedException(); 175TargetPointer GetPotentialNextObjectAddress( 176TargetPointer currentAddress,
Contracts\IGCInfo.cs (5)
132IGCInfoHandle DecodePlatformSpecificGCInfo(TargetPointer gcInfoAddress, uint gcVersion) => throw new NotImplementedException(); 133IGCInfoHandle DecodeInterpreterGCInfo(TargetPointer gcInfoAddress, uint gcVersion) => throw new NotImplementedException(); 147TargetPointer GetAmbientSP(IGCInfoHandle handle, uint codeOffset, TargetPointer fp, TargetPointer sp) => throw new NotImplementedException();
Contracts\ILoader.cs (48)
9public readonly record struct ModuleHandle(TargetPointer Address); 76TargetPointer FieldDefToDesc, 77TargetPointer ManifestModuleReferences, 78TargetPointer MemberRefToDesc, 79TargetPointer MethodDefToDesc, 80TargetPointer TypeDefToMethodTable, 81TargetPointer TypeRefToMethodTable, 82TargetPointer MethodDefToILCodeVersioningState, 85public readonly record struct LoaderHeapBlock(TargetPointer Address, TargetNUInt Size); 91ModuleHandle GetModuleHandleFromModulePtr(TargetPointer modulePointer) => throw new NotImplementedException(); 92ModuleHandle GetModuleHandleFromAssemblyPtr(TargetPointer assemblyPointer) => throw new NotImplementedException(); 93IEnumerable<ModuleHandle> GetModuleHandles(TargetPointer appDomain, AssemblyIterationFlags iterationFlags) => throw new NotImplementedException(); 94TargetPointer GetRootAssembly() => throw new NotImplementedException(); 96TargetPointer GetAppDomain() => throw new NotImplementedException(); 97TargetPointer GetModule(ModuleHandle handle) => throw new NotImplementedException(); 98TargetPointer GetAssembly(ModuleHandle handle) => throw new NotImplementedException(); 99TargetPointer GetPEAssembly(ModuleHandle handle) => throw new NotImplementedException(); 100bool TryGetLoadedImageContents(ModuleHandle handle, out TargetPointer baseAddress, out uint size, out uint imageFlags) => throw new NotImplementedException(); 101TargetPointer GetILAddr(TargetPointer peAssemblyPtr, int rva) => throw new NotImplementedException(); 102TargetPointer GetFieldAddressFromRva(TargetPointer peAssemblyPtr, int rva) => throw new NotImplementedException(); 103bool TryGetSymbolStream(ModuleHandle handle, out TargetPointer buffer, out uint size) => throw new NotImplementedException(); 104IEnumerable<TargetPointer> GetAvailableTypeParams(ModuleHandle handle) => throw new NotImplementedException(); 105IEnumerable<TargetPointer> GetInstantiatedMethods(ModuleHandle handle) => throw new NotImplementedException(); 114TargetPointer GetLoaderAllocator(ModuleHandle handle) => throw new NotImplementedException(); 115TargetPointer GetILBase(ModuleHandle handle) => throw new NotImplementedException(); 116TargetPointer GetAssemblyLoadContext(ModuleHandle handle) => throw new NotImplementedException(); 118TargetPointer GetModuleLookupMapElement(TargetPointer table, uint token, out TargetNUInt flags) => throw new NotImplementedException(); 119TargetPointer LookupMemberRefAsMethod(ModuleHandle handle, uint token) => throw new NotImplementedException(); 120IEnumerable<(TargetPointer, uint)> EnumerateModuleLookupMap(TargetPointer table) => throw new NotImplementedException(); 126TargetPointer GetGlobalLoaderAllocator() => throw new NotImplementedException(); 127TargetPointer GetSystemAssembly() => throw new NotImplementedException(); 128TargetPointer GetHighFrequencyHeap(TargetPointer loaderAllocatorPointer) => throw new NotImplementedException(); 129TargetPointer GetLowFrequencyHeap(TargetPointer loaderAllocatorPointer) => throw new NotImplementedException(); 130TargetPointer GetStubHeap(TargetPointer loaderAllocatorPointer) => throw new NotImplementedException(); 131TargetPointer GetILHeader(ModuleHandle handle, uint token) => throw new NotImplementedException(); 132TargetPointer GetObjectHandle(TargetPointer loaderAllocatorPointer) => throw new NotImplementedException(); 133TargetPointer GetDynamicIL(ModuleHandle handle, uint token) => throw new NotImplementedException(); 135IEnumerable<LoaderHeapBlock> EnumerateLoaderHeapBlocks(TargetPointer loaderHeap) => throw new NotImplementedException(); 136IReadOnlyDictionary<LoaderAllocatorHeapType, TargetPointer> GetLoaderAllocatorHeaps(TargetPointer loaderAllocatorPointer) => throw new NotImplementedException();
Contracts\IManagedTypeSource.cs (6)
23bool TryGetStaticFieldAddress(string fullyQualifiedName, string fieldName, out TargetPointer address) => throw new NotImplementedException(); 24TargetPointer GetStaticFieldAddress(string fullyQualifiedName, string fieldName) => throw new NotImplementedException(); 26bool TryGetThreadStaticFieldAddress(string fullyQualifiedName, string fieldName, TargetPointer thread, out TargetPointer address) => throw new NotImplementedException(); 27TargetPointer GetThreadStaticFieldAddress(string fullyQualifiedName, string fieldName, TargetPointer thread) => throw new NotImplementedException();
Contracts\INotifications.cs (7)
41public record ModuleLoadNotificationData(TargetPointer ModuleAddress) 44public record ModuleUnloadNotificationData(TargetPointer ModuleAddress) 47public record JitNotificationData(TargetPointer MethodDescAddress, TargetPointer NativeCodeAddress) 50public record ExceptionNotificationData(TargetPointer ThreadAddress) 56public record ExceptionCatcherEnterNotificationData(TargetPointer MethodDescAddress, uint NativeOffset) 65bool TryParseNotification(ReadOnlySpan<TargetPointer> exceptionInformation, [NotNullWhen(true)] out NotificationData? notification) => throw new NotImplementedException();
Contracts\IObject.cs (21)
16TargetPointer TargetObject, 21TargetPointer Next, 22TargetPointer DiagnosticIP, 28TargetPointer GetMethodTableAddress(TargetPointer address) => throw new NotImplementedException(); 29string GetStringValue(TargetPointer address) => throw new NotImplementedException(); 30TargetPointer GetArrayData(TargetPointer address, out uint count, out TargetPointer boundsStart, out TargetPointer lowerBounds) => throw new NotImplementedException(); 31bool GetBuiltInComData(TargetPointer address, out TargetPointer rcw, out TargetPointer ccw, out TargetPointer ccf) => throw new NotImplementedException(); 32int TryGetHashCode(TargetPointer address) => throw new NotImplementedException(); 34TargetPointer GetSyncBlockAddress(TargetPointer address) => throw new NotImplementedException(); 35DelegateInfo GetDelegateInfo(TargetPointer address) => throw new NotImplementedException(); 36ContinuationInfo GetContinuationInfo(TargetPointer address) => throw new NotImplementedException(); 37ulong GetSize(TargetPointer address) => throw new NotImplementedException(); 38void GetStringData(TargetPointer address, out uint length, out uint offsetToFirstChar) => throw new NotImplementedException();
Contracts\IObjectiveCMarshal.cs (2)
11TargetPointer GetTaggedMemory(TargetPointer address, out TargetNUInt size) => throw new NotImplementedException();
Contracts\IPlatformMetadata.cs (1)
17TargetPointer GetPrecodeMachineDescriptor() => throw new NotImplementedException();
Contracts\IPrecodeStubs.cs (2)
11TargetPointer GetMethodDescFromStubAddress(TargetCodePointer entryPoint) => throw new NotImplementedException(); 15TargetPointer GetPrecodeEntryPointFromInteriorAddress(TargetCodePointer interiorAddress, bool isFixupPrecode) => throw new NotImplementedException();
Contracts\IRuntimeMutableTypeSystem.cs (8)
12IEnumerable<TargetPointer> EnumerateAddedFieldDescs(ITypeHandle typeHandle, bool staticFields) => throw new NotImplementedException(); 13bool IsFieldDescEnCNew(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 14bool DoesEnCFieldDescNeedFixup(TargetPointer encFieldDescPointer) => throw new NotImplementedException(); 15TargetPointer GetEnCStaticFieldDataAddress(TargetPointer encFieldDescPointer) => throw new NotImplementedException(); 16TargetPointer GetEnCInstanceFieldAddress(TargetPointer objectAddress, TargetPointer encFieldDescPointer) => throw new NotImplementedException();
Contracts\IRuntimeTypeSystem.cs (45)
17TargetPointer Address { get; } 60public MethodDescHandle(TargetPointer address) 65public TargetPointer Address { get; } 68public readonly record struct TypedByRefInfo(TargetPointer Data, TargetPointer TypeHandle); 152ITypeHandle GetTypeHandle(TargetPointer address) => throw new NotImplementedException(); 153TargetPointer GetModule(ITypeHandle typeHandle) => throw new NotImplementedException(); 154TargetPointer GetLoaderModule(ITypeHandle typeHandle) => throw new NotImplementedException(); 158TargetPointer GetCanonicalMethodTable(ITypeHandle typeHandle) => throw new NotImplementedException(); 161TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => throw new NotImplementedException(); 163TargetPointer GetMethodDescForSlot(ITypeHandle methodTable, ushort slot) => throw new NotImplementedException(); 164IEnumerable<TargetPointer> GetIntroducedMethodDescs(ITypeHandle methodTable) => throw new NotImplementedException(); 181TargetPointer GetWellKnownMethodTable(WellKnownMethodTable kind) => throw new NotImplementedException(); 219IEnumerable<TargetPointer> GetFieldDescList(ITypeHandle typeHandle) => throw new NotImplementedException(); 222TargetPointer GetGCStaticsBasePointer(ITypeHandle typeHandle) => throw new NotImplementedException(); 223TargetPointer GetNonGCStaticsBasePointer(ITypeHandle typeHandle) => throw new NotImplementedException(); 224TargetPointer GetGCThreadStaticsBasePointer(ITypeHandle typeHandle, TargetPointer threadPtr) => throw new NotImplementedException(); 225TargetPointer GetNonGCThreadStaticsBasePointer(ITypeHandle typeHandle, TargetPointer threadPtr) => throw new NotImplementedException(); 259bool IsGenericVariable(ITypeHandle typeHandle, out TargetPointer module, out uint token, out uint index) => throw new NotImplementedException(); 263TypedByRefInfo GetTypedByRefInfo(TargetPointer typedByRef) => throw new NotImplementedException(); 267MethodDescHandle GetMethodDescHandle(TargetPointer targetPointer) => throw new NotImplementedException(); 268TargetPointer GetMethodTable(MethodDescHandle methodDesc) => throw new NotImplementedException(); 314TargetPointer GetMethodDescVersioningState(MethodDescHandle methodDesc) => throw new NotImplementedException(); 323TargetPointer GetAddressOfNativeCodeSlot(MethodDescHandle methodDesc) => throw new NotImplementedException(); 325TargetPointer GetGCStressCodeCopy(MethodDescHandle methodDesc) => throw new NotImplementedException(); 330TargetPointer GetAsyncVariant(MethodDescHandle methodDesc) => throw new NotImplementedException(); 338TargetPointer GetMTOfEnclosingClass(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 339uint GetFieldDescMemberDef(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 340bool IsFieldDescThreadStatic(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 341bool IsFieldDescStatic(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 342bool IsFieldDescRVA(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 343CorElementType GetFieldDescType(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 344uint GetFieldDescOffset(TargetPointer fieldDescPointer, FieldDefinition? fieldDef) => throw new NotImplementedException(); 345ITypeHandle? GetFieldDescApproxTypeHandle(TargetPointer fieldDescPointer) => throw new NotImplementedException(); 346bool TryGetFieldDescNext(TargetPointer fieldDescPointer, out TargetPointer nextFieldDesc) => throw new NotImplementedException(); 347TargetPointer GetFieldDescByName(ITypeHandle typeHandle, string fieldName) => throw new NotImplementedException(); 348TargetPointer GetFieldDescStaticAddress(TargetPointer fieldDescPointer, bool unboxValueTypes = true) => throw new NotImplementedException(); 349TargetPointer GetFieldDescThreadStaticAddress(TargetPointer fieldDescPointer, TargetPointer thread, bool unboxValueTypes = true) => throw new NotImplementedException();
Contracts\ISHash.cs (1)
27public ISHash<TKey, TEntry> CreateSHash<TKey, TEntry>(Target target, TargetPointer address, Target.TypeInfo type, ITraits<TKey, TEntry> traits) where TEntry : class, IData<TEntry> => throw new NotImplementedException();
Contracts\ISignature.cs (4)
13TargetPointer GetVarArgArgsBase(TargetPointer vaSigCookieAddr) => throw new NotImplementedException(); 14void GetVarArgSignature(TargetPointer vaSigCookieAddr, out TargetPointer signatureAddress, out uint signatureLength) => throw new NotImplementedException();
Contracts\IStackWalk.cs (21)
56public TargetPointer Address { get; init; } 57public TargetPointer Object { get; init; } 60public TargetPointer Source { get; init; } 61public TargetPointer StackPointer { get; init; } 77TargetPointer FrameAddress, 78TargetPointer FrameIdentifier, 83TargetPointer AssemblyPtr); 92TargetPointer GetFrameAddress(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException(); 93TargetPointer GetRuntimeFramePointer(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException(); 94TargetPointer GetContextFramePointer(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException(); 95TargetPointer GetStackPointer(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException(); 96string GetFrameName(TargetPointer frameIdentifier) => throw new NotImplementedException(); 97TargetPointer GetMethodDescPtr(TargetPointer framePtr) => throw new NotImplementedException(); 98TargetPointer GetMethodDescPtr(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException(); 100IEnumerable<StackFrameData> GetFrames(TargetPointer threadPointer) => throw new NotImplementedException(); 101bool IsExceptionHandlingHelperInlinedCallFrame(TargetPointer frameAddress) => throw new NotImplementedException(); 102DebuggerEvalData GetDebuggerEvalData(TargetPointer funcEvalFrameAddress) => throw new NotImplementedException(); 103TargetPointer GetRedirectedContextPointer(ThreadData threadData) => throw new NotImplementedException(); 105TargetPointer GetFuncletRootId(IStackDataFrameHandle stackDataFrameHandle, out uint parentNativeOffset) => throw new NotImplementedException(); 106TargetPointer GetExactGenericArgsToken(IStackDataFrameHandle stackDataFrameHandle) => throw new NotImplementedException();
Contracts\IStressLog.cs (9)
18TargetPointer Logs); 21TargetPointer Address, 27TargetPointer FormatString, 29IReadOnlyList<TargetPointer> Args); 32TargetPointer Start, 40StressLogData GetStressLogData(TargetPointer stressLog) => throw new NotImplementedException(); 41IEnumerable<ThreadStressLogData> GetThreadStressLogs(TargetPointer Logs) => throw new NotImplementedException(); 42IEnumerable<StressMsgData> GetStressMessages(TargetPointer threadStressLogAddress) => throw new NotImplementedException(); 43bool IsPointerInStressLog(StressLogData stressLog, TargetPointer pointer) => throw new NotImplementedException();
Contracts\ISyncBlock.cs (11)
10TargetPointer GetSyncBlock(uint index) => throw new NotImplementedException(); 11TargetPointer GetSyncBlockObject(uint index) => throw new NotImplementedException(); 14bool TryGetLockInfo(TargetPointer syncBlock, out uint owningThreadId, out uint recursion) => throw new NotImplementedException(); 15uint GetAdditionalThreadCount(TargetPointer syncBlock) => throw new NotImplementedException(); 16TargetPointer GetSyncBlockFromCleanupList() => throw new NotImplementedException(); 17TargetPointer GetNextSyncBlock(TargetPointer syncBlock) => throw new NotImplementedException(); 18bool GetBuiltInComData(TargetPointer syncBlock, out TargetPointer rcw, out TargetPointer ccw, out TargetPointer ccf) => throw new NotImplementedException();
Contracts\IThread.cs (31)
17TargetPointer FirstThread, 18TargetPointer FinalizerThread, 19TargetPointer GCThread); 56TargetPointer ThreadAddress, 61TargetPointer AllocContextPointer, 62TargetPointer AllocContextLimit, 63TargetPointer Frame, 64TargetPointer FirstNestedException, 65TargetPointer ExposedObjectHandle, 66TargetPointer LastThrownObjectHandle, 67TargetPointer CurrentCustomDebuggerNotificationHandle, 70TargetPointer NextThread, 71TargetPointer ThreadHandle, 73TargetPointer DebuggerFilterContext, 74TargetPointer GCFrame, 76TargetPointer OSExceptionRecord, 77TargetPointer OSExceptionContextRecord); 83void SetDebuggerControlledThreadState(TargetPointer thread, DebuggerControlledThreadState state) => throw new NotImplementedException(); 84void ResetDebuggerControlledThreadState(TargetPointer thread, DebuggerControlledThreadState state) => throw new NotImplementedException(); 87ThreadData GetThreadData(TargetPointer thread) => throw new NotImplementedException(); 88void GetThreadAllocContext(TargetPointer thread, out long allocBytes, out long allocBytesLoh) => throw new NotImplementedException(); 89void GetStackLimitData(TargetPointer threadPointer, out TargetPointer stackBase, 90out TargetPointer stackLimit, out TargetPointer frameAddress) => throw new NotImplementedException(); 91TargetPointer IdToThread(uint id) => throw new NotImplementedException(); 92TargetPointer GetThreadLocalStaticBase(TargetPointer threadPointer, TargetPointer tlsIndexPtr) => throw new NotImplementedException(); 93TargetPointer GetCurrentExceptionHandle(TargetPointer threadPointer) => throw new NotImplementedException();
Contracts\IWindowsErrorReporting.cs (1)
12byte[] GetWatsonBuckets(TargetPointer threadPointer) => throw new NotImplementedException();
Data\IData.cs (1)
8static abstract TSelf Create(Target target, TargetPointer address);
Target.cs (9)
52public abstract TargetPointer ReadGlobalPointer(string global); 60public abstract bool TryReadGlobalPointer(string name, [NotNullWhen(true)] out TargetPointer? value); 68public abstract TargetPointer ReadPointer(ulong address); 76public abstract bool TryReadPointer(ulong address, out TargetPointer value); 120public virtual TargetPointer AllocateMemory(uint size) 226public abstract void WritePointer(ulong address, TargetPointer value); 240public abstract TargetPointer ReadPointerFromSpan(ReadOnlySpan<byte> bytes); 248public abstract bool IsAlignedToPointerSize(TargetPointer pointer); 281T GetOrAdd<T>(TargetPointer address) where T : Data.IData<T>;
TargetCodePointer.cs (1)
27public TargetPointer AsTargetPointer => new(Value);
TargetFieldExtensions.cs (10)
47public static TargetPointer ReadPointerField(this Target target, ulong address, Target.TypeInfo typeInfo, string fieldName) 57/// Returns <see cref="TargetPointer.Null"/> if the field is not present in the descriptor. 59public static TargetPointer ReadPointerFieldOrNull(this Target target, ulong address, Target.TypeInfo typeInfo, string fieldName) 62return TargetPointer.Null; 134TargetPointer pointer = target.ReadPointer(address + (ulong)field.Offset); 135if (pointer == TargetPointer.Null) 153TargetPointer pointer = target.ReadPointer(address + (ulong)field.Offset); 154if (pointer == TargetPointer.Null) 193public static TargetPointer WritePointerField(this Target target, ulong address, Target.TypeInfo typeInfo, string fieldName, TargetPointer value)
TargetPointer.cs (13)
8public readonly struct TargetPointer : IEquatable<TargetPointer> 10public static TargetPointer Null = new(0); 11public static TargetPointer Max32Bit = new(uint.MaxValue); 12public static TargetPointer Max64Bit = new(ulong.MaxValue); 17public static implicit operator ulong(TargetPointer p) => p.Value; 18public static implicit operator TargetPointer(ulong v) => new TargetPointer(v); 20public static bool operator ==(TargetPointer left, TargetPointer right) => left.Value == right.Value; 21public static bool operator !=(TargetPointer left, TargetPointer right) => left.Value != right.Value; 23public static TargetPointer PlatformMaxValue(Target target) => target.PointerSize == 4 ? Max32Bit : Max64Bit; 25public override bool Equals(object? obj) => obj is TargetPointer pointer && Equals(pointer); 26public bool Equals(TargetPointer other) => Value == other.Value;
TargetSpan.cs (2)
10public TargetSpan(TargetPointer address, ulong size) 16public TargetPointer Address { get; }
Microsoft.Diagnostics.DataContractReader.Contracts (4705)
_generated\0\LayoutSet.g.cs (4)
38public bool TrySelect(TargetPointer address, out Target.TypeInfo type, out TargetPointer baseAddr, out string name, params ReadOnlySpan<string> names) 56public void Select(TargetPointer address, out Target.TypeInfo type, out TargetPointer baseAddr, out string name, params ReadOnlySpan<string> names)
_generated\1\TypeNameResolver.g.cs (7)
22public static TargetPointer GetStaticFieldAddress(Target target, string[] names, string fieldName) 24if (!TryGetStaticFieldAddress(target, names, fieldName, out TargetPointer address)) 30public static bool TryGetStaticFieldAddress(Target target, string[] names, string fieldName, out TargetPointer address) 35if (target.TryReadGlobalPointer(name + "." + fieldName, out TargetPointer? nativeAddr)) 55public static TargetPointer GetThreadStaticFieldAddress(Target target, string[] names, string fieldName, TargetPointer thread) 59if (target.Contracts.ManagedTypeSource.TryGetThreadStaticFieldAddress(name, fieldName, thread, out TargetPointer address))
_generated\10\Microsoft_Diagnostics_DataContractReader_Data.AuxiliarySymbolInfo.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public AuxiliarySymbolInfo(Target target, TargetPointer address) 52static AuxiliarySymbolInfo IData<AuxiliarySymbolInfo>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Address", "CodeAddress"); 72private TargetPointer _Name__value = default!; 75public partial TargetPointer Name 81_layouts.Select(Address, out var t, out var b, out var n, "Name");
_generated\100\Microsoft_Diagnostics_DataContractReader_Data.ImageOptionalHeader.g.cs (4)
18public TargetPointer Address { get; } 22partial void OnInit(Target target, TargetPointer address); 24public ImageOptionalHeader(Target target, TargetPointer address) 32static ImageOptionalHeader IData<ImageOptionalHeader>.Create(Target target, TargetPointer address)
_generated\101\Microsoft_Diagnostics_DataContractReader_Data.ImageSectionHeader.g.cs (4)
24public TargetPointer Address { get; } 28partial void OnInit(Target target, TargetPointer address); 30public ImageSectionHeader(Target target, TargetPointer address) 38static ImageSectionHeader IData<ImageSectionHeader>.Create(Target target, TargetPointer address)
_generated\102\Microsoft_Diagnostics_DataContractReader_Data.InflightTLSData.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public InflightTLSData(Target target, TargetPointer address) 60static InflightTLSData IData<InflightTLSData>.Create(Target target, TargetPointer address) 63private TargetPointer _Next__value = default!; 66public partial TargetPointer Next 72_layouts.Select(Address, out var t, out var b, out var n, "Next"); 89_layouts.Select(Address, out var t, out var b, out var n, "TlsIndex"); 106_layouts.Select(Address, out var t, out var b, out var n, "TLSData");
_generated\103\Microsoft_Diagnostics_DataContractReader_Data.InstMethodHashTable.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public InstMethodHashTable(Target target, TargetPointer address) 30static InstMethodHashTable IData<InstMethodHashTable>.Create(Target target, TargetPointer address)
_generated\104\Microsoft_Diagnostics_DataContractReader_Data.InstrumentedILOffsetMapping.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public InstrumentedILOffsetMapping(Target target, TargetPointer address) 52static InstrumentedILOffsetMapping IData<InstrumentedILOffsetMapping>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Count"); 72private TargetPointer _Map__value = default!; 75public partial TargetPointer Map 81_layouts.Select(Address, out var t, out var b, out var n, "Map");
_generated\105\Microsoft_Diagnostics_DataContractReader_Data.InterfaceEntry.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public InterfaceEntry(Target target, TargetPointer address) 52static InterfaceEntry IData<InterfaceEntry>.Create(Target target, TargetPointer address) 55private TargetPointer _MethodTable__value = default!; 58public partial TargetPointer MethodTable 64_layouts.Select(Address, out var t, out var b, out var n, "MethodTable"); 72private TargetPointer _Unknown__value = default!; 75public partial TargetPointer Unknown 81_layouts.Select(Address, out var t, out var b, out var n, "Unknown");
_generated\106\Microsoft_Diagnostics_DataContractReader_Data.InternalComInterfaceDispatch.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public InternalComInterfaceDispatch(Target target, TargetPointer address) 44static InternalComInterfaceDispatch IData<InternalComInterfaceDispatch>.Create(Target target, TargetPointer address) 47private TargetPointer _Entries__value = default!; 50public partial TargetPointer Entries 56_layouts.Select(Address, out var t, out var b, out var n, "Entries");
_generated\107\Microsoft_Diagnostics_DataContractReader_Data.InteropSyncBlockInfo.g.cs (16)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public InteropSyncBlockInfo(Target target, TargetPointer address) 60static InteropSyncBlockInfo IData<InteropSyncBlockInfo>.Create(Target target, TargetPointer address) 63private TargetPointer? _RCW__value = default!; 66public partial TargetPointer? RCW 72if (_layouts.TrySelect(Address, out var t, out var b, out var n, "RCW")) 75_RCW__value = default(TargetPointer?); 82private TargetPointer? _CCW__value = default!; 85public partial TargetPointer? CCW 91if (_layouts.TrySelect(Address, out var t, out var b, out var n, "CCW")) 94_CCW__value = default(TargetPointer?); 101private TargetPointer? _CCF__value = default!; 104public partial TargetPointer? CCF 110if (_layouts.TrySelect(Address, out var t, out var b, out var n, "CCF")) 113_CCF__value = default(TargetPointer?);
_generated\108\Microsoft_Diagnostics_DataContractReader_Data.InterpByteCodeStart.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public InterpByteCodeStart(Target target, TargetPointer address) 44static InterpByteCodeStart IData<InterpByteCodeStart>.Create(Target target, TargetPointer address) 47private TargetPointer _Method__value = default!; 50public partial TargetPointer Method 56_layouts.Select(Address, out var t, out var b, out var n, "Method");
_generated\109\Microsoft_Diagnostics_DataContractReader_Data.InterpMethod.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public InterpMethod(Target target, TargetPointer address) 44static InterpMethod IData<InterpMethod>.Create(Target target, TargetPointer address) 47private TargetPointer _MethodDesc__value = default!; 50public partial TargetPointer MethodDesc 56_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc");
_generated\11\Microsoft_Diagnostics_DataContractReader_Data.Bucket.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public Bucket(Target target, TargetPointer address) 30static Bucket IData<Bucket>.Create(Target target, TargetPointer address)
_generated\110\Microsoft_Diagnostics_DataContractReader_Data.InterpMethodContextFrame.g.cs (19)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public InterpMethodContextFrame(Target target, TargetPointer address) 76static InterpMethodContextFrame IData<InterpMethodContextFrame>.Create(Target target, TargetPointer address) 79private TargetPointer _StartIp__value = default!; 82public partial TargetPointer StartIp 88_layouts.Select(Address, out var t, out var b, out var n, "StartIp"); 96private TargetPointer _ParentPtr__value = default!; 99public partial TargetPointer ParentPtr 105_layouts.Select(Address, out var t, out var b, out var n, "ParentPtr"); 113private TargetPointer _Ip__value = default!; 116public partial TargetPointer Ip 122_layouts.Select(Address, out var t, out var b, out var n, "Ip"); 130private TargetPointer _NextPtr__value = default!; 133public partial TargetPointer NextPtr 139_layouts.Select(Address, out var t, out var b, out var n, "NextPtr"); 147private TargetPointer _Stack__value = default!; 150public partial TargetPointer Stack 156_layouts.Select(Address, out var t, out var b, out var n, "Stack");
_generated\111\Microsoft_Diagnostics_DataContractReader_Data.InterpreterFrame.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public InterpreterFrame(Target target, TargetPointer address) 52static InterpreterFrame IData<InterpreterFrame>.Create(Target target, TargetPointer address) 55private TargetPointer _TopInterpMethodContextFrame__value = default!; 58public partial TargetPointer TopInterpMethodContextFrame 64_layouts.Select(Address, out var t, out var b, out var n, "TopInterpMethodContextFrame"); 81_layouts.Select(Address, out var t, out var b, out var n, "IsFaulting");
_generated\112\Microsoft_Diagnostics_DataContractReader_Data.InterpreterPrecodeData.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public InterpreterPrecodeData(Target target, TargetPointer address) 52static InterpreterPrecodeData IData<InterpreterPrecodeData>.Create(Target target, TargetPointer address) 55private TargetPointer _ByteCodeAddr__value = default!; 58public partial TargetPointer ByteCodeAddr 64_layouts.Select(Address, out var t, out var b, out var n, "ByteCodeAddr"); 81_layouts.Select(Address, out var t, out var b, out var n, "Type");
_generated\113\Microsoft_Diagnostics_DataContractReader_Data.InterpreterRealCodeHeader.g.cs (13)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public InterpreterRealCodeHeader(Target target, TargetPointer address) 60static InterpreterRealCodeHeader IData<InterpreterRealCodeHeader>.Create(Target target, TargetPointer address) 63private TargetPointer _MethodDesc__value = default!; 66public partial TargetPointer MethodDesc 72_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc"); 80private TargetPointer _DebugInfo__value = default!; 83public partial TargetPointer DebugInfo 89_layouts.Select(Address, out var t, out var b, out var n, "DebugInfo"); 97private TargetPointer _GCInfo__value = default!; 100public partial TargetPointer GCInfo 106_layouts.Select(Address, out var t, out var b, out var n, "GCInfo");
_generated\114\Microsoft_Diagnostics_DataContractReader_Data.JITNotification.g.cs (10)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public JITNotification(Target target, TargetPointer address) 60static JITNotification IData<JITNotification>.Create(Target target, TargetPointer address) 66_layouts.Select(Address, out var t, out var b, out var n, "State"); 74_layouts.Select(Address, out var t, out var b, out var n, "ClrModule"); 82_layouts.Select(Address, out var t, out var b, out var n, "MethodToken"); 96_layouts.Select(Address, out var t, out var b, out var n, "State"); 118_layouts.Select(Address, out var t, out var b, out var n, "ClrModule"); 140_layouts.Select(Address, out var t, out var b, out var n, "MethodToken");
_generated\115\Microsoft_Diagnostics_DataContractReader_Data.List.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public List(Target target, TargetPointer address) 52static List IData<List>.Create(Target target, TargetPointer address) 55private TargetPointer _Items__value = default!; 58public partial TargetPointer Items 64_layouts.Select(Address, out var t, out var b, out var n, "_items", "Items"); 81_layouts.Select(Address, out var t, out var b, out var n, "_size", "Size");
_generated\116\Microsoft_Diagnostics_DataContractReader_Data.LoaderAllocator.g.cs (38)
123public TargetPointer Address { get; } 129partial void OnInit(Target target, TargetPointer address); 131public LoaderAllocator(Target target, TargetPointer address) 140static LoaderAllocator IData<LoaderAllocator>.Create(Target target, TargetPointer address) 152_layouts.Select(Address, out var t, out var b, out var n, "ReferenceCount"); 160private TargetPointer _HighFrequencyHeap__value = default!; 163public partial TargetPointer HighFrequencyHeap 169_layouts.Select(Address, out var t, out var b, out var n, "HighFrequencyHeap"); 177private TargetPointer _LowFrequencyHeap__value = default!; 180public partial TargetPointer LowFrequencyHeap 186_layouts.Select(Address, out var t, out var b, out var n, "LowFrequencyHeap"); 194private TargetPointer _StaticsHeap__value = default!; 197public partial TargetPointer StaticsHeap 203_layouts.Select(Address, out var t, out var b, out var n, "StaticsHeap"); 211private TargetPointer _StubHeap__value = default!; 214public partial TargetPointer StubHeap 220_layouts.Select(Address, out var t, out var b, out var n, "StubHeap"); 228private TargetPointer _ExecutableHeap__value = default!; 231public partial TargetPointer ExecutableHeap 237_layouts.Select(Address, out var t, out var b, out var n, "ExecutableHeap"); 245private TargetPointer? _FixupPrecodeHeap__value = default!; 248public partial TargetPointer? FixupPrecodeHeap 254if (_layouts.TrySelect(Address, out var t, out var b, out var n, "FixupPrecodeHeap")) 257_FixupPrecodeHeap__value = default(TargetPointer?); 264private TargetPointer? _NewStubPrecodeHeap__value = default!; 267public partial TargetPointer? NewStubPrecodeHeap 273if (_layouts.TrySelect(Address, out var t, out var b, out var n, "NewStubPrecodeHeap")) 276_NewStubPrecodeHeap__value = default(TargetPointer?); 283private TargetPointer? _DynamicHelpersStubHeap__value = default!; 286public partial TargetPointer? DynamicHelpersStubHeap 292if (_layouts.TrySelect(Address, out var t, out var b, out var n, "DynamicHelpersStubHeap")) 295_DynamicHelpersStubHeap__value = default(TargetPointer?); 302private TargetPointer _VirtualCallStubManager__value = default!; 305public partial TargetPointer VirtualCallStubManager 311_layouts.Select(Address, out var t, out var b, out var n, "VirtualCallStubManager"); 328_layouts.Select(Address, out var t, out var b, out var n, "ObjectHandle"); 345_layouts.Select(Address, out var t, out var b, out var n, "IsCollectible"); 362_layouts.Select(Address, out var t, out var b, out var n, "CreationNumber");
_generated\117\Microsoft_Diagnostics_DataContractReader_Data.LoaderCodeHeap.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public LoaderCodeHeap(Target target, TargetPointer address) 44static LoaderCodeHeap IData<LoaderCodeHeap>.Create(Target target, TargetPointer address) 47private TargetPointer _LoaderHeap__value = default!; 50public partial TargetPointer LoaderHeap 56_layouts.Select(Address, out var t, out var b, out var n, "LoaderHeap");
_generated\118\Microsoft_Diagnostics_DataContractReader_Data.LoaderHeap.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public LoaderHeap(Target target, TargetPointer address) 44static LoaderHeap IData<LoaderHeap>.Create(Target target, TargetPointer address) 47private TargetPointer _FirstBlock__value = default!; 50public partial TargetPointer FirstBlock 56_layouts.Select(Address, out var t, out var b, out var n, "FirstBlock");
_generated\119\Microsoft_Diagnostics_DataContractReader_Data.LoaderHeapBlock.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public LoaderHeapBlock(Target target, TargetPointer address) 60static LoaderHeapBlock IData<LoaderHeapBlock>.Create(Target target, TargetPointer address) 63private TargetPointer _Next__value = default!; 66public partial TargetPointer Next 72_layouts.Select(Address, out var t, out var b, out var n, "Next"); 80private TargetPointer _VirtualAddress__value = default!; 83public partial TargetPointer VirtualAddress 89_layouts.Select(Address, out var t, out var b, out var n, "VirtualAddress"); 106_layouts.Select(Address, out var t, out var b, out var n, "VirtualSize");
_generated\12\Microsoft_Diagnostics_DataContractReader_Data.CardTableInfo.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public CardTableInfo(Target target, TargetPointer address) 60static CardTableInfo IData<CardTableInfo>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "Recount"); 89_layouts.Select(Address, out var t, out var b, out var n, "Size"); 97private TargetPointer _NextCardTable__value = default!; 100public partial TargetPointer NextCardTable 106_layouts.Select(Address, out var t, out var b, out var n, "NextCardTable");
_generated\120\Microsoft_Diagnostics_DataContractReader_Data.Lock.g.cs (7)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public Lock(Target target, TargetPointer address) 60static Lock IData<Lock>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "_state", "State"); 89_layouts.Select(Address, out var t, out var b, out var n, "_owningThreadId", "OwningThreadId"); 106_layouts.Select(Address, out var t, out var b, out var n, "_recursionCount", "RecursionCount");
_generated\121\Microsoft_Diagnostics_DataContractReader_Data.ManagedObjectWrapperHolderObject.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ManagedObjectWrapperHolderObject(Target target, TargetPointer address) 52static ManagedObjectWrapperHolderObject IData<ManagedObjectWrapperHolderObject>.Create(Target target, TargetPointer address) 55private TargetPointer _WrappedObject__value = default!; 58public partial TargetPointer WrappedObject 64_layouts.Select(Address, out var t, out var b, out var n, "WrappedObject"); 72private TargetPointer _Wrapper__value = default!; 75public partial TargetPointer Wrapper 81_layouts.Select(Address, out var t, out var b, out var n, "Wrapper");
_generated\122\Microsoft_Diagnostics_DataContractReader_Data.ManagedObjectWrapperLayout.g.cs (13)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public ManagedObjectWrapperLayout(Target target, TargetPointer address) 76static ManagedObjectWrapperLayout IData<ManagedObjectWrapperLayout>.Create(Target target, TargetPointer address) 88_layouts.Select(Address, out var t, out var b, out var n, "RefCount"); 105_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 122_layouts.Select(Address, out var t, out var b, out var n, "UserDefinedCount"); 130private TargetPointer _UserDefined__value = default!; 133public partial TargetPointer UserDefined 139_layouts.Select(Address, out var t, out var b, out var n, "UserDefined"); 147private TargetPointer _Dispatches__value = default!; 150public partial TargetPointer Dispatches 156_layouts.Select(Address, out var t, out var b, out var n, "Dispatches");
_generated\123\Microsoft_Diagnostics_DataContractReader_Data.MDInternalRW.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public MDInternalRW(Target target, TargetPointer address) 44static MDInternalRW IData<MDInternalRW>.Create(Target target, TargetPointer address) 47private TargetPointer _Stgdb__value = default!; 50public partial TargetPointer Stgdb 56_layouts.Select(Address, out var t, out var b, out var n, "Stgdb");
_generated\124\Microsoft_Diagnostics_DataContractReader_Data.MemoryRange.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public MemoryRange(Target target, TargetPointer address) 52static MemoryRange IData<MemoryRange>.Create(Target target, TargetPointer address) 55private TargetPointer _StartAddress__value = default!; 58public partial TargetPointer StartAddress 64_layouts.Select(Address, out var t, out var b, out var n, "StartAddress"); 81_layouts.Select(Address, out var t, out var b, out var n, "Size");
_generated\125\Microsoft_Diagnostics_DataContractReader_Data.MethodDesc.g.cs (16)
75public TargetPointer Address { get; } 81partial void OnInit(Target target, TargetPointer address); 83public MethodDesc(Target target, TargetPointer address) 92static MethodDesc IData<MethodDesc>.Create(Target target, TargetPointer address) 104_layouts.Select(Address, out var t, out var b, out var n, "ChunkIndex"); 121_layouts.Select(Address, out var t, out var b, out var n, "Slot"); 138_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 155_layouts.Select(Address, out var t, out var b, out var n, "Flags3AndTokenRemainder"); 172_layouts.Select(Address, out var t, out var b, out var n, "EntryPointFlags"); 180private TargetPointer _CodeData__value = default!; 183public partial TargetPointer CodeData 189_layouts.Select(Address, out var t, out var b, out var n, "CodeData"); 197private TargetPointer? _GCCoverageInfo__value = default!; 200public partial TargetPointer? GCCoverageInfo 206if (_layouts.TrySelect(Address, out var t, out var b, out var n, "GCCoverageInfo")) 209_GCCoverageInfo__value = default(TargetPointer?);
_generated\126\Microsoft_Diagnostics_DataContractReader_Data.InstantiatedMethodDesc.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public InstantiatedMethodDesc(Target target, TargetPointer address) 60static InstantiatedMethodDesc IData<InstantiatedMethodDesc>.Create(Target target, TargetPointer address) 63private TargetPointer _PerInstInfo__value = default!; 66public partial TargetPointer PerInstInfo 72_layouts.Select(Address, out var t, out var b, out var n, "PerInstInfo"); 89_layouts.Select(Address, out var t, out var b, out var n, "NumGenericArgs"); 106_layouts.Select(Address, out var t, out var b, out var n, "Flags2");
_generated\127\Microsoft_Diagnostics_DataContractReader_Data.DynamicMethodDesc.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public DynamicMethodDesc(Target target, TargetPointer address) 44static DynamicMethodDesc IData<DynamicMethodDesc>.Create(Target target, TargetPointer address) 47private TargetPointer _MethodName__value = default!; 50public partial TargetPointer MethodName 56_layouts.Select(Address, out var t, out var b, out var n, "MethodName");
_generated\128\Microsoft_Diagnostics_DataContractReader_Data.StoredSigMethodDesc.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public StoredSigMethodDesc(Target target, TargetPointer address) 60static StoredSigMethodDesc IData<StoredSigMethodDesc>.Create(Target target, TargetPointer address) 63private TargetPointer _Sig__value = default!; 66public partial TargetPointer Sig 72_layouts.Select(Address, out var t, out var b, out var n, "Sig"); 89_layouts.Select(Address, out var t, out var b, out var n, "cSig"); 106_layouts.Select(Address, out var t, out var b, out var n, "ExtendedFlags");
_generated\129\Microsoft_Diagnostics_DataContractReader_Data.ArrayMethodDesc.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public ArrayMethodDesc(Target target, TargetPointer address) 30static ArrayMethodDesc IData<ArrayMethodDesc>.Create(Target target, TargetPointer address)
_generated\13\Microsoft_Diagnostics_DataContractReader_Data.CGrowableSymbolStream.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public CGrowableSymbolStream(Target target, TargetPointer address) 52static CGrowableSymbolStream IData<CGrowableSymbolStream>.Create(Target target, TargetPointer address) 55private TargetPointer _Buffer__value = default!; 58public partial TargetPointer Buffer 64_layouts.Select(Address, out var t, out var b, out var n, "Buffer"); 81_layouts.Select(Address, out var t, out var b, out var n, "Size");
_generated\130\Microsoft_Diagnostics_DataContractReader_Data.FCallMethodDesc.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public FCallMethodDesc(Target target, TargetPointer address) 30static FCallMethodDesc IData<FCallMethodDesc>.Create(Target target, TargetPointer address)
_generated\131\Microsoft_Diagnostics_DataContractReader_Data.PInvokeMethodDesc.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public PInvokeMethodDesc(Target target, TargetPointer address) 30static PInvokeMethodDesc IData<PInvokeMethodDesc>.Create(Target target, TargetPointer address)
_generated\132\Microsoft_Diagnostics_DataContractReader_Data.EEImplMethodDesc.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public EEImplMethodDesc(Target target, TargetPointer address) 30static EEImplMethodDesc IData<EEImplMethodDesc>.Create(Target target, TargetPointer address)
_generated\133\Microsoft_Diagnostics_DataContractReader_Data.CLRToCOMCallMethodDesc.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public CLRToCOMCallMethodDesc(Target target, TargetPointer address) 30static CLRToCOMCallMethodDesc IData<CLRToCOMCallMethodDesc>.Create(Target target, TargetPointer address)
_generated\134\Microsoft_Diagnostics_DataContractReader_Data.NonVtableSlot.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public NonVtableSlot(Target target, TargetPointer address) 30static NonVtableSlot IData<NonVtableSlot>.Create(Target target, TargetPointer address)
_generated\135\Microsoft_Diagnostics_DataContractReader_Data.MethodImpl.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public MethodImpl(Target target, TargetPointer address) 30static MethodImpl IData<MethodImpl>.Create(Target target, TargetPointer address)
_generated\136\Microsoft_Diagnostics_DataContractReader_Data.NativeCodeSlot.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public NativeCodeSlot(Target target, TargetPointer address) 30static NativeCodeSlot IData<NativeCodeSlot>.Create(Target target, TargetPointer address)
_generated\137\Microsoft_Diagnostics_DataContractReader_Data.MethodDescChunk.g.cs (15)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public MethodDescChunk(Target target, TargetPointer address) 76static MethodDescChunk IData<MethodDescChunk>.Create(Target target, TargetPointer address) 79private TargetPointer _MethodTable__value = default!; 82public partial TargetPointer MethodTable 88_layouts.Select(Address, out var t, out var b, out var n, "MethodTable"); 96private TargetPointer _Next__value = default!; 99public partial TargetPointer Next 105_layouts.Select(Address, out var t, out var b, out var n, "Next"); 122_layouts.Select(Address, out var t, out var b, out var n, "Size"); 139_layouts.Select(Address, out var t, out var b, out var n, "Count"); 156_layouts.Select(Address, out var t, out var b, out var n, "FlagsAndTokenRange"); 164private TargetPointer _FirstMethodDesc__value = default!; 167public partial TargetPointer FirstMethodDesc
_generated\138\Microsoft_Diagnostics_DataContractReader_Data.MethodDescCodeData.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public MethodDescCodeData(Target target, TargetPointer address) 60static MethodDescCodeData IData<MethodDescCodeData>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "TemporaryEntryPoint"); 80private TargetPointer _VersioningState__value = default!; 83public partial TargetPointer VersioningState 89_layouts.Select(Address, out var t, out var b, out var n, "VersioningState"); 106_layouts.Select(Address, out var t, out var b, out var n, "OptimizationTier");
_generated\139\Microsoft_Diagnostics_DataContractReader_Data.MethodDescVersioningState.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public MethodDescVersioningState(Target target, TargetPointer address) 52static MethodDescVersioningState IData<MethodDescVersioningState>.Create(Target target, TargetPointer address) 55private TargetPointer _NativeCodeVersionNode__value = default!; 58public partial TargetPointer NativeCodeVersionNode 64_layouts.Select(Address, out var t, out var b, out var n, "NativeCodeVersionNode"); 81_layouts.Select(Address, out var t, out var b, out var n, "Flags");
_generated\14\Microsoft_Diagnostics_DataContractReader_Data.CLiteWeightStgdbRW.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public CLiteWeightStgdbRW(Target target, TargetPointer address) 52static CLiteWeightStgdbRW IData<CLiteWeightStgdbRW>.Create(Target target, TargetPointer address) 55private TargetPointer _MiniMd__value = default!; 58public partial TargetPointer MiniMd 64_layouts.Select(Address, out var t, out var b, out var n, "MiniMd"); 72private TargetPointer _MetadataAddress__value = default!; 75public partial TargetPointer MetadataAddress 81_layouts.Select(Address, out var t, out var b, out var n, "MetadataAddress");
_generated\140\Microsoft_Diagnostics_DataContractReader_Data.MethodTable.g.cs (24)
99public TargetPointer Address { get; } 105partial void OnInit(Target target, TargetPointer address); 107public MethodTable(Target target, TargetPointer address) 116static MethodTable IData<MethodTable>.Create(Target target, TargetPointer address) 128_layouts.Select(Address, out var t, out var b, out var n, "MTFlags"); 145_layouts.Select(Address, out var t, out var b, out var n, "BaseSize"); 162_layouts.Select(Address, out var t, out var b, out var n, "MTFlags2"); 170private TargetPointer _EEClassOrCanonMT__value = default!; 173public partial TargetPointer EEClassOrCanonMT 179_layouts.Select(Address, out var t, out var b, out var n, "EEClassOrCanonMT"); 187private TargetPointer _Module__value = default!; 190public partial TargetPointer Module 196_layouts.Select(Address, out var t, out var b, out var n, "Module"); 204private TargetPointer _ParentMethodTable__value = default!; 207public partial TargetPointer ParentMethodTable 213_layouts.Select(Address, out var t, out var b, out var n, "ParentMethodTable"); 221private TargetPointer _PerInstInfo__value = default!; 224public partial TargetPointer PerInstInfo 230_layouts.Select(Address, out var t, out var b, out var n, "PerInstInfo"); 247_layouts.Select(Address, out var t, out var b, out var n, "NumInterfaces"); 264_layouts.Select(Address, out var t, out var b, out var n, "NumVirtuals"); 272private TargetPointer _AuxiliaryData__value = default!; 275public partial TargetPointer AuxiliaryData 281_layouts.Select(Address, out var t, out var b, out var n, "AuxiliaryData");
_generated\141\Microsoft_Diagnostics_DataContractReader_Data.MethodTableAuxiliaryData.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public MethodTableAuxiliaryData(Target target, TargetPointer address) 60static MethodTableAuxiliaryData IData<MethodTableAuxiliaryData>.Create(Target target, TargetPointer address) 63private TargetPointer _LoaderModule__value = default!; 66public partial TargetPointer LoaderModule 72_layouts.Select(Address, out var t, out var b, out var n, "LoaderModule"); 89_layouts.Select(Address, out var t, out var b, out var n, "OffsetToNonVirtualSlots"); 106_layouts.Select(Address, out var t, out var b, out var n, "Flags");
_generated\142\Microsoft_Diagnostics_DataContractReader_Data.Module.g.cs (70)
203public TargetPointer Address { get; } 209partial void OnInit(Target target, TargetPointer address); 211public Module(Target target, TargetPointer address) 220static Module IData<Module>.Create(Target target, TargetPointer address) 226_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 231private TargetPointer _Assembly__value = default!; 234public partial TargetPointer Assembly 240_layouts.Select(Address, out var t, out var b, out var n, "Assembly"); 248private TargetPointer _PEAssembly__value = default!; 251public partial TargetPointer PEAssembly 257_layouts.Select(Address, out var t, out var b, out var n, "PEAssembly"); 274_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 287private TargetPointer _Base__value = default!; 290public partial TargetPointer Base 296_layouts.Select(Address, out var t, out var b, out var n, "Base"); 304private TargetPointer _LoaderAllocator__value = default!; 307public partial TargetPointer LoaderAllocator 313_layouts.Select(Address, out var t, out var b, out var n, "LoaderAllocator"); 321private TargetPointer _DynamicMetadata__value = default!; 324public partial TargetPointer DynamicMetadata 330_layouts.Select(Address, out var t, out var b, out var n, "DynamicMetadata"); 347_layouts.Select(Address, out var t, out var b, out var n, "MetadataGeneration"); 355private TargetPointer _SimpleName__value = default!; 358public partial TargetPointer SimpleName 364_layouts.Select(Address, out var t, out var b, out var n, "SimpleName"); 372private TargetPointer _Path__value = default!; 375public partial TargetPointer Path 381_layouts.Select(Address, out var t, out var b, out var n, "Path"); 389private TargetPointer _FileName__value = default!; 392public partial TargetPointer FileName 398_layouts.Select(Address, out var t, out var b, out var n, "FileName"); 406private TargetPointer _ReadyToRunInfo__value = default!; 409public partial TargetPointer ReadyToRunInfo 415_layouts.Select(Address, out var t, out var b, out var n, "ReadyToRunInfo"); 423private TargetPointer _GrowableSymbolStream__value = default!; 426public partial TargetPointer GrowableSymbolStream 432_layouts.Select(Address, out var t, out var b, out var n, "GrowableSymbolStream"); 440private TargetPointer _AvailableTypeParams__value = default!; 443public partial TargetPointer AvailableTypeParams 449_layouts.Select(Address, out var t, out var b, out var n, "AvailableTypeParams"); 457private TargetPointer _InstMethodHashTable__value = default!; 460public partial TargetPointer InstMethodHashTable 466_layouts.Select(Address, out var t, out var b, out var n, "InstMethodHashTable"); 474private TargetPointer _FieldDefToDescMap__value = default!; 477public partial TargetPointer FieldDefToDescMap 483_layouts.Select(Address, out var t, out var b, out var n, "FieldDefToDescMap"); 491private TargetPointer _ManifestModuleReferencesMap__value = default!; 494public partial TargetPointer ManifestModuleReferencesMap 500_layouts.Select(Address, out var t, out var b, out var n, "ManifestModuleReferencesMap"); 508private TargetPointer _MemberRefToDescMap__value = default!; 511public partial TargetPointer MemberRefToDescMap 517_layouts.Select(Address, out var t, out var b, out var n, "MemberRefToDescMap"); 525private TargetPointer _MethodDefToDescMap__value = default!; 528public partial TargetPointer MethodDefToDescMap 534_layouts.Select(Address, out var t, out var b, out var n, "MethodDefToDescMap"); 542private TargetPointer _TypeDefToMethodTableMap__value = default!; 545public partial TargetPointer TypeDefToMethodTableMap 551_layouts.Select(Address, out var t, out var b, out var n, "TypeDefToMethodTableMap"); 559private TargetPointer _TypeRefToMethodTableMap__value = default!; 562public partial TargetPointer TypeRefToMethodTableMap 568_layouts.Select(Address, out var t, out var b, out var n, "TypeRefToMethodTableMap"); 576private TargetPointer? _MethodDefToILCodeVersioningStateMap__value = default!; 579public partial TargetPointer? MethodDefToILCodeVersioningStateMap 585if (_layouts.TrySelect(Address, out var t, out var b, out var n, "MethodDefToILCodeVersioningStateMap")) 595private TargetPointer? _EnCClassList__value = default!; 598public partial TargetPointer? EnCClassList 604if (_layouts.TrySelect(Address, out var t, out var b, out var n, "EnCClassList")) 614private TargetPointer _DynamicILBlobTable__value = default!; 617public partial TargetPointer DynamicILBlobTable 623_layouts.Select(Address, out var t, out var b, out var n, "DynamicILBlobTable");
_generated\143\Microsoft_Diagnostics_DataContractReader_Data.ModuleLookupMap.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public ModuleLookupMap(Target target, TargetPointer address) 68static ModuleLookupMap IData<ModuleLookupMap>.Create(Target target, TargetPointer address) 71private TargetPointer _TableData__value = default!; 74public partial TargetPointer TableData 80_layouts.Select(Address, out var t, out var b, out var n, "TableData"); 88private TargetPointer _Next__value = default!; 91public partial TargetPointer Next 97_layouts.Select(Address, out var t, out var b, out var n, "Next"); 114_layouts.Select(Address, out var t, out var b, out var n, "Count"); 131_layouts.Select(Address, out var t, out var b, out var n, "SupportedFlagsMask");
_generated\144\Microsoft_Diagnostics_DataContractReader_Data.NativeCodeVersionNode.g.cs (18)
75public TargetPointer Address { get; } 81partial void OnInit(Target target, TargetPointer address); 83public NativeCodeVersionNode(Target target, TargetPointer address) 92static NativeCodeVersionNode IData<NativeCodeVersionNode>.Create(Target target, TargetPointer address) 95private TargetPointer _Next__value = default!; 98public partial TargetPointer Next 104_layouts.Select(Address, out var t, out var b, out var n, "Next"); 112private TargetPointer _MethodDesc__value = default!; 115public partial TargetPointer MethodDesc 121_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc"); 138_layouts.Select(Address, out var t, out var b, out var n, "NativeCode"); 155_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 172_layouts.Select(Address, out var t, out var b, out var n, "ILVersionId"); 180private TargetPointer? _GCCoverageInfo__value = default!; 183public partial TargetPointer? GCCoverageInfo 189if (_layouts.TrySelect(Address, out var t, out var b, out var n, "GCCoverageInfo")) 192_GCCoverageInfo__value = default(TargetPointer?); 208_layouts.Select(Address, out var t, out var b, out var n, "OptimizationTier");
_generated\145\Microsoft_Diagnostics_DataContractReader_Data.NativeObjectWrapper.g.cs (4)
22public TargetPointer Address { get; } 24partial void OnInit(Target target, TargetPointer address); 26public NativeObjectWrapper(Target target, TargetPointer address) 33static NativeObjectWrapper IData<NativeObjectWrapper>.Create(Target target, TargetPointer address)
_generated\146\Microsoft_Diagnostics_DataContractReader_Data.NativeObjectWrapperObject.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public NativeObjectWrapperObject(Target target, TargetPointer address) 44static NativeObjectWrapperObject IData<NativeObjectWrapperObject>.Create(Target target, TargetPointer address) 47private TargetPointer _ExternalComObject__value = default!; 50public partial TargetPointer ExternalComObject 56_layouts.Select(Address, out var t, out var b, out var n, "ExternalComObject");
_generated\147\Microsoft_Diagnostics_DataContractReader_Data.ObjcTrackingInformation.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ObjcTrackingInformation(Target target, TargetPointer address) 44static ObjcTrackingInformation IData<ObjcTrackingInformation>.Create(Target target, TargetPointer address) 47private TargetPointer _Memory__value = default!; 50public partial TargetPointer Memory 56_layouts.Select(Address, out var t, out var b, out var n, "_memory", "Memory");
_generated\148\Microsoft_Diagnostics_DataContractReader_Data.Object.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public Object(Target target, TargetPointer address) 44static Object IData<Object>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "m_pMethTab", "MethodTable"); 64private TargetPointer _Data__value = default!; 67public partial TargetPointer Data
_generated\149\Microsoft_Diagnostics_DataContractReader_Data.ObjectHandle.g.cs (4)
12public TargetPointer Address { get; } 14partial void OnInit(Target target, TargetPointer address); 16public ObjectHandle(Target target, TargetPointer address) 23static ObjectHandle IData<ObjectHandle>.Create(Target target, TargetPointer address)
_generated\15\Microsoft_Diagnostics_DataContractReader_Data.CMiniMdRW.g.cs (24)
83public TargetPointer Address { get; } 89partial void OnInit(Target target, TargetPointer address); 91public CMiniMdRW(Target target, TargetPointer address) 100static CMiniMdRW IData<CMiniMdRW>.Create(Target target, TargetPointer address) 103private TargetPointer _Schema__value = default!; 106public partial TargetPointer Schema 112_layouts.Select(Address, out var t, out var b, out var n, "Schema"); 129_layouts.Select(Address, out var t, out var b, out var n, "TableCount"); 146_layouts.Select(Address, out var t, out var b, out var n, "All4ByteColumns"); 154private TargetPointer _Tables__value = default!; 157public partial TargetPointer Tables 163_layouts.Select(Address, out var t, out var b, out var n, "Tables"); 171private TargetPointer _StringHeap__value = default!; 174public partial TargetPointer StringHeap 180_layouts.Select(Address, out var t, out var b, out var n, "StringHeap"); 188private TargetPointer _BlobHeap__value = default!; 191public partial TargetPointer BlobHeap 197_layouts.Select(Address, out var t, out var b, out var n, "BlobHeap"); 205private TargetPointer _UserStringHeap__value = default!; 208public partial TargetPointer UserStringHeap 214_layouts.Select(Address, out var t, out var b, out var n, "UserStringHeap"); 222private TargetPointer _GuidHeap__value = default!; 225public partial TargetPointer GuidHeap 231_layouts.Select(Address, out var t, out var b, out var n, "GuidHeap");
_generated\150\Microsoft_Diagnostics_DataContractReader_Data.ObjectHeader.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ObjectHeader(Target target, TargetPointer address) 44static ObjectHeader IData<ObjectHeader>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "SyncBlockValue");
_generated\151\Microsoft_Diagnostics_DataContractReader_Data.ObjectiveCMarshal.g.cs (6)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public ObjectiveCMarshal(Target target, TargetPointer address) 30static ObjectiveCMarshal IData<ObjectiveCMarshal>.Create(Target target, TargetPointer address) 33public static partial TargetPointer? ObjectTrackingInfoTable(Target target) 35if (TypeNameResolver.TryGetStaticFieldAddress(target, _typeNames, "s_objects", out TargetPointer address))
_generated\152\Microsoft_Diagnostics_DataContractReader_Data.PatchpointInfo.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public PatchpointInfo(Target target, TargetPointer address) 44static PatchpointInfo IData<PatchpointInfo>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "LocalCount");
_generated\153\Microsoft_Diagnostics_DataContractReader_Data.PEAssembly.g.cs (13)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public PEAssembly(Target target, TargetPointer address) 60static PEAssembly IData<PEAssembly>.Create(Target target, TargetPointer address) 63private TargetPointer _PEImage__value = default!; 66public partial TargetPointer PEImage 72_layouts.Select(Address, out var t, out var b, out var n, "PEImage"); 80private TargetPointer _AssemblyBinder__value = default!; 83public partial TargetPointer AssemblyBinder 89_layouts.Select(Address, out var t, out var b, out var n, "AssemblyBinder"); 97private TargetPointer _MDImport__value = default!; 100public partial TargetPointer MDImport 106_layouts.Select(Address, out var t, out var b, out var n, "MDImport");
_generated\154\Microsoft_Diagnostics_DataContractReader_Data.PEImage.g.cs (12)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public PEImage(Target target, TargetPointer address) 60static PEImage IData<PEImage>.Create(Target target, TargetPointer address) 63private TargetPointer? _FlatImageLayout__value = default!; 66public partial TargetPointer? FlatImageLayout 72if (_layouts.TrySelect(Address, out var t, out var b, out var n, "FlatImageLayout")) 75_FlatImageLayout__value = default(TargetPointer?); 82private TargetPointer _LoadedImageLayout__value = default!; 85public partial TargetPointer LoadedImageLayout 91_layouts.Select(Address, out var t, out var b, out var n, "LoadedImageLayout"); 108_layouts.Select(Address, out var t, out var b, out var n, "ProbeExtensionResult");
_generated\155\Microsoft_Diagnostics_DataContractReader_Data.PEImageLayout.g.cs (10)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public PEImageLayout(Target target, TargetPointer address) 68static PEImageLayout IData<PEImageLayout>.Create(Target target, TargetPointer address) 71private TargetPointer _Base__value = default!; 74public partial TargetPointer Base 80_layouts.Select(Address, out var t, out var b, out var n, "Base"); 97_layouts.Select(Address, out var t, out var b, out var n, "Size"); 114_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 131_layouts.Select(Address, out var t, out var b, out var n, "Format");
_generated\156\Microsoft_Diagnostics_DataContractReader_Data.PlatformMetadata.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public PlatformMetadata(Target target, TargetPointer address) 52static PlatformMetadata IData<PlatformMetadata>.Create(Target target, TargetPointer address) 55private TargetPointer _PrecodeMachineDescriptor__value = default!; 58public partial TargetPointer PrecodeMachineDescriptor 64_layouts.Select(Address, out var t, out var b, out var n, "PrecodeMachineDescriptor"); 81_layouts.Select(Address, out var t, out var b, out var n, "CodePointerFlags");
_generated\157\Microsoft_Diagnostics_DataContractReader_Data.PortableEntryPoint.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public PortableEntryPoint(Target target, TargetPointer address) 44static PortableEntryPoint IData<PortableEntryPoint>.Create(Target target, TargetPointer address) 47private TargetPointer _MethodDesc__value = default!; 50public partial TargetPointer MethodDesc 56_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc");
_generated\158\Microsoft_Diagnostics_DataContractReader_Data.PrecodeMachineDescriptor.g.cs (7)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public PrecodeMachineDescriptor(Target target, TargetPointer address) 60static PrecodeMachineDescriptor IData<PrecodeMachineDescriptor>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "InvalidPrecodeType"); 89_layouts.Select(Address, out var t, out var b, out var n, "StubPrecodeType"); 106_layouts.Select(Address, out var t, out var b, out var n, "StubCodePageSize");
_generated\159\Microsoft_Diagnostics_DataContractReader_Data.ProbeExtensionResult.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ProbeExtensionResult(Target target, TargetPointer address) 44static ProbeExtensionResult IData<ProbeExtensionResult>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "Type");
_generated\16\Microsoft_Diagnostics_DataContractReader_Data.CMiniMdSchema.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public CMiniMdSchema(Target target, TargetPointer address) 60static CMiniMdSchema IData<CMiniMdSchema>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "Heaps"); 89_layouts.Select(Address, out var t, out var b, out var n, "Sorted"); 97private TargetPointer _RecordCounts__value = default!; 100public partial TargetPointer RecordCounts 106_layouts.Select(Address, out var t, out var b, out var n, "RecordCounts");
_generated\160\Microsoft_Diagnostics_DataContractReader_Data.ProfControlBlock.g.cs (10)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public ProfControlBlock(Target target, TargetPointer address) 68static ProfControlBlock IData<ProfControlBlock>.Create(Target target, TargetPointer address) 80_layouts.Select(Address, out var t, out var b, out var n, "GlobalEventMask"); 97_layouts.Select(Address, out var t, out var b, out var n, "RejitOnAttachEnabled"); 105private TargetPointer _MainProfilerProfInterface__value = default!; 108public partial TargetPointer MainProfilerProfInterface 114_layouts.Select(Address, out var t, out var b, out var n, "MainProfilerProfInterface"); 131_layouts.Select(Address, out var t, out var b, out var n, "NotificationProfilerCount");
_generated\161\Microsoft_Diagnostics_DataContractReader_Data.RangeSection.g.cs (26)
83public TargetPointer Address { get; } 89partial void OnInit(Target target, TargetPointer address); 91public RangeSection(Target target, TargetPointer address) 100static RangeSection IData<RangeSection>.Create(Target target, TargetPointer address) 103private TargetPointer _RangeBegin__value = default!; 106public partial TargetPointer RangeBegin 112_layouts.Select(Address, out var t, out var b, out var n, "RangeBegin"); 120private TargetPointer _RangeEndOpen__value = default!; 123public partial TargetPointer RangeEndOpen 129_layouts.Select(Address, out var t, out var b, out var n, "RangeEndOpen"); 137private TargetPointer _NextForDelete__value = default!; 140public partial TargetPointer NextForDelete 146_layouts.Select(Address, out var t, out var b, out var n, "NextForDelete"); 154private TargetPointer _JitManager__value = default!; 157public partial TargetPointer JitManager 163_layouts.Select(Address, out var t, out var b, out var n, "JitManager"); 171private TargetPointer _HeapList__value = default!; 174public partial TargetPointer HeapList 180_layouts.Select(Address, out var t, out var b, out var n, "HeapList"); 197_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 205private TargetPointer _R2RModule__value = default!; 208public partial TargetPointer R2RModule 214_layouts.Select(Address, out var t, out var b, out var n, "R2RModule"); 222private TargetPointer _RangeList__value = default!; 225public partial TargetPointer RangeList 231_layouts.Select(Address, out var t, out var b, out var n, "RangeList");
_generated\162\Microsoft_Diagnostics_DataContractReader_Data.RangeSectionFragment.g.cs (13)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public RangeSectionFragment(Target target, TargetPointer address) 60static RangeSectionFragment IData<RangeSectionFragment>.Create(Target target, TargetPointer address) 63private TargetPointer _RangeBegin__value = default!; 66public partial TargetPointer RangeBegin 72_layouts.Select(Address, out var t, out var b, out var n, "RangeBegin"); 80private TargetPointer _RangeEndOpen__value = default!; 83public partial TargetPointer RangeEndOpen 89_layouts.Select(Address, out var t, out var b, out var n, "RangeEndOpen"); 97private TargetPointer _RangeSection__value = default!; 100public partial TargetPointer RangeSection 106_layouts.Select(Address, out var t, out var b, out var n, "RangeSection");
_generated\163\Microsoft_Diagnostics_DataContractReader_Data.RangeSectionMap.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public RangeSectionMap(Target target, TargetPointer address) 44static RangeSectionMap IData<RangeSectionMap>.Create(Target target, TargetPointer address) 47private TargetPointer _TopLevelData__value = default!; 50public partial TargetPointer TopLevelData 56_layouts.Select(Address, out var t, out var b, out var n, "TopLevelData");
_generated\164\Microsoft_Diagnostics_DataContractReader_Data.RCW.g.cs (31)
107public TargetPointer Address { get; } 113partial void OnInit(Target target, TargetPointer address); 115public RCW(Target target, TargetPointer address) 124static RCW IData<RCW>.Create(Target target, TargetPointer address) 127private TargetPointer _NextCleanupBucket__value = default!; 130public partial TargetPointer NextCleanupBucket 136_layouts.Select(Address, out var t, out var b, out var n, "NextCleanupBucket"); 144private TargetPointer _NextRCW__value = default!; 147public partial TargetPointer NextRCW 153_layouts.Select(Address, out var t, out var b, out var n, "NextRCW"); 170_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 178private TargetPointer _CtxCookie__value = default!; 181public partial TargetPointer CtxCookie 187_layouts.Select(Address, out var t, out var b, out var n, "CtxCookie"); 195private TargetPointer _CtxEntry__value = default!; 198public partial TargetPointer CtxEntry 204_layouts.Select(Address, out var t, out var b, out var n, "CtxEntry"); 212private TargetPointer _IdentityPointer__value = default!; 215public partial TargetPointer IdentityPointer 221_layouts.Select(Address, out var t, out var b, out var n, "IdentityPointer"); 238_layouts.Select(Address, out var t, out var b, out var n, "SyncBlockIndex"); 246private TargetPointer _VTablePtr__value = default!; 249public partial TargetPointer VTablePtr 255_layouts.Select(Address, out var t, out var b, out var n, "VTablePtr"); 263private TargetPointer _CreatorThread__value = default!; 266public partial TargetPointer CreatorThread 272_layouts.Select(Address, out var t, out var b, out var n, "CreatorThread"); 289_layouts.Select(Address, out var t, out var b, out var n, "RefCount"); 297private TargetPointer _UnknownPointer__value = default!; 300public partial TargetPointer UnknownPointer 306_layouts.Select(Address, out var t, out var b, out var n, "UnknownPointer");
_generated\165\Microsoft_Diagnostics_DataContractReader_Data.RCWCleanupList.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public RCWCleanupList(Target target, TargetPointer address) 44static RCWCleanupList IData<RCWCleanupList>.Create(Target target, TargetPointer address) 47private TargetPointer _FirstBucket__value = default!; 50public partial TargetPointer FirstBucket 56_layouts.Select(Address, out var t, out var b, out var n, "FirstBucket");
_generated\166\Microsoft_Diagnostics_DataContractReader_Data.ReadyToRunCoreHeader.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ReadyToRunCoreHeader(Target target, TargetPointer address) 44static ReadyToRunCoreHeader IData<ReadyToRunCoreHeader>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "NumberOfSections");
_generated\167\Microsoft_Diagnostics_DataContractReader_Data.ReadyToRunCoreInfo.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ReadyToRunCoreInfo(Target target, TargetPointer address) 44static ReadyToRunCoreInfo IData<ReadyToRunCoreInfo>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "Header");
_generated\168\Microsoft_Diagnostics_DataContractReader_Data.ReadyToRunHeader.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ReadyToRunHeader(Target target, TargetPointer address) 52static ReadyToRunHeader IData<ReadyToRunHeader>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "MajorVersion"); 81_layouts.Select(Address, out var t, out var b, out var n, "MinorVersion");
_generated\169\Microsoft_Diagnostics_DataContractReader_Data.ReadyToRunInfo.g.cs (32)
107public TargetPointer Address { get; } 113partial void OnInit(Target target, TargetPointer address); 115public ReadyToRunInfo(Target target, TargetPointer address) 124static ReadyToRunInfo IData<ReadyToRunInfo>.Create(Target target, TargetPointer address) 127private TargetPointer _CompositeInfo__value = default!; 130public partial TargetPointer CompositeInfo 136_layouts.Select(Address, out var t, out var b, out var n, "CompositeInfo"); 144private TargetPointer _ReadyToRunHeader__value = default!; 147public partial TargetPointer ReadyToRunHeader 153_layouts.Select(Address, out var t, out var b, out var n, "ReadyToRunHeader"); 170_layouts.Select(Address, out var t, out var b, out var n, "NumRuntimeFunctions"); 187_layouts.Select(Address, out var t, out var b, out var n, "NumHotColdMap"); 195private TargetPointer _DelayLoadMethodCallThunks__value = default!; 198public partial TargetPointer DelayLoadMethodCallThunks 204_layouts.Select(Address, out var t, out var b, out var n, "DelayLoadMethodCallThunks"); 212private TargetPointer _DebugInfoSection__value = default!; 215public partial TargetPointer DebugInfoSection 221_layouts.Select(Address, out var t, out var b, out var n, "DebugInfoSection"); 229private TargetPointer _ExceptionInfoSection__value = default!; 232public partial TargetPointer ExceptionInfoSection 238_layouts.Select(Address, out var t, out var b, out var n, "ExceptionInfoSection"); 246private TargetPointer _LoadedImageBase__value = default!; 249public partial TargetPointer LoadedImageBase 255_layouts.Select(Address, out var t, out var b, out var n, "LoadedImageBase"); 263private TargetPointer _Composite__value = default!; 266public partial TargetPointer Composite 272_layouts.Select(Address, out var t, out var b, out var n, "Composite"); 289_layouts.Select(Address, out var t, out var b, out var n, "NumImportSections"); 297private TargetPointer? _MinVirtualIP__value = default!; 300public partial TargetPointer? MinVirtualIP 306if (_layouts.TrySelect(Address, out var t, out var b, out var n, "MinVirtualIP")) 309_MinVirtualIP__value = default(TargetPointer?);
_generated\17\Microsoft_Diagnostics_DataContractReader_Data.CodeHeap.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public CodeHeap(Target target, TargetPointer address) 44static CodeHeap IData<CodeHeap>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "HeapType");
_generated\170\Microsoft_Diagnostics_DataContractReader_Data.ReadyToRunSection.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ReadyToRunSection(Target target, TargetPointer address) 52static ReadyToRunSection IData<ReadyToRunSection>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Type"); 81_layouts.Select(Address, out var t, out var b, out var n, "Section");
_generated\171\Microsoft_Diagnostics_DataContractReader_Data.RealCodeHeader.g.cs (20)
67public TargetPointer Address { get; } 73partial void OnInit(Target target, TargetPointer address); 75public RealCodeHeader(Target target, TargetPointer address) 84static RealCodeHeader IData<RealCodeHeader>.Create(Target target, TargetPointer address) 87private TargetPointer _MethodDesc__value = default!; 90public partial TargetPointer MethodDesc 96_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc"); 104private TargetPointer _DebugInfo__value = default!; 107public partial TargetPointer DebugInfo 113_layouts.Select(Address, out var t, out var b, out var n, "DebugInfo"); 121private TargetPointer _EHInfo__value = default!; 124public partial TargetPointer EHInfo 130_layouts.Select(Address, out var t, out var b, out var n, "EHInfo"); 138private TargetPointer _GCInfo__value = default!; 141public partial TargetPointer GCInfo 147_layouts.Select(Address, out var t, out var b, out var n, "GCInfo"); 164_layouts.Select(Address, out var t, out var b, out var n, "NumUnwindInfos"); 172private TargetPointer _UnwindInfos__value = default!; 175public partial TargetPointer UnwindInfos 181_layouts.Select(Address, out var t, out var b, out var n, "UnwindInfos");
_generated\172\Microsoft_Diagnostics_DataContractReader_Data.RegionFreeList.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public RegionFreeList(Target target, TargetPointer address) 44static RegionFreeList IData<RegionFreeList>.Create(Target target, TargetPointer address) 47private TargetPointer _HeadFreeRegion__value = default!; 50public partial TargetPointer HeadFreeRegion 56_layouts.Select(Address, out var t, out var b, out var n, "HeadFreeRegion");
_generated\173\Microsoft_Diagnostics_DataContractReader_Data.RuntimeFunction.g.cs (7)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public RuntimeFunction(Target target, TargetPointer address) 60static RuntimeFunction IData<RuntimeFunction>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "BeginAddress"); 89if (_layouts.TrySelect(Address, out var t, out var b, out var n, "EndAddress")) 108_layouts.Select(Address, out var t, out var b, out var n, "UnwindData");
_generated\174\Microsoft_Diagnostics_DataContractReader_Data.RuntimeThreadLocals.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public RuntimeThreadLocals(Target target, TargetPointer address) 44static RuntimeThreadLocals IData<RuntimeThreadLocals>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "AllocContext");
_generated\175\Microsoft_Diagnostics_DataContractReader_Data.Signature.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public Signature(Target target, TargetPointer address) 52static Signature IData<Signature>.Create(Target target, TargetPointer address) 55private TargetPointer _SignaturePointer__value = default!; 58public partial TargetPointer SignaturePointer 64_layouts.Select(Address, out var t, out var b, out var n, "SignaturePointer"); 81_layouts.Select(Address, out var t, out var b, out var n, "SignatureLength");
_generated\176\Microsoft_Diagnostics_DataContractReader_Data.SimpleComCallWrapper.g.cs (15)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public SimpleComCallWrapper(Target target, TargetPointer address) 76static SimpleComCallWrapper IData<SimpleComCallWrapper>.Create(Target target, TargetPointer address) 79private TargetPointer _OuterIUnknown__value = default!; 82public partial TargetPointer OuterIUnknown 88_layouts.Select(Address, out var t, out var b, out var n, "OuterIUnknown"); 105_layouts.Select(Address, out var t, out var b, out var n, "RefCount"); 122_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 130private TargetPointer _MainWrapper__value = default!; 133public partial TargetPointer MainWrapper 139_layouts.Select(Address, out var t, out var b, out var n, "MainWrapper"); 147private TargetPointer _VTablePtr__value = default!; 150public partial TargetPointer VTablePtr 156_layouts.Select(Address, out var t, out var b, out var n, "VTablePtr");
_generated\177\Microsoft_Diagnostics_DataContractReader_Data.StackTraceArrayHeader.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public StackTraceArrayHeader(Target target, TargetPointer address) 44static StackTraceArrayHeader IData<StackTraceArrayHeader>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "Size");
_generated\178\Microsoft_Diagnostics_DataContractReader_Data.StackTraceElement.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public StackTraceElement(Target target, TargetPointer address) 60static StackTraceElement IData<StackTraceElement>.Create(Target target, TargetPointer address) 63private TargetPointer _Ip__value = default!; 66public partial TargetPointer Ip 72_layouts.Select(Address, out var t, out var b, out var n, "Ip"); 80private TargetPointer _MethodDesc__value = default!; 83public partial TargetPointer MethodDesc 89_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc"); 106_layouts.Select(Address, out var t, out var b, out var n, "Flags");
_generated\179\Microsoft_Diagnostics_DataContractReader_Data.StgPool.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public StgPool(Target target, TargetPointer address) 60static StgPool IData<StgPool>.Create(Target target, TargetPointer address) 63private TargetPointer _SegData__value = default!; 66public partial TargetPointer SegData 72_layouts.Select(Address, out var t, out var b, out var n, "SegData"); 80private TargetPointer _NextSegment__value = default!; 83public partial TargetPointer NextSegment 89_layouts.Select(Address, out var t, out var b, out var n, "NextSegment"); 106_layouts.Select(Address, out var t, out var b, out var n, "DataSize");
_generated\18\Microsoft_Diagnostics_DataContractReader_Data.CodeHeapListNode.g.cs (26)
75public TargetPointer Address { get; } 81partial void OnInit(Target target, TargetPointer address); 83public CodeHeapListNode(Target target, TargetPointer address) 92static CodeHeapListNode IData<CodeHeapListNode>.Create(Target target, TargetPointer address) 95private TargetPointer _Next__value = default!; 98public partial TargetPointer Next 104_layouts.Select(Address, out var t, out var b, out var n, "Next"); 112private TargetPointer _StartAddress__value = default!; 115public partial TargetPointer StartAddress 121_layouts.Select(Address, out var t, out var b, out var n, "StartAddress"); 129private TargetPointer _EndAddress__value = default!; 132public partial TargetPointer EndAddress 138_layouts.Select(Address, out var t, out var b, out var n, "EndAddress"); 146private TargetPointer _MapBase__value = default!; 149public partial TargetPointer MapBase 155_layouts.Select(Address, out var t, out var b, out var n, "MapBase"); 163private TargetPointer _HeaderMap__value = default!; 166public partial TargetPointer HeaderMap 172_layouts.Select(Address, out var t, out var b, out var n, "HeaderMap"); 180private TargetPointer _Heap__value = default!; 183public partial TargetPointer Heap 189_layouts.Select(Address, out var t, out var b, out var n, "Heap"); 197private TargetPointer? _CLRPersonalityRoutine__value = default!; 200public partial TargetPointer? CLRPersonalityRoutine 206if (_layouts.TrySelect(Address, out var t, out var b, out var n, "CLRPersonalityRoutine")) 209_CLRPersonalityRoutine__value = default(TargetPointer?);
_generated\180\Microsoft_Diagnostics_DataContractReader_Data.StgPoolSeg.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public StgPoolSeg(Target target, TargetPointer address) 60static StgPoolSeg IData<StgPoolSeg>.Create(Target target, TargetPointer address) 63private TargetPointer _SegData__value = default!; 66public partial TargetPointer SegData 72_layouts.Select(Address, out var t, out var b, out var n, "SegData"); 80private TargetPointer _NextSegment__value = default!; 83public partial TargetPointer NextSegment 89_layouts.Select(Address, out var t, out var b, out var n, "NextSegment"); 106_layouts.Select(Address, out var t, out var b, out var n, "DataSize");
_generated\181\Microsoft_Diagnostics_DataContractReader_Data.StressLog.g.cs (19)
107public TargetPointer Address { get; } 113partial void OnInit(Target target, TargetPointer address); 115public StressLog(Target target, TargetPointer address) 124static StressLog IData<StressLog>.Create(Target target, TargetPointer address) 136_layouts.Select(Address, out var t, out var b, out var n, "LoggedFacilities"); 153_layouts.Select(Address, out var t, out var b, out var n, "Level"); 170_layouts.Select(Address, out var t, out var b, out var n, "MaxSizePerThread"); 187_layouts.Select(Address, out var t, out var b, out var n, "MaxSizeTotal"); 204_layouts.Select(Address, out var t, out var b, out var n, "TotalChunks"); 221_layouts.Select(Address, out var t, out var b, out var n, "TickFrequency"); 238_layouts.Select(Address, out var t, out var b, out var n, "StartTimestamp"); 255_layouts.Select(Address, out var t, out var b, out var n, "StartTime"); 272_layouts.Select(Address, out var t, out var b, out var n, "ModuleOffset"); 280private TargetPointer? _Modules__value = default!; 283public partial TargetPointer? Modules 289if (_layouts.TrySelect(Address, out var t, out var b, out var n, "Modules")) 299private TargetPointer _Logs__value = default!; 302public partial TargetPointer Logs 308_layouts.Select(Address, out var t, out var b, out var n, "Logs");
_generated\182\Microsoft_Diagnostics_DataContractReader_Data.StressLogChunk.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public StressLogChunk(Target target, TargetPointer address) 68static StressLogChunk IData<StressLogChunk>.Create(Target target, TargetPointer address) 71private TargetPointer _Next__value = default!; 74public partial TargetPointer Next 80_layouts.Select(Address, out var t, out var b, out var n, "Next"); 88private TargetPointer _Buf__value = default!; 91public partial TargetPointer Buf 97_layouts.Select(Address, out var t, out var b, out var n, "Buf"); 114_layouts.Select(Address, out var t, out var b, out var n, "Sig1"); 131_layouts.Select(Address, out var t, out var b, out var n, "Sig2");
_generated\183\Microsoft_Diagnostics_DataContractReader_Data.StressLogModuleDesc.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public StressLogModuleDesc(Target target, TargetPointer address) 52static StressLogModuleDesc IData<StressLogModuleDesc>.Create(Target target, TargetPointer address) 55private TargetPointer _BaseAddress__value = default!; 58public partial TargetPointer BaseAddress 64_layouts.Select(Address, out var t, out var b, out var n, "BaseAddress"); 81_layouts.Select(Address, out var t, out var b, out var n, "Size");
_generated\184\Microsoft_Diagnostics_DataContractReader_Data.StressMsg.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public StressMsg(Target target, TargetPointer address) 52static StressMsg IData<StressMsg>.Create(Target target, TargetPointer address) 55private TargetPointer _Header__value = default!; 58public partial TargetPointer Header 64_layouts.Select(Address, out var t, out var b, out var n, "Header"); 72private TargetPointer _Args__value = default!; 75public partial TargetPointer Args 81_layouts.Select(Address, out var t, out var b, out var n, "Args");
_generated\185\Microsoft_Diagnostics_DataContractReader_Data.StressMsgHeader.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public StressMsgHeader(Target target, TargetPointer address) 30static StressMsgHeader IData<StressMsgHeader>.Create(Target target, TargetPointer address)
_generated\186\Microsoft_Diagnostics_DataContractReader_Data.String.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public String(Target target, TargetPointer address) 52static String IData<String>.Create(Target target, TargetPointer address) 55private TargetPointer _FirstChar__value = default!; 58public partial TargetPointer FirstChar 64_layouts.Select(Address, out var t, out var b, out var n, "m_FirstChar", "FirstChar"); 81_layouts.Select(Address, out var t, out var b, out var n, "m_StringLength", "StringLength");
_generated\187\Microsoft_Diagnostics_DataContractReader_Data.StubPrecodeData_1.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public StubPrecodeData_1(Target target, TargetPointer address) 52static StubPrecodeData_1 IData<StubPrecodeData_1>.Create(Target target, TargetPointer address) 55private TargetPointer _MethodDesc__value = default!; 58public partial TargetPointer MethodDesc 64_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc"); 81_layouts.Select(Address, out var t, out var b, out var n, "Type");
_generated\188\Microsoft_Diagnostics_DataContractReader_Data.StubPrecodeData_2.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public StubPrecodeData_2(Target target, TargetPointer address) 52static StubPrecodeData_2 IData<StubPrecodeData_2>.Create(Target target, TargetPointer address) 55private TargetPointer _SecretParam__value = default!; 58public partial TargetPointer SecretParam 64_layouts.Select(Address, out var t, out var b, out var n, "SecretParam"); 81_layouts.Select(Address, out var t, out var b, out var n, "Type");
_generated\189\Microsoft_Diagnostics_DataContractReader_Data.SyncBlock.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public SyncBlock(Target target, TargetPointer address) 60static SyncBlock IData<SyncBlock>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "ThinLock"); 80private TargetPointer _LinkNext__value = default!; 83public partial TargetPointer LinkNext 89_layouts.Select(Address, out var t, out var b, out var n, "LinkNext"); 106_layouts.Select(Address, out var t, out var b, out var n, "HashCode");
_generated\19\Microsoft_Diagnostics_DataContractReader_Data.CodeRangeMapRangeList.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public CodeRangeMapRangeList(Target target, TargetPointer address) 44static CodeRangeMapRangeList IData<CodeRangeMapRangeList>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "RangeListType");
_generated\190\Microsoft_Diagnostics_DataContractReader_Data.SyncBlockCache.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public SyncBlockCache(Target target, TargetPointer address) 52static SyncBlockCache IData<SyncBlockCache>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "FreeSyncTableIndex"); 72private TargetPointer _CleanupBlockList__value = default!; 75public partial TargetPointer CleanupBlockList 81_layouts.Select(Address, out var t, out var b, out var n, "CleanupBlockList");
_generated\191\Microsoft_Diagnostics_DataContractReader_Data.SyncTableEntry.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public SyncTableEntry(Target target, TargetPointer address) 30static SyncTableEntry IData<SyncTableEntry>.Create(Target target, TargetPointer address)
_generated\192\Microsoft_Diagnostics_DataContractReader_Data.SystemDomain.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public SystemDomain(Target target, TargetPointer address) 52static SystemDomain IData<SystemDomain>.Create(Target target, TargetPointer address) 55private TargetPointer _GlobalLoaderAllocator__value = default!; 58public partial TargetPointer GlobalLoaderAllocator 64_layouts.Select(Address, out var t, out var b, out var n, "GlobalLoaderAllocator"); 72private TargetPointer _SystemAssembly__value = default!; 75public partial TargetPointer SystemAssembly 81_layouts.Select(Address, out var t, out var b, out var n, "SystemAssembly");
_generated\193\Microsoft_Diagnostics_DataContractReader_Data.SystemVEightByteRegistersInfo.g.cs (9)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public SystemVEightByteRegistersInfo(Target target, TargetPointer address) 76static SystemVEightByteRegistersInfo IData<SystemVEightByteRegistersInfo>.Create(Target target, TargetPointer address) 88_layouts.Select(Address, out var t, out var b, out var n, "NumEightBytes"); 105_layouts.Select(Address, out var t, out var b, out var n, "EightByteClassification0"); 122_layouts.Select(Address, out var t, out var b, out var n, "EightByteClassification1"); 139_layouts.Select(Address, out var t, out var b, out var n, "EightByteSize0"); 156_layouts.Select(Address, out var t, out var b, out var n, "EightByteSize1");
_generated\194\Microsoft_Diagnostics_DataContractReader_Data.TableSegment.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public TableSegment(Target target, TargetPointer address) 52static TableSegment IData<TableSegment>.Create(Target target, TargetPointer address) 55private TargetPointer _NextSegment__value = default!; 58public partial TargetPointer NextSegment 64_layouts.Select(Address, out var t, out var b, out var n, "NextSegment"); 72private TargetPointer _RgValue__value = default!; 75public partial TargetPointer RgValue 81_layouts.Select(Address, out var t, out var b, out var n, "RgValue");
_generated\195\Microsoft_Diagnostics_DataContractReader_Data.ThisPtrRetBufPrecodeData.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ThisPtrRetBufPrecodeData(Target target, TargetPointer address) 44static ThisPtrRetBufPrecodeData IData<ThisPtrRetBufPrecodeData>.Create(Target target, TargetPointer address) 47private TargetPointer _MethodDesc__value = default!; 50public partial TargetPointer MethodDesc 56_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc");
_generated\196\Microsoft_Diagnostics_DataContractReader_Data.Thread.g.cs (43)
171public TargetPointer Address { get; } 177partial void OnInit(Target target, TargetPointer address); 179public Thread(Target target, TargetPointer address) 188static Thread IData<Thread>.Create(Target target, TargetPointer address) 194_layouts.Select(Address, out var t, out var b, out var n, "DebuggerControlledThreadState"); 208_layouts.Select(Address, out var t, out var b, out var n, "Id"); 225_layouts.Select(Address, out var t, out var b, out var n, "OSId"); 242_layouts.Select(Address, out var t, out var b, out var n, "State"); 259_layouts.Select(Address, out var t, out var b, out var n, "DebuggerControlledThreadState"); 281_layouts.Select(Address, out var t, out var b, out var n, "PreemptiveGCDisabled"); 289private TargetPointer _Frame__value = default!; 292public partial TargetPointer Frame 298_layouts.Select(Address, out var t, out var b, out var n, "Frame"); 306private TargetPointer _GCFrame__value = default!; 309public partial TargetPointer GCFrame 315_layouts.Select(Address, out var t, out var b, out var n, "GCFrame"); 323private TargetPointer _CachedStackBase__value = default!; 326public partial TargetPointer CachedStackBase 332_layouts.Select(Address, out var t, out var b, out var n, "CachedStackBase"); 340private TargetPointer _CachedStackLimit__value = default!; 343public partial TargetPointer CachedStackLimit 349_layouts.Select(Address, out var t, out var b, out var n, "CachedStackLimit"); 366_layouts.Select(Address, out var t, out var b, out var n, "ExposedObject"); 383_layouts.Select(Address, out var t, out var b, out var n, "LastThrownObject"); 400_layouts.Select(Address, out var t, out var b, out var n, "LastThrownObjectIsUnhandled"); 408private TargetPointer _LinkNext__value = default!; 411public partial TargetPointer LinkNext 417_layouts.Select(Address, out var t, out var b, out var n, "LinkNext"); 425private TargetPointer _ExceptionTracker__value = default!; 428public partial TargetPointer ExceptionTracker 434_layouts.Select(Address, out var t, out var b, out var n, "ExceptionTracker"); 442private TargetPointer? _UEWatsonBucketTrackerBuckets__value = default!; 445public partial TargetPointer? UEWatsonBucketTrackerBuckets 451if (_layouts.TrySelect(Address, out var t, out var b, out var n, "UEWatsonBucketTrackerBuckets")) 454_UEWatsonBucketTrackerBuckets__value = default(TargetPointer?); 461private TargetPointer _ThreadLocalDataPtr__value = default!; 464public partial TargetPointer ThreadLocalDataPtr 470_layouts.Select(Address, out var t, out var b, out var n, "ThreadLocalDataPtr"); 478private TargetPointer _DebuggerFilterContext__value = default!; 481public partial TargetPointer DebuggerFilterContext 487_layouts.Select(Address, out var t, out var b, out var n, "DebuggerFilterContext"); 504_layouts.Select(Address, out var t, out var b, out var n, "InteropDebuggingHijacked"); 521_layouts.Select(Address, out var t, out var b, out var n, "CurrentCustomDebuggerNotification");
_generated\197\Microsoft_Diagnostics_DataContractReader_Data.ThreadLocalData.g.cs (15)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public ThreadLocalData(Target target, TargetPointer address) 76static ThreadLocalData IData<ThreadLocalData>.Create(Target target, TargetPointer address) 79private TargetPointer _CollectibleTlsArrayData__value = default!; 82public partial TargetPointer CollectibleTlsArrayData 88_layouts.Select(Address, out var t, out var b, out var n, "CollectibleTlsArrayData"); 96private TargetPointer _NonCollectibleTlsArrayData__value = default!; 99public partial TargetPointer NonCollectibleTlsArrayData 105_layouts.Select(Address, out var t, out var b, out var n, "NonCollectibleTlsArrayData"); 122_layouts.Select(Address, out var t, out var b, out var n, "CollectibleTlsDataCount"); 139_layouts.Select(Address, out var t, out var b, out var n, "NonCollectibleTlsDataCount"); 147private TargetPointer _InFlightData__value = default!; 150public partial TargetPointer InFlightData 156_layouts.Select(Address, out var t, out var b, out var n, "InFlightData");
_generated\198\Microsoft_Diagnostics_DataContractReader_Data.ThreadStaticsInfo.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ThreadStaticsInfo(Target target, TargetPointer address) 52static ThreadStaticsInfo IData<ThreadStaticsInfo>.Create(Target target, TargetPointer address) 55private TargetPointer _GCTlsIndex__value = default!; 58public partial TargetPointer GCTlsIndex 64_layouts.Select(Address, out var t, out var b, out var n, "GCTlsIndex"); 72private TargetPointer _NonGCTlsIndex__value = default!; 75public partial TargetPointer NonGCTlsIndex 81_layouts.Select(Address, out var t, out var b, out var n, "NonGCTlsIndex");
_generated\199\Microsoft_Diagnostics_DataContractReader_Data.ThreadStore.g.cs (12)
67public TargetPointer Address { get; } 73partial void OnInit(Target target, TargetPointer address); 75public ThreadStore(Target target, TargetPointer address) 84static ThreadStore IData<ThreadStore>.Create(Target target, TargetPointer address) 96_layouts.Select(Address, out var t, out var b, out var n, "ThreadCount"); 104private TargetPointer _FirstThreadLink__value = default!; 107public partial TargetPointer FirstThreadLink 113_layouts.Select(Address, out var t, out var b, out var n, "FirstThreadLink"); 130_layouts.Select(Address, out var t, out var b, out var n, "UnstartedCount"); 147_layouts.Select(Address, out var t, out var b, out var n, "BackgroundCount"); 164_layouts.Select(Address, out var t, out var b, out var n, "PendingCount"); 181_layouts.Select(Address, out var t, out var b, out var n, "DeadCount");
_generated\2\Microsoft_Diagnostics_DataContractReader_Data.AppDomain.g.cs (13)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public AppDomain(Target target, TargetPointer address) 60static AppDomain IData<AppDomain>.Create(Target target, TargetPointer address) 63private TargetPointer _RootAssembly__value = default!; 66public partial TargetPointer RootAssembly 72_layouts.Select(Address, out var t, out var b, out var n, "RootAssembly"); 80private TargetPointer _AssemblyList__value = default!; 83public partial TargetPointer AssemblyList 89_layouts.Select(Address, out var t, out var b, out var n, "AssemblyList"); 97private TargetPointer _FriendlyName__value = default!; 100public partial TargetPointer FriendlyName 106_layouts.Select(Address, out var t, out var b, out var n, "FriendlyName");
_generated\20\Microsoft_Diagnostics_DataContractReader_Data.ComCallWrapper.g.cs (16)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public ComCallWrapper(Target target, TargetPointer address) 68static ComCallWrapper IData<ComCallWrapper>.Create(Target target, TargetPointer address) 71private TargetPointer _Handle__value = default!; 74public partial TargetPointer Handle 80_layouts.Select(Address, out var t, out var b, out var n, "Handle"); 88private TargetPointer _SimpleWrapper__value = default!; 91public partial TargetPointer SimpleWrapper 97_layouts.Select(Address, out var t, out var b, out var n, "SimpleWrapper"); 105private TargetPointer _Next__value = default!; 108public partial TargetPointer Next 114_layouts.Select(Address, out var t, out var b, out var n, "Next"); 122private TargetPointer _IPtr__value = default!; 125public partial TargetPointer IPtr 131_layouts.Select(Address, out var t, out var b, out var n, "IPtr");
_generated\200\Microsoft_Diagnostics_DataContractReader_Data.ThreadStressLog.g.cs (21)
75public TargetPointer Address { get; } 81partial void OnInit(Target target, TargetPointer address); 83public ThreadStressLog(Target target, TargetPointer address) 92static ThreadStressLog IData<ThreadStressLog>.Create(Target target, TargetPointer address) 95private TargetPointer _Next__value = default!; 98public partial TargetPointer Next 104_layouts.Select(Address, out var t, out var b, out var n, "Next"); 121_layouts.Select(Address, out var t, out var b, out var n, "ThreadId"); 138_layouts.Select(Address, out var t, out var b, out var n, "WriteHasWrapped"); 146private TargetPointer _CurrentPtr__value = default!; 149public partial TargetPointer CurrentPtr 155_layouts.Select(Address, out var t, out var b, out var n, "CurrentPtr"); 163private TargetPointer _ChunkListHead__value = default!; 166public partial TargetPointer ChunkListHead 172_layouts.Select(Address, out var t, out var b, out var n, "ChunkListHead"); 180private TargetPointer _ChunkListTail__value = default!; 183public partial TargetPointer ChunkListTail 189_layouts.Select(Address, out var t, out var b, out var n, "ChunkListTail"); 197private TargetPointer _CurrentWriteChunk__value = default!; 200public partial TargetPointer CurrentWriteChunk 206_layouts.Select(Address, out var t, out var b, out var n, "CurrentWriteChunk");
_generated\201\Microsoft_Diagnostics_DataContractReader_Data.TLSIndex.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public TLSIndex(Target target, TargetPointer address) 44static TLSIndex IData<TLSIndex>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "TLSIndexRawIndex");
_generated\202\Microsoft_Diagnostics_DataContractReader_Data.TypedByRef.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public TypedByRef(Target target, TargetPointer address) 52static TypedByRef IData<TypedByRef>.Create(Target target, TargetPointer address) 55private TargetPointer _Data__value = default!; 58public partial TargetPointer Data 64_layouts.Select(Address, out var t, out var b, out var n, "Data"); 72private TargetPointer _Type__value = default!; 75public partial TargetPointer Type 81_layouts.Select(Address, out var t, out var b, out var n, "Type");
_generated\203\Microsoft_Diagnostics_DataContractReader_Data.TypeDesc.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public TypeDesc(Target target, TargetPointer address) 44static TypeDesc IData<TypeDesc>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "TypeAndFlags");
_generated\204\Microsoft_Diagnostics_DataContractReader_Data.ParamTypeDesc.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ParamTypeDesc(Target target, TargetPointer address) 44static ParamTypeDesc IData<ParamTypeDesc>.Create(Target target, TargetPointer address) 47private TargetPointer _TypeArg__value = default!; 50public partial TargetPointer TypeArg 56_layouts.Select(Address, out var t, out var b, out var n, "TypeArg");
_generated\205\Microsoft_Diagnostics_DataContractReader_Data.TypeVarTypeDesc.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public TypeVarTypeDesc(Target target, TargetPointer address) 60static TypeVarTypeDesc IData<TypeVarTypeDesc>.Create(Target target, TargetPointer address) 63private TargetPointer _Module__value = default!; 66public partial TargetPointer Module 72_layouts.Select(Address, out var t, out var b, out var n, "Module"); 89_layouts.Select(Address, out var t, out var b, out var n, "Token"); 106_layouts.Select(Address, out var t, out var b, out var n, "Index");
_generated\206\Microsoft_Diagnostics_DataContractReader_Data.FnPtrTypeDesc.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public FnPtrTypeDesc(Target target, TargetPointer address) 68static FnPtrTypeDesc IData<FnPtrTypeDesc>.Create(Target target, TargetPointer address) 80_layouts.Select(Address, out var t, out var b, out var n, "NumArgs"); 97_layouts.Select(Address, out var t, out var b, out var n, "CallConv"); 105private TargetPointer _RetAndArgTypes__value = default!; 108public partial TargetPointer RetAndArgTypes 114_layouts.Select(Address, out var t, out var b, out var n, "RetAndArgTypes"); 122private TargetPointer _LoaderModule__value = default!; 125public partial TargetPointer LoaderModule 131_layouts.Select(Address, out var t, out var b, out var n, "LoaderModule");
_generated\207\Microsoft_Diagnostics_DataContractReader_Data.UnorderedArrayBase.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public UnorderedArrayBase(Target target, TargetPointer address) 52static UnorderedArrayBase IData<UnorderedArrayBase>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Count"); 72private TargetPointer _Table__value = default!; 75public partial TargetPointer Table 81_layouts.Select(Address, out var t, out var b, out var n, "Table");
_generated\208\Microsoft_Diagnostics_DataContractReader_Data.UnwindInfo.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public UnwindInfo(Target target, TargetPointer address) 30static UnwindInfo IData<UnwindInfo>.Create(Target target, TargetPointer address)
_generated\209\Microsoft_Diagnostics_DataContractReader_Data.VASigCookie.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public VASigCookie(Target target, TargetPointer address) 52static VASigCookie IData<VASigCookie>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "SizeOfArgs"); 81_layouts.Select(Address, out var t, out var b, out var n, "Signature");
_generated\21\Microsoft_Diagnostics_DataContractReader_Data.ComInterfaceEntry.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public ComInterfaceEntry(Target target, TargetPointer address) 30static ComInterfaceEntry IData<ComInterfaceEntry>.Create(Target target, TargetPointer address)
_generated\210\Microsoft_Diagnostics_DataContractReader_Data.VirtualCallStubManager.g.cs (11)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public VirtualCallStubManager(Target target, TargetPointer address) 52static VirtualCallStubManager IData<VirtualCallStubManager>.Create(Target target, TargetPointer address) 55private TargetPointer _IndcellHeap__value = default!; 58public partial TargetPointer IndcellHeap 64_layouts.Select(Address, out var t, out var b, out var n, "IndcellHeap"); 72private TargetPointer? _CacheEntryHeap__value = default!; 75public partial TargetPointer? CacheEntryHeap 81if (_layouts.TrySelect(Address, out var t, out var b, out var n, "CacheEntryHeap")) 84_CacheEntryHeap__value = default(TargetPointer?);
_generated\211\Microsoft_Diagnostics_DataContractReader_Data.WebcilHeader.g.cs (4)
28public TargetPointer Address { get; } 32partial void OnInit(Target target, TargetPointer address); 34public WebcilHeader(Target target, TargetPointer address) 42static WebcilHeader IData<WebcilHeader>.Create(Target target, TargetPointer address)
_generated\212\Microsoft_Diagnostics_DataContractReader_Data.WebcilSectionHeader.g.cs (4)
31public TargetPointer Address { get; } 35partial void OnInit(Target target, TargetPointer address); 37public WebcilSectionHeader(Target target, TargetPointer address) 45static WebcilSectionHeader IData<WebcilSectionHeader>.Create(Target target, TargetPointer address)
_generated\22\Microsoft_Diagnostics_DataContractReader_Data.ComMethodTable.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ComMethodTable(Target target, TargetPointer address) 52static ComMethodTable IData<ComMethodTable>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 72private TargetPointer _MethodTable__value = default!; 75public partial TargetPointer MethodTable 81_layouts.Select(Address, out var t, out var b, out var n, "MethodTable");
_generated\23\Microsoft_Diagnostics_DataContractReader_Data.ComWrappers.g.cs (8)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public ComWrappers(Target target, TargetPointer address) 30static ComWrappers IData<ComWrappers>.Create(Target target, TargetPointer address) 33public static partial TargetPointer? AllManagedObjectWrapperTable(Target target) 35if (TypeNameResolver.TryGetStaticFieldAddress(target, _typeNames, "s_allManagedObjectWrapperTable", out TargetPointer address)) 40public static partial TargetPointer? NativeObjectWrapperTable(Target target) 42if (TypeNameResolver.TryGetStaticFieldAddress(target, _typeNames, "s_nativeObjectWrapperTable", out TargetPointer address))
_generated\24\Microsoft_Diagnostics_DataContractReader_Data.ComWrappersVtablePtrs.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public ComWrappersVtablePtrs(Target target, TargetPointer address) 30static ComWrappersVtablePtrs IData<ComWrappersVtablePtrs>.Create(Target target, TargetPointer address)
_generated\25\Microsoft_Diagnostics_DataContractReader_Data.ConditionalWeakTable.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ConditionalWeakTable(Target target, TargetPointer address) 44static ConditionalWeakTable IData<ConditionalWeakTable>.Create(Target target, TargetPointer address) 47private TargetPointer _Container__value = default!; 50public partial TargetPointer Container 56_layouts.Select(Address, out var t, out var b, out var n, "_container", "Container");
_generated\26\Microsoft_Diagnostics_DataContractReader_Data.ConditionalWeakTableContainer.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ConditionalWeakTableContainer(Target target, TargetPointer address) 52static ConditionalWeakTableContainer IData<ConditionalWeakTableContainer>.Create(Target target, TargetPointer address) 55private TargetPointer _Buckets__value = default!; 58public partial TargetPointer Buckets 64_layouts.Select(Address, out var t, out var b, out var n, "_buckets", "Buckets"); 72private TargetPointer _Entries__value = default!; 75public partial TargetPointer Entries 81_layouts.Select(Address, out var t, out var b, out var n, "_entries", "Entries");
_generated\27\Microsoft_Diagnostics_DataContractReader_Data.ConditionalWeakTableEntry.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public ConditionalWeakTableEntry(Target target, TargetPointer address) 60static ConditionalWeakTableEntry IData<ConditionalWeakTableEntry>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "HashCode"); 89_layouts.Select(Address, out var t, out var b, out var n, "Next"); 97private TargetPointer _DepHndAddress__value = default!; 100public partial TargetPointer DepHndAddress 106_layouts.Select(Address, out var t, out var b, out var n, "depHnd", "DepHndAddress");
_generated\28\Microsoft_Diagnostics_DataContractReader_Data.ContinuationObject.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public ContinuationObject(Target target, TargetPointer address) 60static ContinuationObject IData<ContinuationObject>.Create(Target target, TargetPointer address) 63private TargetPointer _Next__value = default!; 66public partial TargetPointer Next 72_layouts.Select(Address, out var t, out var b, out var n, "Next"); 80private TargetPointer _ResumeInfo__value = default!; 83public partial TargetPointer ResumeInfo 89_layouts.Select(Address, out var t, out var b, out var n, "ResumeInfo"); 106_layouts.Select(Address, out var t, out var b, out var n, "State");
_generated\29\Microsoft_Diagnostics_DataContractReader_Data.CoreLibBinder.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public CoreLibBinder(Target target, TargetPointer address) 44static CoreLibBinder IData<CoreLibBinder>.Create(Target target, TargetPointer address) 47private TargetPointer _Classes__value = default!; 50public partial TargetPointer Classes 56_layouts.Select(Address, out var t, out var b, out var n, "Classes");
_generated\3\Microsoft_Diagnostics_DataContractReader_Data.Array.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public Array(Target target, TargetPointer address) 44static Array IData<Array>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "m_NumComponents", "NumComponents"); 64private TargetPointer _DataPointer__value = default!; 67public partial TargetPointer DataPointer
_generated\30\Microsoft_Diagnostics_DataContractReader_Data.CtxEntry.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public CtxEntry(Target target, TargetPointer address) 52static CtxEntry IData<CtxEntry>.Create(Target target, TargetPointer address) 55private TargetPointer _STAThread__value = default!; 58public partial TargetPointer STAThread 64_layouts.Select(Address, out var t, out var b, out var n, "STAThread"); 72private TargetPointer _CtxCookie__value = default!; 75public partial TargetPointer CtxCookie 81_layouts.Select(Address, out var t, out var b, out var n, "CtxCookie");
_generated\31\Microsoft_Diagnostics_DataContractReader_Data.Debugger.g.cs (17)
67public TargetPointer Address { get; } 73partial void OnInit(Target target, TargetPointer address); 75public Debugger(Target target, TargetPointer address) 84static Debugger IData<Debugger>.Create(Target target, TargetPointer address) 90_layouts.Select(Address, out var t, out var b, out var n, "RSRequestedSync"); 98_layouts.Select(Address, out var t, out var b, out var n, "SendExceptionsOutsideOfJMC"); 106_layouts.Select(Address, out var t, out var b, out var n, "GCNotificationEventsEnabled"); 120_layouts.Select(Address, out var t, out var b, out var n, "LeftSideInitialized"); 128private TargetPointer _RCThread__value = default!; 131public partial TargetPointer RCThread 137_layouts.Select(Address, out var t, out var b, out var n, "RCThread"); 154_layouts.Select(Address, out var t, out var b, out var n, "RSRequestedSync"); 176_layouts.Select(Address, out var t, out var b, out var n, "SendExceptionsOutsideOfJMC"); 198_layouts.Select(Address, out var t, out var b, out var n, "GCNotificationEventsEnabled"); 211private TargetPointer _RgHijackFunction__value = default!; 214public partial TargetPointer RgHijackFunction 220_layouts.Select(Address, out var t, out var b, out var n, "RgHijackFunction");
_generated\32\Microsoft_Diagnostics_DataContractReader_Data.DebuggerRCThread.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public DebuggerRCThread(Target target, TargetPointer address) 44static DebuggerRCThread IData<DebuggerRCThread>.Create(Target target, TargetPointer address) 47private TargetPointer _DCB__value = default!; 50public partial TargetPointer DCB 56_layouts.Select(Address, out var t, out var b, out var n, "DCB");
_generated\33\Microsoft_Diagnostics_DataContractReader_Data.Delegate.g.cs (13)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public Delegate(Target target, TargetPointer address) 76static Delegate IData<Delegate>.Create(Target target, TargetPointer address) 79private TargetPointer _HelperObject__value = default!; 82public partial TargetPointer HelperObject 88_layouts.Select(Address, out var t, out var b, out var n, "HelperObject"); 96private TargetPointer _Target__value = default!; 99public partial TargetPointer Target 105_layouts.Select(Address, out var t, out var b, out var n, "Target"); 122_layouts.Select(Address, out var t, out var b, out var n, "MethodPtr"); 139_layouts.Select(Address, out var t, out var b, out var n, "MethodPtrAux"); 156_layouts.Select(Address, out var t, out var b, out var n, "ExtraData");
_generated\34\Microsoft_Diagnostics_DataContractReader_Data.DynamicFunctionTable.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public DynamicFunctionTable(Target target, TargetPointer address) 52static DynamicFunctionTable IData<DynamicFunctionTable>.Create(Target target, TargetPointer address) 55private TargetPointer _MinimumAddress__value = default!; 58public partial TargetPointer MinimumAddress 64_layouts.Select(Address, out var t, out var b, out var n, "MinimumAddress"); 72private TargetPointer _Context__value = default!; 75public partial TargetPointer Context 81_layouts.Select(Address, out var t, out var b, out var n, "Context");
_generated\35\Microsoft_Diagnostics_DataContractReader_Data.DynamicILBlobEntry.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public DynamicILBlobEntry(Target target, TargetPointer address) 52static DynamicILBlobEntry IData<DynamicILBlobEntry>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "EntryMethodToken"); 72private TargetPointer _EntryIL__value = default!; 75public partial TargetPointer EntryIL 81_layouts.Select(Address, out var t, out var b, out var n, "EntryIL");
_generated\36\Microsoft_Diagnostics_DataContractReader_Data.DynamicMetadata.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public DynamicMetadata(Target target, TargetPointer address) 52static DynamicMetadata IData<DynamicMetadata>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Size"); 72private TargetPointer _Data__value = default!; 75public partial TargetPointer Data 81_layouts.Select(Address, out var t, out var b, out var n, "Data");
_generated\37\Microsoft_Diagnostics_DataContractReader_Data.DynamicStaticsInfo.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public DynamicStaticsInfo(Target target, TargetPointer address) 30static DynamicStaticsInfo IData<DynamicStaticsInfo>.Create(Target target, TargetPointer address)
_generated\38\Microsoft_Diagnostics_DataContractReader_Data.EditAndContinueHelperObject.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public EditAndContinueHelperObject(Target target, TargetPointer address) 44static EditAndContinueHelperObject IData<EditAndContinueHelperObject>.Create(Target target, TargetPointer address) 47private TargetPointer _ObjectReferenceAddress__value = default!; 50public partial TargetPointer ObjectReferenceAddress 56_layouts.Select(Address, out var t, out var b, out var n, "_objectReference", "ObjectReferenceAddress");
_generated\39\Microsoft_Diagnostics_DataContractReader_Data.EEAllocContext.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public EEAllocContext(Target target, TargetPointer address) 44static EEAllocContext IData<EEAllocContext>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "GCAllocationContext");
_generated\4\Microsoft_Diagnostics_DataContractReader_Data.ArrayListBase.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ArrayListBase(Target target, TargetPointer address) 52static ArrayListBase IData<ArrayListBase>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Count"); 72private TargetPointer _FirstBlock__value = default!; 75public partial TargetPointer FirstBlock 81_layouts.Select(Address, out var t, out var b, out var n, "FirstBlock");
_generated\40\Microsoft_Diagnostics_DataContractReader_Data.EEClass.g.cs (24)
115public TargetPointer Address { get; } 121partial void OnInit(Target target, TargetPointer address); 123public EEClass(Target target, TargetPointer address) 132static EEClass IData<EEClass>.Create(Target target, TargetPointer address) 135private TargetPointer _MethodTable__value = default!; 138public partial TargetPointer MethodTable 144_layouts.Select(Address, out var t, out var b, out var n, "MethodTable"); 152private TargetPointer _MethodDescChunk__value = default!; 155public partial TargetPointer MethodDescChunk 161_layouts.Select(Address, out var t, out var b, out var n, "MethodDescChunk"); 178_layouts.Select(Address, out var t, out var b, out var n, "NumMethods"); 195_layouts.Select(Address, out var t, out var b, out var n, "CorTypeAttr"); 212_layouts.Select(Address, out var t, out var b, out var n, "InternalCorElementType"); 229_layouts.Select(Address, out var t, out var b, out var n, "NumInstanceFields"); 246_layouts.Select(Address, out var t, out var b, out var n, "NumStaticFields"); 263_layouts.Select(Address, out var t, out var b, out var n, "NumThreadStaticFields"); 271private TargetPointer _FieldDescList__value = default!; 274public partial TargetPointer FieldDescList 280_layouts.Select(Address, out var t, out var b, out var n, "FieldDescList"); 297_layouts.Select(Address, out var t, out var b, out var n, "NumNonVirtualSlots"); 314_layouts.Select(Address, out var t, out var b, out var n, "BaseSizePadding"); 322private TargetPointer _OptionalFields__value = default!; 325public partial TargetPointer OptionalFields 331_layouts.Select(Address, out var t, out var b, out var n, "OptionalFields");
_generated\41\Microsoft_Diagnostics_DataContractReader_Data.EEClassOptionalFields.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public EEClassOptionalFields(Target target, TargetPointer address) 44static EEClassOptionalFields IData<EEClassOptionalFields>.Create(Target target, TargetPointer address) 56if (_layouts.TrySelect(Address, out var t, out var b, out var n, "EightByteRegistersInfo"))
_generated\42\Microsoft_Diagnostics_DataContractReader_Data.EEConfig.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public EEConfig(Target target, TargetPointer address) 44static EEConfig IData<EEConfig>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "ModifiableAssemblies");
_generated\43\Microsoft_Diagnostics_DataContractReader_Data.EEILException.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public EEILException(Target target, TargetPointer address) 44static EEILException IData<EEILException>.Create(Target target, TargetPointer address) 47private TargetPointer _Clauses__value = default!; 50public partial TargetPointer Clauses 56_layouts.Select(Address, out var t, out var b, out var n, "Clauses");
_generated\44\Microsoft_Diagnostics_DataContractReader_Data.EEJitManager.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public EEJitManager(Target target, TargetPointer address) 52static EEJitManager IData<EEJitManager>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "StoreRichDebugInfo"); 72private TargetPointer _AllCodeHeaps__value = default!; 75public partial TargetPointer AllCodeHeaps 81_layouts.Select(Address, out var t, out var b, out var n, "AllCodeHeaps");
_generated\45\Microsoft_Diagnostics_DataContractReader_Data.EETypeHashTable.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public EETypeHashTable(Target target, TargetPointer address) 30static EETypeHashTable IData<EETypeHashTable>.Create(Target target, TargetPointer address)
_generated\46\Microsoft_Diagnostics_DataContractReader_Data.EnCAddedField.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public EnCAddedField(Target target, TargetPointer address) 60static EnCAddedField IData<EnCAddedField>.Create(Target target, TargetPointer address) 63private TargetPointer _Next__value = default!; 66public partial TargetPointer Next 72_layouts.Select(Address, out var t, out var b, out var n, "Next"); 80private TargetPointer _FieldDesc__value = default!; 83public partial TargetPointer FieldDesc 89_layouts.Select(Address, out var t, out var b, out var n, "FieldDesc"); 106_layouts.Select(Address, out var t, out var b, out var n, "FieldData");
_generated\47\Microsoft_Diagnostics_DataContractReader_Data.EnCAddedFieldElement.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public EnCAddedFieldElement(Target target, TargetPointer address) 52static EnCAddedFieldElement IData<EnCAddedFieldElement>.Create(Target target, TargetPointer address) 55private TargetPointer _Next__value = default!; 58public partial TargetPointer Next 64_layouts.Select(Address, out var t, out var b, out var n, "Next"); 72private TargetPointer _FieldDesc__value = default!; 75public partial TargetPointer FieldDesc 81_layouts.Select(Address, out var t, out var b, out var n, "FieldDesc");
_generated\48\Microsoft_Diagnostics_DataContractReader_Data.EnCAddedStaticField.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public EnCAddedStaticField(Target target, TargetPointer address) 52static EnCAddedStaticField IData<EnCAddedStaticField>.Create(Target target, TargetPointer address) 55private TargetPointer _FieldDesc__value = default!; 58public partial TargetPointer FieldDesc 64_layouts.Select(Address, out var t, out var b, out var n, "FieldDesc"); 72private TargetPointer _FieldData__value = default!; 75public partial TargetPointer FieldData 81_layouts.Select(Address, out var t, out var b, out var n, "FieldData");
_generated\49\Microsoft_Diagnostics_DataContractReader_Data.EnCEEClassData.g.cs (13)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public EnCEEClassData(Target target, TargetPointer address) 60static EnCEEClassData IData<EnCEEClassData>.Create(Target target, TargetPointer address) 63private TargetPointer _MethodTable__value = default!; 66public partial TargetPointer MethodTable 72_layouts.Select(Address, out var t, out var b, out var n, "MethodTable"); 80private TargetPointer _AddedInstanceFields__value = default!; 83public partial TargetPointer AddedInstanceFields 89_layouts.Select(Address, out var t, out var b, out var n, "AddedInstanceFields"); 97private TargetPointer _AddedStaticFields__value = default!; 100public partial TargetPointer AddedStaticFields 106_layouts.Select(Address, out var t, out var b, out var n, "AddedStaticFields");
_generated\5\Microsoft_Diagnostics_DataContractReader_Data.ArrayListBlock.g.cs (11)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public ArrayListBlock(Target target, TargetPointer address) 60static ArrayListBlock IData<ArrayListBlock>.Create(Target target, TargetPointer address) 63private TargetPointer _Next__value = default!; 66public partial TargetPointer Next 72_layouts.Select(Address, out var t, out var b, out var n, "Next"); 89_layouts.Select(Address, out var t, out var b, out var n, "Size"); 97private TargetPointer _ArrayStart__value = default!; 100public partial TargetPointer ArrayStart 106_layouts.Select(Address, out var t, out var b, out var n, "ArrayStart");
_generated\50\Microsoft_Diagnostics_DataContractReader_Data.EnCFieldDesc.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public EnCFieldDesc(Target target, TargetPointer address) 52static EnCFieldDesc IData<EnCFieldDesc>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "NeedsFixup"); 72private TargetPointer _StaticFieldData__value = default!; 75public partial TargetPointer StaticFieldData 81_layouts.Select(Address, out var t, out var b, out var n, "StaticFieldData");
_generated\51\Microsoft_Diagnostics_DataContractReader_Data.EnCSyncBlockInfo.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public EnCSyncBlockInfo(Target target, TargetPointer address) 44static EnCSyncBlockInfo IData<EnCSyncBlockInfo>.Create(Target target, TargetPointer address) 47private TargetPointer _List__value = default!; 50public partial TargetPointer List 56_layouts.Select(Address, out var t, out var b, out var n, "List");
_generated\52\Microsoft_Diagnostics_DataContractReader_Data.Exception.g.cs (24)
83public TargetPointer Address { get; } 89partial void OnInit(Target target, TargetPointer address); 91public Exception(Target target, TargetPointer address) 100static Exception IData<Exception>.Create(Target target, TargetPointer address) 103private TargetPointer _Message__value = default!; 106public partial TargetPointer Message 112_layouts.Select(Address, out var t, out var b, out var n, "_message", "Message"); 120private TargetPointer _InnerException__value = default!; 123public partial TargetPointer InnerException 129_layouts.Select(Address, out var t, out var b, out var n, "_innerException", "InnerException"); 137private TargetPointer _StackTrace__value = default!; 140public partial TargetPointer StackTrace 146_layouts.Select(Address, out var t, out var b, out var n, "_stackTrace", "StackTrace"); 154private TargetPointer _WatsonBuckets__value = default!; 157public partial TargetPointer WatsonBuckets 163_layouts.Select(Address, out var t, out var b, out var n, "_watsonBuckets", "WatsonBuckets"); 171private TargetPointer _StackTraceString__value = default!; 174public partial TargetPointer StackTraceString 180_layouts.Select(Address, out var t, out var b, out var n, "_stackTraceString", "StackTraceString"); 188private TargetPointer _RemoteStackTraceString__value = default!; 191public partial TargetPointer RemoteStackTraceString 197_layouts.Select(Address, out var t, out var b, out var n, "_remoteStackTraceString", "RemoteStackTraceString"); 214_layouts.Select(Address, out var t, out var b, out var n, "_HResult", "HResult"); 231_layouts.Select(Address, out var t, out var b, out var n, "_xcode", "XCode");
_generated\53\Microsoft_Diagnostics_DataContractReader_Data.EEExceptionClause.g.cs (10)
67public TargetPointer Address { get; } 73partial void OnInit(Target target, TargetPointer address); 75public EEExceptionClause(Target target, TargetPointer address) 84static EEExceptionClause IData<EEExceptionClause>.Create(Target target, TargetPointer address) 96_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 113_layouts.Select(Address, out var t, out var b, out var n, "TryStartPC"); 130_layouts.Select(Address, out var t, out var b, out var n, "TryEndPC"); 147_layouts.Select(Address, out var t, out var b, out var n, "HandlerStartPC"); 164_layouts.Select(Address, out var t, out var b, out var n, "HandlerEndPC"); 181_layouts.Select(Address, out var t, out var b, out var n, "TypeHandle");
_generated\54\Microsoft_Diagnostics_DataContractReader_Data.R2RExceptionClause.g.cs (10)
67public TargetPointer Address { get; } 73partial void OnInit(Target target, TargetPointer address); 75public R2RExceptionClause(Target target, TargetPointer address) 84static R2RExceptionClause IData<R2RExceptionClause>.Create(Target target, TargetPointer address) 96_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 113_layouts.Select(Address, out var t, out var b, out var n, "TryStartPC"); 130_layouts.Select(Address, out var t, out var b, out var n, "TryEndPC"); 147_layouts.Select(Address, out var t, out var b, out var n, "HandlerStartPC"); 164_layouts.Select(Address, out var t, out var b, out var n, "HandlerEndPC"); 181_layouts.Select(Address, out var t, out var b, out var n, "ClassToken");
_generated\55\Microsoft_Diagnostics_DataContractReader_Data.ExceptionInfo.g.cs (39)
131public TargetPointer Address { get; } 137partial void OnInit(Target target, TargetPointer address); 139public ExceptionInfo(Target target, TargetPointer address) 148static ExceptionInfo IData<ExceptionInfo>.Create(Target target, TargetPointer address) 151private TargetPointer _PreviousNestedInfo__value = default!; 154public partial TargetPointer PreviousNestedInfo 160_layouts.Select(Address, out var t, out var b, out var n, "PreviousNestedInfo"); 168private TargetPointer _ThrownObject__value = default!; 171public partial TargetPointer ThrownObject 177_layouts.Select(Address, out var t, out var b, out var n, "ThrownObject"); 194_layouts.Select(Address, out var t, out var b, out var n, "ExceptionFlags"); 202private TargetPointer _StackLowBound__value = default!; 205public partial TargetPointer StackLowBound 211_layouts.Select(Address, out var t, out var b, out var n, "StackLowBound"); 219private TargetPointer _StackHighBound__value = default!; 222public partial TargetPointer StackHighBound 228_layouts.Select(Address, out var t, out var b, out var n, "StackHighBound"); 236private TargetPointer _ExceptionRecord__value = default!; 239public partial TargetPointer ExceptionRecord 245_layouts.Select(Address, out var t, out var b, out var n, "ExceptionRecord"); 253private TargetPointer _ContextRecord__value = default!; 256public partial TargetPointer ContextRecord 262_layouts.Select(Address, out var t, out var b, out var n, "ContextRecord"); 270private TargetPointer? _ExceptionWatsonBucketTrackerBuckets__value = default!; 273public partial TargetPointer? ExceptionWatsonBucketTrackerBuckets 279if (_layouts.TrySelect(Address, out var t, out var b, out var n, "ExceptionWatsonBucketTrackerBuckets")) 282_ExceptionWatsonBucketTrackerBuckets__value = default(TargetPointer?); 298_layouts.Select(Address, out var t, out var b, out var n, "PassNumber"); 306private TargetPointer _CSFEHClause__value = default!; 309public partial TargetPointer CSFEHClause 315_layouts.Select(Address, out var t, out var b, out var n, "CSFEHClause"); 323private TargetPointer _CSFEnclosingClause__value = default!; 326public partial TargetPointer CSFEnclosingClause 332_layouts.Select(Address, out var t, out var b, out var n, "CSFEnclosingClause"); 340private TargetPointer _CallerOfActualHandlerFrame__value = default!; 343public partial TargetPointer CallerOfActualHandlerFrame 349_layouts.Select(Address, out var t, out var b, out var n, "CallerOfActualHandlerFrame"); 366_layouts.Select(Address, out var t, out var b, out var n, "ClauseForCatchHandlerStartPC"); 383_layouts.Select(Address, out var t, out var b, out var n, "ClauseForCatchHandlerEndPC");
_generated\56\Microsoft_Diagnostics_DataContractReader_Data.ExceptionLookupTableEntry.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ExceptionLookupTableEntry(Target target, TargetPointer address) 52static ExceptionLookupTableEntry IData<ExceptionLookupTableEntry>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "MethodStartRVA"); 81_layouts.Select(Address, out var t, out var b, out var n, "ExceptionInfoRVA");
_generated\57\Microsoft_Diagnostics_DataContractReader_Data.FieldDesc.g.cs (9)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public FieldDesc(Target target, TargetPointer address) 60static FieldDesc IData<FieldDesc>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "DWord1"); 89_layouts.Select(Address, out var t, out var b, out var n, "DWord2"); 97private TargetPointer _MTOfEnclosingClass__value = default!; 100public partial TargetPointer MTOfEnclosingClass 106_layouts.Select(Address, out var t, out var b, out var n, "MTOfEnclosingClass");
_generated\58\Microsoft_Diagnostics_DataContractReader_Data.FixupPrecodeData.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public FixupPrecodeData(Target target, TargetPointer address) 44static FixupPrecodeData IData<FixupPrecodeData>.Create(Target target, TargetPointer address) 47private TargetPointer _MethodDesc__value = default!; 50public partial TargetPointer MethodDesc 56_layouts.Select(Address, out var t, out var b, out var n, "MethodDesc");
_generated\59\Microsoft_Diagnostics_DataContractReader_Data.ArgumentRegisters.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public ArgumentRegisters(Target target, TargetPointer address) 30static ArgumentRegisters IData<ArgumentRegisters>.Create(Target target, TargetPointer address)
_generated\6\Microsoft_Diagnostics_DataContractReader_Data.Assembly.g.cs (14)
67public TargetPointer Address { get; } 73partial void OnInit(Target target, TargetPointer address); 75public Assembly(Target target, TargetPointer address) 84static Assembly IData<Assembly>.Create(Target target, TargetPointer address) 87private TargetPointer _Module__value = default!; 90public partial TargetPointer Module 96_layouts.Select(Address, out var t, out var b, out var n, "Module"); 113_layouts.Select(Address, out var t, out var b, out var n, "IsCollectible"); 130_layouts.Select(Address, out var t, out var b, out var n, "IsDynamic"); 138private TargetPointer _Error__value = default!; 141public partial TargetPointer Error 147_layouts.Select(Address, out var t, out var b, out var n, "Error"); 164_layouts.Select(Address, out var t, out var b, out var n, "NotifyFlags"); 181_layouts.Select(Address, out var t, out var b, out var n, "IsLoaded");
_generated\60\Microsoft_Diagnostics_DataContractReader_Data.CalleeSavedRegisters.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public CalleeSavedRegisters(Target target, TargetPointer address) 30static CalleeSavedRegisters IData<CalleeSavedRegisters>.Create(Target target, TargetPointer address)
_generated\61\Microsoft_Diagnostics_DataContractReader_Data.DebuggerEval.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public DebuggerEval(Target target, TargetPointer address) 68static DebuggerEval IData<DebuggerEval>.Create(Target target, TargetPointer address) 71private TargetPointer _TargetContext__value = default!; 74public partial TargetPointer TargetContext 80_layouts.Select(Address, out var t, out var b, out var n, "TargetContext"); 97_layouts.Select(Address, out var t, out var b, out var n, "EvalUsesHijack"); 114_layouts.Select(Address, out var t, out var b, out var n, "MethodToken"); 122private TargetPointer _AssemblyPtr__value = default!; 125public partial TargetPointer AssemblyPtr 131_layouts.Select(Address, out var t, out var b, out var n, "AssemblyPtr");
_generated\62\Microsoft_Diagnostics_DataContractReader_Data.DynamicHelperFrame.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public DynamicHelperFrame(Target target, TargetPointer address) 44static DynamicHelperFrame IData<DynamicHelperFrame>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "DynamicHelperFrameFlags");
_generated\63\Microsoft_Diagnostics_DataContractReader_Data.ExternalMethodFrame.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ExternalMethodFrame(Target target, TargetPointer address) 44static ExternalMethodFrame IData<ExternalMethodFrame>.Create(Target target, TargetPointer address) 47private TargetPointer _Indirection__value = default!; 50public partial TargetPointer Indirection 56_layouts.Select(Address, out var t, out var b, out var n, "Indirection");
_generated\64\Microsoft_Diagnostics_DataContractReader_Data.FaultingExceptionFrame.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public FaultingExceptionFrame(Target target, TargetPointer address) 44static FaultingExceptionFrame IData<FaultingExceptionFrame>.Create(Target target, TargetPointer address) 47private TargetPointer _TargetContext__value = default!; 50public partial TargetPointer TargetContext 56_layouts.Select(Address, out var t, out var b, out var n, "TargetContext");
_generated\65\Microsoft_Diagnostics_DataContractReader_Data.Frame.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public Frame(Target target, TargetPointer address) 44static Frame IData<Frame>.Create(Target target, TargetPointer address) 47private TargetPointer _Next__value = default!; 50public partial TargetPointer Next 56_layouts.Select(Address, out var t, out var b, out var n, "Next");
_generated\66\Microsoft_Diagnostics_DataContractReader_Data.FramedMethodFrame.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public FramedMethodFrame(Target target, TargetPointer address) 52static FramedMethodFrame IData<FramedMethodFrame>.Create(Target target, TargetPointer address) 55private TargetPointer _TransitionBlockPtr__value = default!; 58public partial TargetPointer TransitionBlockPtr 64_layouts.Select(Address, out var t, out var b, out var n, "TransitionBlockPtr"); 72private TargetPointer _MethodDescPtr__value = default!; 75public partial TargetPointer MethodDescPtr 81_layouts.Select(Address, out var t, out var b, out var n, "MethodDescPtr");
_generated\67\Microsoft_Diagnostics_DataContractReader_Data.FuncEvalFrame.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public FuncEvalFrame(Target target, TargetPointer address) 52static FuncEvalFrame IData<FuncEvalFrame>.Create(Target target, TargetPointer address) 55private TargetPointer _DebuggerEvalPtr__value = default!; 58public partial TargetPointer DebuggerEvalPtr 64_layouts.Select(Address, out var t, out var b, out var n, "DebuggerEvalPtr"); 81_layouts.Select(Address, out var t, out var b, out var n, "ReturnAddress");
_generated\68\Microsoft_Diagnostics_DataContractReader_Data.HijackArgs.g.cs (4)
19public TargetPointer Address { get; } 21partial void OnInit(Target target, TargetPointer address); 23public HijackArgs(Target target, TargetPointer address) 30static HijackArgs IData<HijackArgs>.Create(Target target, TargetPointer address)
_generated\69\Microsoft_Diagnostics_DataContractReader_Data.HijackArgsAMD64.g.cs (11)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public HijackArgsAMD64(Target target, TargetPointer address) 52static HijackArgsAMD64 IData<HijackArgsAMD64>.Create(Target target, TargetPointer address) 55private TargetPointer _CalleeSavedRegisters__value = default!; 58public partial TargetPointer CalleeSavedRegisters 64_layouts.Select(Address, out var t, out var b, out var n, "CalleeSavedRegisters"); 72private TargetPointer? _Rsp__value = default!; 75public partial TargetPointer? Rsp 81if (_layouts.TrySelect(Address, out var t, out var b, out var n, "Rsp")) 84_Rsp__value = default(TargetPointer?);
_generated\7\Microsoft_Diagnostics_DataContractReader_Data.AssemblyBinder.g.cs (5)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public AssemblyBinder(Target target, TargetPointer address) 44static AssemblyBinder IData<AssemblyBinder>.Create(Target target, TargetPointer address) 56_layouts.Select(Address, out var t, out var b, out var n, "AssemblyLoadContext");
_generated\70\Microsoft_Diagnostics_DataContractReader_Data.HijackFrame.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public HijackFrame(Target target, TargetPointer address) 52static HijackFrame IData<HijackFrame>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "ReturnAddress"); 72private TargetPointer _HijackArgsPtr__value = default!; 75public partial TargetPointer HijackArgsPtr 81_layouts.Select(Address, out var t, out var b, out var n, "HijackArgsPtr");
_generated\71\Microsoft_Diagnostics_DataContractReader_Data.InlinedCallFrame.g.cs (18)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public InlinedCallFrame(Target target, TargetPointer address) 76static InlinedCallFrame IData<InlinedCallFrame>.Create(Target target, TargetPointer address) 79private TargetPointer _CallSiteSP__value = default!; 82public partial TargetPointer CallSiteSP 88_layouts.Select(Address, out var t, out var b, out var n, "CallSiteSP"); 105_layouts.Select(Address, out var t, out var b, out var n, "CallerReturnAddress"); 113private TargetPointer _CalleeSavedFP__value = default!; 116public partial TargetPointer CalleeSavedFP 122_layouts.Select(Address, out var t, out var b, out var n, "CalleeSavedFP"); 130private TargetPointer? _SPAfterProlog__value = default!; 133public partial TargetPointer? SPAfterProlog 139if (_layouts.TrySelect(Address, out var t, out var b, out var n, "SPAfterProlog")) 142_SPAfterProlog__value = default(TargetPointer?); 149private TargetPointer _Datum__value = default!; 152public partial TargetPointer Datum 158_layouts.Select(Address, out var t, out var b, out var n, "Datum");
_generated\72\Microsoft_Diagnostics_DataContractReader_Data.PInvokeCalliFrame.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public PInvokeCalliFrame(Target target, TargetPointer address) 44static PInvokeCalliFrame IData<PInvokeCalliFrame>.Create(Target target, TargetPointer address) 47private TargetPointer _VASigCookiePtr__value = default!; 50public partial TargetPointer VASigCookiePtr 56_layouts.Select(Address, out var t, out var b, out var n, "VASigCookiePtr");
_generated\73\Microsoft_Diagnostics_DataContractReader_Data.ResumableFrame.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public ResumableFrame(Target target, TargetPointer address) 44static ResumableFrame IData<ResumableFrame>.Create(Target target, TargetPointer address) 47private TargetPointer _TargetContextPtr__value = default!; 50public partial TargetPointer TargetContextPtr 56_layouts.Select(Address, out var t, out var b, out var n, "TargetContextPtr");
_generated\74\Microsoft_Diagnostics_DataContractReader_Data.SoftwareExceptionFrame.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public SoftwareExceptionFrame(Target target, TargetPointer address) 52static SoftwareExceptionFrame IData<SoftwareExceptionFrame>.Create(Target target, TargetPointer address) 55private TargetPointer _TargetContext__value = default!; 58public partial TargetPointer TargetContext 64_layouts.Select(Address, out var t, out var b, out var n, "TargetContext"); 81_layouts.Select(Address, out var t, out var b, out var n, "ReturnAddress");
_generated\75\Microsoft_Diagnostics_DataContractReader_Data.StubDispatchFrame.g.cs (14)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public StubDispatchFrame(Target target, TargetPointer address) 68static StubDispatchFrame IData<StubDispatchFrame>.Create(Target target, TargetPointer address) 71private TargetPointer _MethodDescPtr__value = default!; 74public partial TargetPointer MethodDescPtr 80_layouts.Select(Address, out var t, out var b, out var n, "MethodDescPtr"); 88private TargetPointer _RepresentativeMTPtr__value = default!; 91public partial TargetPointer RepresentativeMTPtr 97_layouts.Select(Address, out var t, out var b, out var n, "RepresentativeMTPtr"); 114_layouts.Select(Address, out var t, out var b, out var n, "RepresentativeSlot"); 122private TargetPointer _Indirection__value = default!; 125public partial TargetPointer Indirection 131_layouts.Select(Address, out var t, out var b, out var n, "Indirection");
_generated\76\Microsoft_Diagnostics_DataContractReader_Data.TailCallFrame.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public TailCallFrame(Target target, TargetPointer address) 52static TailCallFrame IData<TailCallFrame>.Create(Target target, TargetPointer address) 55private TargetPointer _CalleeSavedRegisters__value = default!; 58public partial TargetPointer CalleeSavedRegisters 64_layouts.Select(Address, out var t, out var b, out var n, "CalleeSavedRegisters"); 81_layouts.Select(Address, out var t, out var b, out var n, "ReturnAddress");
_generated\77\Microsoft_Diagnostics_DataContractReader_Data.TransitionBlock.g.cs (16)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public TransitionBlock(Target target, TargetPointer address) 68static TransitionBlock IData<TransitionBlock>.Create(Target target, TargetPointer address) 80_layouts.Select(Address, out var t, out var b, out var n, "ReturnAddress"); 88private TargetPointer _CalleeSavedRegisters__value = default!; 91public partial TargetPointer CalleeSavedRegisters 97_layouts.Select(Address, out var t, out var b, out var n, "CalleeSavedRegisters"); 105private TargetPointer _ArgumentRegisters__value = default!; 108public partial TargetPointer ArgumentRegisters 114_layouts.Select(Address, out var t, out var b, out var n, "ArgumentRegisters"); 122private TargetPointer _FirstGCRefMapSlot__value = default!; 125public partial TargetPointer FirstGCRefMapSlot 131_layouts.Select(Address, out var t, out var b, out var n, "FirstGCRefMapSlot"); 139private TargetPointer _OffsetOfArgs__value = default!; 142public partial TargetPointer OffsetOfArgs
_generated\78\Microsoft_Diagnostics_DataContractReader_Data.FunctionTableIndexRangeSection.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public FunctionTableIndexRangeSection(Target target, TargetPointer address) 68static FunctionTableIndexRangeSection IData<FunctionTableIndexRangeSection>.Create(Target target, TargetPointer address) 80_layouts.Select(Address, out var t, out var b, out var n, "MinFunctionTableIndex"); 97_layouts.Select(Address, out var t, out var b, out var n, "NumRuntimeFunctions"); 105private TargetPointer _R2RModule__value = default!; 108public partial TargetPointer R2RModule 114_layouts.Select(Address, out var t, out var b, out var n, "R2RModule"); 122private TargetPointer _Next__value = default!; 125public partial TargetPointer Next 131_layouts.Select(Address, out var t, out var b, out var n, "Next");
_generated\79\Microsoft_Diagnostics_DataContractReader_Data.CFinalize.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public CFinalize(Target target, TargetPointer address) 44static CFinalize IData<CFinalize>.Create(Target target, TargetPointer address) 47private TargetPointer _FillPointers__value = default!; 50public partial TargetPointer FillPointers 56_layouts.Select(Address, out var t, out var b, out var n, "FillPointers");
_generated\8\Microsoft_Diagnostics_DataContractReader_Data.AsyncMethodData.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public AsyncMethodData(Target target, TargetPointer address) 52static AsyncMethodData IData<AsyncMethodData>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 81_layouts.Select(Address, out var t, out var b, out var n, "Signature");
_generated\80\Microsoft_Diagnostics_DataContractReader_Data.GCHeapSVR.g.cs (74)
195public TargetPointer Address { get; } 201partial void OnInit(Target target, TargetPointer address); 203public GCHeapSVR(Target target, TargetPointer address) 212static GCHeapSVR IData<GCHeapSVR>.Create(Target target, TargetPointer address) 215private TargetPointer? _MarkArray__value = default!; 218public partial TargetPointer? MarkArray 224if (_layouts.TrySelect(Address, out var t, out var b, out var n, "MarkArray")) 227_MarkArray__value = default(TargetPointer?); 234private TargetPointer? _NextSweepObj__value = default!; 237public partial TargetPointer? NextSweepObj 243if (_layouts.TrySelect(Address, out var t, out var b, out var n, "NextSweepObj")) 246_NextSweepObj__value = default(TargetPointer?); 253private TargetPointer? _BackgroundMinSavedAddr__value = default!; 256public partial TargetPointer? BackgroundMinSavedAddr 262if (_layouts.TrySelect(Address, out var t, out var b, out var n, "BackgroundMinSavedAddr")) 265_BackgroundMinSavedAddr__value = default(TargetPointer?); 272private TargetPointer? _BackgroundMaxSavedAddr__value = default!; 275public partial TargetPointer? BackgroundMaxSavedAddr 281if (_layouts.TrySelect(Address, out var t, out var b, out var n, "BackgroundMaxSavedAddr")) 284_BackgroundMaxSavedAddr__value = default(TargetPointer?); 291private TargetPointer _AllocAllocated__value = default!; 294public partial TargetPointer AllocAllocated 300_layouts.Select(Address, out var t, out var b, out var n, "AllocAllocated"); 308private TargetPointer _EphemeralHeapSegment__value = default!; 311public partial TargetPointer EphemeralHeapSegment 317_layouts.Select(Address, out var t, out var b, out var n, "EphemeralHeapSegment"); 325private TargetPointer _CardTable__value = default!; 328public partial TargetPointer CardTable 334_layouts.Select(Address, out var t, out var b, out var n, "CardTable"); 342private TargetPointer _FinalizeQueue__value = default!; 345public partial TargetPointer FinalizeQueue 351_layouts.Select(Address, out var t, out var b, out var n, "FinalizeQueue"); 359private TargetPointer _GenerationTable__value = default!; 362public partial TargetPointer GenerationTable 368_layouts.Select(Address, out var t, out var b, out var n, "GenerationTable"); 376private TargetPointer? _SavedSweepEphemeralSeg__value = default!; 379public partial TargetPointer? SavedSweepEphemeralSeg 385if (_layouts.TrySelect(Address, out var t, out var b, out var n, "SavedSweepEphemeralSeg")) 388_SavedSweepEphemeralSeg__value = default(TargetPointer?); 395private TargetPointer? _SavedSweepEphemeralStart__value = default!; 398public partial TargetPointer? SavedSweepEphemeralStart 404if (_layouts.TrySelect(Address, out var t, out var b, out var n, "SavedSweepEphemeralStart")) 407_SavedSweepEphemeralStart__value = default(TargetPointer?); 423_layouts.Select(Address, out var t, out var b, out var n, "OomData"); 431private TargetPointer? _InternalRootArray__value = default!; 434public partial TargetPointer? InternalRootArray 440if (_layouts.TrySelect(Address, out var t, out var b, out var n, "InternalRootArray")) 443_InternalRootArray__value = default(TargetPointer?); 459if (_layouts.TrySelect(Address, out var t, out var b, out var n, "InternalRootArrayIndex")) 478if (_layouts.TrySelect(Address, out var t, out var b, out var n, "HeapAnalyzeSuccess")) 488private TargetPointer _InterestingData__value = default!; 491public partial TargetPointer InterestingData 497_layouts.Select(Address, out var t, out var b, out var n, "InterestingData"); 505private TargetPointer _CompactReasons__value = default!; 508public partial TargetPointer CompactReasons 514_layouts.Select(Address, out var t, out var b, out var n, "CompactReasons"); 522private TargetPointer _ExpandMechanisms__value = default!; 525public partial TargetPointer ExpandMechanisms 531_layouts.Select(Address, out var t, out var b, out var n, "ExpandMechanisms"); 539private TargetPointer _InterestingMechanismBits__value = default!; 542public partial TargetPointer InterestingMechanismBits 548_layouts.Select(Address, out var t, out var b, out var n, "InterestingMechanismBits"); 556private TargetPointer? _FreeableSohSegment__value = default!; 559public partial TargetPointer? FreeableSohSegment 565if (_layouts.TrySelect(Address, out var t, out var b, out var n, "FreeableSohSegment")) 568_FreeableSohSegment__value = default(TargetPointer?); 575private TargetPointer? _FreeableUohSegment__value = default!; 578public partial TargetPointer? FreeableUohSegment 584if (_layouts.TrySelect(Address, out var t, out var b, out var n, "FreeableUohSegment")) 587_FreeableUohSegment__value = default(TargetPointer?); 594private TargetPointer? _FreeRegions__value = default!; 597public partial TargetPointer? FreeRegions 603if (_layouts.TrySelect(Address, out var t, out var b, out var n, "FreeRegions")) 606_FreeRegions__value = default(TargetPointer?);
_generated\81\Microsoft_Diagnostics_DataContractReader_Data.Generation.g.cs (12)
43public TargetPointer Address { get; } 49partial void OnInit(Target target, TargetPointer address); 51public Generation(Target target, TargetPointer address) 60static Generation IData<Generation>.Create(Target target, TargetPointer address) 72_layouts.Select(Address, out var t, out var b, out var n, "AllocationContext"); 80private TargetPointer _StartSegment__value = default!; 83public partial TargetPointer StartSegment 89_layouts.Select(Address, out var t, out var b, out var n, "StartSegment"); 97private TargetPointer? _AllocationStart__value = default!; 100public partial TargetPointer? AllocationStart 106if (_layouts.TrySelect(Address, out var t, out var b, out var n, "AllocationStart")) 109_AllocationStart__value = default(TargetPointer?);
_generated\82\Microsoft_Diagnostics_DataContractReader_Data.HeapSegment.g.cs (30)
91public TargetPointer Address { get; } 97partial void OnInit(Target target, TargetPointer address); 99public HeapSegment(Target target, TargetPointer address) 108static HeapSegment IData<HeapSegment>.Create(Target target, TargetPointer address) 111private TargetPointer _Allocated__value = default!; 114public partial TargetPointer Allocated 120_layouts.Select(Address, out var t, out var b, out var n, "Allocated"); 128private TargetPointer _Committed__value = default!; 131public partial TargetPointer Committed 137_layouts.Select(Address, out var t, out var b, out var n, "Committed"); 145private TargetPointer _Reserved__value = default!; 148public partial TargetPointer Reserved 154_layouts.Select(Address, out var t, out var b, out var n, "Reserved"); 162private TargetPointer _Used__value = default!; 165public partial TargetPointer Used 171_layouts.Select(Address, out var t, out var b, out var n, "Used"); 179private TargetPointer _Mem__value = default!; 182public partial TargetPointer Mem 188_layouts.Select(Address, out var t, out var b, out var n, "Mem"); 205_layouts.Select(Address, out var t, out var b, out var n, "Flags"); 213private TargetPointer _Next__value = default!; 216public partial TargetPointer Next 222_layouts.Select(Address, out var t, out var b, out var n, "Next"); 230private TargetPointer _BackgroundAllocated__value = default!; 233public partial TargetPointer BackgroundAllocated 239_layouts.Select(Address, out var t, out var b, out var n, "BackgroundAllocated"); 247private TargetPointer? _Heap__value = default!; 250public partial TargetPointer? Heap 256if (_layouts.TrySelect(Address, out var t, out var b, out var n, "Heap")) 259_Heap__value = default(TargetPointer?);
_generated\83\Microsoft_Diagnostics_DataContractReader_Data.OomHistory.g.cs (17)
91public TargetPointer Address { get; } 97partial void OnInit(Target target, TargetPointer address); 99public OomHistory(Target target, TargetPointer address) 108static OomHistory IData<OomHistory>.Create(Target target, TargetPointer address) 120_layouts.Select(Address, out var t, out var b, out var n, "Reason"); 137_layouts.Select(Address, out var t, out var b, out var n, "AllocSize"); 145private TargetPointer _Reserved__value = default!; 148public partial TargetPointer Reserved 154_layouts.Select(Address, out var t, out var b, out var n, "Reserved"); 162private TargetPointer _Allocated__value = default!; 165public partial TargetPointer Allocated 171_layouts.Select(Address, out var t, out var b, out var n, "Allocated"); 188_layouts.Select(Address, out var t, out var b, out var n, "GcIndex"); 205_layouts.Select(Address, out var t, out var b, out var n, "Fgm"); 222_layouts.Select(Address, out var t, out var b, out var n, "Size"); 239_layouts.Select(Address, out var t, out var b, out var n, "AvailablePagefileMb"); 256_layouts.Select(Address, out var t, out var b, out var n, "LohP");
_generated\84\Microsoft_Diagnostics_DataContractReader_Data.GCAllocContext.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public GCAllocContext(Target target, TargetPointer address) 68static GCAllocContext IData<GCAllocContext>.Create(Target target, TargetPointer address) 71private TargetPointer _Pointer__value = default!; 74public partial TargetPointer Pointer 80_layouts.Select(Address, out var t, out var b, out var n, "Pointer"); 88private TargetPointer _Limit__value = default!; 91public partial TargetPointer Limit 97_layouts.Select(Address, out var t, out var b, out var n, "Limit"); 114_layouts.Select(Address, out var t, out var b, out var n, "AllocBytes"); 131_layouts.Select(Address, out var t, out var b, out var n, "AllocBytesLoh");
_generated\85\Microsoft_Diagnostics_DataContractReader_Data.GCCoverageInfo.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public GCCoverageInfo(Target target, TargetPointer address) 44static GCCoverageInfo IData<GCCoverageInfo>.Create(Target target, TargetPointer address) 47private TargetPointer _SavedCode__value = default!; 50public partial TargetPointer SavedCode 56_layouts.Select(Address, out var t, out var b, out var n, "SavedCode");
_generated\86\Microsoft_Diagnostics_DataContractReader_Data.GCFrame.g.cs (12)
51public TargetPointer Address { get; } 57partial void OnInit(Target target, TargetPointer address); 59public GCFrame(Target target, TargetPointer address) 68static GCFrame IData<GCFrame>.Create(Target target, TargetPointer address) 71private TargetPointer _Next__value = default!; 74public partial TargetPointer Next 80_layouts.Select(Address, out var t, out var b, out var n, "Next"); 88private TargetPointer _ObjRefs__value = default!; 91public partial TargetPointer ObjRefs 97_layouts.Select(Address, out var t, out var b, out var n, "ObjRefs"); 114_layouts.Select(Address, out var t, out var b, out var n, "NumObjRefs"); 131_layouts.Select(Address, out var t, out var b, out var n, "GCFlags");
_generated\87\Microsoft_Diagnostics_DataContractReader_Data.GenericsDictInfo.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public GenericsDictInfo(Target target, TargetPointer address) 52static GenericsDictInfo IData<GenericsDictInfo>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "NumDicts"); 81_layouts.Select(Address, out var t, out var b, out var n, "NumTypeArgs");
_generated\88\Microsoft_Diagnostics_DataContractReader_Data.HandleTable.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public HandleTable(Target target, TargetPointer address) 44static HandleTable IData<HandleTable>.Create(Target target, TargetPointer address) 47private TargetPointer _SegmentList__value = default!; 50public partial TargetPointer SegmentList 56_layouts.Select(Address, out var t, out var b, out var n, "SegmentList");
_generated\89\Microsoft_Diagnostics_DataContractReader_Data.HandleTableBucket.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public HandleTableBucket(Target target, TargetPointer address) 44static HandleTableBucket IData<HandleTableBucket>.Create(Target target, TargetPointer address) 47private TargetPointer _Table__value = default!; 50public partial TargetPointer Table 56_layouts.Select(Address, out var t, out var b, out var n, "Table");
_generated\9\Microsoft_Diagnostics_DataContractReader_Data.AsyncResumeInfo.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public AsyncResumeInfo(Target target, TargetPointer address) 44static AsyncResumeInfo IData<AsyncResumeInfo>.Create(Target target, TargetPointer address) 47private TargetPointer _DiagnosticIP__value = default!; 50public partial TargetPointer DiagnosticIP 56_layouts.Select(Address, out var t, out var b, out var n, "DiagnosticIP");
_generated\90\Microsoft_Diagnostics_DataContractReader_Data.HandleTableMap.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public HandleTableMap(Target target, TargetPointer address) 44static HandleTableMap IData<HandleTableMap>.Create(Target target, TargetPointer address) 47private TargetPointer _Next__value = default!; 50public partial TargetPointer Next 56_layouts.Select(Address, out var t, out var b, out var n, "Next");
_generated\91\Microsoft_Diagnostics_DataContractReader_Data.HashMap.g.cs (7)
27public TargetPointer Address { get; } 33partial void OnInit(Target target, TargetPointer address); 35public HashMap(Target target, TargetPointer address) 44static HashMap IData<HashMap>.Create(Target target, TargetPointer address) 47private TargetPointer _Buckets__value = default!; 50public partial TargetPointer Buckets 56_layouts.Select(Address, out var t, out var b, out var n, "Buckets");
_generated\92\Microsoft_Diagnostics_DataContractReader_Data.HostCodeHeap.g.cs (10)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public HostCodeHeap(Target target, TargetPointer address) 52static HostCodeHeap IData<HostCodeHeap>.Create(Target target, TargetPointer address) 55private TargetPointer _BaseAddress__value = default!; 58public partial TargetPointer BaseAddress 64_layouts.Select(Address, out var t, out var b, out var n, "BaseAddress"); 72private TargetPointer _CurrentAddress__value = default!; 75public partial TargetPointer CurrentAddress 81_layouts.Select(Address, out var t, out var b, out var n, "CurrentAddress");
_generated\93\Microsoft_Diagnostics_DataContractReader_Data.IdDispenser.g.cs (8)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public IdDispenser(Target target, TargetPointer address) 52static IdDispenser IData<IdDispenser>.Create(Target target, TargetPointer address) 55private TargetPointer _IdToThread__value = default!; 58public partial TargetPointer IdToThread 64_layouts.Select(Address, out var t, out var b, out var n, "IdToThread"); 81_layouts.Select(Address, out var t, out var b, out var n, "HighestId");
_generated\94\Microsoft_Diagnostics_DataContractReader_Data.ILCodeVersioningState.g.cs (15)
59public TargetPointer Address { get; } 65partial void OnInit(Target target, TargetPointer address); 67public ILCodeVersioningState(Target target, TargetPointer address) 76static ILCodeVersioningState IData<ILCodeVersioningState>.Create(Target target, TargetPointer address) 79private TargetPointer _FirstVersionNode__value = default!; 82public partial TargetPointer FirstVersionNode 88_layouts.Select(Address, out var t, out var b, out var n, "FirstVersionNode"); 105_layouts.Select(Address, out var t, out var b, out var n, "ActiveVersionKind"); 113private TargetPointer _ActiveVersionNode__value = default!; 116public partial TargetPointer ActiveVersionNode 122_layouts.Select(Address, out var t, out var b, out var n, "ActiveVersionNode"); 130private TargetPointer _ActiveVersionModule__value = default!; 133public partial TargetPointer ActiveVersionModule 139_layouts.Select(Address, out var t, out var b, out var n, "ActiveVersionModule"); 156_layouts.Select(Address, out var t, out var b, out var n, "ActiveVersionMethodDef");
_generated\95\Microsoft_Diagnostics_DataContractReader_Data.ILCodeVersionNode.g.cs (16)
83public TargetPointer Address { get; } 89partial void OnInit(Target target, TargetPointer address); 91public ILCodeVersionNode(Target target, TargetPointer address) 100static ILCodeVersionNode IData<ILCodeVersionNode>.Create(Target target, TargetPointer address) 112_layouts.Select(Address, out var t, out var b, out var n, "VersionId"); 120private TargetPointer _Next__value = default!; 123public partial TargetPointer Next 129_layouts.Select(Address, out var t, out var b, out var n, "Next"); 146_layouts.Select(Address, out var t, out var b, out var n, "RejitState"); 154private TargetPointer _ILAddress__value = default!; 157public partial TargetPointer ILAddress 163_layouts.Select(Address, out var t, out var b, out var n, "ILAddress"); 180_layouts.Select(Address, out var t, out var b, out var n, "Deoptimized"); 197_layouts.Select(Address, out var t, out var b, out var n, "Source"); 214_layouts.Select(Address, out var t, out var b, out var n, "EnCVersion"); 231_layouts.Select(Address, out var t, out var b, out var n, "InstrumentedILMap");
_generated\96\Microsoft_Diagnostics_DataContractReader_Data.ImageDataDirectory.g.cs (6)
35public TargetPointer Address { get; } 41partial void OnInit(Target target, TargetPointer address); 43public ImageDataDirectory(Target target, TargetPointer address) 52static ImageDataDirectory IData<ImageDataDirectory>.Create(Target target, TargetPointer address) 64_layouts.Select(Address, out var t, out var b, out var n, "VirtualAddress"); 81_layouts.Select(Address, out var t, out var b, out var n, "Size");
_generated\97\Microsoft_Diagnostics_DataContractReader_Data.ImageDosHeader.g.cs (4)
15public TargetPointer Address { get; } 19partial void OnInit(Target target, TargetPointer address); 21public ImageDosHeader(Target target, TargetPointer address) 29static ImageDosHeader IData<ImageDosHeader>.Create(Target target, TargetPointer address)
_generated\98\Microsoft_Diagnostics_DataContractReader_Data.ImageFileHeader.g.cs (4)
21public TargetPointer Address { get; } 25partial void OnInit(Target target, TargetPointer address); 27public ImageFileHeader(Target target, TargetPointer address) 35static ImageFileHeader IData<ImageFileHeader>.Create(Target target, TargetPointer address)
_generated\99\Microsoft_Diagnostics_DataContractReader_Data.ImageNTHeaders.g.cs (4)
18public TargetPointer Address { get; } 22partial void OnInit(Target target, TargetPointer address); 24public ImageNTHeaders(Target target, TargetPointer address) 32static ImageNTHeaders IData<ImageNTHeaders>.Create(Target target, TargetPointer address)
CodePointerUtils.cs (3)
14internal static TargetCodePointer CodePointerFromAddress(TargetPointer address, Target target) 16if (address == TargetPointer.Null) 35internal static TargetPointer AddressFromCodePointer(TargetCodePointer code, Target target)
Contracts\AuxiliarySymbols_1.cs (4)
17bool IAuxiliarySymbols.TryGetAuxiliarySymbolName(TargetPointer ip, [NotNullWhen(true)] out string? symbolName) 23TargetPointer helperArrayPtr = _target.ReadGlobalPointer(Constants.Globals.AuxiliarySymbols); 30TargetPointer entryAddr = helperArrayPtr + (ulong)(i * entrySize); 35if (entry.Name != TargetPointer.Null)
Contracts\BuiltInCOM_1.cs (60)
60public TargetPointer GetCCWFromInterfacePointer(TargetPointer interfacePointer) 66if (!_target.TryReadPointer(interfacePointer, out TargetPointer vtable) || vtable == TargetPointer.Null 69return TargetPointer.Null; 72TargetPointer tearOffAddRef = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.TearOffAddRef)); 73TargetPointer tearOffSimple = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.TearOffAddRefSimple)); 74TargetPointer tearOffSimpleInner = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.TearOffAddRefSimpleInner)); 76TargetPointer ccw; 87TargetPointer descBase = vtable - (ulong)pointerSize; 91TargetPointer sccwAddr = interfacePointer - (ulong)(interfaceKind * pointerSize) - vtablePtrOffset; 98return TargetPointer.Null; 103public IEnumerable<COMInterfacePointerData> GetCCWInterfaces(TargetPointer ccw) 110TargetPointer linkedWrapperTerminator = pointerSize == 8 ? TargetPointer.Max64Bit : TargetPointer.Max32Bit; 112TargetPointer current = ccw; 113while (current != TargetPointer.Null) 119TargetPointer slotValue = wrapper.IPtrs[i]; 120if (slotValue == TargetPointer.Null) 124TargetPointer comMethodTableAddr = new TargetPointer(slotValue - comMethodTableSize); 132TargetPointer slotAddr = wrapper.IPtr + (ulong)(i * pointerSize); 135TargetPointer methodTable = (isFirst && i == (int)ComWrapperFlags.Slot_Basic) 136? TargetPointer.Null 150current = wrapper.Next == linkedWrapperTerminator ? TargetPointer.Null : wrapper.Next; 154public TargetPointer GetObjectHandle(TargetPointer ccw) 161private TargetPointer GetSimpleComCallWrapper(TargetPointer ccw) 167public SimpleComCallWrapperData GetSimpleComCallWrapperData(TargetPointer ccw) 169TargetPointer sccw = GetSimpleComCallWrapper(ccw); 185public TargetPointer GetStartWrapper(TargetPointer ccw) 188if (wrapper.Next != TargetPointer.Null) 196public IEnumerable<RCWCleanupInfo> GetRCWCleanupList(TargetPointer cleanupListPtr) 198TargetPointer listAddress; 199if (cleanupListPtr != TargetPointer.Null) 205TargetPointer globalPtr = _target.ReadGlobalPointer(Constants.Globals.RCWCleanupList); 209if (listAddress == TargetPointer.Null) 213TargetPointer bucketPtr = list.FirstBucket; 214while (bucketPtr != TargetPointer.Null) 218TargetPointer ctxCookie = bucket.CtxCookie; 219TargetPointer staThread = GetSTAThread(bucket); 221TargetPointer rcwPtr = bucketPtr; 222while (rcwPtr != TargetPointer.Null) 233private TargetPointer GetSTAThread(Data.RCW rcw) 235TargetPointer ctxEntryPtr = rcw.CtxEntry & ~(ulong)1; 236if (ctxEntryPtr == TargetPointer.Null) 237return TargetPointer.Null; 243public IEnumerable<(TargetPointer MethodTable, TargetPointer Unknown)> GetRCWInterfaces(TargetPointer rcw) 248if (entry.Unknown != TargetPointer.Null) 255public TargetPointer GetRCWContext(TargetPointer rcw) 262public RCWData GetRCWData(TargetPointer rcw) 266TargetPointer managedObject = TargetPointer.Null; 293TargetPointer ctxEntryPtr = rcw.CtxEntry & ~(ulong)1; 294if (ctxEntryPtr == TargetPointer.Null)
Contracts\CallingConvention\CallingConvention_1.cs (11)
150TargetPointer methodTablePtr = rts.GetMethodTable(methodDesc); 294TargetPointer methodTablePtr = rts.GetMethodTable(methodDesc); 296TargetPointer modulePtr = rts.GetModule(typeHandle); 336TargetPointer methodTablePtr = rts.GetMethodTable(methodDesc); 338TargetPointer modulePtr = rts.GetModule(typeHandle); 408TargetPointer objectMt = rts.GetWellKnownMethodTable(WellKnownMethodTable.Object); 531public TrackedType GetInternalType(TargetPointer typeHandlePointer) 534public TrackedType GetInternalModifiedType(TargetPointer typeHandlePointer, TrackedType unmodifiedType, bool isRequired) 871if (byRefLikeType.Address == TargetPointer.Null) 874IEnumerable<TargetPointer> fieldDescs; 884foreach (TargetPointer fdPtr in fieldDescs)
Contracts\CallingConvention\CdacTypeHandle.cs (2)
189TargetPointer? singleFieldType = null; 190foreach (TargetPointer fieldDesc in Rts.GetFieldDescList(_typeHandle))
Contracts\CodeNotifications_1.cs (12)
18void ICodeNotifications.SetCodeNotification(TargetPointer module, uint methodToken, CodeNotificationKind flags) 82CodeNotificationKind ICodeNotifications.GetCodeNotification(TargetPointer module, uint methodToken) 97void ICodeNotifications.SetAllCodeNotifications(TargetPointer module, CodeNotificationKind flags) 113if (module != TargetPointer.Null && entry.ClrModule.Value != module.Value) 161public TableView(Target target, TargetPointer basePointer, uint entrySize) 180public bool TryFindEntry(TargetPointer module, uint methodToken, out uint index) 212TargetPointer globalAddr = _target.ReadGlobalPointer(Constants.Globals.JITNotificationTable); 213TargetPointer tablePointer = _target.ReadPointer(globalAddr); 215if (tablePointer == TargetPointer.Null) 230private TargetPointer AllocateTable(uint entrySize, TargetPointer globalAddr) 235TargetPointer tablePointer = _target.AllocateMemory(tableByteSize);
Contracts\CodeVersions_1.cs (42)
24ILCodeVersionHandle ICodeVersions.GetActiveILCodeVersion(TargetPointer methodDesc) 27GetModuleAndMethodDesc(methodDesc, out TargetPointer module, out uint methodDefToken); 29TargetPointer ilVersionStateAddress = GetILVersionStateAddress(module, methodDefToken); 30if (ilVersionStateAddress == TargetPointer.Null) 52out TargetPointer module, 72IEnumerable<ILCodeVersionHandle> ICodeVersions.GetILCodeVersions(TargetPointer methodDesc) 75GetModuleAndMethodDesc(methodDesc, out TargetPointer module, out uint methodDefToken); 81TargetPointer ilVersionStateAddress = GetILVersionStateAddress(module, methodDefToken); 82if (ilVersionStateAddress != TargetPointer.Null) 85TargetPointer nodePointer = ilState.FirstVersionNode; 86while (nodePointer != TargetPointer.Null) 95IEnumerable<NativeCodeVersionHandle> ICodeVersions.GetNativeCodeVersions(TargetPointer methodDesc, ILCodeVersionHandle ilCodeVersionHandle) 131TargetPointer methodDescAddress = executionManager.GetMethodDesc(info.Value); 132if (methodDescAddress == TargetPointer.Null) 151bool ICodeVersions.CodeVersionManagerSupportsMethod(TargetPointer methodDescAddress) 181NativeCodeVersionHandle ICodeVersions.GetActiveNativeCodeVersionForILCodeVersion(TargetPointer methodDesc, ILCodeVersionHandle ilCodeVersionHandle) 210TargetPointer ICodeVersions.GetGCStressCodeCopy(NativeCodeVersionHandle codeVersionHandle) 225if (codeVersionNode.GCCoverageInfo is TargetPointer gcCoverageInfoAddr && gcCoverageInfoAddr != TargetPointer.Null) 229return TargetPointer.Null; 259TargetPointer versioningStateAddr = rts.GetMethodDescVersioningState(md); 260if (versioningStateAddr == TargetPointer.Null) 266TargetPointer currentAddress = versioningState.NativeCodeVersionNode; 267while (currentAddress != TargetPointer.Null) 316TargetPointer versioningStateAddress = _target.Contracts.RuntimeTypeSystem.GetMethodDescVersioningState(md); 317if (versioningStateAddress == TargetPointer.Null) 334private void GetModuleAndMethodDesc(TargetPointer methodDesc, out TargetPointer module, out uint methodDefToken) 338TargetPointer mtAddr = rts.GetMethodTable(md); 344private TargetPointer GetILVersionStateAddress(TargetPointer module, uint methodDefToken) 348return TargetPointer.Null; 351TargetPointer ilCodeVersionTable = _target.Contracts.Loader.GetLookupTables(moduleHandle).MethodDefToILCodeVersioningState; 352TargetPointer ilVersionStateAddress = _target.Contracts.Loader.GetModuleLookupMapElement(ilCodeVersionTable, methodDefToken, out var _); 358if (handle.ILCodeVersionNode == TargetPointer.Null) 368if (handle.CodeVersionNodeAddress == TargetPointer.Null) 387TargetPointer ICodeVersions.GetIL(ILCodeVersionHandle ilCodeVersionHandle) 390TargetPointer ilAddress = default; 397if (ilAddress == TargetPointer.Null) 410return iLCodeVersionHandle.IsExplicit ? AsNode(iLCodeVersionHandle).ILAddress == TargetPointer.Null : true; 429bool ICodeVersions.TryGetInstrumentedILMap(ILCodeVersionHandle ilCodeVersionHandle, out uint mapEntryCount, out TargetPointer mapEntries) 432mapEntries = TargetPointer.Null;
Contracts\ComWrappers_1.cs (42)
16private TargetPointer? _mowTableAddr = null; 17private TargetPointer? _nativeObjectWrapperCWTAddr = null; 25public TargetPointer GetComWrappersIdentity(TargetPointer address) 31private bool GetComWrappersCCWVTableQIAddress(TargetPointer ccw, out TargetPointer vtable, out TargetPointer qiAddress) 33qiAddress = TargetPointer.Null; 42private bool IsComWrappersCCW(TargetPointer ccw) 44if (!GetComWrappersCCWVTableQIAddress(ccw, out _, out TargetPointer qiAddress)) 47if (!_target.TryReadGlobalPointer(Constants.Globals.ComWrappersVtablePtrs, out TargetPointer? comWrappersVtablePtrs)) 53public TargetPointer GetManagedObjectWrapperFromCCW(TargetPointer ccw) 56return TargetPointer.Null; 57if (!_target.TryReadPointer(ccw & _target.ReadGlobalPointer(Constants.Globals.DispatchThisPtrMask), out TargetPointer MOWWrapper)) 58return TargetPointer.Null; 62public TargetPointer GetComWrappersObjectFromMOW(TargetPointer mow) 69public long GetMOWReferenceCount(TargetPointer mow) 75private TargetPointer IndexIntoDispatchSection(int index, TargetPointer dispatches) 80TargetPointer dispatchAddress = dispatches + (ulong)((uint)(index / (int)entriesPerThisPtr) * dispatchSize); 86public TargetPointer GetIdentityForMOW(TargetPointer mow) 99TargetPointer entryAddress = layout.UserDefined + (ulong)((uint)i * entrySize); 107return TargetPointer.Null; 110public List<TargetPointer> GetMOWs(TargetPointer obj, out bool hasMOWTable) 116List<TargetPointer> mows = new List<TargetPointer>(); 118if (_mowTableAddr.Value == TargetPointer.Null) 121if (cwt.TryGetValue(_mowTableAddr.Value, obj, out TargetPointer mowListObj)) 125TargetPointer listItemsPtr = listData.Items; 128if (size > 0 && listItemsPtr != TargetPointer.Null) 133TargetPointer mow = _target.ReadPointer(listItemsArray.DataPointer + (ulong)(i * _target.PointerSize)); 142public bool IsComWrappersRCW(TargetPointer rcw) 144TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(rcw); 148public TargetPointer GetComWrappersRCWForObject(TargetPointer obj) 152if (_nativeObjectWrapperCWTAddr.Value == TargetPointer.Null) 153return TargetPointer.Null; 155_ = cwt.TryGetValue(_nativeObjectWrapperCWTAddr.Value, obj, out TargetPointer rcw);
Contracts\ConditionalWeakTable_1.cs (6)
15bool IConditionalWeakTable.TryGetValue(TargetPointer conditionalWeakTable, TargetPointer key, out TargetPointer value) 17value = TargetPointer.Null; 36TargetPointer entriesMT = _target.Contracts.Object.GetMethodTableAddress(container.Entries); 42TargetPointer entryAddress = entriesArray.DataPointer + (ulong)((uint)entriesIndex * entrySize);
Contracts\DacStreams_1.cs (7)
32public string? StringFromEEAddress(TargetPointer address) 49static DacStreams_1_Data IData<DacStreams_1_Data>.Create(Target target, TargetPointer address) => new DacStreams_1_Data(target); 56public readonly Dictionary<TargetPointer, string> EEObjectToString; 58internal static Dictionary<TargetPointer, string> GetEEAddressToStringMap(Target target) 60TargetPointer miniMetaDataBuffAddress = target.ReadPointer(target.ReadGlobalPointer(Constants.Globals.MiniMetaDataBuffAddress)); 64Dictionary<TargetPointer, string> stringToAddress = new(); 109TargetPointer eeObjectPointer = target.ReadPointer(currentAddress);
Contracts\Debugger\Debugger_1.cs (44)
29private bool TryGetDebuggerAddress(out TargetPointer debuggerAddress) 31debuggerAddress = TargetPointer.Null; 33TargetPointer debuggerPtrPtr = _target.ReadGlobalPointer(Constants.Globals.Debugger); 34if (debuggerPtrPtr == TargetPointer.Null) 38return debuggerAddress != TargetPointer.Null; 44if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 54TargetPointer addr = _target.ReadGlobalPointer(Constants.Globals.CLRJitAttachState); 60TargetPointer addr = _target.ReadGlobalPointer(Constants.Globals.CORDebuggerControlFlags); 67TargetPointer addr = _target.ReadGlobalPointer(Constants.Globals.CORDebuggerControlFlags); 81if (_target.TryReadGlobalPointer(Constants.Globals.MetadataUpdatesApplied, out TargetPointer? addr)) 90if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 99if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 106TargetPointer IDebugger.GetDebuggerControlBlockAddress() 108if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 109return TargetPointer.Null; 112TargetPointer rcThread = debugger.RCThread; 113if (rcThread == TargetPointer.Null) 114return TargetPointer.Null; 122if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 131if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 135if (debugger.RgHijackFunction == TargetPointer.Null) 146TargetPointer entryAddress = debugger.RgHijackFunction + (ulong)(i * stride); 159private TargetPointer GetHijackAddress() 163: TargetPointer.Null; 169if (!TryGetDebuggerAddress(out TargetPointer debuggerAddress)) 173if (debugger.RgHijackFunction == TargetPointer.Null) 181TargetPointer entryAddress = debugger.RgHijackFunction + (ulong)(index * stride); 207private void WriteExceptionRecordHelper(TargetPointer remotePtr, byte[] record) 214TargetPointer IDebugger.PrepareExceptionHijack(byte[] context, TargetPointer vmThread, byte[]? exceptionRecord, int reason, TargetPointer userData) 216TargetPointer pfnHijackFunction = GetHijackAddress(); 217if (pfnHijackFunction == TargetPointer.Null) 225TargetPointer sp = ctx.StackPointer; 226TargetPointer espContext = TargetPointer.Null; 227TargetPointer espRecord = TargetPointer.Null; 229if (vmThread != TargetPointer.Null) 234TargetPointer espOSContext = threadData.OSExceptionContextRecord; 235TargetPointer espOSRecord = threadData.OSExceptionRecord; 251if (espContext == TargetPointer.Null) 253Debug.Assert(espRecord == TargetPointer.Null); 287public static void PlaceArgs(Target target, IPlatformAgnosticContext ctx, ref TargetPointer sp, ReadOnlySpan<TargetNUInt> args)
Contracts\Debugger\StackPusher.cs (5)
10public static TargetPointer Push(Target target, ref TargetPointer sp, Span<byte> bytes, bool align) 28public static TargetPointer PushSlot(Target target, ref TargetPointer sp, TargetNUInt value, bool align) 65private static void AlignStackPointer(Target target, ref TargetPointer sp)
Contracts\DebugInfo\DebugInfo_1.cs (6)
32return _eman.GetDebugInfo(cbh, out _) != TargetPointer.Null; 40TargetPointer debugInfo = _eman.GetDebugInfo(cbh, out bool hasFlagByte); 42TargetPointer nativeCodeStart = _eman.GetStartAddress(cbh); 45if (debugInfo == TargetPointer.Null) 51private IEnumerable<OffsetMapping> RestoreBoundaries(TargetPointer debugInfo, bool hasFlagByte, bool preferUninstrumented) 92TargetPointer addrBounds = debugInfo + (uint)nibbleReader.GetNextByteOffset();
Contracts\DebugInfo\DebugInfo_2.cs (18)
16public TargetPointer BoundsStart; 18public TargetPointer VarsStart; 20public TargetPointer UninstrumentedBoundsStart; 22public TargetPointer PatchpointInfoStart; 24public TargetPointer RichDebugInfoStart; 26public TargetPointer AsyncInfoStart; 28public TargetPointer DebugInfoEnd; 39return _eman.GetDebugInfo(cbh, out _) != TargetPointer.Null; 47TargetPointer debugInfo = _eman.GetDebugInfo(cbh, out bool _); 49TargetPointer nativeCodeStart = _eman.GetStartAddress(cbh); 52if (debugInfo == TargetPointer.Null) 58private DebugInfoChunks DecodeChunks(TargetPointer debugInfo) 97private IEnumerable<OffsetMapping> RestoreBoundaries(TargetPointer debugInfo, bool preferUninstrumented) 101TargetPointer addrBounds = chunks.BoundsStart; 124TargetPointer debugInfo = _eman.GetDebugInfo(cbh, out bool _); 138if (debugInfo == TargetPointer.Null) 157TargetPointer debugInfo = _eman.GetDebugInfo(cbh, out bool _); 159if (debugInfo == TargetPointer.Null)
Contracts\EcmaMetadata_1.cs (13)
41if (!loader.TryGetLoadedImageContents(handle, out TargetPointer baseAddress, out uint size, out uint imageFlags)) 75private bool IsWebcilImage(TargetPointer baseAddress) 78private TargetSpan GetWebcilReadOnlyMetadataAddress(ModuleHandle handle, TargetPointer webcilBase) 87TargetPointer cliHeader = loader.GetILAddr(module.PEAssembly, checked((int)header.PeCliHeaderRva)); 93TargetPointer metadataAddress = loader.GetILAddr(module.PEAssembly, checked((int)metadataDirectory.VirtualAddress)); 394if (module.DynamicMetadata != TargetPointer.Null) 426TargetPointer peAssemblyPtr = target.Contracts.Loader.GetPEAssembly(handle); 481private byte[] ReadStoragePool(TargetPointer poolAddress) 483List<(TargetPointer Data, uint Size)> segments = []; 487TargetPointer segData = head.SegData; 489TargetPointer nextSegment = head.NextSegment; 502if (nextSegment == TargetPointer.Null) 515foreach ((TargetPointer data, uint size) in segments)
Contracts\Exception_1.cs (14)
21TargetPointer IException.GetNestedExceptionInfo(TargetPointer exceptionInfoAddr, out TargetPointer nextNestedExceptionInfo, out TargetPointer thrownObjectHandle) 34ExceptionData IException.GetExceptionData(TargetPointer exceptionAddr) 48IEnumerable<ExceptionStackFrameInfo> IException.GetExceptionStackFrames(TargetPointer exceptionAddr) 51TargetPointer stackTraceObj = exception.StackTrace; 52if (stackTraceObj == TargetPointer.Null) 62TargetPointer mt = objectContract.GetMethodTableAddress(stackTraceObj); 63if (mt == TargetPointer.Null) 67TargetPointer i1ArrayAddr; 79if (i1ArrayAddr == TargetPointer.Null) 83TargetPointer payload = i1Array.DataPointer; 93TargetPointer cursor = payload + headerSize;
Contracts\ExecutionManager\ExecutionManager_1.cs (14)
15TargetPointer addr = target.ReadGlobalPointer(Constants.Globals.ExecutionManagerCodeRangeMapAddress); 20public TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle); 21public TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle); 22public TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle); 23public void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize); 24public TargetPointer NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) => _executionManagerCore.NonVirtualEntry2MethodDesc(entrypoint); 27public TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle); 28public TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle); 29public TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte); 30public void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion); 37public IReadOnlyList<TargetPointer> GetDynamicFunctionTableEntries(TargetPointer tableAddress) => _executionManagerCore.GetDynamicFunctionTableEntries(tableAddress); 39public TargetPointer FindReadyToRunModule(TargetPointer address) => _executionManagerCore.FindReadyToRunModule(address);
Contracts\ExecutionManager\ExecutionManager_2.cs (14)
15TargetPointer addr = target.ReadGlobalPointer(Constants.Globals.ExecutionManagerCodeRangeMapAddress); 20public TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle); 21public TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle); 22public TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle); 23public void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize); 24public TargetPointer NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) => _executionManagerCore.NonVirtualEntry2MethodDesc(entrypoint); 27public TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle); 28public TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle); 29public TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte); 30public void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion); 37public IReadOnlyList<TargetPointer> GetDynamicFunctionTableEntries(TargetPointer tableAddress) => _executionManagerCore.GetDynamicFunctionTableEntries(tableAddress); 39public TargetPointer FindReadyToRunModule(TargetPointer address) => _executionManagerCore.FindReadyToRunModule(address);
Contracts\ExecutionManager\ExecutionManagerCore.cs (85)
19private readonly Dictionary<TargetPointer, CodeBlock> _codeInfos = new(); 20private readonly TargetPointer _topRangeSectionMapAddress; 25private readonly TargetPointer _thePreStub; 30public ExecutionManagerCore(Target target, TargetPointer topRangeSectionMapAddress) 39_thePreStub = _target.TryReadGlobalPointer(Constants.Globals.ThePreStub, out TargetPointer? thePreStubPtr) 41: TargetPointer.Null; 52public TargetPointer StartAddress { get; } 53public TargetPointer MethodDescAddress { get; } 54public TargetPointer JitManagerAddress { get; } 56public CodeBlock(TargetPointer startAddress, TargetPointer methodDesc, TargetNUInt relativeOffset, TargetPointer jitManagerAddress) 64public bool Valid => JitManagerAddress != TargetPointer.Null; 121out TargetPointer coldStart, 123public abstract TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress); 124public abstract TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte); 125public abstract void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion); 126public abstract void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr); 148internal bool HasR2RModule => Data!.R2RModule != TargetPointer.Null; 150internal static bool IsStubCodeBlock(Target target, TargetPointer codeHeaderIndirect) 158TargetPointer rangeSectionFragmentPtr = rangeSectionLookup.FindFragment(target, topRangeSectionMap, jittedCodeAddress); 161while (rangeSectionFragmentPtr != TargetPointer.Null) 170if (rangeSectionFragmentPtr == TargetPointer.Null) 176if (rangeSection.NextForDelete != TargetPointer.Null) 190else if (rangeSection.Data!.R2RModule != TargetPointer.Null) 223TargetPointer key = ip.AsTargetPointer; // FIXME: thumb bit. It's harmless (we potentialy have 2 cache entries per IP), but we should fix it 237TargetPointer IExecutionManager.GetMethodDesc(CodeBlockHandle codeInfoHandle) 245TargetPointer IExecutionManager.GetStartAddress(CodeBlockHandle codeInfoHandle) 253TargetPointer IExecutionManager.GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) 260TargetPointer runtimeFunctionPtr = jitManager?.GetUnwindInfo(range, codeInfoHandle.Address.Value) ?? TargetPointer.Null; 262if (runtimeFunctionPtr == TargetPointer.Null) 274void IExecutionManager.GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) 277coldStart = TargetPointer.Null; 289TargetPointer IExecutionManager.NonVirtualEntry2MethodDesc(TargetCodePointer entrypoint) 298return TargetPointer.Null; 313return TargetPointer.Null; 324return TargetPointer.Null; 330TargetPointer startAddress = ((IExecutionManager)this).GetStartAddress(codeInfoHandle); 347TargetPointer funcletStartAddress = eman.GetFuncletStartAddress(codeInfoHandle); 360TargetPointer IExecutionManager.GetUnwindInfo(CodeBlockHandle codeInfoHandle) 364return TargetPointer.Null; 368return jitManager?.GetUnwindInfo(range, codeInfoHandle.Address.Value) ?? TargetPointer.Null; 371TargetPointer IExecutionManager.GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) 380TargetPointer IExecutionManager.GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) 385return TargetPointer.Null; 388return jitManager?.GetDebugInfo(range, codeInfoHandle.Address.Value, out hasFlagByte) ?? TargetPointer.Null; 391void IExecutionManager.GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) 393gcInfo = TargetPointer.Null; 420eman.GetGCInfo(cbh, out TargetPointer gcInfoAddr, out uint gcVersion); 436eman.GetGCInfo(codeInfoHandle, out TargetPointer gcInfoAddress, out uint gcInfoVersion); 437if (gcInfoAddress == TargetPointer.Null) 445TargetPointer IExecutionManager.FindReadyToRunModule(TargetPointer address) 453return TargetPointer.Null; 460TargetPointer eeJitManagerPtr = _target.ReadGlobalPointer(Constants.Globals.EEJitManagerAddress); 461TargetPointer eeJitManagerAddr = _target.ReadPointer(eeJitManagerPtr); 473private ICodeHeapInfo GetCodeHeapInfo(TargetPointer codeHeapAddress) 489TargetPointer heapListAddress = ((IExecutionManager)this).GetEEJitManagerInfo().HeapListAddress; 490TargetPointer nodeAddr = heapListAddress; 491while (nodeAddr != TargetPointer.Null) 499IReadOnlyList<TargetPointer> IExecutionManager.GetDynamicFunctionTableEntries(TargetPointer tableAddress) 514TargetPointer jitManagerAddress = new(table.Context.Value & ~(ulong)3); 515TargetPointer minimumAddress = table.MinimumAddress; 519TargetPointer nodeAddr = jitManager.AllCodeHeaps; 520while (nodeAddr != TargetPointer.Null) 526TargetPointer moduleBase = node.CLRPersonalityRoutine is { } personalityRoutine && personalityRoutine != TargetPointer.Null 559private bool IsObjectType(TargetPointer moduleAddr, uint classToken) 565TargetPointer resolvedMethodTable = (EcmaMetadataUtils.TokenType)(classToken & EcmaMetadataUtils.TokenTypeMask) switch 569_ => TargetPointer.Null, 572if (resolvedMethodTable == TargetPointer.Null) 575TargetPointer objectMethodTable = _target.ReadPointer( 590jitManager.GetExceptionClauses(range, codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr); 595TargetPointer methodDescPtr = ((IExecutionManager)this).GetMethodDesc(codeInfoHandle); 598TargetPointer mtPtr = rts.GetMethodTable(mdHandle); 600TargetPointer handleModuleAddr = rts.GetModule(th); 603for (TargetPointer addr = startAddr; addr < endAddr; addr += clauseSize) 613TargetPointer? moduleAddr = null; 621TargetPointer objectMethodTable = _target.ReadPointer( 672TargetPointer address = new(codeAddress.Value); 673if (address == _thePreStub && _thePreStub != TargetPointer.Null)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (49)
33TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 34if (codeStart == TargetPointer.Null) 38TargetPointer instrPointer = CodePointerUtils.AddressFromCodePointer(jittedCodeAddress, Target); 52out TargetPointer coldStart, 56coldStart = TargetPointer.Null; 60GetGCInfo(rangeSection, jittedCodeAddress, out TargetPointer pGcInfo, out uint gcVersion); 66public override TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 72TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 73if (codeStart == TargetPointer.Null) 74return TargetPointer.Null; 78return TargetPointer.Null; 82return TargetPointer.Null; 86TargetPointer addr = CodePointerUtils.AddressFromCodePointer(jittedCodeAddress, Target); 87TargetPointer imageBase = rangeSection.Data.RangeBegin; 88TargetPointer relativeAddr = addr - imageBase; 91return TargetPointer.Null; 96public override TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte) 103TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 104if (codeStart == TargetPointer.Null) 105return TargetPointer.Null; 109return TargetPointer.Null; 121TargetPointer startAddr = FindMethodCode(rangeSection, codeAddress); // validate that the code address is within the method's code range 122if (startAddr == TargetPointer.Null) 127public override void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion) 129gcInfo = TargetPointer.Null; 138TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 139if (codeStart == TargetPointer.Null) 150private TargetPointer FindMethodCode(RangeSection rangeSection, TargetCodePointer codeAddress) 158TargetPointer heapListAddress = rangeSection.Data.HeapList; 163public List<TargetPointer> EnumerateFunctionTableEntries(Data.CodeHeapListNode heapListNode) 170List<TargetPointer> entries = []; 175TargetPointer codeStart = _nibbleMap.FindMethodCode(heapListNode, current); 176if (codeStart == TargetPointer.Null) 180TargetPointer codeHeaderIndirect = codeStart - (ulong)Target.PointerSize; 181TargetPointer codeHeaderAddress = Target.ReadPointer(codeHeaderIndirect); 200private TargetPointer GetCodeHeaderAddress(RangeSection rangeSection, TargetPointer codeStart) 210TargetPointer codeHeaderIndirect = new TargetPointer(codeStart - (ulong)codeHeaderOffset); 214private bool GetRealCodeHeader(RangeSection rangeSection, TargetPointer codeStart, [NotNullWhen(true)] out Data.RealCodeHeader? realCodeHeader) 217TargetPointer codeHeaderAddress = GetCodeHeaderAddress(rangeSection, codeStart); 226private CodeKind GetCodeHeaderStubKind(RangeSection rangeSection, TargetPointer codeStart) 228TargetPointer codeHeaderAddress = GetCodeHeaderAddress(rangeSection, codeStart); 236public override void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr) 238startAddr = TargetPointer.Null; 239endAddr = TargetPointer.Null; 245TargetPointer codeStart = FindMethodCode(rangeSection, new TargetCodePointer(codeInfoHandle.Address)); 246if (codeStart == TargetPointer.Null) 251if (realCodeHeader.EHInfo == TargetPointer.Null)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (29)
31TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 32if (codeStart == TargetPointer.Null) 36TargetPointer instrPointer = CodePointerUtils.AddressFromCodePointer(jittedCodeAddress, Target); 50out TargetPointer coldStart, 53coldStart = TargetPointer.Null; 57GetGCInfo(rangeSection, jittedCodeAddress, out TargetPointer pGcInfo, out uint gcVersion); 63public override TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 66return TargetPointer.Null; 74public override TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte) 78return TargetPointer.Null; 80TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 81if (codeStart == TargetPointer.Null) 82return TargetPointer.Null; 85return TargetPointer.Null; 90public override void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion) 92gcInfo = TargetPointer.Null; 98TargetPointer codeStart = FindMethodCode(rangeSection, jittedCodeAddress); 99if (codeStart == TargetPointer.Null) 109public override void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr) 111startAddr = TargetPointer.Null; 112endAddr = TargetPointer.Null; 117TargetPointer codeStart = FindMethodCode(rangeSection, new TargetCodePointer(codeInfoHandle.Address)); 129private TargetPointer FindMethodCode(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 136TargetPointer heapListAddress = rangeSection.Data.HeapList; 141private bool GetInterpreterRealCodeHeader(TargetPointer codeStart, [NotNullWhen(true)] out Data.InterpreterRealCodeHeader? realCodeHeader) 144if (codeStart == TargetPointer.Null) 149TargetPointer codeHeaderIndirect = new TargetPointer(codeStart - (ulong)codeHeaderOffset); 153TargetPointer codeHeaderAddress = Target.ReadPointer(codeHeaderIndirect);
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (50)
38if (!GetRuntimeFunction(rangeSection, r2rInfo, jittedCodeAddress, out TargetPointer imageBase, out uint index)) 42index = AdjustRuntimeFunctionToMethodStart(r2rInfo, imageBase, index, out TargetPointer methodDesc); 46TargetPointer addr = CodePointerUtils.AddressFromCodePointer(jittedCodeAddress, Target); 50TargetPointer startAddress = CodePointerUtils.AddressFromCodePointer( 59TargetPointer coldStart = CodePointerUtils.AddressFromCodePointer( 78out TargetPointer coldStart, 82coldStart = TargetPointer.Null; 85GetGCInfo(rangeSection, jittedCodeAddress, out TargetPointer pGcInfo, out uint gcVersion); 90if (!GetRuntimeFunction(rangeSection, r2rInfo, jittedCodeAddress, out TargetPointer imageBase, out uint index)) 106public override TargetPointer GetUnwindInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress) 110if (!GetRuntimeFunction(rangeSection, r2rInfo, jittedCodeAddress, out TargetPointer _, out uint index)) 111return TargetPointer.Null; 116public override TargetPointer GetDebugInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte) 123if (!GetRuntimeFunction(rangeSection, r2rInfo, jittedCodeAddress, out TargetPointer imageBase, out uint index)) 124return TargetPointer.Null; 140return TargetPointer.Null; 157public override void GetGCInfo(RangeSection rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion) 159gcInfo = TargetPointer.Null; 164if (!GetRuntimeFunction(rangeSection, r2rInfo, jittedCodeAddress, out TargetPointer imageBase, out uint index)) 172TargetPointer unwindInfo = runtimeFunction.UnwindData + imageBase; 202Debug.Assert(rangeSection.Data.R2RModule != TargetPointer.Null); 205Debug.Assert(r2rModule.ReadyToRunInfo != TargetPointer.Null); 213out TargetPointer imageBase, 216imageBase = TargetPointer.Null; 227TargetPointer addr = CodePointerUtils.AddressFromCodePointer(jittedCodeAddress, Target); 229TargetPointer relativeAddr = addr - imageBase; 242private uint AdjustRuntimeFunctionToMethodStart(Data.ReadyToRunInfo r2rInfo, TargetPointer imageBase, uint index, out TargetPointer methodDesc) 245while (methodDesc == TargetPointer.Null) 254Debug.Assert(methodDesc != TargetPointer.Null); 260if (r2rInfo.DelayLoadMethodCallThunks == TargetPointer.Null) 269private TargetPointer GetMethodDescForRuntimeFunction(Data.ReadyToRunInfo r2rInfo, TargetPointer imageBase, uint runtimeFunctionIndex) 275TargetPointer entryPoint = CodePointerUtils.AddressFromCodePointer(startAddress, Target); 277TargetPointer methodDesc = _hashMap.GetValue(r2rInfo.EntryPointToMethodDescMap, entryPoint); 279return TargetPointer.Null; 285private void GetExceptionClauses(TargetPointer exceptionLookupTableAddr, uint count, TargetPointer rangeStart, uint methodRVA, out TargetPointer startExInfoRVA, out TargetPointer endExInfoRVA) 287startExInfoRVA = TargetPointer.Null; 288endExInfoRVA = TargetPointer.Null; 311public override void GetExceptionClauses(RangeSection range, CodeBlockHandle cbh, out TargetPointer startAddr, out TargetPointer endAddr) 317startAddr = TargetPointer.Null; 318endAddr = TargetPointer.Null; 325GetMethodRVAAndRangeStart(cbh, out TargetPointer methodStart, out TargetPointer rangeStart); 342private void GetMethodRVAAndRangeStart(CodeBlockHandle cbh, out TargetPointer methodStart, out TargetPointer rangeStart)
Contracts\ExecutionManager\Helpers\HashMapLookup.cs (9)
29public TargetPointer GetValue(TargetPointer mapAddress, TargetPointer key) 39TargetPointer buckets = map.Buckets + bucketSize; 61internal static void HashFunction(TargetPointer key, uint size, out uint seed, out uint increment) 86public TargetPointer GetValue(TargetPointer mapAddress, TargetPointer key) 91TargetPointer value = _lookup.GetValue(mapAddress, key);
Contracts\ExecutionManager\Helpers\HotColdLookup.cs (5)
22TargetPointer hotColdMap, 43public uint GetHotFunctionIndex(uint numHotColdMap, TargetPointer hotColdMap, uint runtimeFunctionIndex) 57public bool TryGetColdFunctionIndex(uint numHotColdMap, TargetPointer hotColdMap, uint runtimeFunctionIndex, out uint functionIndex) 70private bool IsColdCode(uint numHotColdMap, TargetPointer hotColdMap, uint runtimeFunctionIndex) 86TargetPointer hotColdMap,
Contracts\ExecutionManager\Helpers\INibbleMap.cs (1)
14public TargetPointer FindMethodCode(Data.CodeHeapListNode heapListNode, TargetCodePointer jittedCodeAddress);
Contracts\ExecutionManager\Helpers\NibbleMapConstantLookup.cs (9)
46internal static TargetPointer DecodePointer(TargetPointer baseAddress, MapUnit mapUnit) 59internal TargetPointer FindMethodCode(TargetPointer mapBase, TargetPointer mapStart, TargetCodePointer currentPC) 102return TargetPointer.Null; 116return TargetPointer.Null; 140public TargetPointer FindMethodCode(Data.CodeHeapListNode heapListNode, TargetCodePointer jittedCodeAddress) 144return TargetPointer.Null;
Contracts\ExecutionManager\Helpers\NibbleMapHelpers.cs (7)
122internal MapUnit ReadMapUnit(Target target, TargetPointer mapStart) 125TargetPointer mapUnitAdderss = mapStart + ContainingMapUnitByteOffset; 133internal static TargetPointer RoundTripAddress(TargetPointer mapBase, TargetPointer currentPC) 142internal static TargetPointer GetAbsoluteAddress(TargetPointer baseAddress, MapKey mapIdx, Nibble nibble)
Contracts\ExecutionManager\Helpers\NibbleMapLinearLookup.cs (8)
67internal TargetPointer FindMethodCode(TargetPointer mapBase, TargetPointer mapStart, TargetCodePointer currentPC) 104return TargetPointer.Null; 122return TargetPointer.Null; 138return TargetPointer.Null; 149public TargetPointer FindMethodCode(Data.CodeHeapListNode heapListNode, TargetCodePointer jittedCodeAddress) 153return TargetPointer.Null;
Contracts\ExecutionManager\Helpers\RangeSectionMap.cs (12)
55public readonly TargetPointer RawValue; 57public TargetPointer Address => RawValue & ~1ul; 59public bool IsNull => Address == TargetPointer.Null; 61public InteriorMapValue(TargetPointer value) 75public TargetPointer LevelMap { get; } 79public Cursor(TargetPointer levelMap, int level, int index) 91public TargetPointer GetSlot(Target target) => LevelMap + (ulong)(Index * target.PointerSize); 100internal Cursor GetTopCursor(TargetPointer topMap, TargetCodePointer jittedCodeAddress) 110TargetPointer nextMap = cursor.LoadValue(target).Address; 152public TargetPointer /*PTR_RangeSectionFragment*/ FindFragment(Target target, Data.RangeSectionMap topRangeSectionMap, TargetCodePointer jittedCodeAddress) 154return FindFragmentInternal(target, topRangeSectionMap.TopLevelData, jittedCodeAddress)?.LoadValue(target).Address ?? TargetPointer.Null; 157internal Cursor? FindFragmentInternal(Target target, TargetPointer topMap, TargetCodePointer jittedCodeAddress)
Contracts\ExecutionManager\Helpers\RuntimeFunctionLookup.cs (7)
22public uint GetFunctionLength(TargetPointer imageBase, Data.RuntimeFunction function) 39public bool TryGetRuntimeFunctionIndexForAddress(TargetPointer runtimeFunctions, uint numRuntimeFunctions, TargetPointer relativeAddress, out uint index) 70public TargetPointer GetRuntimeFunctionAddress(TargetPointer runtimeFunctions, uint index) 75public Data.RuntimeFunction GetRuntimeFunction(TargetPointer runtimeFunctions, uint index) 77TargetPointer addr = GetRuntimeFunctionAddress(runtimeFunctions, index);
Contracts\ExecutionManager\Helpers\UnwindDataSize.cs (3)
12public static uint GetUnwindDataSize(Target target, TargetPointer unwindInfo, RuntimeInfoArchitecture arch) 33TargetPointer xdata = unwindInfo; 69TargetPointer xdata = unwindInfo;
Contracts\GC\GC_1.cs (122)
43private readonly TargetPointer _debugDestroyedHandleValue; 52private readonly record struct AllocContext(TargetPointer Pointer, TargetPointer Limit); 83TargetPointer pNumHeaps = _target.ReadGlobalPointer(Constants.Globals.NumHeaps); 92TargetPointer pInvalidCount = _target.ReadGlobalPointer(Constants.Globals.StructureInvalidCount); 99TargetPointer pMaxGeneration = _target.ReadGlobalPointer(Constants.Globals.MaxGeneration); 103void IGC.GetGCBounds(out TargetPointer minAddr, out TargetPointer maxAddr) 125GCHeapSegmentData IGC.GetHeapSegmentData(TargetPointer segmentAddress) 138Heap = heapSegment.Heap ?? TargetPointer.Null, 144if (!_target.TryReadGlobalPointer(Constants.Globals.GCGlobalMechanisms, out TargetPointer? globalMechanismsArrayStart)) 150IEnumerable<TargetPointer> IGC.GetGCHeaps() 156TargetPointer heapTable = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.Heaps)); 171GCHeapData IGC.GetHeapData(TargetPointer heapAddress) 186MarkArray = heap.MarkArray ?? TargetPointer.Null, 187NextSweepObject = heap.NextSweepObj ?? TargetPointer.Null, 188BackGroundSavedMinAddress = heap.BackgroundMinSavedAddr ?? TargetPointer.Null, 189BackGroundSavedMaxAddress = heap.BackgroundMaxSavedAddr ?? TargetPointer.Null, 195SavedSweepEphemeralSegment = heap.SavedSweepEphemeralSeg ?? TargetPointer.Null, 196SavedSweepEphemeralStart = heap.SavedSweepEphemeralStart ?? TargetPointer.Null, 221private List<GCGenerationData> GetGenerationData(TargetPointer generationTableArrayStart) 228TargetPointer generationAddress = generationTableArrayStart + i * generationSize; 242private List<TargetPointer> GetFillPointers(Data.CFinalize cFinalize) 245TargetPointer fillPointersArrayStart = cFinalize.FillPointers; 246List<TargetPointer> fillPointers = []; 252private List<TargetNUInt> ReadGCHeapDataArray(TargetPointer arrayStart, uint length) 265TargetPointer oomHistory = _target.ReadGlobalPointer(Constants.Globals.GCHeapOomData); 270GCOomData IGC.GetOomData(TargetPointer heapAddress) 293void IGC.GetGlobalAllocationContext(out TargetPointer allocPtr, out TargetPointer allocLimit) 295TargetPointer globalAllocContextAddress = _target.ReadGlobalPointer(Constants.Globals.GlobalAllocContext); 335TargetPointer handleTableMap = _target.ReadGlobalPointer(Constants.Globals.HandleTableMap); 343while (handleTableMap != TargetPointer.Null) 346foreach (TargetPointer bucketPtr in handleTableData.BucketsPtr) 348if (bucketPtr == TargetPointer.Null) 354TargetPointer handleTablePtr = _target.ReadPointer(bucket.Table + (ulong)(j * _target.PointerSize)); 355if (handleTablePtr == TargetPointer.Null) 359if (handleTable.SegmentList == TargetPointer.Null) 363TargetPointer segmentPtr = handleTable.SegmentList; 369} while (segmentPtr != TargetPointer.Null); 387TargetPointer ephemeralSegment = heapData.EphemeralHeapSegment; 388TargetPointer allocAllocated = heapData.AllocAllocated; 394foreach ((Data.HeapSegment seg, TargetPointer _) in WalkSegmentList(gens[2].StartSegment)) 401foreach ((Data.HeapSegment seg, TargetPointer _) in WalkSegmentList(gens[1].StartSegment)) 405foreach ((Data.HeapSegment seg, TargetPointer segAddr) in WalkSegmentList(gens[0].StartSegment)) 408TargetPointer end = segAddr == ephemeralSegment ? allocAllocated : seg.Allocated; 415foreach ((Data.HeapSegment seg, TargetPointer segAddr) in WalkSegmentList(gens[2].StartSegment)) 425TargetPointer end = segAddr == ephemeralSegment ? allocAllocated : seg.Allocated; 431foreach ((Data.HeapSegment seg, TargetPointer _) in WalkSegmentList(gens[3].StartSegment)) 437foreach ((Data.HeapSegment seg, TargetPointer _) in WalkSegmentList(gens[4].StartSegment)) 443private IEnumerable<(Data.HeapSegment Segment, TargetPointer Address)> WalkSegmentList(TargetPointer startSegment) 446TargetPointer current = startSegment; 447while (current != TargetPointer.Null) 457TargetPointer IGC.GetPotentialNextObjectAddress( 458TargetPointer currentAddress, 462TargetPointer next = new TargetPointer(currentAddress.Value + currentObjectSize); 485TargetPointer current = store.FirstThread; 487while (current != TargetPointer.Null && safety-- > 0) 490if (td.AllocContextPointer != TargetPointer.Null) 496gc.GetGlobalAllocationContext(out TargetPointer gAllocPtr, out TargetPointer gAllocLimit); 497if (gAllocPtr != TargetPointer.Null) 508TargetPointer ptr = heap.GenerationTable[0].AllocationContextPointer; 509TargetPointer limit = heap.GenerationTable[0].AllocationContextLimit; 510if (ptr != TargetPointer.Null) 521foreach (TargetPointer heapAddress in gc.GetGCHeaps()) 630TargetPointer handleAddress = tableSegment.RgValue + offset * (uint)_target.PointerSize; 631TargetPointer handle = _target.ReadPointer(handleAddress); 632if (handle == TargetPointer.Null || handle == _debugDestroyedHandleValue) 642private HandleData CreateHandleData(TargetPointer handleAddress, byte uBlock, uint intraBlockIndex, Data.TableSegment tableSegment, HandleType type) 667TargetPointer handle = _target.ReadPointer(handleAddress); 668obj.GetBuiltInComData(handle, out _, out TargetPointer ccw, out _); 669if (ccw != TargetPointer.Null) 693TargetPointer handleTableMap = _target.ReadGlobalPointer(Constants.Globals.HandleTableMap); 694while (handleTableMap != TargetPointer.Null && maxRegions > 0) 697foreach (TargetPointer bucketPtr in map.BucketsPtr) 699if (bucketPtr == TargetPointer.Null) 705TargetPointer handleTablePtr = _target.ReadPointer(bucket.Table + (ulong)(j * _target.PointerSize)); 706if (handleTablePtr == TargetPointer.Null) 710if (handleTable.SegmentList == TargetPointer.Null) 713TargetPointer segmentPtr = handleTable.SegmentList; 714TargetPointer firstSegment = segmentPtr; 726} while (segmentPtr != TargetPointer.Null && segmentPtr != firstSegment && --segmentIterations > 0); 740TargetPointer bookkeepingStartGlobal = _target.ReadGlobalPointer(Constants.Globals.BookkeepingStart); 741if (bookkeepingStartGlobal == TargetPointer.Null) 744TargetPointer bookkeepingStart = _target.ReadPointer(bookkeepingStartGlobal); 745if (bookkeepingStart == TargetPointer.Null) 760TargetPointer next = cardTableInfo.NextCardTable; 761TargetPointer firstNext = next; 767while (next != TargetPointer.Null && next > cardTableInfoSize && maxRegions > 0) 769TargetPointer ctAddr = next - cardTableInfoSize; 806if (_target.TryReadGlobalPointer(Constants.Globals.GlobalFreeHugeRegions, out TargetPointer? globalFreeHugePtr)) 812if (_target.TryReadGlobalPointer(Constants.Globals.GlobalRegionsToDecommit, out TargetPointer? globalDecommitPtr)) 816TargetPointer listAddr = globalDecommitPtr.Value + (ulong)(i * regionFreeListSize); 824TargetPointer heapTable = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.Heaps)); 827TargetPointer heapAddress = _target.ReadPointer(heapTable + (i * (uint)_target.PointerSize)); 828if (heapAddress == TargetPointer.Null) 833if (heap.FreeRegions is TargetPointer freeRegionsBase && freeRegionsBase != TargetPointer.Null) 837TargetPointer listAddr = freeRegionsBase + (ulong)(j * regionFreeListSize); 842if (heap.FreeableSohSegment is TargetPointer freeableSoh && freeableSoh != TargetPointer.Null) 845if (heap.FreeableUohSegment is TargetPointer freeableUoh && freeableUoh != TargetPointer.Null) 852if (_target.TryReadGlobalPointer(Constants.Globals.GCHeapFreeRegions, out TargetPointer? freeRegionsPtr)) 856TargetPointer listAddr = freeRegionsPtr.Value + (ulong)(i * regionFreeListSize); 861if (_target.TryReadGlobalPointer(Constants.Globals.GCHeapFreeableSohSegment, out TargetPointer? freeableSohPtr)) 863TargetPointer segPtr = _target.ReadPointer(freeableSohPtr.Value); 864if (segPtr != TargetPointer.Null) 868if (_target.TryReadGlobalPointer(Constants.Globals.GCHeapFreeableUohSegment, out TargetPointer? freeableUohPtr)) 870TargetPointer segPtr = _target.ReadPointer(freeableUohPtr.Value); 871if (segPtr != TargetPointer.Null) 879TargetNUInt IGC.GetHandleExtraInfo(TargetPointer handle) 884TargetPointer segmentBase = handle & segmentMask; 902TargetPointer extraInfoAddress = tableSegment.RgValue + offset * (uint)_target.PointerSize; 907private void AddFreeList(TargetPointer freeListAddr, FreeRegionKind kind, List<GCMemoryRegionData> regions, int heap = 0) 910if (freeList.HeadFreeRegion != TargetPointer.Null) 914private void AddSegmentList(TargetPointer start, FreeRegionKind kind, List<GCMemoryRegionData> regions, int heap = 0) 917TargetPointer curr = start; 918while (curr != TargetPointer.Null) 921if (segment.Mem != TargetPointer.Null)
Contracts\GC\GCHeapWKS.cs (31)
10if (target.TryReadGlobalPointer(Constants.Globals.GCHeapMarkArray, out TargetPointer? markArrayPtr)) 12if (target.TryReadGlobalPointer(Constants.Globals.GCHeapNextSweepObj, out TargetPointer? nextSweepObjPtr)) 14if (target.TryReadGlobalPointer(Constants.Globals.GCHeapBackgroundMinSavedAddr, out TargetPointer? bgMinPtr)) 16if (target.TryReadGlobalPointer(Constants.Globals.GCHeapBackgroundMaxSavedAddr, out TargetPointer? bgMaxPtr)) 24if (target.TryReadGlobalPointer(Constants.Globals.GCHeapSavedSweepEphemeralSeg, out TargetPointer? savedSweepEphemeralSegPtr)) 26if (target.TryReadGlobalPointer(Constants.Globals.GCHeapSavedSweepEphemeralStart, out TargetPointer? savedSweepEphemeralStartPtr)) 31if (target.TryReadGlobalPointer(Constants.Globals.GCHeapInternalRootArray, out TargetPointer? internalRootArrayPtr)) 33if (target.TryReadGlobalPointer(Constants.Globals.GCHeapInternalRootArrayIndex, out TargetPointer? internalRootArrayIndexPtr)) 35if (target.TryReadGlobalPointer(Constants.Globals.GCHeapHeapAnalyzeSuccess, out TargetPointer? heapAnalyzeSuccessPtr)) 43if (target.TryReadGlobalPointer(Constants.Globals.GCHeapFreeableSohSegment, out TargetPointer? freeableSohSegPtr)) 45if (target.TryReadGlobalPointer(Constants.Globals.GCHeapFreeableUohSegment, out TargetPointer? freeableUohSegPtr)) 47if (target.TryReadGlobalPointer(Constants.Globals.GCHeapFreeRegions, out TargetPointer? freeRegionsPtr)) 51public TargetPointer? MarkArray { get; } 52public TargetPointer? NextSweepObj { get; } 53public TargetPointer? BackgroundMinSavedAddr { get; } 54public TargetPointer? BackgroundMaxSavedAddr { get; } 55public TargetPointer AllocAllocated { get; } 56public TargetPointer EphemeralHeapSegment { get; } 57public TargetPointer CardTable { get; } 58public TargetPointer FinalizeQueue { get; } 59public TargetPointer GenerationTable { get; } 61public TargetPointer? SavedSweepEphemeralSeg { get; } 62public TargetPointer? SavedSweepEphemeralStart { get; } 66public TargetPointer? InternalRootArray { get; } 70public TargetPointer InterestingData { get; } 71public TargetPointer CompactReasons { get; } 72public TargetPointer ExpandMechanisms { get; } 73public TargetPointer InterestingMechanismBits { get; } 75public TargetPointer? FreeableSohSegment { get; } 76public TargetPointer? FreeableUohSegment { get; } 77public TargetPointer? FreeRegions { get; }
Contracts\GC\IGCHeap.cs (19)
8TargetPointer? MarkArray { get; } 9TargetPointer? NextSweepObj { get; } 10TargetPointer? BackgroundMinSavedAddr { get; } 11TargetPointer? BackgroundMaxSavedAddr { get; } 12TargetPointer AllocAllocated { get; } 13TargetPointer EphemeralHeapSegment { get; } 14TargetPointer CardTable { get; } 15TargetPointer FinalizeQueue { get; } 16TargetPointer GenerationTable { get; } 18TargetPointer? SavedSweepEphemeralSeg { get; } 19TargetPointer? SavedSweepEphemeralStart { get; } 23TargetPointer? InternalRootArray { get; } 27TargetPointer InterestingData { get; } 28TargetPointer CompactReasons { get; } 29TargetPointer ExpandMechanisms { get; } 30TargetPointer InterestingMechanismBits { get; } 32TargetPointer? FreeableSohSegment { get; } 33TargetPointer? FreeableUohSegment { get; } 34TargetPointer? FreeRegions { get; }
Contracts\GCInfo\GCInfo_1.cs (5)
19IGCInfoHandle IGCInfo.DecodePlatformSpecificGCInfo(TargetPointer gcInfoAddress, uint gcVersion) 22IGCInfoHandle IGCInfo.DecodeInterpreterGCInfo(TargetPointer gcInfoAddress, uint gcVersion) 79TargetPointer IGCInfo.GetAmbientSP(IGCInfoHandle gcInfoHandle, uint codeOffset, TargetPointer fp, TargetPointer sp)
Contracts\GCInfo\GCInfoDecoder.cs (6)
101private readonly TargetPointer _pGcInfo; 141public GcInfoDecoder(Target target, TargetPointer gcInfoAddress, uint gcVersion) 599public TargetPointer GetAmbientSP(uint codeOffset, TargetPointer fp, TargetPointer sp) => TargetPointer.Null;
Contracts\GCInfo\GCInfoX86_1.cs (5)
25IGCInfoHandle IGCInfo.DecodePlatformSpecificGCInfo(TargetPointer gcInfoAddress, uint gcVersion) 28IGCInfoHandle IGCInfo.DecodeInterpreterGCInfo(TargetPointer gcInfoAddress, uint gcVersion) 58TargetPointer IGCInfo.GetAmbientSP(IGCInfoHandle gcInfoHandle, uint codeOffset, TargetPointer fp, TargetPointer sp)
Contracts\GCInfo\IGCInfoDecoder.cs (3)
26TargetPointer GetAmbientSP(uint codeOffset, TargetPointer fp, TargetPointer sp);
Contracts\GCInfo\X86\GCArgTable.cs (7)
18public GCArgTable(Target target, InfoHdr header, TargetPointer argTablePtr) 23TargetPointer offset = argTablePtr; 95private void GetTransitionsFullyInterruptible(ref TargetPointer offset) 198private void GetTransitionsEbpFrame(ref TargetPointer offset) 207TargetPointer argOffset = offset; 347private void SaveCallTransition(ref TargetPointer offset, uint curOffs, uint callRegMask, bool callPndTab, uint callPndTabCnt, uint callPndMask, ref uint imask) 375private void GetTransitionsNoEbp(ref TargetPointer offset)
Contracts\GCInfo\X86\GCInfo.cs (14)
37private readonly TargetPointer _gcInfoAddress; 98public X86GCInfo(Target target, TargetPointer gcInfoAddress, uint gcInfoVersion, uint relativeOffset = 0) 113TargetPointer offset = gcInfoAddress; 201TargetPointer ptr = _gcInfoAddress + _infoHdrSize; 214TargetPointer argTabPtr; 322TargetPointer offset = _gcInfoAddress + _infoHdrSize; 377TargetPointer offset = _gcInfoAddress + _infoHdrSize; 558public TargetPointer GetAmbientSP(uint codeOffset, TargetPointer fp, TargetPointer sp) 561return TargetPointer.Null; 572private TargetPointer GetOutermostBaseFP(TargetPointer ebp) 576TargetPointer pLocalloc = new(ebp.Value - GetLocallocSPOffset());
Contracts\GCInfo\X86\GCInfoTargetExtensions.cs (5)
13public static uint GCDecodeUnsigned(this Target target, ref TargetPointer src) 15TargetPointer begin = src; 36public static int GCDecodeSigned(this Target target, ref TargetPointer src) 38TargetPointer begin = src; 65public static uint GCDecodeUDelta(this Target target, ref TargetPointer src, uint lastValue)
Contracts\GCInfo\X86\InfoHdr.cs (1)
149public static InfoHdr DecodeHeader(Target target, ref TargetPointer offset, uint codeLength, int version)
Contracts\Loader_1.cs (113)
54ModuleHandle ILoader.GetModuleHandleFromModulePtr(TargetPointer modulePointer) 56if (modulePointer == TargetPointer.Null) 61ModuleHandle ILoader.GetModuleHandleFromAssemblyPtr(TargetPointer assemblyPointer) 63if (assemblyPointer == TargetPointer.Null) 67if (assembly.Module == TargetPointer.Null) 73IEnumerable<ModuleHandle> ILoader.GetModuleHandles(TargetPointer appDomain, AssemblyIterationFlags iterationFlags) 75if (appDomain == TargetPointer.Null) 81foreach (TargetPointer pAssembly in arrayList.Elements) 143TargetPointer ILoader.GetRootAssembly() 145TargetPointer defaultAppDomain = ((ILoader)this).GetAppDomain(); 152TargetPointer defaultAppDomain = ((ILoader)this).GetAppDomain(); 154return appDomain.FriendlyName != TargetPointer.Null 159TargetPointer ILoader.GetAppDomain() 161TargetPointer appDomainPointer = _target.ReadGlobalPointer(Constants.Globals.AppDomain); 162TargetPointer appDomain = _target.ReadPointer(appDomainPointer); 166TargetPointer ILoader.GetModule(ModuleHandle handle) 171TargetPointer ILoader.GetAssembly(ModuleHandle handle) 177TargetPointer ILoader.GetPEAssembly(ModuleHandle handle) 188if (module.PEAssembly == TargetPointer.Null) 192if (peAssembly.PEImage == TargetPointer.Null) 206TargetPointer imageLayoutPtr = peImage.LoadedImageLayout; 207if (imageLayoutPtr == TargetPointer.Null) 209if (peImage.FlatImageLayout is not TargetPointer flatLayoutPtr || flatLayoutPtr == TargetPointer.Null) 219bool ILoader.TryGetLoadedImageContents(ModuleHandle handle, out TargetPointer baseAddress, out uint size, out uint imageFlags) 221baseAddress = TargetPointer.Null; 251if (peImage.LoadedImageLayout == TargetPointer.Null) 259private TargetPointer FindNTHeaders(Data.PEImageLayout imageLayout) 265private TargetPointer RvaToSection(int rva, Data.PEImageLayout imageLayout) 267TargetPointer ntHeadersPtr = FindNTHeaders(imageLayout); 270TargetPointer section = ntHeadersPtr + (uint)offset + ntHeaders.FileHeader.SizeOfOptionalHeader; 271TargetPointer sectionEnd = section + Data.ImageSectionHeader.Size * ntHeaders.FileHeader.NumberOfSections; 281return TargetPointer.Null; 289TargetPointer section = RvaToSection(rva, imageLayout); 290if (section == TargetPointer.Null) 303TargetPointer headerBase = imageLayout.Base; 312TargetPointer sectionTableBase = headerBase + webcilHeader.Size; // See docs/design/mono/webcil.md 316TargetPointer sectionPtr = sectionTableBase + (uint)(i * (int)16); // See docs/design/mono/webcil.md 333private TargetPointer GetRvaData(TargetPointer peAssemblyPtr, int rva, bool isNullOk) 336return TargetPointer.Null; 338if (assembly.PEImage == TargetPointer.Null) 351TargetPointer ILoader.GetILAddr(TargetPointer peAssemblyPtr, int rva) => GetRvaData(peAssemblyPtr, rva, false); 353TargetPointer ILoader.GetFieldAddressFromRva(TargetPointer peAssemblyPtr, int rva) => GetRvaData(peAssemblyPtr, rva, true); 355bool ILoader.TryGetSymbolStream(ModuleHandle handle, out TargetPointer buffer, out uint size) 357buffer = TargetPointer.Null; 362if (module.GrowableSymbolStream == TargetPointer.Null) 373IEnumerable<TargetPointer> ILoader.GetAvailableTypeParams(ModuleHandle handle) 377if (module.AvailableTypeParams == TargetPointer.Null) 384IEnumerable<TargetPointer> ILoader.GetInstantiatedMethods(ModuleHandle handle) 388if (module.InstMethodHashTable == TargetPointer.Null) 451TargetPointer configPtr = _target.ReadGlobalPointer(Constants.Globals.EEConfig); 472return module.ReadyToRunInfo != TargetPointer.Null; 478return module.SimpleName != TargetPointer.Null 486return module.Path != TargetPointer.Null 494return module.FileName != TargetPointer.Null 507if (peImage.LoadedImageLayout == TargetPointer.Null) 515TargetPointer ntHeadersPtr = FindNTHeaders(peImageLayout); 522TargetPointer ILoader.GetLoaderAllocator(ModuleHandle handle) 528TargetPointer ILoader.GetILBase(ModuleHandle handle) 534TargetPointer ILoader.GetAssemblyLoadContext(ModuleHandle handle) 554module.MethodDefToILCodeVersioningStateMap ?? TargetPointer.Null, 561private IEnumerable<(TargetPointer, uint)> IterateModuleLookupMap(TargetPointer table, uint index, Delegate iterator) 569TargetPointer entryAddress = lookupMap.TableData + (ulong)(index * _target.PointerSize); 570TargetPointer rawValue = _target.ReadPointer(entryAddress); 581} while (table != TargetPointer.Null); 584TargetPointer ILoader.GetModuleLookupMapElement(TargetPointer table, uint token, out TargetNUInt flags) 587if (table == TargetPointer.Null || rid == 0) 590return TargetPointer.Null; 595(TargetPointer rval, uint _) = IterateModuleLookupMap(table, rid, SearchLookupMap).FirstOrDefault(); 600TargetPointer ILoader.LookupMemberRefAsMethod(ModuleHandle handle, uint token) 603TargetPointer result = ((ILoader)this).GetModuleLookupMapElement(lookupTables.MemberRefToDesc, token, out TargetNUInt flags); 604return (flags.Value & IS_FIELD_MEMBER_REF) == 0 ? result : TargetPointer.Null; 607IEnumerable<(TargetPointer, uint)> ILoader.EnumerateModuleLookupMap(TargetPointer table) 609if (table == TargetPointer.Null) 615foreach ((TargetPointer targetPointer, uint idx) in IterateModuleLookupMap(table, index, IterateLookupMap)) 617TargetPointer rval = targetPointer & ~supportedFlagsMask; 618if (rval != TargetPointer.Null) 644TargetPointer ILoader.GetGlobalLoaderAllocator() 646TargetPointer systemDomainPointer = _target.ReadGlobalPointer(Constants.Globals.SystemDomain); 651TargetPointer ILoader.GetSystemAssembly() 653TargetPointer systemDomainPointer = _target.ReadGlobalPointer(Constants.Globals.SystemDomain); 658TargetPointer ILoader.GetHighFrequencyHeap(TargetPointer loaderAllocatorPointer) 664TargetPointer ILoader.GetLowFrequencyHeap(TargetPointer loaderAllocatorPointer) 670TargetPointer ILoader.GetStubHeap(TargetPointer loaderAllocatorPointer) 676TargetPointer ILoader.GetObjectHandle(TargetPointer loaderAllocatorPointer) 692TargetPointer ILoader.GetILHeader(ModuleHandle handle, uint token) 696TargetPointer headerPtr = loader.GetDynamicIL(handle, token); 697if (headerPtr == TargetPointer.Null) 699TargetPointer peAssembly = loader.GetPEAssembly(handle); 717static DynamicILBlobTable IData<DynamicILBlobTable>.Create(Target target, TargetPointer address) 720public DynamicILBlobTable(Target target, TargetPointer address) 733TargetPointer ILoader.GetDynamicIL(ModuleHandle handle, uint token) 736if (module.DynamicILBlobTable == TargetPointer.Null) 738return TargetPointer.Null; 743return entry?.EntryIL ?? TargetPointer.Null; 746IEnumerable<LoaderHeapBlock> ILoader.EnumerateLoaderHeapBlocks(TargetPointer loaderHeap) 748TargetPointer block = _target.ProcessedData.GetOrAdd<Data.LoaderHeap>(loaderHeap).FirstBlock; 749HashSet<TargetPointer> visited = []; 750while (block != TargetPointer.Null) 761IReadOnlyDictionary<LoaderAllocatorHeapType, TargetPointer> ILoader.GetLoaderAllocatorHeaps(TargetPointer loaderAllocatorPointer) 766Dictionary<LoaderAllocatorHeapType, TargetPointer> heaps = new() 784if (loaderAllocator.VirtualCallStubManager != TargetPointer.Null)
Contracts\ManagedTypeSource_1.cs (31)
18private readonly Dictionary<(string Fqn, string FieldName), TargetPointer> _fieldDescCache = new(); 115public TargetPointer GetStaticFieldAddress(string fullyQualifiedName, string fieldName) 117if (!TryGetStaticFieldAddress(fullyQualifiedName, fieldName, out TargetPointer address)) 123public bool TryGetStaticFieldAddress(string fullyQualifiedName, string fieldName, out TargetPointer address) 125address = TargetPointer.Null; 126if (!TryGetFieldDesc(fullyQualifiedName, fieldName, out TargetPointer fieldDescAddr)) 138TargetPointer enclosingMT = rts.GetMTOfEnclosingClass(fieldDescAddr); 142TargetPointer @base = isGC ? rts.GetGCStaticsBasePointer(ctx) : rts.GetNonGCStaticsBasePointer(ctx); 143if (@base == TargetPointer.Null) 150public TargetPointer GetThreadStaticFieldAddress(string fullyQualifiedName, string fieldName, TargetPointer thread) 152if (!TryGetThreadStaticFieldAddress(fullyQualifiedName, fieldName, thread, out TargetPointer address)) 158public bool TryGetThreadStaticFieldAddress(string fullyQualifiedName, string fieldName, TargetPointer thread, out TargetPointer address) 160address = TargetPointer.Null; 161if (!TryGetFieldDesc(fullyQualifiedName, fieldName, out TargetPointer fieldDescAddr)) 173TargetPointer enclosingMT = rts.GetMTOfEnclosingClass(fieldDescAddr); 177TargetPointer @base = isGC 180if (@base == TargetPointer.Null) 187private bool TryGetFieldDesc(string fullyQualifiedName, string fieldName, out TargetPointer fieldDescAddr) 191return fieldDescAddr != TargetPointer.Null; 195fieldDescAddr = TargetPointer.Null; 196_fieldDescCache[key] = TargetPointer.Null; 202return fieldDescAddr != TargetPointer.Null; 234TargetPointer fieldDescAddr = rts.GetFieldDescByName(th, fieldName); 235if (fieldDescAddr == TargetPointer.Null) 260TargetPointer systemAssembly = loader.GetSystemAssembly(); 261if (systemAssembly == TargetPointer.Null) 274TargetPointer typeDefToMethodTable = loader.GetLookupTables(moduleHandle).TypeDefToMethodTable; 275TargetPointer typeHandlePtr = loader.GetModuleLookupMapElement(typeDefToMethodTable, (uint)token, out _); 276if (typeHandlePtr == TargetPointer.Null)
Contracts\Notifications_1.cs (3)
30TargetPointer pGcNotificationFlags = _target.ReadGlobalPointer(Constants.Globals.GcNotificationFlags); 40bool INotifications.TryParseNotification(ReadOnlySpan<TargetPointer> exceptionInformation, [NotNullWhen(true)] out NotificationData? notification) 61private static GcNotificationData ParseGcNotification(ReadOnlySpan<TargetPointer> exceptionInformation)
Contracts\Object_1.cs (45)
17private readonly TargetPointer _stringMethodTable; 35public TargetPointer GetMethodTableAddress(TargetPointer address) 37TargetPointer mt = _target.ReadPointer(address + _methodTableOffset); 41string IObject.GetStringValue(TargetPointer address) 43TargetPointer mt = GetMethodTableAddress(address); 44if (mt == TargetPointer.Null) 58public void GetStringData(TargetPointer address, out uint length, out uint offsetToFirstChar) 60TargetPointer mt = GetMethodTableAddress(address); 61if (mt == TargetPointer.Null) 71public TargetPointer GetArrayData(TargetPointer address, out uint count, out TargetPointer boundsStart, out TargetPointer lowerBounds) 73TargetPointer mt = GetMethodTableAddress(address); 74if (mt == TargetPointer.Null) 109public bool GetBuiltInComData(TargetPointer address, out TargetPointer rcw, out TargetPointer ccw, out TargetPointer ccf) 111rcw = TargetPointer.Null; 112ccw = TargetPointer.Null; 113ccf = TargetPointer.Null; 115TargetPointer syncBlockPtr = GetSyncBlockAddress(address); 116if (syncBlockPtr == TargetPointer.Null) 122int IObject.TryGetHashCode(TargetPointer address) 136TargetPointer syncBlockPtr = GetSyncBlockAddress(address); 137if (syncBlockPtr != TargetPointer.Null) 148public TargetPointer GetSyncBlockAddress(TargetPointer address) 157return TargetPointer.Null; 163public DelegateInfo GetDelegateInfo(TargetPointer address) 169if (del.HelperObject != TargetPointer.Null) 173TargetPointer mt = GetMethodTableAddress(del.HelperObject); 174Debug.Assert(mt != TargetPointer.Null); 185(TargetPointer targetObject, TargetCodePointer targetMethodPtr) = delegateType switch 188DelegateType.Open => (TargetPointer.Null, del.MethodPtrAux), 189_ => (TargetPointer.Null, TargetCodePointer.Null), 198public ContinuationInfo GetContinuationInfo(TargetPointer address) 201TargetPointer diagnosticIP = cont.ResumeInfo != TargetPointer.Null 203: TargetPointer.Null; 210public ulong GetSize(TargetPointer address) 212TargetPointer mt = GetMethodTableAddress(address); 213if (mt == TargetPointer.Null)
Contracts\ObjectiveCMarshal_1.cs (8)
17public TargetPointer GetTaggedMemory(TargetPointer address, out TargetNUInt size) 21TargetPointer? objectsTable = Data.ObjectiveCMarshal.ObjectTrackingInfoTable(_target); 22if (objectsTable is null || objectsTable.Value == TargetPointer.Null) 23return TargetPointer.Null; 26if (cwt.TryGetValue(objectsTable.Value, address, out TargetPointer trackingInfoAddress)) 29if (trackingInfo.Memory != TargetPointer.Null) 37return TargetPointer.Null;
Contracts\PlatformMetadata_1.cs (2)
11private readonly TargetPointer _cdacMetadataAddress; 21TargetPointer IPlatformMetadata.GetPrecodeMachineDescriptor()
Contracts\PrecodeStubs_1.cs (15)
12public static TargetPointer StubPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 14TargetPointer stubPrecodeDataAddress = instrPointer + precodeMachineDescriptor.StubCodePageSize; 19public static TargetPointer FixupPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 21TargetPointer fixupPrecodeDataAddress = instrPointer + precodeMachineDescriptor.StubCodePageSize; 26public static TargetPointer ThisPtrRetBufPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 31public static TargetPointer InterpreterPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 41internal static byte ReadPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 59public static KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 64public static KnownPrecodeType? TryGetKnownPrecodeType_Impl<TPrecodeStubsImplementation, TStubPrecodeData>(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) where TPrecodeStubsImplementation : IPrecodeStubsContractCommonApi<TStubPrecodeData> where TStubPrecodeData : IData<TStubPrecodeData> 105static TStubPrecodeData GetStubPrecodeData(TargetPointer stubInstrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 107TargetPointer stubPrecodeDataAddress = stubInstrPointer + precodeMachineDescriptor.StubCodePageSize;
Contracts\PrecodeStubs_2.cs (11)
11public static TargetPointer StubPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 13TargetPointer stubPrecodeDataAddress = instrPointer + precodeMachineDescriptor.StubCodePageSize; 18public static TargetPointer FixupPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 24public static TargetPointer ThisPtrRetBufPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 26TargetPointer stubPrecodeDataAddress = instrPointer + precodeMachineDescriptor.StubCodePageSize; 32public static TargetPointer InterpreterPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 42public static KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor)
Contracts\PrecodeStubs_3.cs (16)
11public static TargetPointer StubPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 17public static TargetPointer FixupPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 23public static TargetPointer ThisPtrRetBufPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 29public static TargetPointer InterpreterPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 31TargetPointer dataAddr = instrPointer + precodeMachineDescriptor.StubCodePageSize; 45private static Data.StubPrecodeData_2 GetStubPrecodeData(TargetPointer stubInstrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 47TargetPointer stubPrecodeDataAddress = stubInstrPointer + precodeMachineDescriptor.StubCodePageSize; 51public static KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 92static bool ReadBytesAndCompare(TargetPointer instrAddress, byte[] expectedBytePattern, byte[] bytesToIgnore, Target target) 120TargetPointer instrPointer = CodePointerReadableInstrPointer(entryPoint); 132TargetPointer dataAddress = 137return precodeData.ByteCodeAddr == TargetPointer.Null
Contracts\PrecodeStubs_Common.cs (31)
24public static abstract TargetPointer StubPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 25public static abstract TargetPointer ThisPtrRetBufPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 26public static abstract TargetPointer FixupPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 27public static abstract TargetPointer InterpreterPrecode_GetMethodDesc(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 29public static abstract KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrPointer, Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 42public TargetPointer InstrPointer { get; } 45protected ValidPrecode(TargetPointer instrPointer, KnownPrecodeType precodeType) 51internal abstract TargetPointer GetMethodDesc(Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor); 56internal StubPrecode(TargetPointer instrPointer, KnownPrecodeType type = KnownPrecodeType.Stub) : base(instrPointer, type) { } 58internal override TargetPointer GetMethodDesc(Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 66internal InterpreterPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.Interpreter) { } 68internal override TargetPointer GetMethodDesc(Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 76internal PInvokeImportPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.PInvokeImport) { } 81internal FixupPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.Fixup) { } 82internal override TargetPointer GetMethodDesc(Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 90internal ThisPtrRetBufPrecode(TargetPointer instrPointer) : base(instrPointer, KnownPrecodeType.ThisPtrRetBuf) { } 92internal override TargetPointer GetMethodDesc(Target target, Data.PrecodeMachineDescriptor precodeMachineDescriptor) 98private bool IsAlignedInstrPointer(TargetPointer instrPointer) => _target.IsAlignedToPointerSize(instrPointer); 100private TStubPrecodeData GetStubPrecodeData(TargetPointer stubInstrPointer) 102TargetPointer stubPrecodeDataAddress = stubInstrPointer + MachineDescriptor.StubCodePageSize; 106private KnownPrecodeType? TryGetKnownPrecodeType(TargetPointer instrAddress) 111internal TargetPointer CodePointerReadableInstrPointer(TargetCodePointer codePointer) 128TargetPointer instrPointer = CodePointerReadableInstrPointer(entryPoint); 153TargetPointer descAddr = pm.GetPrecodeMachineDescriptor(); 158TargetPointer IPrecodeStubs.GetMethodDescFromStubAddress(TargetCodePointer entryPoint) 165TargetPointer IPrecodeStubs.GetPrecodeEntryPointFromInteriorAddress(TargetCodePointer interiorAddress, bool isFixupPrecode) 167TargetPointer instrPointer = CodePointerReadableInstrPointer(interiorAddress);
Contracts\ReJIT_1.cs (3)
13private readonly TargetPointer _profControlBlockAddress; 75if (ilCodeVersionHandle.ILCodeVersionNode == TargetPointer.Null) 86if (ilCodeVersionHandle.ILCodeVersionNode == TargetPointer.Null)
Contracts\RuntimeMutableTypeSystem_1.cs (43)
22bool IRuntimeMutableTypeSystem.IsFieldDescEnCNew(TargetPointer fieldDescPointer) 29IEnumerable<TargetPointer> IRuntimeMutableTypeSystem.EnumerateAddedFieldDescs(ITypeHandle typeHandle, bool staticFields) 38TargetPointer modulePtr = rts.GetModule(typeHandle); 39if (modulePtr == TargetPointer.Null) 49if (module.EnCClassList is not TargetPointer classListAddr) 53if (classList.Count == 0 || classList.Table == TargetPointer.Null) 57TargetPointer mtPtr = typeHandle.Address; 59TargetPointer classDataPtr = TargetPointer.Null; 62TargetPointer entry = _target.ReadPointer(classList.Table + i * ptrSize); 63if (entry == TargetPointer.Null) 72if (classDataPtr == TargetPointer.Null) 76TargetPointer node = staticFields ? classData.AddedStaticFields : classData.AddedInstanceFields; 77while (node != TargetPointer.Null) 85bool IRuntimeMutableTypeSystem.DoesEnCFieldDescNeedFixup(TargetPointer encFieldDescPointer) 91TargetPointer IRuntimeMutableTypeSystem.GetEnCStaticFieldDataAddress(TargetPointer encFieldDescPointer) 94if (encFieldDesc.StaticFieldData == TargetPointer.Null) 95return TargetPointer.Null; 98TargetPointer fieldDataAddress = staticField.FieldData; 105TargetPointer IRuntimeMutableTypeSystem.GetEnCInstanceFieldAddress(TargetPointer objectAddress, TargetPointer encFieldDescPointer) 110TargetPointer syncBlockAddress = objectContract.GetSyncBlockAddress(objectAddress); 111if (syncBlockAddress == TargetPointer.Null) 112return TargetPointer.Null; 115if (syncBlock.EnCInfo is not TargetPointer encInfoAddress) 116return TargetPointer.Null; 121TargetPointer entryPtr = encInfo.List; 122while (entryPtr != TargetPointer.Null) 128TargetPointer handleAddress = entry.FieldData.Handle; 129if (handleAddress == TargetPointer.Null) 130return TargetPointer.Null; 133TargetPointer helperObjectAddress = new TargetPointer(secondary.Value); 134if (helperObjectAddress == TargetPointer.Null) 135return TargetPointer.Null; 139TargetPointer objectReferenceAddress = helper.ObjectReferenceAddress; 142TargetPointer fieldObject = _target.ReadPointer(objectReferenceAddress); 148if (fieldObject == TargetPointer.Null) 149return TargetPointer.Null; 161if (fieldObject == TargetPointer.Null) 162return TargetPointer.Null; 169return TargetPointer.Null;
Contracts\RuntimeTypeSystem_1.cs (248)
22private readonly TargetPointer _freeObjectMethodTablePointer; 23private readonly TargetPointer _objectMethodTablePointer; 24private TargetPointer _continuationMethodTablePointer; 25private TargetPointer _continuationSingletonEEClassPointer; 26private readonly TargetPointer _multicastDelegateMethodTablePointer; 33private readonly Dictionary<TargetPointer, MethodTable> _methodTables = new(); 34private readonly Dictionary<TargetPointer, MethodDesc> _methodDescs = new(); 39private readonly Dictionary<TargetPointer, TargetTypeHandle> _targetTypeHandles = new(); 49private TargetTypeHandle GetOrCreateTargetTypeHandle(TargetPointer address) 64internal TargetPointer ParentMethodTable { get; } 65internal TargetPointer Module { get; } 66internal TargetPointer EEClassOrCanonMT { get; } 67internal TargetPointer PerInstInfo { get; } 68internal TargetPointer AuxiliaryData { get; } 218internal TargetPointer Address { get; init; } 220internal TargetPointer ChunkAddress { get; init; } 222internal MethodDesc(Target target, TargetPointer methodDescPointer, Data.MethodDesc desc, TargetPointer methodDescChunkAddress, Data.MethodDescChunk chunk) 234public TargetPointer MethodTable => _chunk.MethodTable; 313public TargetPointer CodeData => _desc.CodeData; 315public TargetPointer? GCCoverageInfo => _desc.GCCoverageInfo; 327internal TargetPointer GetAddressOfNonVtableSlot() => MethodDescOptionalSlots.GetAddressOfNonVtableSlot(Address, Classification, _desc.Flags, _target); 328internal TargetPointer GetAddressOfNativeCodeSlot() => MethodDescOptionalSlots.GetAddressOfNativeCodeSlot(Address, Classification, _desc.Flags, _target); 329internal TargetPointer GetAddressOfAsyncMethodData() => MethodDescOptionalSlots.GetAddressOfAsyncMethodData(Address, Classification, _desc.Flags, _target); 359public static InstantiatedMethodDesc Create(Target target, TargetPointer address) => new InstantiatedMethodDesc(target, address); 361private readonly TargetPointer _address; 364private InstantiatedMethodDesc(Target target, TargetPointer methodDescPointer) 371TargetPointer perInstInfo = _desc.PerInstInfo; 372if ((perInstInfo == TargetPointer.Null) || (numGenericArgs == 0)) 389internal bool HasPerInstInfo => _desc.PerInstInfo != TargetPointer.Null; 396public static DynamicMethodDesc Create(Target target, TargetPointer address) => new DynamicMethodDesc(target, address); 398private readonly TargetPointer _address; 402private DynamicMethodDesc(Target target, TargetPointer methodDescPointer) 407MethodName = _desc.MethodName != TargetPointer.Null 427public static StoredSigMethodDesc Create(Target target, TargetPointer address) => new StoredSigMethodDesc(target, address); 430private StoredSigMethodDesc(Target target, TargetPointer methodDescPointer) 457internal TargetPointer FreeObjectMethodTablePointer => _freeObjectMethodTablePointer; 458internal TargetPointer ObjectMethodTablePointer => _objectMethodTablePointer; 459internal TargetPointer ContinuationMethodTablePointer 463if (_continuationMethodTablePointer != TargetPointer.Null) 471internal TargetPointer ContinuationSingletonEEClassPointer 475if (_continuationSingletonEEClassPointer != TargetPointer.Null) 485public ITypeHandle GetTypeHandle(TargetPointer typeHandlePointer) 507TargetPointer methodTablePointer = typeHandlePointer; 538public TargetPointer GetModule(ITypeHandle typeHandle) 550else if (IsGenericVariable(typeHandle, out TargetPointer genericParamModule, out _, out _)) 557return TargetPointer.Null; 562return TargetPointer.Null; 565public TargetPointer GetCanonicalMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : GetClassData(typeHandle).MethodTable; 567public TargetPointer GetParentMethodTable(ITypeHandle typeHandle) => !typeHandle.IsMethodTable() ? TargetPointer.Null : _methodTables[typeHandle.Address].ParentMethodTable; 575private TargetPointer GetClassPointer(ITypeHandle typeHandle) 578return TargetPointer.Null; 585TargetPointer canonMTPtr = MethodTableFlags_1.UntagEEClassOrCanonMT(methodTable.EEClassOrCanonMT); 598TargetPointer eeClassPtr = GetClassPointer(typeHandle); 599if (eeClassPtr == TargetPointer.Null) 603if (eeClass.OptionalFields == TargetPointer.Null) 628TargetPointer clsPtr = GetClassPointer(typeHandle); 635public bool IsObject(ITypeHandle typeHandle) => ObjectMethodTablePointer != TargetPointer.Null && ObjectMethodTablePointer == typeHandle.Address; 646public TargetPointer GetWellKnownMethodTable(WellKnownMethodTable kind) 659if (!_target.TryReadGlobalPointer(globalName, out TargetPointer? ptrPtr) || ptrPtr is null) 660return TargetPointer.Null; 661if (!_target.TryReadPointer(ptrPtr.Value, out TargetPointer value)) 662return TargetPointer.Null; 704TargetPointer firstField = TargetPointer.Null; 705foreach (TargetPointer fd in ((IRuntimeTypeSystem)this).GetFieldDescList(current)) 713if (firstField == TargetPointer.Null) 748TargetPointer modulePtr = ((IRuntimeTypeSystem)this).GetModule(typeHandle); 749if (modulePtr == TargetPointer.Null) 818&& ContinuationMethodTablePointer != TargetPointer.Null 820&& ContinuationSingletonEEClassPointer != TargetPointer.Null 920public IEnumerable<TargetPointer> GetFieldDescList(ITypeHandle typeHandle) 925(TargetPointer fieldDescListPtr, uint fieldDescSize, int totalFields) = GetFieldDescListLayout(typeHandle); 934private (TargetPointer ListStart, uint FieldDescSize, int TotalFields) GetFieldDescListLayout(ITypeHandle typeHandle) 936TargetPointer fieldDescListPtr = GetClassData(typeHandle).FieldDescList; 940TargetPointer parentMT = GetParentMethodTable(typeHandle); 941if (parentMT != TargetPointer.Null) 950private TargetPointer GetDynamicStaticsInfo(ITypeHandle typeHandle) 958TargetPointer dynamicStaticsInfoSize = Data.DynamicStaticsInfo.GetSize(_target); 959TargetPointer dynamicStaticsInfoAddr = methodTable.AuxiliaryData - dynamicStaticsInfoSize; 966TargetPointer threadStaticsInfoSize = Data.ThreadStaticsInfo.GetSize(_target); 967TargetPointer threadStaticsInfoAddr = methodTable.AuxiliaryData - threadStaticsInfoSize; 972public TargetPointer GetGCThreadStaticsBasePointer(ITypeHandle typeHandle, TargetPointer threadPtr) 975return TargetPointer.Null; 976TargetPointer tlsIndexPtr = GetThreadStaticsInfo(typeHandle).GCTlsIndex; 981public TargetPointer GetNonGCThreadStaticsBasePointer(ITypeHandle typeHandle, TargetPointer threadPtr) 984return TargetPointer.Null; 985TargetPointer tlsIndexPtr = GetThreadStaticsInfo(typeHandle).NonGCTlsIndex; 990public TargetPointer GetGCStaticsBasePointer(ITypeHandle typeHandle) 992TargetPointer dynamicStaticsInfoAddr = GetDynamicStaticsInfo(typeHandle); 993if (dynamicStaticsInfoAddr == TargetPointer.Null) 994return TargetPointer.Null; 999public TargetPointer GetNonGCStaticsBasePointer(ITypeHandle typeHandle) 1001TargetPointer dynamicStaticsInfoAddr = GetDynamicStaticsInfo(typeHandle); 1002if (dynamicStaticsInfoAddr == TargetPointer.Null) 1003return TargetPointer.Null; 1040public static TypeInstantiation Create(Target target, TargetPointer address) => new TypeInstantiation(target, address); 1043private TypeInstantiation(Target target, TargetPointer typePointer) 1049TargetPointer perInstInfo = methodTable.PerInstInfo; 1050TargetPointer genericsDictInfoAddr = perInstInfo - (ulong)target.PointerSize; 1055TargetPointer dictionaryPointer = target.ReadPointer(perInstInfo + (ulong)target.PointerSize * (ulong)(genericsDictInfo.NumDicts - 1)); 1195TargetPointer parentMT = GetParentMethodTable(typeHandle); 1309if (typeHandle.Address == TargetPointer.Null) 1334TargetPointer loaderModule; 1336loaderModule = ComputeLoaderModule(TargetPointer.Null, typeArguments); 1344foreach (TargetPointer ptr in loaderContract.GetAvailableTypeParams(moduleHandle)) 1373private TargetPointer ComputeLoaderModule(TargetPointer definitionModule, ImmutableArray<ITypeHandle?> inst) 1376TargetPointer latestLoaderModule = TargetPointer.Null; 1378TargetPointer loaderModule = definitionModule; 1391if (arg.Address == TargetPointer.Null) 1394TargetPointer argModule = GetLoaderModule(arg); 1402if (loaderModule == TargetPointer.Null) 1408if (loaderModule == TargetPointer.Null) 1410TargetPointer systemAssembly = loaderContract.GetSystemAssembly(); 1418if (latestLoaderModule != TargetPointer.Null) 1424private bool TryGetCollectibleLoaderAllocator(TargetPointer modulePtr, [NotNullWhen(true)] out Data.LoaderAllocator? loaderAllocator) 1427if (modulePtr == TargetPointer.Null) 1432TargetPointer loaderAllocatorPtr = loaderContract.GetLoaderAllocator(moduleHandle); 1433if (loaderAllocatorPtr == TargetPointer.Null) 1446TargetPointer coreLib = _target.ReadGlobalPointer(Constants.Globals.CoreLib); 1448TargetPointer typeHandlePtr = _target.ReadPointer(coreLibData.Classes + (ulong)typeCode * (ulong)_target.PointerSize); 1452public bool IsGenericVariable(ITypeHandle typeHandle, out TargetPointer module, out uint token, out uint index) 1454module = TargetPointer.Null; 1507public TypedByRefInfo GetTypedByRefInfo(TargetPointer typedByRef) 1513public TargetPointer GetLoaderModule(ITypeHandle typeHandle) 1522else if (IsGenericVariable(typeHandle, out TargetPointer genericParamModule, out _, out _)) 1541public static FunctionPointerRetAndArgs Create(Target target, TargetPointer address) => new FunctionPointerRetAndArgs(target, address); 1544private FunctionPointerRetAndArgs(Target target, TargetPointer typePointer) 1549TargetPointer retAndArgs = fnPtrTypeDesc.RetAndArgTypes; 1560public MethodDescHandle GetMethodDescHandle(TargetPointer methodDescPointer) 1563private MethodDescHandle GetMethodDescHandle(TargetPointer methodDescPointer, bool validate) 1571TargetPointer methodDescChunkPointer; 1593public TargetPointer GetMethodTable(MethodDescHandle methodDescHandle) => _methodDescs[methodDescHandle.Address].MethodTable; 1691TargetPointer modulePtr = GetOrCreateMethodTable(methodDesc).Module; 1710TargetPointer asyncDataAddr = methodDesc.GetAddressOfAsyncMethodData(); 1817TargetPointer modulePtr = GetOrCreateMethodTable(methodDesc).Module; 1886public readonly TargetPointer Address; 1887public VtableIndirections(Target target, TargetPointer address) 1893public TargetPointer GetAddressOfSlot(uint slotNum) 1895TargetPointer indirectionPointer = Address + (ulong)(slotNum >> NumPointersPerIndirectionLog2) * (ulong)_target.PointerSize; 1896TargetPointer slotsStart = _target.ReadPointer(indirectionPointer); 1901private VtableIndirections GetVTableIndirections(TargetPointer methodTableAddress) 1906private TargetPointer GetAddressOfSlot(ITypeHandle typeHandle, uint slotNum) 1925TargetPointer auxDataPtr = mt.AuxiliaryData; 1927TargetPointer nonVirtualSlotsArray = auxDataPtr + (ulong)auxData.OffsetToNonVirtualSlots; 1952private TargetPointer GetLoaderModule(MethodDesc md) 1959TargetPointer methodDescChunkPointer = md.ChunkAddress; 1960TargetPointer endOfChunk = methodDescChunkPointer + md.SizeOfChunk; 1961TargetPointer ppLoaderModule = endOfChunk - (ulong)_target.PointerSize; 1966TargetPointer mtAddr = GetMethodTable(new MethodDescHandle(md.Address)); 1975TargetPointer loaderModuleAddr = GetLoaderModule(md); 1997TargetPointer IRuntimeTypeSystem.GetMethodDescVersioningState(MethodDescHandle methodDesc) 2000TargetPointer codeDataAddress = md.CodeData; 2001if (codeDataAddress == TargetPointer.Null) 2002return TargetPointer.Null; 2032TargetPointer chunkAddr = eeClass.MethodDescChunk; 2033while (chunkAddr != TargetPointer.Null) 2036TargetPointer methodDescPtr = chunk.FirstMethodDesc; 2052TargetPointer IRuntimeTypeSystem.GetAsyncVariant(MethodDescHandle methodDescHandle) 2069return TargetPointer.Null; 2072IEnumerable<TargetPointer> IRuntimeTypeSystem.GetIntroducedMethodDescs(ITypeHandle typeHandle) 2086TargetPointer IRuntimeTypeSystem.GetMethodDescForSlot(ITypeHandle typeHandle, ushort slot) 2090return TargetPointer.Null; 2107return TargetPointer.Null; 2111private TargetPointer GetMethodDescForVtableSlot(ITypeHandle typeHandle, ushort slot) 2118TargetPointer cannonMTPTr = GetCanonicalMethodTable(typeHandle); 2123TargetPointer slotPtr = GetAddressOfSlot(canonMT, slot); 2128TargetPointer lookupMTPtr = cannonMTPTr; 2129while (lookupMTPtr != TargetPointer.Null) 2142if (lookupMTPtr != TargetPointer.Null) 2145return TargetPointer.Null; 2151private readonly TargetPointer GetMethodDescForEntrypoint(TargetCodePointer pCode) 2157TargetPointer methodDescPtr = executionManager.GetMethodDesc(cbh); 2163TargetPointer methodDescPtr = _target.Contracts.PrecodeStubs.GetMethodDescFromStubAddress(pCode); 2174TargetPointer slotPtr = GetAddressOfSlot(typeHandle, slot); 2181TargetPointer IRuntimeTypeSystem.GetAddressOfNativeCodeSlot(MethodDescHandle methodDesc) 2196TargetPointer ppCode = md.GetAddressOfNativeCodeSlot(); 2225TargetPointer pSlot = md.GetAddressOfNonVtableSlot(); 2229TargetPointer methodTablePointer = md.MethodTable; 2232TargetPointer addrOfSlot = GetAddressOfSlot(typeHandle, md.Slot); 2236TargetPointer IRuntimeTypeSystem.GetGCStressCodeCopy(MethodDescHandle methodDesc) 2239if (md.GCCoverageInfo is TargetPointer gcCoverageInfoAddr && gcCoverageInfoAddr != TargetPointer.Null) 2243return TargetPointer.Null; 2263TargetPointer codeDataAddress = methodDesc.CodeData; 2264if (codeDataAddress == TargetPointer.Null) 2326public bool SlotIsVtableSlot(TargetPointer methodTablePointer, uint slot) 2331public TargetPointer GetAddressOfMethodTableSlot(TargetPointer methodTablePointer, uint slot) 2338private TargetPointer GetAddressOfMethodTableSlot(TargetPointer methodTablePointer, uint slot) 2342TargetPointer addrOfSlot = GetAddressOfSlot(typeHandle, slot); 2346private bool SlotIsVtableSlot(TargetPointer methodTablePointer, uint slot) 2351TargetPointer IRuntimeTypeSystem.GetMTOfEnclosingClass(TargetPointer fieldDescPointer) 2357uint IRuntimeTypeSystem.GetFieldDescMemberDef(TargetPointer fieldDescPointer) 2363bool IRuntimeTypeSystem.IsFieldDescThreadStatic(TargetPointer fieldDescPointer) 2369bool IRuntimeTypeSystem.IsFieldDescRVA(TargetPointer fieldDescPointer) 2375bool IRuntimeTypeSystem.IsFieldDescStatic(TargetPointer fieldDescPointer) 2381CorElementType IRuntimeTypeSystem.GetFieldDescType(TargetPointer fieldDescPointer) 2388uint IRuntimeTypeSystem.GetFieldDescOffset(TargetPointer fieldDescPointer, FieldDefinition? fieldDef) 2404ITypeHandle? IRuntimeTypeSystem.GetFieldDescApproxTypeHandle(TargetPointer fieldDescPointer) 2408TargetPointer enclosingMT = ((IRuntimeTypeSystem)this).GetMTOfEnclosingClass(fieldDescPointer); 2409if (enclosingMT == TargetPointer.Null) 2412TargetPointer modulePtr = GetModule(enclosingType); 2413if (modulePtr == TargetPointer.Null) 2433bool IRuntimeTypeSystem.TryGetFieldDescNext(TargetPointer fieldDescPointer, out TargetPointer nextFieldDesc) 2438TargetPointer enclosingMT = ((IRuntimeTypeSystem)this).GetMTOfEnclosingClass(fieldDescPointer); 2439(TargetPointer listStart, uint fieldDescSize, int totalFields) = GetFieldDescListLayout(GetTypeHandle(enclosingMT)); 2441TargetPointer lastFieldDesc = listStart + (ulong)(totalFields - 1) * fieldDescSize; 2444nextFieldDesc = TargetPointer.Null; 2451TargetPointer IRuntimeTypeSystem.GetFieldDescByName(ITypeHandle typeHandle, string fieldName) 2454return TargetPointer.Null; 2456TargetPointer modulePtr = GetModule(typeHandle); 2457if (modulePtr == TargetPointer.Null) 2458return TargetPointer.Null; 2462return TargetPointer.Null; 2466return TargetPointer.Null; 2474return TargetPointer.Null; 2476TargetPointer fieldDefToDescMap = loader.GetLookupTables(moduleHandle).FieldDefToDesc; 2483TargetPointer fieldDescPtr = loader.GetModuleLookupMapElement(fieldDefToDescMap, fieldDefToken, out _); 2488return TargetPointer.Null; 2491private TargetPointer GetStaticAddressHandle(TargetPointer @base, uint offset, bool isRVA, TargetPointer fieldDescPointer, ModuleHandle moduleHandle) 2500TargetPointer peAssembly = loader.GetPEAssembly(moduleHandle); 2506private TargetPointer GetFieldDescStaticOrThreadStaticAddress(TargetPointer fieldDescPointer, TargetPointer? thread = null, bool unboxValueTypes = true) 2508TargetPointer enclosingMT = ((IRuntimeTypeSystem)this).GetMTOfEnclosingClass(fieldDescPointer); 2510TargetPointer modulePtr = GetModule(ctx); 2514TargetPointer @base; 2538if (@base == TargetPointer.Null) 2539return TargetPointer.Null; 2548TargetPointer handleAddr = GetStaticAddressHandle(@base, offset, isRVA, fieldDescPointer, moduleHandle); 2551TargetPointer objRef = _target.ReadPointer(handleAddr); 2558TargetPointer IRuntimeTypeSystem.GetFieldDescStaticAddress(TargetPointer fieldDescPointer, bool unboxValueTypes) => GetFieldDescStaticOrThreadStaticAddress(fieldDescPointer, null, unboxValueTypes); 2560TargetPointer IRuntimeTypeSystem.GetFieldDescThreadStaticAddress(TargetPointer fieldDescPointer, TargetPointer thread, bool unboxValueTypes) => GetFieldDescStaticOrThreadStaticAddress(fieldDescPointer, thread, unboxValueTypes);
Contracts\RuntimeTypeSystem\TypeHandleImplementations.cs (2)
12internal TargetTypeHandle(TargetPointer address) 17public TargetPointer Address { get; }
Contracts\SHash_1.cs (4)
20public TargetPointer Table { get; set; } 27public ISHash<TKey, TEntry> CreateSHash<TKey, TEntry>(Target target, TargetPointer address, Target.TypeInfo type, ITraits<TKey, TEntry> traits) where TEntry : class, IData<TEntry> 29TargetPointer table = target.ReadPointer(address + (ulong)type.Fields[nameof(SHash<TKey, TEntry>.Table)].Offset); 35TargetPointer entryAddress = table + (ulong)(i * entrySize);
Contracts\Signature\IRuntimeSignatureTypeProvider.cs (2)
27TType GetInternalType(TargetPointer typeHandlePointer); 34TType GetInternalModifiedType(TargetPointer typeHandlePointer, TType unmodifiedType, bool isRequired);
Contracts\Signature\Signature_1.cs (7)
55TargetPointer ISignature.GetVarArgArgsBase(TargetPointer vaSigCookieAddr) 72void ISignature.GetVarArgSignature(TargetPointer vaSigCookieAddr, out TargetPointer signatureAddress, out uint signatureLength) 78Debug.Assert(signatureAddress != TargetPointer.Null || signatureLength == 0, 81private Data.VASigCookie GetCookie(TargetPointer vaSigCookieAddr) 83TargetPointer vaSigCookie = _target.ReadPointer(vaSigCookieAddr);
Contracts\Signature\SignatureTypeProvider.cs (9)
78TargetPointer typeDefToMethodTable = _loader.GetLookupTables(_moduleHandle).TypeDefToMethodTable; 79TargetPointer typeHandlePtr = _loader.GetModuleLookupMapElement(typeDefToMethodTable, (uint)token, out _); 80return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 86TargetPointer typeRefToMethodTable = _loader.GetLookupTables(_moduleHandle).TypeRefToMethodTable; 87TargetPointer typeHandlePtr = _loader.GetModuleLookupMapElement(typeRefToMethodTable, (uint)token, out _); 88return typeHandlePtr == TargetPointer.Null ? null : _runtimeTypeSystem.GetTypeHandle(typeHandlePtr); 94public ITypeHandle? GetInternalType(TargetPointer typeHandlePointer) 95=> typeHandlePointer == TargetPointer.Null 99public ITypeHandle? GetInternalModifiedType(TargetPointer typeHandlePointer, ITypeHandle? unmodifiedType, bool isRequired)
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (27)
40TargetPointer establisherFrame; 51TargetPointer controlPC = context.InstructionPointer.AsTargetPointer; 53TargetPointer imageBase = _eman.GetUnwindInfoBaseAddress(cbh); 54TargetPointer unwindInfoAddr = _eman.GetUnwindInfo(cbh); 56if (unwindInfoAddr == TargetPointer.Null) 177TargetPointer nextByte = controlPC; 636TargetPointer controlPC, 637TargetPointer imageBase, 818TargetPointer controlPC, 819TargetPointer imageBase, 820TargetPointer frameBase, 1026TargetPointer returnAddressPtr = context.Rsp; 1027TargetPointer stackAddressPtr = context.Rsp + (3 * 8); 1092private struct UnwindInfoHeader(TargetPointer address, uint header) 1103private TargetPointer _address = address; 1111public TargetPointer GetUnwindCodeAddress(uint index) 1116TargetPointer unwindCodeAddress = _address + sizeof(uint) /* size of header */ + (index * sizeof(ushort) /* size of unwind code */); 1120public TargetPointer GetChainedEntryAddress() 1129TargetPointer chainedEntryAddress = _address + sizeof(uint) /* size of header */ + (index * sizeof(ushort) /* size of unwind code */); 1194private UnwindInfoHeader? GetUnwindInfoHeader(TargetPointer unwindInfoAddress) 1214private Data.RuntimeFunction LookupPrimaryFunctionEntry(Data.RuntimeFunction functionEntry, TargetPointer imageBase) 1241private Data.RuntimeFunction? SameFunction(Data.RuntimeFunction functionEntry, TargetPointer imageBase, TargetPointer controlPC) 1248TargetPointer targetImageBase = _eman.GetUnwindInfoBaseAddress(cbh); 1266private byte ReadByteAt(TargetPointer address) => _target.Read<byte>(address); 1270private static TargetPointer GetRegister(AMD64Context context, byte register) 1273private static void SetRegister(ref AMD64Context context, byte register, TargetPointer value)
Contracts\StackWalk\Context\AMD64Context.cs (2)
43public TargetPointer StackPointer 53public TargetPointer FramePointer
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (15)
30TargetPointer imageBase = _eman.GetUnwindInfoBaseAddress(cbh); 31TargetPointer unwindInfoAddr = _eman.GetUnwindInfo(cbh); 33if (unwindInfoAddr == TargetPointer.Null) 62TargetPointer imageBase, 78TargetPointer unwindDataPtr = imageBase + functionEntry.UnwindData; 121TargetPointer unwindCodePtr = unwindDataPtr + 4 * epilogScopeCount; 122TargetPointer unwindCodesEndPtr = unwindCodePtr + 4 * unwindWords; 549TargetPointer sourceAddress = context.Sp + offsets.RegOffset[regIndex]; 558TargetPointer sourceAddress = context.Sp + offsets.FpRegOffset[fpRegIndex]; 566TargetPointer sourceAddress = context.Sp + offsets.LrOffset; 571TargetPointer sourceAddress = context.Sp + offsets.PcOffset; 584TargetPointer sourceAddress = context.Sp + offsets.SpOffset; 597TargetPointer imageBase, 839TargetPointer unwindCodePtr, 840TargetPointer unwindCodesEndPtr,
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (16)
57TargetPointer imageBase = _eman.GetUnwindInfoBaseAddress(cbh); 58TargetPointer unwindInfoAddr = _eman.GetUnwindInfo(cbh); 60if (unwindInfoAddr == TargetPointer.Null) 92private bool VirtualUnwind(ref ARM64Context context, TargetPointer imageBase, Data.RuntimeFunction functionEntry) 149TargetPointer imageBase, 170TargetPointer unwindDataPtr = imageBase + functionEntry.UnwindData; 218TargetPointer unwindCodePtr = unwindDataPtr + 4 * epilogScopeCount; 219TargetPointer unwindCodesEndPtr = unwindCodePtr + 4 * unwindWords; 845TargetPointer sourceAddress = startingSp + /*offsetof(ARM64_KTRAP_FRAME, X)*/ 0x0A0; 853TargetPointer vfpStateAddress = _target.Read<ulong>(sourceAddress); 922TargetPointer sourceAddress = startingSp + (uint)Marshal.OffsetOf<ARM64Context>(nameof(ARM64Context.X0)); 992TargetPointer unwindCodePtr, 993TargetPointer unwindCodesEndPtr, 1070TargetPointer curAddress = context.Sp; 1119TargetPointer curAddress = context.Sp; 1169TargetPointer curAddress = context.Sp;
Contracts\StackWalk\Context\ARM64Context.cs (2)
49public TargetPointer StackPointer 59public TargetPointer FramePointer
Contracts\StackWalk\Context\ARMContext.cs (2)
41public TargetPointer StackPointer 53public TargetPointer FramePointer
Contracts\StackWalk\Context\ContextHolder.cs (3)
21public TargetPointer StackPointer { get => Context.StackPointer; set => Context.StackPointer = value; } 23public TargetPointer FramePointer { get => Context.FramePointer; set => Context.FramePointer = value; } 27public unsafe void ReadFromAddress(Target target, TargetPointer address)
Contracts\StackWalk\Context\IPlatformAgnosticContext.cs (3)
17public TargetPointer StackPointer { get; set; } 19public TargetPointer FramePointer { get; set; } 24public abstract void ReadFromAddress(Target target, TargetPointer address);
Contracts\StackWalk\Context\IPlatformContext.cs (2)
15TargetPointer StackPointer { get; set; } 17TargetPointer FramePointer { get; set; }
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (11)
42TargetPointer imageBase = _eman.GetUnwindInfoBaseAddress(cbh); 72private bool VirtualUnwind(ref LoongArch64Context context, TargetPointer imageBase, Data.RuntimeFunction functionEntry) 85TargetPointer imageBase, 106TargetPointer unwindDataPtr = imageBase + functionEntry.UnwindData; 154TargetPointer unwindCodePtr = unwindDataPtr + 4 * epilogScopeCount; 155TargetPointer unwindCodesEndPtr = unwindCodePtr + 4 * unwindWords; 307private uint ComputeScopeSize(TargetPointer unwindCodePtr, TargetPointer unwindCodesEndPtr) 335private bool ProcessUnwindCode(ref LoongArch64Context context, byte curCode, ref TargetPointer unwindCodePtr, TargetPointer unwindCodesEndPtr, ref uint accumulatedSaveNexts, ref bool finalPcFromRa) 591TargetPointer sourceAddress = startingSp + (uint)Marshal.OffsetOf<LoongArch64Context>(nameof(LoongArch64Context.R0));
Contracts\StackWalk\Context\LoongArch64Context.cs (2)
47public TargetPointer StackPointer 57public TargetPointer FramePointer
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (11)
50TargetPointer imageBase = _eman.GetUnwindInfoBaseAddress(cbh); 80private bool VirtualUnwind(ref RISCV64Context context, TargetPointer imageBase, Data.RuntimeFunction functionEntry) 99TargetPointer imageBase, 120TargetPointer unwindDataPtr = imageBase + functionEntry.UnwindData; 168TargetPointer unwindCodePtr = unwindDataPtr + 4 * epilogScopeCount; 169TargetPointer unwindCodesEndPtr = unwindCodePtr + 4 * unwindWords; 321private uint ComputeScopeSize(TargetPointer unwindCodePtr, TargetPointer unwindCodesEndPtr) 349private bool ProcessUnwindCode(ref RISCV64Context context, byte curCode, ref TargetPointer unwindCodePtr, TargetPointer unwindCodesEndPtr, ref uint accumulatedSaveNexts, ref bool finalPcFromRa) 605TargetPointer sourceAddress = startingSp + (uint)Marshal.OffsetOf<RISCV64Context>(nameof(RISCV64Context.Ra));
Contracts\StackWalk\Context\RISCV64Context.cs (2)
47public TargetPointer StackPointer 57public TargetPointer FramePointer
Contracts\StackWalk\Context\Wasm\WasmR2RInfo.cs (6)
33if (!_target.TryReadGlobalPointer(Constants.Globals.FunctionTableIndexRangeList, out TargetPointer? listHeadSlot)) 38TargetPointer current = _target.ReadPointer(listHeadSlot.Value); 39while (current != TargetPointer.Null) 70if (r2rInfo.MinVirtualIP is not TargetPointer minVirtualIP) 92public bool TryGetUnwindData(uint functionTableIndex, out TargetPointer unwindDataAddress) 94unwindDataAddress = TargetPointer.Null;
Contracts\StackWalk\Context\Wasm\WasmUnwinder.cs (16)
28bool TryGetUnwindData(uint functionTableIndex, out TargetPointer unwindDataAddress); 80public bool TryGetFramePointer(TargetPointer sp, out TargetPointer frameBase) 82frameBase = TargetPointer.Null; 109public TargetPointer GetEstablishingFramePointerFromTerminator(TargetPointer sp) 117public TargetCodePointer GetVirtualIP(TargetPointer sp) 119if (!TryGetFramePointer(sp, out TargetPointer frameBase)) 137/// <see cref="TargetPointer.Null"/>. 139public bool TryUnwindOneFrame(ref TargetPointer sp, out TargetCodePointer ip) 142if (!TryGetFramePointer(sp, out TargetPointer frameBase)) 144sp = TargetPointer.Null; 149if (!_r2rInfo.TryGetUnwindData(functionIndex, out TargetPointer unwindData)) 151sp = TargetPointer.Null; 159sp = TargetPointer.Null; 169sp = TargetPointer.Null;
Contracts\StackWalk\Context\WasmContext.cs (4)
60public TargetPointer StackPointer 72public TargetPointer FramePointer 86TargetPointer sp = StackPointer; 94StackPointer = TargetPointer.Null;
Contracts\StackWalk\Context\X86\X86Unwinder.cs (34)
60eman.GetGCInfo(cbh, out TargetPointer gcInfoAddress, out uint gcInfoVersion); 62TargetPointer methodStart = eman.GetStartAddress(cbh); 63TargetPointer funcletStart = eman.GetFuncletStartAddress(cbh); 71TargetPointer epilogBase = methodStart + (gcInfo.RelativeOffset - gcInfo.EpilogOffset); 100private void UnwindEpilog(ref X86Context context, X86GCInfo gcInfo, TargetPointer epilogBase) 118private void UnwindEbpDoubleAlignFrameEpilog(ref X86Context context, X86GCInfo gcInfo, TargetPointer epilogBase) 216TargetPointer regValueFromStack = _target.ReadPointer(esp); 245private void UnwindEspFrameEpilog(ref X86Context context, X86GCInfo gcInfo, TargetPointer epilogBase) 291TargetPointer regValueFromStack = _target.ReadPointer(esp); 311private void UnwindEspFrame(ref X86Context context, X86GCInfo gcInfo, TargetPointer methodStart) 338TargetPointer regValueFromStack = _target.ReadPointer(esp); 351private void UnwindEspFrameProlog(ref X86Context context, X86GCInfo gcInfo, TargetPointer methodStart) 369TargetPointer savedRegPtr = esp; 431TargetPointer methodStart, 432TargetPointer funcletStart, 443TargetPointer baseSP; 487TargetPointer pSavedRegs = curEbp; 498TargetPointer regValueFromStack = _target.ReadPointer(pSavedRegs); 514private void UnwindEbpDoubleAlignFrameProlog(ref X86Context context, X86GCInfo gcInfo, TargetPointer methodStart) 561TargetPointer pSavedRegs = curEBP; 583TargetPointer regValueFromStack = _target.ReadPointer(pSavedRegs); 623private uint SKIP_ARITH_REG(int val, TargetPointer baseAddress, uint offset) 640private uint SKIP_POP_REG(TargetPointer baseAddress, uint offset) 648private uint SKIP_PUSH_REG(TargetPointer baseAddress, uint offset) 655private uint SKIP_LEA_ESP_EBP(int val, TargetPointer baseAddress, uint offset) 674private uint SKIP_MOV_REG_REG(TargetPointer baseAddress, uint offset) 687private uint SKIP_ALLOC_FRAME(int size, TargetPointer baseAddress, uint offset) 822private uint SKIP_LEA_EAX_ESP(int val, TargetPointer baseAddress, uint offset) 841private uint SKIP_HELPER_CALL(TargetPointer baseAddress, uint offset) 863private static void SetRegValue(ref X86Context context, RegMask regMask, TargetPointer value) 929private sbyte ReadSByteAt(TargetPointer address) 934private byte ReadByteAt(TargetPointer address) 939private ushort ReadShortAt(TargetPointer address) 944private int ReadIntAt(TargetPointer address)
Contracts\StackWalk\Context\X86Context.cs (2)
50public TargetPointer StackPointer 60public TargetPointer FramePointer
Contracts\StackWalk\FrameHandling\AMD64FrameHandler.cs (1)
37if (args.Rsp is TargetPointer rsp)
Contracts\StackWalk\FrameHandling\ARMFrameHandler.cs (1)
40if (inlinedCallFrame.SPAfterProlog is not TargetPointer spAfterProlog)
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (2)
109protected Data.Frame? GetNextFrame(TargetPointer currentFrameAddress) 112if (current.Next == TargetPointer.Null)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (40)
64public string GetFrameName(TargetPointer frameIdentifier) 74public FrameType GetFrameType(TargetPointer frameIdentifier) 78if (_target.TryReadGlobalPointer(frameType.ToString() + "Identifier", out TargetPointer? id)) 90public TargetPointer GetMethodDescPtr(TargetPointer framePtr) 107return TargetPointer.Null; 109return TargetPointer.Null; 112if (stubDispatchFrame.MethodDescPtr != TargetPointer.Null) 116else if (stubDispatchFrame.RepresentativeMTPtr != TargetPointer.Null) 124return TargetPointer.Null; 131return TargetPointer.Null; 133return TargetPointer.Null; 291public InternalFrameType GetInternalFrameType(TargetPointer framePtr) 344public bool IsExceptionHandlingHelperInlinedCallFrame(TargetPointer framePtr) 384return frame.Datum != TargetPointer.Null && (frame.Datum.Value & 0x1) == 0; 399public TargetPointer ResolveTopInterpMethodContextFrame(Data.InterpreterFrame interpreterFrame) 401TargetPointer hintPtr = interpreterFrame.TopInterpMethodContextFrame; 402if (hintPtr == TargetPointer.Null) 403return TargetPointer.Null; 406TargetPointer currentPtr = hintPtr; 408if (frame.Ip != TargetPointer.Null) 411while (frame.NextPtr != TargetPointer.Null) 414if (next.Ip == TargetPointer.Null) 423while (frame.ParentPtr != TargetPointer.Null && frame.Ip == TargetPointer.Null) 440public IEnumerable<TargetPointer> WalkInterpreterFrameChain(TargetPointer frameAddress) 443TargetPointer interpMethodFramePtr = ResolveTopInterpMethodContextFrame(interpFrame); 444while (interpMethodFramePtr != TargetPointer.Null) 447if (contextFrame.Ip != TargetPointer.Null) 464TargetPointer topContextFramePtr = ResolveTopInterpMethodContextFrame(interpreterFrame); 465if (topContextFramePtr == TargetPointer.Null) 499TargetPointer interpreterFrame = GetFirstArgRegister(context); 500if (interpreterFrame != TargetPointer.Null) 508TargetPointer currentFramePtr = context.StackPointer; 511if (currentFrame.ParentPtr == TargetPointer.Null) 515if (parentFrame.Ip == TargetPointer.Null) 525private void ApplyInterpreterFrameTransition(IPlatformAgnosticContext context, TargetPointer interpreterFrameAddress) 531private TargetPointer GetFirstArgRegister(IPlatformAgnosticContext context) 542private void SetFirstArgRegister(IPlatformAgnosticContext context, TargetPointer value)
Contracts\StackWalk\FrameHandling\FrameIterator.cs (3)
18private readonly TargetPointer terminator; 20private TargetPointer currentFramePointer; 24public TargetPointer CurrentFrameAddress => currentFramePointer;
Contracts\StackWalk\FrameHandling\X86FrameHandler.cs (2)
40if (frame.VASigCookiePtr != TargetPointer.Null) 48if (framedMethodFrame.MethodDescPtr == TargetPointer.Null)
Contracts\StackWalk\GC\GCRefMapDecoder.cs (3)
46private TargetPointer _currentByte; 52public GCRefMapDecoder(Target target, TargetPointer blob) 65_currentByte = TargetPointer.Null;
Contracts\StackWalk\GC\GcScanContext.cs (27)
24public TargetPointer StackPointer { get; private set; } 26public TargetPointer Frame { get; private set; } 46public void UpdateScanContext(TargetPointer sp, TargetCodePointer ip, TargetPointer frame, StackRefData.SourceTypes? sourceTypeOverride = null) 61else if (Frame != TargetPointer.Null) 73public void RecordDeferredFrame(TargetPointer frameAddress) 90public void GCEnumCallback(TargetPointer pObject, GcScanFlags flags, GcScanSlotLocation loc) 92TargetPointer addr; 93TargetPointer obj; 108TargetPointer interiorObj = GetInteriorPointer(obj); 109if (interiorObj == TargetPointer.Null) 131private TargetPointer GetInteriorPointer(TargetPointer obj) 133TargetPointer outerObj = TargetPointer.Null; 139TargetPointer currentObj = _gc.GetPotentialNextObjectAddress(seg.Start, 0, seg); 144if (!_cache.TryReadPointer(currentObj.Value + _methodTableOffset, out TargetPointer mt)) 146return TargetPointer.Null; 153return TargetPointer.Null; 159return TargetPointer.Null; 164return outerObj + size > obj ? outerObj : TargetPointer.Null; 169private bool TryGetObjectSize(TargetPointer objAddr, TargetPointer mt, out ulong size) 200public void GCReportCallback(TargetPointer ppObj, GcScanFlags flags) 203TargetPointer obj = _target.ReadPointer(ppObj); 206TargetPointer interiorObj = GetInteriorPointer(obj); 207if (interiorObj != TargetPointer.Null)
Contracts\StackWalk\GC\GcScanner.cs (44)
44_eman.GetGCInfo(cbh, out TargetPointer gcInfoAddr, out uint gcVersion); 52TargetPointer? callerSP = null; 81TargetPointer baseAddr = slot.SpBase switch 91TargetPointer addr = new(baseAddr.Value + (ulong)(long)slot.SpOffset); 115public void GcScanRoots(TargetPointer frameAddress, GcScanContext scanContext) 117if (frameAddress == TargetPointer.Null) 130TargetPointer gcRefMap = sdf.Indirection != TargetPointer.Null 132: TargetPointer.Null; 134if (gcRefMap != TargetPointer.Null) 146TargetPointer gcRefMap = emf.Indirection != TargetPointer.Null 148: TargetPointer.Null; 150if (gcRefMap != TargetPointer.Null) 190TargetPointer transitionBlock, 191TargetPointer gcRefMapBlob, 211TargetPointer slotAddress = AddressFromGCRefMapPos(tb, pos); 237TargetPointer transitionBlock, 262private TargetPointer FindGCRefMap(TargetPointer indirection) 264if (indirection == TargetPointer.Null) 265return TargetPointer.Null; 267TargetPointer zapModule = _eman.FindReadyToRunModule(indirection); 268if (zapModule == TargetPointer.Null) 269return TargetPointer.Null; 272if (module.ReadyToRunInfo == TargetPointer.Null) 273return TargetPointer.Null; 276if (r2rInfo.ImportSections == TargetPointer.Null || r2rInfo.NumImportSections == 0) 277return TargetPointer.Null; 281return TargetPointer.Null; 284return TargetPointer.Null; 293TargetPointer sectionsBase = r2rInfo.ImportSections; 296TargetPointer sectionAddr = new(sectionsBase.Value + i * ImportSectionSize); 304return TargetPointer.Null; 309return TargetPointer.Null; 311TargetPointer gcRefMapBase = new(imageBase + auxDataRva); 318TargetPointer p = new(gcRefMapBase.Value + lookupOffset); 332return TargetPointer.Null; 339private void PromoteCallerStack(TargetPointer frameAddress, GcScanContext scanContext) 342if (fmf.MethodDescPtr == TargetPointer.Null) 360private TargetPointer AddressFromGCRefMapPos(Data.TransitionBlock tb, int pos) 367private TargetPointer ArgSlotAddress(Data.TransitionBlock tb, int argIndex) 383private TargetPointer GetCallerSP(IPlatformAgnosticContext context, ref TargetPointer? cached)
Contracts\StackWalk\GC\StackRefData.cs (4)
19public TargetPointer Address { get; set; } 20public TargetPointer Object { get; set; } 23public TargetPointer Source { get; set; } 24public TargetPointer StackPointer { get; set; }
Contracts\StackWalk\StackWalk_1.cs (91)
35TargetPointer FrameAddress, 143TargetPointer curSP = context.StackPointer; 145TargetPointer curFP = context.FramePointer; 296TargetPointer pFrame = ((IStackWalk)this).GetFrameAddress(gcFrame.Frame); 325_eman.GetGCInfo(cbh.Value, out TargetPointer gcInfoAddr, out uint gcVersion); 404TargetPointer pExInfo = _target.ReadPointer(thread.ExceptionTracker); 405if (pExInfo == TargetPointer.Null) 409HashSet<TargetPointer> seen = new(); 410while (pExInfo != TargetPointer.Null) 418exceptionContract.GetNestedExceptionInfo(pExInfo, out TargetPointer previous, out TargetPointer thrownObjectSlot); 431HashSet<TargetPointer> seen = []; 432TargetPointer pGCFrame = threadData.GCFrame; 433while (pGCFrame != TargetPointer.Null) 445TargetPointer slot = new(gcFrame.ObjRefs.Value + (ulong)i * pointerSize); 487TargetPointer parentStackFrame = TargetPointer.Null; 488TargetPointer funcletParentStackFrame = TargetPointer.Null; 489TargetPointer intermediaryFuncletParentStackFrame = TargetPointer.Null; 509TargetPointer pExInfo = GetCurrentExceptionTracker(handle); 522if (parentStackFrame != TargetPointer.Null) 534if (funcletParentStackFrame != TargetPointer.Null) 544funcletParentStackFrame = TargetPointer.Null; 546intermediaryFuncletParentStackFrame = TargetPointer.Null; 560Debug.Assert(intermediaryFuncletParentStackFrame != TargetPointer.Null); 572Debug.Assert(funcletParentStackFrame == TargetPointer.Null); 582if (funcletParentStackFrame == TargetPointer.Null) 588Debug.Assert(funcletParentStackFrame != TargetPointer.Null); 646if (parentStackFrame != TargetPointer.Null) 650if (parentStackFrame == TargetPointer.PlatformMaxValue(_target) || 667funcletParentStackFrame = TargetPointer.Null; 670intermediaryFuncletParentStackFrame = TargetPointer.Null; 674parentStackFrame = TargetPointer.Null; 697if (parentStackFrame != TargetPointer.Null) 701if (parentStackFrame == TargetPointer.PlatformMaxValue(_target) || 710Debug.Assert(pExInfo != TargetPointer.Null); 733funcletParentStackFrame = TargetPointer.Null; 736intermediaryFuncletParentStackFrame = TargetPointer.Null; 740parentStackFrame = TargetPointer.Null; 744if (parentStackFrame == TargetPointer.Null && IsFunclet(handle)) 752if (parentStackFrame != TargetPointer.Null) 808private bool IsUnwoundToTargetParentFrame(StackDataFrameHandle handle, TargetPointer targetParentFrame) 902if (returnAddress != TargetPointer.Null 1018TargetPointer slotAddress = isUnhandledException 1022TargetPointer contextAddress = _target.ReadPointer(slotAddress.Value); 1029private TargetPointer ComputeRedirectStubSlot(IPlatformAgnosticContext context) 1051TargetPointer IStackWalk.GetFrameAddress(IStackDataFrameHandle stackDataFrameHandle) 1058return TargetPointer.Null; 1067TargetPointer IStackWalk.GetRuntimeFramePointer(IStackDataFrameHandle stackDataFrameHandle) 1083TargetPointer IStackWalk.GetContextFramePointer(IStackDataFrameHandle stackDataFrameHandle) 1089TargetPointer IStackWalk.GetStackPointer(IStackDataFrameHandle stackDataFrameHandle) 1095TargetPointer IStackWalk.GetFuncletRootId(IStackDataFrameHandle stackDataFrameHandle, out uint parentNativeOffset) 1101if (TryGetFuncletParentInfo(handle, out TargetPointer parent, out parentNativeOffset)) 1112private TargetPointer CallerStackPointer(StackDataFrameHandle handle) 1119TargetPointer IStackWalk.GetExactGenericArgsToken(IStackDataFrameHandle stackDataFrameHandle) 1124return TargetPointer.Null; 1126TargetPointer mdPtr = ((IStackWalk)this).GetMethodDescPtr(handle); 1127if (mdPtr == TargetPointer.Null) 1128return TargetPointer.Null; 1136return TargetPointer.Null; 1139return TargetPointer.Null; 1142_eman.GetGCInfo(cbh.Value, out TargetPointer gcInfoAddr, out uint gcVersion); 1149return TargetPointer.Null; 1151TargetPointer contextValue = ReadGenericContextStorage(handle.Context, storage); 1152if (contextValue == TargetPointer.Null) 1153return TargetPointer.Null; 1162private TargetPointer ReadGenericContextStorage(IPlatformAgnosticContext context, GenericContextStorage storage) 1169: TargetPointer.Null; 1176return TargetPointer.Null; 1186TargetPointer ReadPointerRelativeTo(TargetPointer baseAddress, int offset) 1196private TargetPointer ComputeX86FramePointer(StackDataFrameHandle handle) 1222string IStackWalk.GetFrameName(TargetPointer frameIdentifier) 1225TargetPointer IStackWalk.GetMethodDescPtr(TargetPointer framePtr) 1228TargetPointer IStackWalk.GetMethodDescPtr(IStackDataFrameHandle stackDataFrameHandle) 1233TargetPointer framePtr = ((IStackWalk)this).GetFrameAddress(handle); 1234if (framePtr != TargetPointer.Null) 1266TargetPointer methodDescPtr = framePtr + Data.InlinedCallFrame.GetSize(_target); 1278return TargetPointer.Null; 1283IEnumerable<StackFrameData> IStackWalk.GetFrames(TargetPointer threadPointer) 1297bool IStackWalk.IsExceptionHandlingHelperInlinedCallFrame(TargetPointer frameAddress) => _frameHelpers.IsExceptionHandlingHelperInlinedCallFrame(frameAddress); 1299DebuggerEvalData IStackWalk.GetDebuggerEvalData(TargetPointer funcEvalFrameAddress) 1312TargetPointer filterContext = TargetPointer.Null; 1317if (filterContext != TargetPointer.Null) 1366TargetPointer IStackWalk.GetRedirectedContextPointer(ThreadData threadData) 1375return TargetPointer.Null; 1380if (_eman.GetCodeBlockHandle(ip) is CodeBlockHandle cbh && cbh.Address != TargetPointer.Null)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (27)
33private TargetPointer FindParentStackFrameForStackWalk(StackDataFrameHandle handle, bool forGCReporting = false) 37return TargetPointer.Null; 45private TargetPointer FindParentStackFrameHelper( 51TargetPointer callerStackFrame = callerContext.StackPointer; 68return TargetPointer.PlatformMaxValue(_target); 80TargetPointer pExInfo = GetCurrentExceptionTracker(handle); 81while (pExInfo != TargetPointer.Null) 87if (exInfo.StackLowBound == TargetPointer.PlatformMaxValue(_target) && 88exInfo.StackHighBound == TargetPointer.Null) 100return TargetPointer.Null; 105private bool TryGetFuncletParentInfo(StackDataFrameHandle funclet, out TargetPointer parentCallerSP, out uint parentNativeOffset) 107parentCallerSP = TargetPointer.Null; 111TargetPointer targetSP = funclet.Context.StackPointer; 115TargetPointer skipTo = TargetPointer.Null; 132if (skipTo != TargetPointer.Null && 133(skipTo == TargetPointer.PlatformMaxValue(_target) || IsUnwoundToTargetParentFrame(cf, skipTo))) 136skipTo = TargetPointer.Null; 139if (skipTo == TargetPointer.Null && IsFunclet(cf)) 146if (skipTo != TargetPointer.Null) 187private TargetPointer GetCurrentExceptionTracker(StackDataFrameHandle handle) 199TargetPointer callerStackPointer; 211TargetPointer pExInfo = GetCurrentExceptionTracker(handle); 212while (pExInfo != TargetPointer.Null) 223private bool IsInStackRegionUnwoundBySpecifiedException(TargetPointer callerStackPointer, Data.ExceptionInfo exceptionInfo) 230if (exceptionInfo.StackLowBound == TargetPointer.PlatformMaxValue(_target) 231&& exceptionInfo.StackHighBound == TargetPointer.Null)
Contracts\StressLog.cs (41)
15StressMsgData GetStressMsgData(Data.StressMsg msg, Func<ulong, TargetPointer> getFormatPointerFromOffset); 38public StressLogData GetStressLogData(TargetPointer stressLogPointer) 53public IEnumerable<ThreadStressLogData> GetThreadStressLogs(TargetPointer Logs) 55TargetPointer currentPointer = Logs; 56while (currentPointer != TargetPointer.Null) 60if (threadStressLog.ChunkListHead == TargetPointer.Null) 67if (threadStressLog.CurrentWriteChunk == TargetPointer.Null) 91private TargetPointer GetFormatPointer(ulong formatOffset) 99TargetPointer? moduleTable; 102if (!target.TryReadGlobalPointer(Constants.Globals.StressLog, out TargetPointer? pStressLog)) 123return TargetPointer.Null; 126public IEnumerable<StressMsgData> GetStressMessages(TargetPointer threadStressLogAddress) 134TargetPointer currentReadChunk = threadLog.CurrentWriteChunk; 135TargetPointer readPointer = threadLog.CurrentPtr; 139TargetPointer currentPointer = threadLog.CurrentPtr; 171TargetPointer p = currentChunkData.Buf; 175while (target.ReadPointer(p) == TargetPointer.Null 181if (target.ReadPointer(p) == TargetPointer.Null) 216public bool IsPointerInStressLog(StressLogData stressLog, TargetPointer pointer) 220foreach (TargetPointer chunk in stressLogMemory.Chunks) 235foreach (TargetPointer chunk in stressLogMemory.Chunks) 241private sealed class StressLogMemory(IReadOnlyList<TargetPointer> chunks) : Data.IData<StressLogMemory> 243public static StressLogMemory Create(Target target, TargetPointer address) 245List<TargetPointer> chunks = []; 247while (address != TargetPointer.Null) 250TargetPointer chunkPtr = threadLog.ChunkListHead; 252if (chunkPtr == TargetPointer.Null) 264} while (chunkPtr != TargetPointer.Null && chunkPtr != threadLog.ChunkListHead); 272public IReadOnlyList<TargetPointer> Chunks { get; } = chunks; 278public StressMsgData GetStressMsgData(Data.StressMsg msg, Func<ulong, TargetPointer> getFormatPointerFromOffset) 292var args = new TargetPointer[numArgs]; 308public StressMsgData GetStressMsgData(Data.StressMsg msg, Func<ulong, TargetPointer> getFormatPointerFromOffset) 328var args = new TargetPointer[numArgs]; 349public StressLogData GetStressLogData(TargetPointer stressLog) => traversal.GetStressLogData(stressLog); 350public IEnumerable<ThreadStressLogData> GetThreadStressLogs(TargetPointer Logs) => traversal.GetThreadStressLogs(Logs); 351public IEnumerable<StressMsgData> GetStressMessages(TargetPointer threadStressLogAddress) => traversal.GetStressMessages(threadStressLogAddress); 352public bool IsPointerInStressLog(StressLogData stressLog, TargetPointer pointer) => traversal.IsPointerInStressLog(stressLog, pointer); 363public StressLogData GetStressLogData(TargetPointer stressLog) => traversal.GetStressLogData(stressLog); 364public IEnumerable<ThreadStressLogData> GetThreadStressLogs(TargetPointer Logs) => traversal.GetThreadStressLogs(Logs); 365public IEnumerable<StressMsgData> GetStressMessages(TargetPointer threadStressLogAddress) => traversal.GetStressMessages(threadStressLogAddress); 366public bool IsPointerInStressLog(StressLogData stressLog, TargetPointer pointer) => traversal.IsPointerInStressLog(stressLog, pointer);
Contracts\SyncBlock_1.cs (32)
9private readonly TargetPointer _syncTableEntries; 17public TargetPointer GetSyncBlock(uint index) 20return ste.SyncBlock?.Address ?? TargetPointer.Null; 23public TargetPointer GetSyncBlockObject(uint index) 26return ste.Object?.Address ?? TargetPointer.Null; 37TargetPointer syncBlockCache = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.SyncBlockCache)); 42public bool TryGetLockInfo(TargetPointer syncBlock, out uint owningThreadId, out uint recursion) 77public uint GetAdditionalThreadCount(TargetPointer syncBlock) 83public TargetPointer GetSyncBlockFromCleanupList() 85TargetPointer syncBlockCache = _target.ReadPointer(_target.ReadGlobalPointer(Constants.Globals.SyncBlockCache)); 87TargetPointer cleanupBlockList = cache.CleanupBlockList; 88if (cleanupBlockList == TargetPointer.Null) 89return TargetPointer.Null; 93public TargetPointer GetNextSyncBlock(TargetPointer syncBlock) 96if (sb.LinkNext == TargetPointer.Null) 97return TargetPointer.Null; 101public bool GetBuiltInComData(TargetPointer syncBlock, out TargetPointer rcw, out TargetPointer ccw, out TargetPointer ccf) 103rcw = TargetPointer.Null; 104ccw = TargetPointer.Null; 105ccf = TargetPointer.Null; 112rcw = (interopInfo.RCW ?? TargetPointer.Null) & ~1ul; 113ccw = interopInfo.CCW == 1 ? TargetPointer.Null : (interopInfo.CCW ?? TargetPointer.Null); 114ccf = interopInfo.CCF == 1 ? TargetPointer.Null : (interopInfo.CCF ?? TargetPointer.Null); 115return rcw != TargetPointer.Null || ccw != TargetPointer.Null || ccf != TargetPointer.Null;
Contracts\Thread_1.cs (51)
12private readonly TargetPointer _threadStoreAddr; 55void IThread.SetDebuggerControlledThreadState(TargetPointer thread, DebuggerControlledThreadState state) 61void IThread.ResetDebuggerControlledThreadState(TargetPointer thread, DebuggerControlledThreadState state) 123ThreadData IThread.GetThreadData(TargetPointer threadPointer) 127TargetPointer address = _target.ReadPointer(thread.ExceptionTracker); 128TargetPointer firstNestedException = TargetPointer.Null; 131if (address != TargetPointer.Null) 136if (exceptionInfo.ThrownObject != TargetPointer.Null) 151TargetPointer lastThrownObjectHandle = GetActiveExceptionPseudoHandle(exceptionInfo, address); 152if (lastThrownObjectHandle == TargetPointer.Null) 163thread.RuntimeThreadLocals?.AllocContext.GCAllocationContext.Pointer ?? TargetPointer.Null, 164thread.RuntimeThreadLocals?.AllocContext.GCAllocationContext.Limit ?? TargetPointer.Null, 177address != TargetPointer.Null, 178exceptionInfo?.ExceptionRecord ?? TargetPointer.Null, 179exceptionInfo?.ContextRecord ?? TargetPointer.Null); 182void IThread.GetThreadAllocContext(TargetPointer threadPointer, out long allocBytes, out long allocBytesLoh) 190void IThread.GetStackLimitData(TargetPointer threadPointer, out TargetPointer stackBase, out TargetPointer stackLimit, out TargetPointer frameAddress) 200TargetPointer IThread.IdToThread(uint id) 202TargetPointer idDispenserPtr = _target.ReadGlobalPointer(Constants.Globals.ThinlockThreadIdDispenser); 203TargetPointer idDispenser = _target.ReadPointer(idDispenserPtr); 205TargetPointer threadPtr = TargetPointer.Null; 211TargetPointer IThread.GetThreadLocalStaticBase(TargetPointer threadPointer, TargetPointer tlsIndexPtr) 215TargetPointer threadLocalDataPtr = thread.ThreadLocalDataPtr; 216if (threadLocalDataPtr == TargetPointer.Null) 217return TargetPointer.Null; 221return TargetPointer.Null; 223TargetPointer threadLocalStaticBase = default; 234TargetPointer nonCollectibleArray = threadLocalData.NonCollectibleTlsArrayData; 236TargetPointer arrayStartAddress = nonCollectibleArray + _target.ReadGlobalPointer(Constants.Globals.PtrArrayOffsetToDataArray); 244TargetPointer collectibleArray = threadLocalData.CollectibleTlsArrayData; 245TargetPointer handleSlotAddress = collectibleArray + (ulong)(indexOffset * _target.PointerSize); 253if (threadLocalStaticBase == TargetPointer.Null) 255TargetPointer inFlightData = threadLocalData.InFlightData; 256while (inFlightData != TargetPointer.Null) 270private (Data.Thread thread, Data.ExceptionInfo? exceptionInfo, TargetPointer exceptionTrackerAddr) GetThreadExceptionInfo(TargetPointer threadPointer) 273TargetPointer exceptionTrackerPtr = _target.ReadPointer(thread.ExceptionTracker); 274Data.ExceptionInfo? exceptionInfo = (exceptionTrackerPtr == TargetPointer.Null) ? null : _target.ProcessedData.GetOrAdd<Data.ExceptionInfo>(exceptionTrackerPtr); 284private TargetPointer GetActiveExceptionPseudoHandle(Data.ExceptionInfo? exceptionInfo, TargetPointer exceptionTrackerAddr) 286if (exceptionInfo is null || exceptionInfo.ThrownObject == TargetPointer.Null) 287return TargetPointer.Null; 292TargetPointer IThread.GetCurrentExceptionHandle(TargetPointer threadPointer)
Contracts\WindowsErrorReporting_1.cs (12)
17byte[] IWindowsErrorReporting.GetWatsonBuckets(TargetPointer threadPointer) 19TargetPointer readFrom; 21TargetPointer exceptionTrackerPtr = _target.ReadPointer(thread.ExceptionTracker); 22Data.ExceptionInfo? exceptionInfo = (exceptionTrackerPtr == TargetPointer.Null) ? null : _target.ProcessedData.GetOrAdd<Data.ExceptionInfo>(exceptionTrackerPtr); 25TargetPointer thrownObject = exceptionInfo.ThrownObject; 26if (thrownObject != TargetPointer.Null) 29if (exception.WatsonBuckets != TargetPointer.Null) 35readFrom = thread.UEWatsonBucketTrackerBuckets ?? TargetPointer.Null; 36if (readFrom == TargetPointer.Null) 38readFrom = exceptionInfo.ExceptionWatsonBucketTrackerBuckets ?? TargetPointer.Null; 48readFrom = thread.UEWatsonBucketTrackerBuckets ?? TargetPointer.Null; 51if (readFrom == TargetPointer.Null)
Data\AppDomain.cs (3)
9[Field] public partial TargetPointer RootAssembly { get; } 12public partial TargetPointer AssemblyList { get; } 14[Field] public partial TargetPointer FriendlyName { get; }
Data\Array.cs (1)
13public partial TargetPointer DataPointer { get; }
Data\ArrayListBase.cs (12)
18public partial TargetPointer FirstBlock { get; } 21public IReadOnlyList<TargetPointer> Elements { get; private set; } = []; 24partial void OnInit(Target target, TargetPointer address) 27TargetPointer next = FirstBlock; 28while (next != TargetPointer.Null) 35List<TargetPointer> elements = []; 39foreach (TargetPointer element in block.Elements) 59[Field] public partial TargetPointer Next { get; } 63public partial TargetPointer ArrayStart { get; } 65public IReadOnlyList<TargetPointer> Elements { get; private set; } = []; 68partial void OnInit(Target target, TargetPointer address) 70List<TargetPointer> elements = new((int)Size);
Data\Assembly.cs (3)
9[Field] public partial TargetPointer Module { get; } 12[Field] public partial TargetPointer Error { get; } 16public bool IsError => Error != TargetPointer.Null;
Data\AsyncResumeInfo.cs (1)
9[Field] public partial TargetPointer DiagnosticIP { get; }
Data\AuxiliarySymbolInfo.cs (1)
15[Field] public partial TargetPointer Name { get; }
Data\Bucket.cs (5)
12public TargetPointer[] Keys { get; private set; } 15public TargetPointer[] Values { get; private set; } 18partial void OnInit(Target target, TargetPointer address) 25Keys = new TargetPointer[numSlots]; 26Values = new TargetPointer[numSlots];
Data\CardTableInfo.cs (1)
11[Field] public partial TargetPointer NextCardTable { get; }
Data\CGrowableSymbolStream.cs (1)
9[Field] public partial TargetPointer Buffer { get; }
Data\CLiteWeightStgdbRW.cs (2)
9[FieldAddress] public partial TargetPointer MiniMd { get; } 10[Field] public partial TargetPointer MetadataAddress { get; }
Data\CMiniMdRW.cs (9)
13[FieldAddress] public partial TargetPointer Schema { get; } 16[FieldAddress] public partial TargetPointer Tables { get; } 17[FieldAddress] public partial TargetPointer StringHeap { get; } 18[FieldAddress] public partial TargetPointer BlobHeap { get; } 19[FieldAddress] public partial TargetPointer UserStringHeap { get; } 20[FieldAddress] public partial TargetPointer GuidHeap { get; } 21public ImmutableArray<TargetPointer> TableSegments { get; private set; } 24partial void OnInit(Target target, TargetPointer address) 30var tableSegments = new TargetPointer[tableCount];
Data\CMiniMdSchema.cs (1)
11[FieldAddress] public partial TargetPointer RecordCounts { get; }
Data\CodeHeapListNode.cs (7)
9[Field] public partial TargetPointer Next { get; } 10[Field] public partial TargetPointer StartAddress { get; } 11[Field] public partial TargetPointer EndAddress { get; } 12[Field] public partial TargetPointer MapBase { get; } 13[Field] public partial TargetPointer HeaderMap { get; } 14[Field] public partial TargetPointer Heap { get; } 18[Field] public partial TargetPointer? CLRPersonalityRoutine { get; }
Data\ComCallWrapper.cs (7)
11[Field] public partial TargetPointer Handle { get; } 12[Field] public partial TargetPointer SimpleWrapper { get; } 13[Field] public partial TargetPointer Next { get; } 16public partial TargetPointer IPtr { get; } 18public TargetPointer[] IPtrs { get; private set; } 21partial void OnInit(Target target, TargetPointer address) 24IPtrs = new TargetPointer[numInterfaces];
Data\ComInterfaceEntry.cs (1)
14partial void OnInit(Target target, TargetPointer address)
Data\ComMethodTable.cs (1)
10[Field] public partial TargetPointer MethodTable { get; }
Data\ComWrappers.cs (2)
10public static partial TargetPointer? AllManagedObjectWrapperTable(Target target); 13public static partial TargetPointer? NativeObjectWrapperTable(Target target);
Data\ComWrappersVtablePtrs.cs (1)
15partial void OnInit(Target target, TargetPointer address)
Data\ConditionalWeakTable.cs (1)
11public partial TargetPointer Container { get; }
Data\ConditionalWeakTableContainer.cs (2)
11public partial TargetPointer Buckets { get; } 15public partial TargetPointer Entries { get; }
Data\ConditionalWeakTableEntry.cs (1)
16public partial TargetPointer DepHndAddress { get; }
Data\ContinuationObject.cs (2)
9[Field] public partial TargetPointer Next { get; } 10[Field] public partial TargetPointer ResumeInfo { get; }
Data\CoreLibBinder.cs (1)
9[Field] public partial TargetPointer Classes { get; }
Data\CtxEntry.cs (2)
9[Field] public partial TargetPointer STAThread { get; } 10[Field] public partial TargetPointer CtxCookie { get; }
Data\DacEnumerableHash.cs (14)
25public DacEnumerableHash(Target target, TargetPointer address, Target.TypeInfo type) 37List<TargetPointer> entries = []; 42TargetPointer chainElement = _target.ReadPointer(Buckets + (ulong)(bucketOffset * _target.PointerSize)); 43List<TargetPointer> elements = ReadChain(chainElement); 52public TargetPointer Buckets { get; init; } 55public IReadOnlyList<TargetPointer> Entries { get; init; } 59public VolatileEntry(Target target, TargetPointer address, Target.TypeInfo type) 66public TargetPointer VolatileEntryValue { get; init; } 67public TargetPointer VolatileEntryNextEntry { get; init; } 73TargetPointer length = _target.ReadPointer(Buckets + (ulong)(SLOT_LENGTH * _target.PointerSize)); 78private static bool IsEndSentinel(TargetPointer value) 83private List<TargetPointer> ReadChain(TargetPointer chainElement) 85List<TargetPointer> elements = [];
Data\Debugger.cs (2)
10[Field] public partial TargetPointer RCThread { get; } 15[Field] public partial TargetPointer RgHijackFunction { get; }
Data\DebuggerRCThread.cs (1)
9[Field] public partial TargetPointer DCB { get; }
Data\Delegate.cs (2)
9[Field] public partial TargetPointer HelperObject { get; } 10[Field] public partial TargetPointer Target { get; }
Data\DynamicFunctionTable.cs (2)
9[Field] public partial TargetPointer MinimumAddress { get; } 10[Field] public partial TargetPointer Context { get; }
Data\DynamicILBlobEntry.cs (1)
10[Field] public partial TargetPointer EntryIL { get; }
Data\DynamicMetadata.cs (1)
12public partial TargetPointer Data { get; }
Data\DynamicStaticsInfo.cs (4)
10public TargetPointer GCStatics { get; private set; } 13public TargetPointer NonGCStatics { get; private set; } 15partial void OnInit(Target target, TargetPointer address) 18TargetPointer mask = target.ReadGlobalPointer(Constants.Globals.StaticsPointerMask);
Data\EditAndContinueHelperObject.cs (1)
10public partial TargetPointer ObjectReferenceAddress { get; }
Data\EEClass.cs (4)
9[Field] public partial TargetPointer MethodTable { get; } 10[Field] public partial TargetPointer MethodDescChunk { get; } 25[Field] public partial TargetPointer FieldDescList { get; } 28[Field] public partial TargetPointer OptionalFields { get; }
Data\EEILException.cs (1)
10public partial TargetPointer Clauses { get; }
Data\EEJitManager.cs (1)
10[Field] public partial TargetPointer AllCodeHeaps { get; }
Data\EETypeHashTable.cs (5)
21partial void OnInit(Target target, TargetPointer address) 27foreach (TargetPointer entry in baseHashTable.Entries) 29TargetPointer typeHandle = target.ReadPointer(entry); 35public readonly struct Entry(TargetPointer value) 37public TargetPointer TypeHandle { get; } = value & ~FLAG_MASK;
Data\EnCAddedField.cs (2)
9[Field] public partial TargetPointer Next { get; } 10[Field] public partial TargetPointer FieldDesc { get; }
Data\EnCAddedFieldElement.cs (2)
9[Field] public partial TargetPointer Next { get; } 10[FieldAddress] public partial TargetPointer FieldDesc { get; }
Data\EnCAddedStaticField.cs (2)
9[Field] public partial TargetPointer FieldDesc { get; } 10[FieldAddress] public partial TargetPointer FieldData { get; }
Data\EnCEEClassData.cs (3)
9[Field] public partial TargetPointer MethodTable { get; } 10[Field] public partial TargetPointer AddedInstanceFields { get; } 11[Field] public partial TargetPointer AddedStaticFields { get; }
Data\EnCFieldDesc.cs (1)
10[Field] public partial TargetPointer StaticFieldData { get; }
Data\EnCSyncBlockInfo.cs (1)
9[Field] public partial TargetPointer List { get; }
Data\Exception.cs (6)
10public partial TargetPointer Message { get; } 13public partial TargetPointer InnerException { get; } 16public partial TargetPointer StackTrace { get; } 19public partial TargetPointer WatsonBuckets { get; } 22public partial TargetPointer StackTraceString { get; } 25public partial TargetPointer RemoteStackTraceString { get; }
Data\ExceptionInfo.cs (10)
9[Field] public partial TargetPointer PreviousNestedInfo { get; } 10[Field] public partial TargetPointer ThrownObject { get; } 12[Field] public partial TargetPointer StackLowBound { get; } 13[Field] public partial TargetPointer StackHighBound { get; } 14[Field] public partial TargetPointer ExceptionRecord { get; } 15[Field] public partial TargetPointer ContextRecord { get; } 18[Field] public partial TargetPointer? ExceptionWatsonBucketTrackerBuckets { get; } 20[Field] public partial TargetPointer CSFEHClause { get; } 21[Field] public partial TargetPointer CSFEnclosingClause { get; } 22[Field] public partial TargetPointer CallerOfActualHandlerFrame { get; }
Data\FieldDesc.cs (1)
11[Field] public partial TargetPointer MTOfEnclosingClass { get; }
Data\FixupPrecodeData.cs (1)
9[Field] public partial TargetPointer MethodDesc { get; }
Data\Frames\ArgumentRegisters.cs (1)
15partial void OnInit(Target target, TargetPointer address)
Data\Frames\CalleeSavedRegisters.cs (1)
15partial void OnInit(Target target, TargetPointer address)
Data\Frames\DebuggerEval.cs (2)
10public partial TargetPointer TargetContext { get; } 14[Field] public partial TargetPointer AssemblyPtr { get; }
Data\Frames\ExternalMethodFrame.cs (1)
9[Field] public partial TargetPointer Indirection { get; }
Data\Frames\FaultingExceptionFrame.cs (1)
10public partial TargetPointer TargetContext { get; }
Data\Frames\Frame.cs (3)
9[Field] public partial TargetPointer Next { get; } 10public TargetPointer Identifier { get; private set; } 12partial void OnInit(Target target, TargetPointer address)
Data\Frames\FramedMethodFrame.cs (2)
9[Field] public partial TargetPointer TransitionBlockPtr { get; } 10[Field] public partial TargetPointer MethodDescPtr { get; }
Data\Frames\FuncEvalFrame.cs (1)
12[Field] public partial TargetPointer DebuggerEvalPtr { get; }
Data\Frames\HijackArgs.cs (1)
15partial void OnInit(Target target, TargetPointer address)
Data\Frames\HijackArgsAMD64.cs (2)
10public partial TargetPointer CalleeSavedRegisters { get; } 13[Field] public partial TargetPointer? Rsp { get; }
Data\Frames\HijackFrame.cs (1)
10[Field] public partial TargetPointer HijackArgsPtr { get; }
Data\Frames\InlinedCallFrame.cs (4)
9[Field] public partial TargetPointer CallSiteSP { get; } 11[Field] public partial TargetPointer CalleeSavedFP { get; } 12[Field] public partial TargetPointer? SPAfterProlog { get; } 13[Field] public partial TargetPointer Datum { get; }
Data\Frames\PInvokeCalliFrame.cs (1)
9[Field] public partial TargetPointer VASigCookiePtr { get; }
Data\Frames\ResumableFrame.cs (1)
9[Field] public partial TargetPointer TargetContextPtr { get; }
Data\Frames\SoftwareExceptionFrame.cs (1)
10public partial TargetPointer TargetContext { get; }
Data\Frames\StubDispatchFrame.cs (3)
9[Field] public partial TargetPointer MethodDescPtr { get; } 10[Field] public partial TargetPointer RepresentativeMTPtr { get; } 12[Field] public partial TargetPointer Indirection { get; }
Data\Frames\TailCallFrame.cs (1)
10public partial TargetPointer CalleeSavedRegisters { get; }
Data\Frames\TransitionBlock.cs (4)
12public partial TargetPointer CalleeSavedRegisters { get; } 18public partial TargetPointer ArgumentRegisters { get; } 24public partial TargetPointer FirstGCRefMapSlot { get; } 34public partial TargetPointer OffsetOfArgs { get; }
Data\FunctionTableIndexRangeSection.cs (2)
14[Field] public partial TargetPointer R2RModule { get; } 15[Field] public partial TargetPointer Next { get; }
Data\GC\CFinalize.cs (1)
10public partial TargetPointer FillPointers { get; }
Data\GC\GCHeapSVR.cs (19)
12[Field] public partial TargetPointer? MarkArray { get; } 13[Field] public partial TargetPointer? NextSweepObj { get; } 14[Field] public partial TargetPointer? BackgroundMinSavedAddr { get; } 15[Field] public partial TargetPointer? BackgroundMaxSavedAddr { get; } 16[Field] public partial TargetPointer AllocAllocated { get; } 17[Field] public partial TargetPointer EphemeralHeapSegment { get; } 18[Field] public partial TargetPointer CardTable { get; } 19[Field] public partial TargetPointer FinalizeQueue { get; } 22public partial TargetPointer GenerationTable { get; } 25[Field] public partial TargetPointer? SavedSweepEphemeralSeg { get; } 26[Field] public partial TargetPointer? SavedSweepEphemeralStart { get; } 30[Field] public partial TargetPointer? InternalRootArray { get; } 34[FieldAddress] public partial TargetPointer InterestingData { get; } 35[FieldAddress] public partial TargetPointer CompactReasons { get; } 36[FieldAddress] public partial TargetPointer ExpandMechanisms { get; } 37[FieldAddress] public partial TargetPointer InterestingMechanismBits { get; } 39[Field] public partial TargetPointer? FreeableSohSegment { get; } 40[Field] public partial TargetPointer? FreeableUohSegment { get; } 41[Field] public partial TargetPointer? FreeRegions { get; }
Data\GC\Generation.cs (2)
10[Field] public partial TargetPointer StartSegment { get; } 13[Field] public partial TargetPointer? AllocationStart { get; }
Data\GC\HeapSegment.cs (8)
9[Field] public partial TargetPointer Allocated { get; } 10[Field] public partial TargetPointer Committed { get; } 11[Field] public partial TargetPointer Reserved { get; } 12[Field] public partial TargetPointer Used { get; } 13[Field] public partial TargetPointer Mem { get; } 15[Field] public partial TargetPointer Next { get; } 16[Field] public partial TargetPointer BackgroundAllocated { get; } 19[Field] public partial TargetPointer? Heap { get; }
Data\GC\OOMHistory.cs (2)
11[Field] public partial TargetPointer Reserved { get; } 12[Field] public partial TargetPointer Allocated { get; }
Data\GCAllocContext.cs (2)
9[Field] public partial TargetPointer Pointer { get; } 10[Field] public partial TargetPointer Limit { get; }
Data\GCCoverageInfo.cs (1)
10public partial TargetPointer SavedCode { get; }
Data\GCFrame.cs (2)
9[Field] public partial TargetPointer Next { get; } 10[Field] public partial TargetPointer ObjRefs { get; }
Data\HandleTable.cs (1)
9[Field] public partial TargetPointer SegmentList { get; }
Data\HandleTableBucket.cs (1)
9[Field] public partial TargetPointer Table { get; }
Data\HandleTableMap.cs (6)
12[Field] public partial TargetPointer Next { get; } 14public IReadOnlyList<TargetPointer> BucketsPtr { get; private set; } = []; 17partial void OnInit(Target target, TargetPointer address) 20TargetPointer bucketsPtr = target.ReadPointerField(address, type, nameof(BucketsPtr)); 22List<TargetPointer> buckets = new((int)arrayLength); 25TargetPointer bucketPtr = target.ReadPointer(bucketsPtr + (ulong)(i * target.PointerSize));
Data\HashMap.cs (1)
9[Field] public partial TargetPointer Buckets { get; }
Data\HostCodeHeap.cs (2)
9[Field] public partial TargetPointer BaseAddress { get; } 10[Field] public partial TargetPointer CurrentAddress { get; }
Data\IdDispenser.cs (1)
9[Field] public partial TargetPointer IdToThread { get; }
Data\ILCodeVersioningState.cs (3)
9[Field] public partial TargetPointer FirstVersionNode { get; } 11[Field] public partial TargetPointer ActiveVersionNode { get; } 12[Field] public partial TargetPointer ActiveVersionModule { get; }
Data\ILCodeVersionNode.cs (2)
10[Field] public partial TargetPointer Next { get; } 12[Field] public partial TargetPointer ILAddress { get; }
Data\InflightTLSData.cs (1)
9[Field] public partial TargetPointer Next { get; }
Data\InstMethodHashTable.cs (5)
21partial void OnInit(Target target, TargetPointer address) 27foreach (TargetPointer entry in baseHashTable.Entries) 29TargetPointer methodDescPtr = target.ReadPointer(entry); 35public readonly struct Entry(TargetPointer value) 37public TargetPointer MethodDesc { get; } = value & ~FLAG_MASK;
Data\InstrumentedILOffsetMapping.cs (1)
10[Field] public partial TargetPointer Map { get; }
Data\InterfaceEntry.cs (2)
9[Field] public partial TargetPointer MethodTable { get; } 10[Field] public partial TargetPointer Unknown { get; }
Data\InternalComInterfaceDispatch.cs (1)
10public partial TargetPointer Entries { get; }
Data\InteropSyncBlockInfo.cs (3)
9[Field] public partial TargetPointer? RCW { get; } 10[Field] public partial TargetPointer? CCW { get; } 11[Field] public partial TargetPointer? CCF { get; }
Data\InterpByteCodeStart.cs (1)
9[Field] public partial TargetPointer Method { get; }
Data\InterpMethod.cs (1)
9[Field] public partial TargetPointer MethodDesc { get; }
Data\InterpMethodContextFrame.cs (5)
9[Field] public partial TargetPointer StartIp { get; } 10[Field] public partial TargetPointer ParentPtr { get; } 11[Field] public partial TargetPointer Ip { get; } 12[Field] public partial TargetPointer NextPtr { get; } 13[Field] public partial TargetPointer Stack { get; }
Data\InterpreterFrame.cs (1)
9[Field] public partial TargetPointer TopInterpMethodContextFrame { get; }
Data\InterpreterPrecodeData.cs (1)
9[Field] public partial TargetPointer ByteCodeAddr { get; }
Data\InterpreterRealCodeHeader.cs (6)
9[Field] public partial TargetPointer MethodDesc { get; } 10[Field] public partial TargetPointer DebugInfo { get; } 11[Field] public partial TargetPointer GCInfo { get; } 16partial void OnInit(Target target, TargetPointer address) 19TargetPointer jitEHInfoAddr = target.ReadPointerField(address, type, nameof(JitEHInfo)); 20if (jitEHInfoAddr != TargetPointer.Null)
Data\JITNotification.cs (1)
22public void WriteEntry(TargetPointer module, uint methodToken, ushort state)
Data\List.cs (1)
11public partial TargetPointer Items { get; }
Data\LoaderAllocator.cs (9)
10[Field] public partial TargetPointer HighFrequencyHeap { get; } 11[Field] public partial TargetPointer LowFrequencyHeap { get; } 12[Field] public partial TargetPointer StaticsHeap { get; } 13[Field] public partial TargetPointer StubHeap { get; } 14[Field] public partial TargetPointer ExecutableHeap { get; } 15[Field] public partial TargetPointer? FixupPrecodeHeap { get; } 16[Field] public partial TargetPointer? NewStubPrecodeHeap { get; } 17[Field] public partial TargetPointer? DynamicHelpersStubHeap { get; } 18[Field] public partial TargetPointer VirtualCallStubManager { get; }
Data\LoaderCodeHeap.cs (1)
11public partial TargetPointer LoaderHeap { get; }
Data\LoaderHeap.cs (1)
9[Field] public partial TargetPointer FirstBlock { get; }
Data\LoaderHeapBlock.cs (2)
9[Field] public partial TargetPointer Next { get; } 10[Field] public partial TargetPointer VirtualAddress { get; }
Data\ManagedObjectWrapperHolderObject.cs (2)
9[Field] public partial TargetPointer WrappedObject { get; } 10[Field] public partial TargetPointer Wrapper { get; }
Data\ManagedObjectWrapperLayout.cs (2)
12[Field] public partial TargetPointer UserDefined { get; } 13[Field] public partial TargetPointer Dispatches { get; }
Data\MDInternalRW.cs (1)
9[Field] public partial TargetPointer Stgdb { get; }
Data\MemoryRange.cs (1)
9[Field] public partial TargetPointer StartAddress { get; }
Data\MethodDesc.cs (5)
14[Field] public partial TargetPointer CodeData { get; } 15[Field] public partial TargetPointer? GCCoverageInfo { get; } 21[Field] public partial TargetPointer PerInstInfo { get; } 29[Field] public partial TargetPointer MethodName { get; } 35[Field] public partial TargetPointer Sig { get; }
Data\MethodDescChunk.cs (3)
9[Field] public partial TargetPointer MethodTable { get; } 10[Field] public partial TargetPointer Next { get; } 17public partial TargetPointer FirstMethodDesc { get; }
Data\MethodDescCodeData.cs (1)
10[Field] public partial TargetPointer VersioningState { get; }
Data\MethodDescVersioningState.cs (1)
9[Field] public partial TargetPointer NativeCodeVersionNode { get; }
Data\MethodTable.cs (5)
12[Field] public partial TargetPointer EEClassOrCanonMT { get; } 13[Field] public partial TargetPointer Module { get; } 14[Field] public partial TargetPointer ParentMethodTable { get; } 15[Field] public partial TargetPointer PerInstInfo { get; } 18[Field] public partial TargetPointer AuxiliaryData { get; }
Data\MethodTableAuxiliaryData.cs (1)
9[Field] public partial TargetPointer LoaderModule { get; }
Data\Module.cs (21)
9[Field] public partial TargetPointer Assembly { get; } 10[Field] public partial TargetPointer PEAssembly { get; } 15[Field] public partial TargetPointer Base { get; } 16[Field] public partial TargetPointer LoaderAllocator { get; } 17[Field] public partial TargetPointer DynamicMetadata { get; } 19[Field] public partial TargetPointer SimpleName { get; } 20[Field] public partial TargetPointer Path { get; } 21[Field] public partial TargetPointer FileName { get; } 22[Field] public partial TargetPointer ReadyToRunInfo { get; } 23[Field] public partial TargetPointer GrowableSymbolStream { get; } 24[Field] public partial TargetPointer AvailableTypeParams { get; } 25[Field] public partial TargetPointer InstMethodHashTable { get; } 27[FieldAddress] public partial TargetPointer FieldDefToDescMap { get; } 28[FieldAddress] public partial TargetPointer ManifestModuleReferencesMap { get; } 29[FieldAddress] public partial TargetPointer MemberRefToDescMap { get; } 30[FieldAddress] public partial TargetPointer MethodDefToDescMap { get; } 31[FieldAddress] public partial TargetPointer TypeDefToMethodTableMap { get; } 32[FieldAddress] public partial TargetPointer TypeRefToMethodTableMap { get; } 36[FieldAddress] public partial TargetPointer? MethodDefToILCodeVersioningStateMap { get; } 38[FieldAddress] public partial TargetPointer? EnCClassList { get; } 39[Field] public partial TargetPointer DynamicILBlobTable { get; }
Data\ModuleLookupMap.cs (2)
9[Field] public partial TargetPointer TableData { get; } 10[Field] public partial TargetPointer Next { get; }
Data\NativeCodeVersionNode.cs (3)
9[Field] public partial TargetPointer Next { get; } 10[Field] public partial TargetPointer MethodDesc { get; } 16[Field] public partial TargetPointer? GCCoverageInfo { get; }
Data\NativeObjectWrapperObject.cs (1)
9[Field] public partial TargetPointer ExternalComObject { get; }
Data\ObjcTrackingInformation.cs (1)
10public partial TargetPointer Memory { get; }
Data\Object.cs (1)
13public partial TargetPointer Data { get; }
Data\ObjectHandle.cs (8)
9public TargetPointer Handle { get; private set; } = TargetPointer.Null; 10public TargetPointer Object { get; private set; } = TargetPointer.Null; 12partial void OnInit(Target target, TargetPointer address) 14if (address != TargetPointer.Null) 17if (Handle != TargetPointer.Null && target.TryReadPointer(Handle, out TargetPointer obj))
Data\ObjectiveCMarshal.cs (1)
10public static partial TargetPointer? ObjectTrackingInfoTable(Target target);
Data\PEAssembly.cs (3)
9[Field] public partial TargetPointer PEImage { get; } 10[Field] public partial TargetPointer AssemblyBinder { get; } 11[Field] public partial TargetPointer MDImport { get; }
Data\PEImage.cs (2)
11[Field] public partial TargetPointer? FlatImageLayout { get; } 12[Field] public partial TargetPointer LoadedImageLayout { get; }
Data\PEImageLayout.cs (1)
9[Field] public partial TargetPointer Base { get; }
Data\PlatformMetadata.cs (1)
11public partial TargetPointer PrecodeMachineDescriptor { get; }
Data\PortableEntryPoint.cs (1)
9[Field] public partial TargetPointer MethodDesc { get; }
Data\PrecodeMachineDescriptor.cs (2)
62partial void OnInit(Target target, TargetPointer address) 97static byte? MaybeGetPrecodeType(Target target, TargetPointer address, Target.TypeInfo type, string fieldName)
Data\ProfControlBlock.cs (1)
11[Field] public partial TargetPointer MainProfilerProfInterface { get; }
Data\RangeSection.cs (7)
9[Field] public partial TargetPointer RangeBegin { get; } 10[Field] public partial TargetPointer RangeEndOpen { get; } 11[Field] public partial TargetPointer NextForDelete { get; } 12[Field] public partial TargetPointer JitManager { get; } 13[Field] public partial TargetPointer HeapList { get; } 15[Field] public partial TargetPointer R2RModule { get; } 16[Field] public partial TargetPointer RangeList { get; }
Data\RangeSectionFragment.cs (5)
9[Field] public partial TargetPointer RangeBegin { get; } 10[Field] public partial TargetPointer RangeEndOpen { get; } 11[Field] public partial TargetPointer RangeSection { get; } 19public TargetPointer Next { get; private set; } 21partial void OnInit(Target target, TargetPointer address)
Data\RangeSectionMap.cs (1)
11public partial TargetPointer TopLevelData { get; }
Data\RCW.cs (11)
12[Field] public partial TargetPointer NextCleanupBucket { get; } 13[Field] public partial TargetPointer NextRCW { get; } 15[Field] public partial TargetPointer CtxCookie { get; } 16[Field] public partial TargetPointer CtxEntry { get; } 17[Field] public partial TargetPointer IdentityPointer { get; } 19[Field] public partial TargetPointer VTablePtr { get; } 20[Field] public partial TargetPointer CreatorThread { get; } 22[Field] public partial TargetPointer UnknownPointer { get; } 27partial void OnInit(Target target, TargetPointer address) 30TargetPointer interfaceEntriesAddr = address + (ulong)type.Fields[nameof(InterfaceEntries)].Offset; 38TargetPointer entryAddress = interfaceEntriesAddr + i * entrySize;
Data\RCWCleanupList.cs (1)
9[Field] public partial TargetPointer FirstBucket { get; }
Data\ReadyToRunCoreHeader.cs (2)
16partial void OnInit(Target target, TargetPointer address) 23TargetPointer sectionAddress = address + headerSize + (ulong)i * sectionSize;
Data\ReadyToRunInfo.cs (16)
11[Field] public partial TargetPointer CompositeInfo { get; } 12[Field] public partial TargetPointer ReadyToRunHeader { get; } 15[Field] public partial TargetPointer DelayLoadMethodCallThunks { get; } 16[Field] public partial TargetPointer DebugInfoSection { get; } 17[Field] public partial TargetPointer ExceptionInfoSection { get; } 18[Field] public partial TargetPointer LoadedImageBase { get; } 19[Field] public partial TargetPointer Composite { get; } 23[Field] public partial TargetPointer? MinVirtualIP { get; } 27public TargetPointer RuntimeFunctions { get; private set; } 31public TargetPointer HotColdMap { get; private set; } 35public TargetPointer ImportSections { get; private set; } 39public TargetPointer EntryPointToMethodDescMap { get; private set; } 41partial void OnInit(Target target, TargetPointer address) 47: TargetPointer.Null; 52: TargetPointer.Null; 56: TargetPointer.Null;
Data\RealCodeHeader.cs (5)
9[Field] public partial TargetPointer MethodDesc { get; } 10[Field] public partial TargetPointer DebugInfo { get; } 11[Field] public partial TargetPointer EHInfo { get; } 12[Field] public partial TargetPointer GCInfo { get; } 16public partial TargetPointer UnwindInfos { get; }
Data\RegionFreeList.cs (1)
9[Field] public partial TargetPointer HeadFreeRegion { get; }
Data\Signature.cs (1)
9[Field] public partial TargetPointer SignaturePointer { get; }
Data\SimpleComCallWrapper.cs (3)
9[Field] public partial TargetPointer OuterIUnknown { get; } 12[Field] public partial TargetPointer MainWrapper { get; } 15public partial TargetPointer VTablePtr { get; }
Data\StackTraceElement.cs (2)
9[Field] public partial TargetPointer Ip { get; } 10[Field] public partial TargetPointer MethodDesc { get; }
Data\StgPool.cs (2)
9[Field] public partial TargetPointer SegData { get; } 10[Field] public partial TargetPointer NextSegment { get; }
Data\StgPoolSeg.cs (2)
9[Field] public partial TargetPointer SegData { get; } 10[Field] public partial TargetPointer NextSegment { get; }
Data\StressLog.cs (2)
18[FieldAddress] public partial TargetPointer? Modules { get; } 19[Field] public partial TargetPointer Logs { get; }
Data\StressLogChunk.cs (2)
9[Field] public partial TargetPointer Next { get; } 12public partial TargetPointer Buf { get; }
Data\StressLogModuleDesc.cs (1)
9[Field] public partial TargetPointer BaseAddress { get; }
Data\StressMsg.cs (2)
10public partial TargetPointer Header { get; } 13public partial TargetPointer Args { get; }
Data\String.cs (1)
10public partial TargetPointer FirstChar { get; }
Data\StubPrecodeData.cs (2)
9[Field] public partial TargetPointer MethodDesc { get; } 16[Field] public partial TargetPointer SecretParam { get; }
Data\SyncBlock.cs (8)
10[Field] public partial TargetPointer LinkNext { get; } 20public TargetPointer? EnCInfo { get; private set; } 22partial void OnInit(Target target, TargetPointer address) 25TargetPointer interopInfoPointer = target.ReadPointerField(address, type, nameof(InteropInfo)); 26if (interopInfoPointer != TargetPointer.Null) 30if (lockHandle.Handle != TargetPointer.Null) 35TargetPointer encInfoPointer = target.ReadPointerField(address, type, nameof(EnCInfo)); 36if (encInfoPointer != TargetPointer.Null)
Data\SyncBlockCache.cs (1)
10[Field] public partial TargetPointer CleanupBlockList { get; }
Data\SyncTableEntry.cs (5)
15partial void OnInit(Target target, TargetPointer address) 19TargetPointer syncBlockPointer = target.ReadPointerField(address, type, nameof(SyncBlock)); 20if (syncBlockPointer != TargetPointer.Null) 23TargetPointer objectPointer = target.ReadPointerField(address, type, nameof(Object)); 24if (objectPointer != TargetPointer.Null && (objectPointer & 1) == 0) // Defensive check: if the lowest bit is set, this is a free sync block entry and the pointer is not valid.
Data\SystemDomain.cs (2)
10public partial TargetPointer GlobalLoaderAllocator { get; } 12[Field] public partial TargetPointer SystemAssembly { get; }
Data\TableSegment.cs (6)
11[Field] public partial TargetPointer NextSegment { get; } 14public partial TargetPointer RgValue { get; } 26partial void OnInit(Target target, TargetPointer address) 32TargetPointer rgTailPtr = address + (ulong)type.Fields[nameof(RgTail)].Offset; 36TargetPointer rgAllocationPtr = address + (ulong)type.Fields[nameof(RgAllocation)].Offset; 40TargetPointer rgUserDataPtr = address + (ulong)type.Fields[nameof(RgUserData)].Offset;
Data\ThisPtrRetBufPrecodeData.cs (1)
9[Field] public partial TargetPointer MethodDesc { get; }
Data\Thread.cs (13)
14[Field] public partial TargetPointer Frame { get; } 15[Field] public partial TargetPointer GCFrame { get; } 16[Field] public partial TargetPointer CachedStackBase { get; } 17[Field] public partial TargetPointer CachedStackLimit { get; } 21[Field] public partial TargetPointer LinkNext { get; } 24public partial TargetPointer ExceptionTracker { get; } 27[Field] public partial TargetPointer? UEWatsonBucketTrackerBuckets { get; } 28[Field] public partial TargetPointer ThreadLocalDataPtr { get; } 29[Field] public partial TargetPointer DebuggerFilterContext { get; } 38public TargetPointer ThreadHandle { get; private set; } 40partial void OnInit(Target target, TargetPointer address) 44TargetPointer rtlPointer = target.ReadPointerField(address, type, nameof(RuntimeThreadLocals)); 45if (rtlPointer != TargetPointer.Null)
Data\ThreadLocalData.cs (3)
9[Field] public partial TargetPointer CollectibleTlsArrayData { get; } 10[Field] public partial TargetPointer NonCollectibleTlsArrayData { get; } 13[Field] public partial TargetPointer InFlightData { get; }
Data\ThreadStaticsInfo.cs (2)
10public partial TargetPointer GCTlsIndex { get; } 13public partial TargetPointer NonGCTlsIndex { get; }
Data\ThreadStore.cs (1)
10[Field] public partial TargetPointer FirstThreadLink { get; }
Data\ThreadStressLog.cs (5)
9[Field] public partial TargetPointer Next { get; } 12[Field] public partial TargetPointer CurrentPtr { get; } 13[Field] public partial TargetPointer ChunkListHead { get; } 14[Field] public partial TargetPointer ChunkListTail { get; } 15[Field] public partial TargetPointer CurrentWriteChunk { get; }
Data\TypedByRef.cs (2)
10public partial TargetPointer Data { get; } 13public partial TargetPointer Type { get; }
Data\TypeDesc.cs (7)
16[Field] public partial TargetPointer TypeArg { get; } 18partial void OnInit(Target target, TargetPointer address) 28[Field] public partial TargetPointer Module { get; } 32partial void OnInit(Target target, TargetPointer address) 46public partial TargetPointer RetAndArgTypes { get; } 48[Field] public partial TargetPointer LoaderModule { get; } 50partial void OnInit(Target target, TargetPointer address)
Data\UnorderedArrayBase.cs (1)
10[Field] public partial TargetPointer Table { get; }
Data\UnwindInfo.cs (1)
14partial void OnInit(Target target, TargetPointer address)
Data\VirtualCallStubManager.cs (2)
9[Field] public partial TargetPointer IndcellHeap { get; } 10[Field] public partial TargetPointer? CacheEntryHeap { get; }
EcmaMetadataUtils.cs (6)
61public static string ReadMetadataVersion(Target target, TargetPointer metadataRootAddress) 63if (metadataRootAddress == TargetPointer.Null) 130out TargetPointer targetAssembly, 133targetAssembly = TargetPointer.Null; 201out TargetPointer targetAssembly, 204targetAssembly = TargetPointer.Null;
LinearReadCache.cs (2)
23public bool TryReadPointer(ulong addr, out TargetPointer value) 29value = TargetPointer.Null;
PrintfStressMessageFormatter.cs (17)
19string FormatMethodTable(TargetPointer pointer); 20string FormatMethodDesc(TargetPointer pointer); 21string FormatVTable(TargetPointer pointer); 22string FormatStackTrace(TargetPointer pointer); 29private readonly Dictionary<string, Action<TargetPointer, PaddingFormat, StringBuilder>> _formatActions; 30private readonly Dictionary<string, Action<TargetPointer, PaddingFormat, StringBuilder>> _alternateActions; 77private void FormatPointer(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 89private void FormatMethodDesc(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 94private void FormatMethodTable(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 99private void FormatVTable(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 104private void FormatStackTrace(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 109private void FormatAsciiString(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 121private void FormatUtf16String(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 133private static void FormatHexWithPrefix(TargetPointer ptr, PaddingFormat paddingFormat, StringBuilder builder) 152private static string FormatInteger<T>(TargetPointer value, char format, PaddingFormat paddingFormat) 165private static void FormatFloatingPoint(TargetPointer valueAsBits, PaddingFormat paddingFormat, StringBuilder builder) 208Debug.Assert(stressMsg.FormatString != TargetPointer.Null);
RuntimeTypeSystemHelpers\ExtensionMethods.cs (4)
12return type.Address != TargetPointer.Null && ((ulong)type.Address & (ulong)RuntimeTypeSystem_1.TypeHandleBits.ValidMask) == (ulong)RuntimeTypeSystem_1.TypeHandleBits.TypeDesc; 17return type.Address != TargetPointer.Null && ((ulong)type.Address & (ulong)RuntimeTypeSystem_1.TypeHandleBits.ValidMask) == (ulong)RuntimeTypeSystem_1.TypeHandleBits.MethodTable; 20public static TargetPointer TypeDescAddress(this ITypeHandle type) 23return TargetPointer.Null;
RuntimeTypeSystemHelpers\MethodDescOptionalSlots.cs (6)
23internal static TargetPointer GetAddressOfNonVtableSlot(TargetPointer methodDesc, MethodClassification classification, ushort flags, Target target) 30internal static TargetPointer GetAddressOfNativeCodeSlot(TargetPointer methodDesc, MethodClassification classification, ushort flags, Target target) 37internal static TargetPointer GetAddressOfAsyncMethodData(TargetPointer methodDesc, MethodClassification classification, ushort flags, Target target)
RuntimeTypeSystemHelpers\MethodTableFlags_1.cs (5)
122internal static EEClassOrCanonMTBits GetEEClassOrCanonMTBits(TargetPointer eeClassOrCanonMTPtr) 127internal static TargetPointer UntagEEClassOrCanonMT(TargetPointer eeClassOrCanonMTPtr) 132internal static TargetPointer TagEEClassOrCanonMT(TargetPointer eeClassOrCanonMTPtr, EEClassOrCanonMTBits tag)
RuntimeTypeSystemHelpers\MethodValidation.cs (34)
18TargetPointer GetAddressOfMethodTableSlot(TargetPointer methodTablePointer, uint slot); 19bool SlotIsVtableSlot(TargetPointer methodTablePointer, uint slot); 24public TargetPointer GetAddressOfMethodTableSlot(TargetPointer methodTablePointer, uint slot) => throw new NotImplementedException(); 26public bool SlotIsVtableSlot(TargetPointer methodTablePointer, uint slot) => throw new NotImplementedException(); 55internal TargetPointer Address { get; init; } 57internal NonValidatedMethodDesc(Target target, TargetPointer methodDescAddr, Data.MethodDesc desc, Data.MethodDescChunk chunk) 72internal TargetPointer MethodTable => _chunk.MethodTable; 79internal TargetPointer CodeData => _desc.CodeData; 84internal TargetPointer GetAddressOfNonVtableSlot() => MethodDescOptionalSlots.GetAddressOfNonVtableSlot(Address, Classification, _desc.Flags, _target); 85internal TargetPointer GetAddressOfNativeCodeSlot() => MethodDescOptionalSlots.GetAddressOfNativeCodeSlot(Address, Classification, _desc.Flags, _target); 91internal TargetPointer GetMethodDescChunkPointerThrowing(TargetPointer methodDescPointer, Data.MethodDesc umd) 101private Data.MethodDescChunk GetMethodDescChunkThrowing(TargetPointer methodDescPointer, Data.MethodDesc md, out TargetPointer methodDescChunkPointer) 107private NonValidatedMethodDesc GetMethodDescThrowing(TargetPointer methodDescPointer, out TargetPointer methodDescChunkPointer) 118if (!umd.TemporaryEntryPointAssigned || umd.CodeData == TargetPointer.Null) 134TargetPointer ppCode = umd.GetAddressOfNativeCodeSlot(); 159TargetPointer pSlot = umd.GetAddressOfNonVtableSlot(); 164TargetPointer methodTablePointer = umd.MethodTable; 165Debug.Assert(methodTablePointer != TargetPointer.Null); 166TargetPointer addrOfSlot = _methodTableQueries.GetAddressOfMethodTableSlot(methodTablePointer, umd.Slot); 172internal bool ValidateMethodDescPointer(TargetPointer methodDescPointer, [NotNullWhen(true)] out TargetPointer methodDescChunkPointer) 174methodDescChunkPointer = TargetPointer.Null; 178TargetPointer methodTablePointer = umd.MethodTable; 179if (methodTablePointer == TargetPointer.Null 180|| methodTablePointer == TargetPointer.Max64Bit 181|| methodTablePointer == TargetPointer.Max32Bit) 195TargetPointer methodDesc = precode.GetMethodDescFromStubAddress(temporaryEntryPoint); 209TargetPointer methodDesc = executionManager.GetMethodDesc(codeInfo.Value); 220TargetPointer methodDesc = executionManager.NonVirtualEntry2MethodDesc(jitCodeAddr);
RuntimeTypeSystemHelpers\TypeValidation.cs (30)
12private TargetPointer _continuationMethodTablePointer; 13private TargetPointer _continuationSingletonEEClassPointer; 15internal TypeValidation(Target target, TargetPointer continuationMethodTablePointer, TargetPointer continuationSingletonEEClassPointer) 22private TargetPointer ContinuationMethodTablePointer 26if (_continuationMethodTablePointer != TargetPointer.Null) 34private TargetPointer ContinuationSingletonEEClassPointer 38if (_continuationSingletonEEClassPointer != TargetPointer.Null) 52internal TargetPointer Address { get; init; } 56internal NonValidatedMethodTable(Target target, TargetPointer methodTablePointer) 82internal TargetPointer EEClassOrCanonMT => _target.ReadPointer(Address + (ulong)_type.Fields[nameof(EEClassOrCanonMT)].Offset); 83internal TargetPointer EEClass => MethodTableFlags_1.GetEEClassOrCanonMTBits(EEClassOrCanonMT) == MethodTableFlags_1.EEClassOrCanonMTBits.EEClass ? EEClassOrCanonMT : throw new InvalidOperationException("not an EEClass"); 84internal TargetPointer CanonMT 100internal TargetPointer ParentMethodTable => _target.ReadPointer(Address + (ulong)_type.Fields[nameof(ParentMethodTable)].Offset); 108internal TargetPointer Address { get; init; } 110internal NonValidatedEEClass(Target target, TargetPointer eeClassPointer) 117internal TargetPointer MethodTable => _target.ReadPointer(Address + (ulong)_type.Fields[nameof(MethodTable)].Offset); 122internal static NonValidatedMethodTable GetMethodTableData(Target target, TargetPointer methodTablePointer) 127internal static NonValidatedEEClass GetEEClassData(Target target, TargetPointer eeClassPointer) 183TargetPointer eeClassPtr = GetClassThrowing(methodTable); 184if (eeClassPtr != TargetPointer.Null) 191TargetPointer methodTablePtrFromClass = eeClass.MethodTable; 203TargetPointer classFromMethodTable = GetClassThrowing(methodTableFromClass); 223private static bool ValidateDataReadable<T>(Target target, TargetPointer dataAddress) where T : IData<T> 239private TargetPointer GetClassThrowing(NonValidatedMethodTable methodTable) 241TargetPointer eeClassOrCanonMT = methodTable.EEClassOrCanonMT; 249TargetPointer canonicalMethodTablePtr = methodTable.CanonMT; 265return ContinuationMethodTablePointer != TargetPointer.Null 267&& ContinuationSingletonEEClassPointer != TargetPointer.Null 271internal bool TryValidateMethodTablePointer(TargetPointer methodTablePointer)
Microsoft.Diagnostics.DataContractReader.Legacy (511)
ClrDataAppDomain.cs (3)
18private readonly TargetPointer _appDomain; 21public TargetPointer Address => _appDomain; 23public ClrDataAppDomain(Target target, TargetPointer appDomain, IXCLRDataAppDomain? legacyImpl)
ClrDataExceptionState.cs (20)
15private readonly TargetPointer _threadAddress; 17private readonly TargetPointer _exceptionInfoAddress; 18private readonly TargetPointer _thrownObjectHandle; 19private readonly TargetPointer _previousExInfoAddress; 24TargetPointer threadAddress, 26TargetPointer exceptionInfoAddress, 27TargetPointer thrownObjectHandle, 28TargetPointer previousExInfoAddress, 49if (_previousExInfoAddress != TargetPointer.Null) 83if (_previousExInfoAddress == TargetPointer.Null) 91out TargetPointer nextNestedException, 92out TargetPointer prevExThrownObjectHandle); 132if (_thrownObjectHandle == TargetPointer.Null) 135TargetPointer exceptionObject; 182TargetPointer exceptionObject = _target.ReadPointer(_thrownObjectHandle); 184if (exceptionData.Message == TargetPointer.Null) 315TargetPointer exceptionRecord; 316if (_exceptionInfoAddress != TargetPointer.Null) 328TargetPointer exceptionAddress = _target.ReadPointer( 330TargetPointer requestedAddress = new(
ClrDataFrame.cs (12)
109TargetPointer appDomainAddr = _target.Contracts.Loader.GetAppDomain(); 111if (appDomainAddr != TargetPointer.Null) 379TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 424TargetPointer methodDescPtr = _target.Contracts.StackWalk.GetMethodDescPtr(_dataFrame); 425if (methodDescPtr == TargetPointer.Null) 431TargetPointer mtAddr = rts.GetMethodTable(mdh); 433TargetPointer modulePtr = rts.GetModule(typeHandle); 515TargetPointer ilHeader = TargetPointer.Null; 521if (ilHeader == TargetPointer.Null) 523if (ilHeader == TargetPointer.Null) 764TargetPointer mtAddr = rts.GetMethodTable(mdh);
ClrDataMethodDefinition.cs (20)
32private readonly TargetPointer _module; 37TargetPointer module, 47private TargetPointer TryResolveMethodDesc() 52TargetPointer methodDescAddr = loader.GetModuleLookupMapElement(tables.MethodDefToDesc, _token, out _); 57private TargetPointer GetILExtentStart(out uint codeSize) 61TargetPointer ilHeader = loader.GetILHeader(moduleHandle, _token); 62if (ilHeader == TargetPointer.Null) 65return TargetPointer.Null; 76TargetPointer mtAddr = rts.GetMethodTable(md); 150TargetPointer methodDescAddr = TryResolveMethodDesc(); 151if (methodDescAddr != TargetPointer.Null) 153SOSDacImpl.EnumMethodInstances emi = new(_target, methodDescAddr, TargetPointer.Null); 294TargetPointer methodDescAddr = TryResolveMethodDesc(); 296if (methodDescAddr != TargetPointer.Null) 421TargetPointer code = GetILExtentStart(out uint codeSize); 422if (code == TargetPointer.Null) 652TargetPointer code = GetILExtentStart(out _); 653if (code == TargetPointer.Null) 688TargetPointer methodDescAddr = TryResolveMethodDesc(); 689if (methodDescAddr == TargetPointer.Null)
ClrDataMethodInstance.cs (6)
32private readonly TargetPointer _appDomain; 37TargetPointer appDomain, 75TargetPointer mtAddr = rts.GetMethodTable(_methodDesc); 77TargetPointer module = rts.GetModule(mainMT); 303TargetPointer codeStart = pCode.ToAddress(_target); 407executionManager.GetGCInfo(codeBlock.Value, out TargetPointer gcInfoAddress, out uint gcVersion);
ClrDataModule.cs (9)
20private readonly TargetPointer _address; 23internal TargetPointer Address => _address; 41public ClrDataModule(TargetPointer address, Target target, IXCLRDataModule? legacyImpl) 596TargetPointer peAssembly = contract.GetPEAssembly(moduleHandle); 604if (contract.TryGetLoadedImageContents(moduleHandle, out TargetPointer baseAddress, out uint size, out _)) 757TargetPointer peAssembly = contract.GetPEAssembly(moduleHandle); 764if (peAssembly != TargetPointer.Null) 776contract.TryGetLoadedImageContents(moduleHandle, out TargetPointer baseAddress, out uint size, out uint flags); 787if (contract.TryGetSymbolStream(moduleHandle, out TargetPointer symbolBuffer, out uint symbolBufferSize))
ClrDataStackWalk.cs (3)
17private readonly TargetPointer _threadAddr; 25public ClrDataStackWalk(TargetPointer threadAddr, uint flags, Target target, IXCLRDataStackWalk? legacyImpl) 192TargetPointer frameAddr = sw.GetFrameAddress(frameData);
ClrDataTask.cs (10)
15private readonly TargetPointer _address; 19public ClrDataTask(TargetPointer address, Target target, IXCLRDataTask? legacyImpl) 41TargetPointer currentAppDomain = _target.Contracts.Loader.GetAppDomain(); 109TargetPointer thrownObjectHandle = _target.Contracts.Thread.GetCurrentExceptionHandle(_address); 110if (thrownObjectHandle == TargetPointer.Null) 117exception.Interface = new ClrDataExceptionState(_target, _address, (uint)CLRDataExceptionStateFlag.CLRDATA_EXCEPTION_DEFAULT, TargetPointer.Null, thrownObjectHandle, threadData.FirstNestedException, legacyExceptionState); 191TargetPointer thrownObjectHandle = threadData.LastThrownObjectHandle; 192if (thrownObjectHandle == TargetPointer.Null) 198exception.Interface = new ClrDataExceptionState(_target, _address, (uint)CLRDataExceptionStateFlag.CLRDATA_EXCEPTION_PARTIAL, TargetPointer.Null, thrownObjectHandle, TargetPointer.Null, legacyExceptionState);
ClrDataTypeDefinition.cs (2)
18private readonly TargetPointer _module; 25TargetPointer module,
ClrDataTypeInstance.cs (3)
136TargetPointer module = default; 158TargetPointer definitionTypeAddress = loader.GetModuleLookupMapElement(tables.TypeDefToMethodTable, token, out _); 159definitionType = definitionTypeAddress == TargetPointer.Null ? null : rts.GetTypeHandle(definitionTypeAddress);
ConversionExtensions.cs (3)
17public static ClrDataAddress ToClrDataAddress(this TargetPointer address, Target target) 49public static TargetPointer ToTargetPointer(this ClrDataAddress address, Target target, bool overrideCheck = false) 89public static TargetPointer ToAddress(this TargetCodePointer code, Target target)
Dbi\DacDbiImpl.cs (180)
54if (!_target.TryReadGlobalPointer(Constants.Globals.ProfilerControlBlock, out TargetPointer? profControlBlockAddress)) 58TargetPointer mainProfInterface = _target.ReadPointerField(profControlBlockAddress.Value, type, "MainProfilerProfInterface"); 60return mainProfInterface != TargetPointer.Null || notificationCount > 0; 226TargetPointer targetAssembly = TargetPointer.Null; 251TargetPointer methodTable = loader.GetModuleLookupMapElement(tables.TypeRefToMethodTable, typeToken, out _); 252if (methodTable != TargetPointer.Null) 256TargetPointer typeDefModulePtr = rts.GetModule(typeHandle); 497if (loader.TryGetSymbolStream(handle, out TargetPointer buffer, out uint size) && size != 0) 547if (!isDynamic && loader.TryGetLoadedImageContents(handle, out TargetPointer baseAddress, out uint size, out uint _)) 590TargetPointer modulePtr = loader.GetModule(handle); 759TargetPointer assembly = loader.GetAssembly(handle); 944TargetPointer espContext = _target.Contracts.Debugger.PrepareExceptionHijack( 977TargetPointer currentThread = threadStore.FirstThread; 978while (currentThread != TargetPointer.Null) 1109TargetPointer threadPtr = new TargetPointer(vmThread); 1143TargetPointer threadPtr = new TargetPointer(vmThread); 1211TargetPointer threadPtr = new TargetPointer(vmThread); 1245TargetPointer threadPtr = new TargetPointer(vmThread); 1379TargetPointer threadPtr = new TargetPointer(vmThread); 1380TargetPointer exceptionHandle = _target.Contracts.Thread.GetCurrentExceptionHandle(threadPtr); 1381if (exceptionHandle == TargetPointer.Null) 1412TargetPointer objectHandle = TargetPointer.Null; 1413TargetPointer ccwAddress = new(ccwPtr); 1418TargetPointer managedObjectWrapper = comWrappers.GetManagedObjectWrapperFromCCW(ccwAddress); 1419if (managedObjectWrapper != TargetPointer.Null) 1427TargetPointer ccw = builtInCOM.GetCCWFromInterfacePointer(ccwAddress); 1428if (ccw == TargetPointer.Null) 1487TargetPointer defaultAppDomain = _target.Contracts.Loader.GetAppDomain(); 1516TargetPointer referencedModule = loader.GetModuleLookupMapElement(lookupTables.ManifestModuleReferences, tkAssemblyRef, out _); 1517if (referencedModule != TargetPointer.Null) 1630TargetPointer filterContext = threadData.DebuggerFilterContext; 1631if (filterContext != TargetPointer.Null) 1638TargetPointer redirectedContext = sw.GetRedirectedContextPointer(threadData); 1639if (redirectedContext != TargetPointer.Null) 1945_target.Contracts.Thread.GetStackLimitData(new TargetPointer(vmThread), out TargetPointer stackBase, out TargetPointer stackLimit, out _); 1946TargetPointer sp = ctx.StackPointer; 2129TargetPointer currentAppDomain = _target.Contracts.Loader.GetAppDomain(); 2148TargetPointer mdPtr = _target.Contracts.StackWalk.GetMethodDescPtr(handle); 2173TargetPointer vmAssembly = ResolveMethodAssembly(rts, md); 2209private TargetPointer GetAmbientSP(IStackDataFrameHandle handle, CodeBlockHandle? codeBlockHandle, uint nativeOffset) 2212return TargetPointer.Null; 2215eman.GetGCInfo(cbh, out TargetPointer gcInfoAddress, out uint gcVersion); 2234TargetPointer mtAddr = rts.GetMethodTable(md); 2297TargetPointer threadPtr = new TargetPointer(vmThread); 2298TargetPointer currentAppDomain = _target.Contracts.Loader.GetAppDomain(); 2306TargetPointer vmAssembly; 2308TargetPointer vmMethodDesc; 2314vmMethodDesc = TargetPointer.Null; 2318TargetPointer methodDescPtr = stackwalk.GetMethodDescPtr(frame.FrameAddress); 2381private void ResolveStubFrameAssemblyAndToken(TargetPointer methodDescPtr, out TargetPointer vmAssembly, out uint funcMetadataToken) 2383vmAssembly = TargetPointer.Null; 2385if (methodDescPtr == TargetPointer.Null) 2394private TargetPointer ResolveMethodAssembly(IRuntimeTypeSystem rts, MethodDescHandle mdHandle) 2398TargetPointer mtPtr = rts.GetMethodTable(mdHandle); 2399if (mtPtr == TargetPointer.Null) 2400return TargetPointer.Null; 2402TargetPointer modulePtr = rts.GetModule(typeHandle); 2403if (modulePtr == TargetPointer.Null) 2404return TargetPointer.Null; 2412return TargetPointer.Null; 2594TargetPointer argBase = signature.GetVarArgArgsBase(new TargetPointer(VASigCookieAddr)); 2595signature.GetVarArgSignature(new TargetPointer(VASigCookieAddr), out TargetPointer sigAddr, out uint sigLen); 2730TargetPointer methodDescPtr = loader.GetModuleLookupMapElement(lookupTables.MethodDefToDesc, functionToken, out _); 2731if (methodDescPtr != TargetPointer.Null) 2741TargetPointer headerPtr = loader.GetILHeader(moduleHandle, functionToken); 2743if (headerPtr != TargetPointer.Null) 2788TargetPointer methodDesc = FindLoadedMethodRefOrDef(loader, module, functionToken); 2789if (methodDesc != TargetPointer.Null) 2795TargetPointer asyncVariant = rts.GetAsyncVariant(methodDescHandle); 2796if (asyncVariant != TargetPointer.Null) 2813executionManager.GetMethodRegionInfo(codeBlock, out pCodeInfo->hotRegion.cbSize, out TargetPointer coldStart, out pCodeInfo->coldRegion.cbSize); 2870TargetPointer codeStart = executionManager.GetStartAddress(codeBlock); 2874executionManager.GetMethodRegionInfo(codeBlock, out pCodeInfo->hotRegion.cbSize, out TargetPointer coldStart, out pCodeInfo->coldRegion.cbSize); 2881TargetPointer methodDesc = executionManager.GetMethodDesc(codeBlock); 2899TargetPointer methodTable = rts.GetMethodTable(methodDescHandle); 2900TargetPointer module = rts.GetModule(rts.GetTypeHandle(methodTable)); 2936private static TargetPointer FindLoadedMethodRefOrDef(ILoader loader, Contracts.ModuleHandle module, uint token) 2949return TargetPointer.Null; 3128TargetPointer gcStaticsBase = TargetPointer.Null; 3129TargetPointer nonGCStaticsBase = TargetPointer.Null; 3138foreach (TargetPointer fdPtr in rts.GetFieldDescList(thApprox)) 3143foreach (TargetPointer fdPtr in mts.EnumerateAddedFieldDescs(thApprox, staticFields: false)) 3145foreach (TargetPointer fdPtr in mts.EnumerateAddedFieldDescs(thApprox, staticFields: true)) 3155TargetPointer fdPtr, 3156TargetPointer gcStaticsBase, 3157TargetPointer nonGCStaticsBase, 3192TargetPointer enclosingMT = rts.GetMTOfEnclosingClass(fdPtr); 3193if (enclosingMT != TargetPointer.Null) 3208TargetPointer addr = rts.GetFieldDescStaticAddress(fdPtr, unboxValueTypes: false); 3213TargetPointer baseAddr = isPrimitive ? nonGCStaticsBase : gcStaticsBase; 3214if (baseAddr != TargetPointer.Null) 3323TargetPointer mtAddr = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(addr)); 3401TargetPointer module = new TargetPointer(vmModule); 3445TargetPointer canonMtPtr = rts.GetWellKnownMethodTable(WellKnownMethodTable.Canon); 3446if (canonMtPtr == TargetPointer.Null) 3551if (th.Address == TargetPointer.Null) 3697TargetPointer specMethodMtPtr = rts.GetMethodTable(pSpecificMethod); 3709TargetPointer canonMtPtr = rts.GetWellKnownMethodTable(WellKnownMethodTable.Canon); 3777TargetPointer fd = new TargetPointer(vmField); 3810TargetPointer fd = new TargetPointer(vmField); 3847TargetPointer fieldDescPointer = loader.GetModuleLookupMapElement(lookupTables.FieldDefToDesc, fldToken, out _); 3848if (fieldDescPointer == TargetPointer.Null || mrts.DoesEnCFieldDescNeedFixup(fieldDescPointer)) 3852TargetPointer fieldAddress; 3860TargetPointer objectPointer = new TargetPointer(pEnCFieldInfo->vmObject); 3864if (fieldAddress == TargetPointer.Null) 3940TargetPointer mt; 3952if (mt == TargetPointer.Null) 4052TargetPointer module = rts.GetModule(typeHandle); 4053if (module == TargetPointer.Null) 4086TargetPointer objectAddress = new TargetPointer(vmObject); 4087TargetPointer parentMT = _target.Contracts.Object.GetMethodTableAddress(objectAddress); 4088TargetPointer exceptionMT = rts.GetWellKnownMethodTable(WellKnownMethodTable.Exception); 4090while (parentMT != TargetPointer.Null) 4149ResolveStubFrameAssemblyAndToken(frame.MethodDesc, out TargetPointer vmAssembly, out uint methodDef); 4192_ = obj.GetBuiltInComData(new TargetPointer(vmObject), out TargetPointer rcw, out _, out _); 4193*pResult = rcw != TargetPointer.Null ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 4236_ = obj.GetBuiltInComData(new TargetPointer(vmObject), out TargetPointer rcw, out _, out _); 4237if (rcw != TargetPointer.Null) 4240foreach ((TargetPointer methodTable, TargetPointer unknown) in builtInCom.GetRCWInterfaces(rcw)) 4242if (methodTable != TargetPointer.Null && unknown != TargetPointer.Null) 4321TargetPointer mtAddr = _target.Contracts.Object.GetMethodTableAddress(objectAddress); 4360TargetPointer mt = objectContract.GetMethodTableAddress(objectAddress); 4364TargetPointer dataStart = objectContract.GetArrayData(objectAddress, out uint numComponents, out TargetPointer boundsStart, out TargetPointer lowerBounds); 4427TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(objectAddress); 4568TargetPointer obj = _target.ReadPointer(new TargetPointer(vmHandle)); 4569*pResult = obj != TargetPointer.Null ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 4614TargetPointer syncBlock = _target.Contracts.Object.GetSyncBlockAddress(vmObject); 4616if (syncBlock == TargetPointer.Null || !_target.Contracts.SyncBlock.TryGetLockInfo(syncBlock, out threadId, out recursionCount)) 4622TargetPointer threadPtr = _target.Contracts.Thread.IdToThread(threadId); 4623Debug.Assert(threadPtr != TargetPointer.Null, "A thread should have been found"); 4624if (threadPtr != TargetPointer.Null) 4954TargetPointer gen0AllocStart = heapData.GenerationTable[0].AllocationStart; 4955TargetPointer gen1AllocStart = heapData.GenerationTable[1].AllocationStart; 5028foreach (TargetPointer heapAddress in gc.GetGCHeaps()) 5056TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 5242TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(obj)); 5321TargetPointer parentMT = rts.GetParentMethodTable(typeHandle); 5322if (parentMT != TargetPointer.Null) 5349TargetPointer[] fieldDescList = rts.GetFieldDescList(typeHandle).Take((int)cFields).ToArray(); 5356TargetPointer fieldDescPtr = fieldDescList[i]; 5364TargetPointer enclosingMT = rts.GetMTOfEnclosingClass(fieldDescPtr); 5366TargetPointer enclosingModulePtr = rts.GetModule(enclosingTypeHandle); 5465TargetPointer parentMT = rts.GetParentMethodTable(typeHandle); 5470if (parentMT != TargetPointer.Null) 5648TargetPointer methodDesc = loader.GetModuleLookupMapElement(lookupTables.MethodDefToDesc, methodTk, out _); 5650if (methodDesc != TargetPointer.Null) 5696TargetPointer methodDesc = TargetPointer.Null; 5702if (methodDesc != TargetPointer.Null) 5751TargetPointer methodDesc = loader.GetModuleLookupMapElement(lookupTables.MethodDefToDesc, methodTk, out _); 5753if (methodDesc != TargetPointer.Null) 5763TargetPointer headerPtr = codeVersions.GetIL(ilCodeVersion); 5764if (headerPtr != TargetPointer.Null) 5895if (codeVersions.TryGetInstrumentedILMap(ilCodeVersion, out uint mapEntryCount, out TargetPointer mapEntries)) 6004TargetPointer methodDescPtr = eman.NonVirtualEntry2MethodDesc(delegateInfo.TargetMethodPtr); 6006if (methodDescPtr == TargetPointer.Null) 6015TargetPointer mtPtr = rts.GetMethodTable(mdHandle); 6017TargetPointer modulePtr = rts.GetModule(typeHandle); 6079TargetPointer mt = _target.Contracts.Object.GetMethodTableAddress(vmObject); 6164TargetPointer assemblyPtr = loader.GetAssembly(handle); 6397TargetPointer prev = TargetPointer.Null; 6402TargetPointer next = rts.GetParentMethodTable(current); 6403if (next == TargetPointer.Null || next == prev || next == current.Address) 6479TargetPointer parentMT = rts.GetParentMethodTable(typeHandle); 6480if (parentMT != TargetPointer.Null) 6516TargetPointer modulePtr = rts.GetModule(typeHandle); 6530Debug.Assert(modulePtr != TargetPointer.Null); 6572TargetPointer modulePtr = rts.GetModule(typeHandle); 6584Debug.Assert(modulePtr != TargetPointer.Null);
Dbi\Helpers\HeapWalk.cs (7)
15private readonly TargetPointer _freeObjectMT; 49TargetPointer currentObj = _gc.GetPotentialNextObjectAddress(seg.Start, 0, seg); 53if (!_cache.TryReadPointer(currentObj.Value + _methodTableOffset, out TargetPointer mt)) 75TargetPointer nextObj = _gc.GetPotentialNextObjectAddress(currentObj, size, seg); 81TargetPointer reportedAddr = currentObj; 111private bool TryGetObjectSize(TargetPointer objAddr, TargetPointer mt, out ulong size)
Dbi\Helpers\RefWalk.cs (4)
19private readonly TargetPointer _appDomain; 135TargetPointer threadAddr = threadStore.FirstThread; 136while (threadAddr != TargetPointer.Null) 155if (stackRef.IsInteriorPointer || stackRef.Address == TargetPointer.Null)
Dbi\TypeDataWalk.cs (2)
215TargetPointer mt; 227if (mt == TargetPointer.Null)
HeaderReaderHelpers.cs (3)
25public static int GetHeaderSize(Target target, TargetPointer ilHeader) 36public static int GetCodeSize(Target target, TargetPointer ilHeader) 47public static bool TryGetLocalVarSigToken(Target target, TargetPointer ilHeader, out int localVarSigToken)
SigFormat.cs (4)
158TargetPointer typeHandlePointer = target.ReadPointerFromSpan(signature.ReadBytes(target.PointerSize)); 181TargetPointer modulePointer = target.Contracts.RuntimeTypeSystem.GetModule(th); 350TargetPointer modulePointer = target.Contracts.RuntimeTypeSystem.GetModule(typeHandle); 395runtimeTypeSystem.IsGenericVariable(typeHandle, out TargetPointer genericVariableModulePointer, out uint typeVarToken, out _);
SOSDacImpl.cs (160)
120TargetPointer appDomain = loader.GetAppDomain(); 121if (appDomain == TargetPointer.Null) 125TargetPointer globalLoaderAllocator = loader.GetGlobalLoaderAllocator(); 186TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 188if (appDomain != TargetPointer.Null && values.Length > 0) 297TargetPointer defaultAppDomain = _target.Contracts.Loader.GetAppDomain(); 298appDomainStoreData->DomainCount = defaultAppDomain != TargetPointer.Null ? 1 : 0; 350TargetPointer defaultAppDomain = _target.Contracts.Loader.GetAppDomain(); 400TargetPointer appDomain = loader.GetAppDomain(); 401if (appDomain == TargetPointer.Null) 480TargetPointer addr = assembly.ToTargetPointer(_target); 483TargetPointer modulePointer = loader.GetModule(handle); 576TargetPointer ccwPtr = contract.GetCCWFromInterfacePointer(ccw.ToTargetPointer(_target)); 577if (ccwPtr == TargetPointer.Null) 587TargetPointer handle = contract.GetObjectHandle(ccwPtr); 589if (handle != TargetPointer.Null) 648TargetPointer startCCW = builtInCOMContract.GetCCWFromInterfacePointer(ccw.ToTargetPointer(_target)); 649if (startCCW == TargetPointer.Null) 778TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(targetCodePointer); 779if (methodDesc == TargetPointer.Null) 803eman.GetGCInfo(cbh, out TargetPointer pGcInfo, out uint gcVersion); 817eman.GetMethodRegionInfo(cbh, out uint hotRegionSize, out TargetPointer coldRegionStart, out uint coldRegionSize); 1061TargetPointer fieldDescTargetPtr = fieldDesc.ToTargetPointer(_target); 1069TargetPointer enclosingMT = rtsContract.GetMTOfEnclosingClass(fieldDescTargetPtr); 1071TargetPointer modulePtr = rtsContract.GetModule(ctx); 1143data->NextField = rtsContract.TryGetFieldDescNext(fieldDescTargetPtr, out TargetPointer nextFieldDesc) 1298List<TargetPointer> gcHeaps = gc.GetGCHeaps().ToList(); 1357gc.GetGCBounds(out TargetPointer minAddress, out TargetPointer maxAddress); 1490gc.GetGCBounds(out TargetPointer minAddress, out TargetPointer maxAddress); 1623TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 1902data->internal_root_array = (heapData.InternalRootArray ?? TargetPointer.Null).ToClrDataAddress(_target); 1948data->internal_root_array = (heapData.InternalRootArray ?? TargetPointer.Null).ToClrDataAddress(_target); 2068TargetPointer module = moduleAddr.ToTargetPointer(_target); 2070TargetPointer peAssemblyPtr = loader.GetPEAssembly(moduleHandle); 2186private bool IsJumpRel64(TargetPointer pThunk) 2192private TargetPointer DecodeJump64(TargetPointer pThunk) 2214TargetPointer pThunk = context.InstructionPointer.AsTargetPointer; 2264TargetPointer methodDesc = addr.ToTargetPointer(_target); 2318TargetPointer methodTableAddr = rtsContract.GetMethodTable(methodDescHandle); 2558TargetPointer module = moduleAddr.ToTargetPointer(_target); 2606TargetPointer methodDesc = addr.ToTargetPointer(_target); 2636TargetPointer modulePtr = rtsContract.GetModule(rtsContract.GetTypeHandle(rtsContract.GetMethodTable(methodDescHandle))); 2695TargetPointer methodDescPtr = stackWalkContract.GetMethodDescPtr(frameAddr.ToTargetPointer(_target)); 2696if (methodDescPtr == TargetPointer.Null) 2736TargetPointer methodDescAddr = executionManager.GetMethodDesc(codeHandle); 2874TargetPointer mtAddress = mt.ToTargetPointer(_target); 2953TargetPointer modulePointer = typeSystemContract.GetModule(methodTableHandle); 3017TargetPointer methodTable = mt.ToTargetPointer(_target); 3033foreach (TargetPointer mdAddr in rts.GetIntroducedMethodDescs(methodTableHandle)) 3161static ClrDataAddress ReadMapBase(Target target, TargetPointer table, uint offset) 3162=> table == TargetPointer.Null 3219TargetPointer exceptionObjectLocal = contract.GetNestedExceptionInfo( 3221out TargetPointer nextNestedExceptionLocal, 3260TargetPointer mt = objectContract.GetMethodTableAddress(obj.ToTargetPointer(_target)); 3263TargetPointer modulePointer = rts.GetModule(typeHandle); 3264if (modulePointer == TargetPointer.Null) 3331TargetPointer objPtr = objAddr.ToTargetPointer(_target); 3332TargetPointer mt = objectContract.GetMethodTableAddress(objPtr); 3365TargetPointer arrayData = objectContract.GetArrayData(objPtr, out uint numComponents, out TargetPointer boundsStart, out TargetPointer lowerBounds); 3392&& objectContract.GetBuiltInComData(objPtr, out TargetPointer rcw, out TargetPointer ccw, out _)) 3689TargetPointer rcwPtr = addr.ToTargetPointer(_target); 3747TargetPointer rcwPtr = rcw.ToTargetPointer(_target); 3749IEnumerable<(TargetPointer MethodTable, TargetPointer Unknown)> entries = builtInCom.GetRCWInterfaces(rcwPtr); 3767TargetPointer ctxCookie = builtInCom.GetRCWContext(rcwPtr); 3948TargetPointer stackBase, stackLimit, frameAddress; 4055TargetPointer threadAddr = threadStore.FirstThread; 4056while (threadAddr != TargetPointer.Null) 4142TargetPointer syncBlockPtr; 4152if (syncBlockPtr != TargetPointer.Null) 4156if (syncBlockContract.GetBuiltInComData(syncBlockPtr, out TargetPointer rcw, out TargetPointer ccw, out TargetPointer ccf)) 4210TargetPointer obj = syncBlock.GetSyncBlockObject(number); 4212if (syncBlock.GetSyncBlock(number) is TargetPointer syncBlockAddr && syncBlockAddr != TargetPointer.Null) 4215if (syncBlock.GetBuiltInComData(syncBlockAddr, out TargetPointer rcw, out TargetPointer ccw, out TargetPointer ccf)) 4217data->COMFlags = (rcw & ~(_rcwMask)) != TargetPointer.Null ? (uint)DacpSyncBlockData.COMFlagsEnum.HasRCW : 0; 4218data->COMFlags |= ccw != TargetPointer.Null ? (uint)DacpSyncBlockData.COMFlagsEnum.HasCCW : 0; 4219data->COMFlags |= ccf != TargetPointer.Null ? (uint)DacpSyncBlockData.COMFlagsEnum.HasCCF : 0; 4227TargetPointer threadPtr = thread.IdToThread(owningThreadId); 4231TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 4324TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 4379TargetPointer threadPtr = _target.Contracts.Thread.IdToThread(thinLockId); 4672ehInfo.moduleAddr = clause.ModuleAddr is TargetPointer moduleAddr ? moduleAddr.ToClrDataAddress(_target) : 0; 4735private int TraverseLoaderHeapCore(TargetPointer loaderHeapAddr, delegate* unmanaged<ulong, nuint, Interop.BOOL, void> pCallback) 4744if (loaderHeapAddr == TargetPointer.Null || pCallback is null) 4821IEnumerable<(TargetPointer Address, uint Index)> elements = Enumerable.Empty<(TargetPointer, uint)>(); 4828TargetPointer moduleAddrPtr = moduleAddr.ToTargetPointer(_target); 4842foreach ((TargetPointer element, uint index) in elements) 4894TargetPointer listPtr = cleanupListPtr.ToTargetPointer(_target); 4938TargetPointer globalLoaderAllocator = loader.GetGlobalLoaderAllocator(); 4939IReadOnlyDictionary<Contracts.LoaderAllocatorHeapType, TargetPointer> heaps = loader.GetLoaderAllocatorHeaps(globalLoaderAllocator); 4951if (heaps.TryGetValue(heapKey, out TargetPointer heap) && heap != TargetPointer.Null) 5253TargetPointer basePtr = _target.ReadGlobalPointer(Constants.Globals.ClrNotificationArguments); 5308TargetPointer methodDescPtr = methodDesc.ToTargetPointer(_target); 5317TargetPointer modulePtr = runtimeTypeSystemContract.GetModule(runtimeTypeSystemContract.GetTypeHandle(runtimeTypeSystemContract.GetMethodTable(methodDescHandle))); 5320TargetPointer r2rImageBase = TargetPointer.Null; 5321TargetPointer r2rImageEnd = TargetPointer.Null; 5334TargetPointer nativeCodeAddr = nativeCode.ToAddress(_target); 5439TargetPointer modulePtr = rtsContract.GetLoaderModule(typeHandle); 5441TargetPointer loaderAllocator = loaderContract.GetLoaderAllocator(moduleHandle); 5442TargetPointer loaderAllocatorHandle = loaderContract.GetObjectHandle(loaderAllocator); 5478TargetPointer methodDescPtr = methodDesc.ToTargetPointer(_target); 5522TargetPointer methodDescPtr = methodDesc.ToTargetPointer(_target); 5588TargetPointer methodDescPtr = methodDesc.ToTargetPointer(_target); 5591TargetPointer mt = rts.GetMethodTable(mdh); 5593TargetPointer modulePtr = rts.GetModule(typeHandle); 5606TargetPointer il = loader.GetDynamicIL(moduleHandle, token); 5646TargetPointer modulePtr = mod.ToTargetPointer(_target); 5649foreach ((TargetPointer ptr, _) in loader.EnumerateModuleLookupMap(loader.GetLookupTables(moduleHandle).TypeDefToMethodTable)) 5654foreach (TargetPointer md in rts.GetIntroducedMethodDescs(typeHandle)) 6016TargetPointer alc = loaderContract.GetAssemblyLoadContext(moduleHandle); 6070TargetPointer objPtr = objAddr.ToTargetPointer(_target); 6072TargetPointer rcwObj = comWrappersContract.GetComWrappersRCWForObject(objPtr); 6073if (rcwObj != TargetPointer.Null) 6080List<TargetPointer> mows = comWrappersContract.GetMOWs(objPtr, out bool hasMOWTable); 6093TargetPointer comIdentity = comWrappersContract.GetIdentityForMOW(mows[i]); 6139TargetPointer ccwPtr = comWrappersContract.GetManagedObjectWrapperFromCCW(ccw.ToTargetPointer(_target)); 6140*isComWrappersCCW = (ccwPtr != TargetPointer.Null) ? Interop.BOOL.TRUE : Interop.BOOL.FALSE; 6141hr = (ccwPtr != TargetPointer.Null) ? HResults.S_OK : HResults.S_FALSE; 6169TargetPointer ccwPtr = ccw.ToTargetPointer(_target); 6171TargetPointer managedObjectPtr = comWrappersContract.GetManagedObjectWrapperFromCCW(ccwPtr); 6172if (managedObjectPtr == TargetPointer.Null) 6220TargetPointer rcwPtr = rcw.ToTargetPointer(_target) & ~_rcwMask; 6256TargetPointer identityPtr = comWrappersContract.GetComWrappersIdentity(rcw.ToTargetPointer(_target) & ~_rcwMask); 6292TargetPointer objPtr = objAddr.ToTargetPointer(_target); 6295TargetPointer mt = objectContract.GetMethodTableAddress(objPtr); 6296if (mt == TargetPointer.Null) 6308TargetPointer taggedMemoryPtr = objcContract.GetTaggedMemory(objPtr, out _); 6309if (taggedMemoryPtr != TargetPointer.Null) 6345TargetPointer objPtr = objAddr.ToTargetPointer(_target); 6348TargetPointer taggedMemoryPtr = objcContract.GetTaggedMemory(objPtr, out TargetNUInt taggedMemorySizeNUInt); 6349if (taggedMemoryPtr != TargetPointer.Null) 6389gcContract.GetGlobalAllocationContext(out TargetPointer pointer, out TargetPointer limit); 6456TargetPointer globalLoaderAllocator = contract.GetGlobalLoaderAllocator(); 6590IReadOnlyDictionary<LoaderAllocatorHeapType, TargetPointer> heaps = contract.GetLoaderAllocatorHeaps(loaderAllocator.ToTargetPointer(_target)); 6605pLoaderHeaps[i] = heaps.TryGetValue(filteredEntries[i].HeapType, out TargetPointer heapAddr) 6781TargetPointer methodTablePtr = methodTable.ToTargetPointer(_target); 6782TargetPointer threadPtr = thread.ToTargetPointer(_target); 6894TargetPointer mdAddr = TargetPointer.Null; 6904if (mdAddr != TargetPointer.Null) 6910TargetPointer mtAddr = _rts.GetMethodTable(mdh); 6924foreach (TargetPointer mdAddr in _rts.GetIntroducedMethodDescs(_methodTable)) 6934TargetPointer mtAddr = _rts.GetMethodTable(mdh); 7347TargetPointer address = threadStressLogAddress.ToTargetPointer(_target);
SOSDacImpl.IXCLRDataProcess.cs (55)
47IReadOnlyList<TargetPointer> functionEntries = 107TargetPointer thread = contract.GetThreadStoreData().FirstThread; 108TargetPointer matchingThread = TargetPointer.Null; 109while (thread != TargetPointer.Null) 121if (matchingThread == TargetPointer.Null) 153TargetPointer thread = _target.Contracts.Thread.IdToThread((uint)taskID); 154if (thread == TargetPointer.Null) 258TargetPointer entryPoint = precodeStubs.GetPrecodeEntryPointFromInteriorAddress(codeAddr, codeKind == CodeKind.FixupPrecode); 259TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(new TargetCodePointer(entryPoint.Value)); 260if (methodDesc != TargetPointer.Null) 365private readonly record struct MethodDefinitionInfo(TargetPointer Module, uint Token); 384TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 385ProcessEnum<TargetPointer> domains = new([appDomain], (nuint)legacyHandle); 386*handle = (ulong)((IEnum<TargetPointer>)domains).GetHandle(); 425if (gcHandle.Target is not ProcessEnum<TargetPointer> domains) 468ProcessEnum<TargetPointer> domains; 472if (gcHandle.Target is not ProcessEnum<TargetPointer> domainsLocal) 476((IEnum<TargetPointer>)domains).Dispose(); 510TargetPointer domain = _target.Contracts.Loader.GetAppDomain(); 688if (!loader.TryGetLoadedImageContents(module, out TargetPointer baseAddress, out uint size, out _)) 718private readonly TargetPointer _mainMethodDesc; 719public readonly TargetPointer _appDomain; 726public EnumMethodInstances(Target target, TargetPointer methodDesc, TargetPointer appDomain) 730if (appDomain == TargetPointer.Null) 759IEnumerable<TargetPointer> methodInstantiations = _loader.GetInstantiatedMethods(moduleHandle); 761foreach (TargetPointer methodPtr in methodInstantiations) 769IEnumerable<TargetPointer> typeParams = _loader.GetAvailableTypeParams(moduleHandle); 771foreach (TargetPointer type in typeParams) 813TargetPointer mtAddr = _rts.GetMethodTable(mainMD); 815TargetPointer mainModule = _rts.GetModule(mainMT); 864TargetPointer cmt = _rts.GetCanonicalMethodTable(typeParam); 867TargetPointer methodDescAddr = _rts.GetMethodDescForSlot(cmtHandle, slotNum); 868if (methodDescAddr == TargetPointer.Null) continue; 893TargetPointer mtAddr = rts.GetMethodTable(md); 934eman.GetMethodDesc(cbh) is TargetPointer methodDesc) 936EnumMethodInstances emi = new(_target, methodDesc, TargetPointer.Null); 1097Span<TargetPointer> exInfo = stackalloc TargetPointer[EXCEPTION_RECORD64.ExceptionMaximumParameters]; 1137TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 1157TargetPointer thrownObjectHandle = thread.GetCurrentExceptionHandle(exception.ThreadAddress); 1162TargetPointer.Null, 1199TargetPointer appDomain = _target.Contracts.Loader.GetAppDomain(); 1284TargetPointer moduleAddr = TargetPointer.Null; 1341TargetPointer moduleAddr = TargetPointer.Null; 1408TargetPointer moduleAddr = TargetPointer.Null; 1472TargetPointer dacNotificationFlags = _target.ReadGlobalPointer(Constants.Globals.DacNotificationFlags); 1531if (!loader.TryGetLoadedImageContents(module, out TargetPointer baseAddress, out uint size, out _)) 1678TargetPointer peAssembly = loader.GetPEAssembly(module); 1685TargetPointer ilHeader = loader.GetILAddr(peAssembly, methodDefinition.RelativeVirtualAddress); 1762private static TargetPointer GetModuleAddress(void* comModulePtr)
TypeNameBuilder.cs (5)
167TargetPointer moduleOfOwner = runtimeTypeSystem.GetModule(approxOwner); 172TargetPointer moduleOfPossiblyDerivedType = runtimeTypeSystem.GetModule(possiblyDerivedType); 179TargetPointer parentTypePointer = runtimeTypeSystem.GetParentMethodTable(possiblyDerivedType); 225else if (typeSystemContract.IsGenericVariable(typeHandle, out TargetPointer modulePointer, out uint genericParamToken, out _)) 317TargetPointer modulePtr = typeSystemContract.GetModule(typeHandle);