1 write to Value
Microsoft.Diagnostics.DataContractReader.Abstractions (1)
TargetPointer.cs (1)
15public TargetPointer(ulong value) => Value = value;
343 references to Value
Microsoft.Diagnostics.DataContractReader (8)
ContractDescriptorTarget.cs (8)
200Descriptor subDescriptor = ReadContractDescriptor(subDescriptorAddress.Value, _dataTargetDelegates); 286NumericValue = descriptor.PointerData[global.NumericValue.Value].Value, 407if (dataTargetDelegates.ReadFromTarget(descriptorAddr.Value, descriptorBuffer) < 0) 408throw DescriptorMalformed($"Failed to read contract descriptor JSON at 0x{descriptorAddr.Value:x8}."); 434if (!TryReadPointer(pointerDataAddr.Value + (uint)(i * pointerSize), config, dataTargetDelegates, out pointerData[i])) 534Write<ulong>(address, value.Value); 536Write<uint>(address, checked((uint)value.Value)); 825=> IsAligned(pointer.Value, _config.PointerSize);
Microsoft.Diagnostics.DataContractReader.Abstractions (9)
TargetPointer.cs (9)
17public static implicit operator ulong(TargetPointer p) => p.Value; 20public static bool operator ==(TargetPointer left, TargetPointer right) => left.Value == right.Value; 21public static bool operator !=(TargetPointer left, TargetPointer right) => left.Value != right.Value; 26public bool Equals(TargetPointer other) => Value == other.Value; 28public override int GetHashCode() => Value.GetHashCode(); 30public override string ToString() => $"0x{Value:x}";
Microsoft.Diagnostics.DataContractReader.Contracts (191)
CodePointerUtils.cs (2)
25return new TargetCodePointer(address.Value | Arm32ThumbBit); 32return new TargetCodePointer(address.Value);
Contracts\BuiltInCOM_1.cs (1)
80TargetNUInt thisMask = new(_target.ReadGlobalPointer(Constants.Globals.CCWThisMask).Value);
Contracts\CodeNotifications_1.cs (4)
113if (module != TargetPointer.Null && entry.ClrModule.Value != module.Value) 188if (entry.ClrModule.Value != module.Value) 238_target.WriteBuffer(tablePointer.Value, zeros); 240_target.WritePointer(globalAddr.Value, tablePointer);
Contracts\Debugger\Debugger_1.cs (15)
62return (int)_target.Read<uint>(addr.Value); 68uint currentFlags = _target.Read<uint>(addr.Value); 69_target.Write<uint>(addr.Value, currentFlags | (uint)DebuggerControlFlag_1.PendingAttach); 75uint currentFlags = _target.Read<uint>(addr.Value); 78_target.Write<uint>(addr.Value, currentFlags | (uint)DebuggerControlFlag_1.Attached); 82_target.Write<uint>(addr.Value, currentFlags & ~((uint)DebuggerControlFlag_1.Attached | (uint)DebuggerControlFlag_1.PendingAttach)); 90return _target.Read<byte>(addr.Value.Value) != 0; 156ulong start = entry.StartAddress.Value; 267_target.WriteBuffer(remotePtr.Value, record.AsSpan(0, cbSize)); 294_target.WriteBuffer(espOSContext.Value, ctx.GetBytes()); 325new TargetNUInt(espContext.Value), 326new TargetNUInt(espRecord.Value), 328new TargetNUInt(userData.Value), 333ctx.InstructionPointer = new TargetCodePointer(pfnHijackFunction.Value); 365sp = new TargetPointer(sp.Value - (ulong)(cc.HomeSpaceSlotCount * target.PointerSize));
Contracts\Debugger\StackPusher.cs (5)
17sp = new TargetPointer(sp.Value - (ulong)bytes.Length); 24target.WriteBuffer(sp.Value, bytes); 35sp = new TargetPointer(sp.Value - (ulong)target.PointerSize); 42target.WriteNUInt(sp.Value, value); 69sp = new TargetPointer(sp.Value & mask);
Contracts\Exception_1.cs (2)
66throw new InvalidOperationException($"Stack trace object 0x{stackTraceObj.Value:x} has no MethodTable."); 105ip = new TargetPointer(ip.Value - 1);
Contracts\ExecutionManager\ExecutionManagerCore.cs (13)
166return codeHeaderIndirect.Value <= stubCodeBlockLast; 358TargetPointer runtimeFunctionPtr = jitManager?.GetUnwindInfo(range, codeInfoHandle.Address.Value) ?? TargetPointer.Null; 387jitManager?.GetMethodRegionInfo(range, codeInfoHandle.Address.Value, out hotSize, out coldStart, out coldSize); 462&& interpreterCode.Value != InterpreterCodePoison) 480uint functionTableIndex = (uint)portableEntryPoint.ActualCode.Value; 490if (((IExecutionManager)this).GetCodeKind(new TargetCodePointer(startAddress.Value)) == CodeKind.Interpreter) 520TargetCodePointer filterAddress = new(info.StartAddress.Value + filterOffset); 544return jitManager?.GetUnwindInfo(range, codeInfoHandle.Address.Value) ?? TargetPointer.Null; 569return jitManager?.GetDebugInfo(range, codeInfoHandle.Address.Value, out hasFlagByte) ?? TargetPointer.Null; 582jitManager?.GetGCInfo(range, codeInfoHandle.Address.Value, out gcInfo, out gcVersion); 726TargetPointer jitManagerAddress = new(table.Context.Value & ~(ulong)3); 755RangeSection range = RangeSection.Find(_target, _topRangeSectionMapAddress, _rangeSectionMapLookup, _virtualIPRangeListAddress, codeInfoHandle.Address.Value); 834isCatchAllHandler = typeHandle.Value.Value == objectMethodTable.Value;
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (11)
37Debug.Assert(codeStart.Value <= jittedCodeAddress.Value); 39TargetNUInt relativeOffset = new TargetNUInt(instrPointer.Value - codeStart.Value); 75Debug.Assert(codeStart.Value <= jittedCodeAddress.Value); 106Debug.Assert(codeStart.Value <= jittedCodeAddress.Value); 141Debug.Assert(codeStart.Value <= jittedCodeAddress.Value); 172TargetCodePointer current = new(heapListNode.EndAddress.Value); 191if (codeStart.Value <= heapListNode.StartAddress.Value) 194current = new TargetCodePointer(codeStart.Value - 1); 231return GetStubKind((StubKind)codeHeaderAddress.Value);
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (4)
35Debug.Assert(codeStart.Value <= jittedCodeAddress.Value); 37TargetNUInt relativeOffset = new TargetNUInt(instrPointer.Value - codeStart.Value); 42info = new CodeBlock(codeStart.Value, realCodeHeader.MethodDesc, relativeOffset, rangeSection.Data.JitManager);
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
55new TargetCodePointer(codeBase.Value + functionBeginAddress), Target); 64new TargetCodePointer(codeBase.Value + _runtimeFunctions.GetBeginAddress(coldFunction)), Target);
Contracts\ExecutionManager\Helpers\NibbleMapConstantLookup.cs (1)
60TargetNUInt relativeAddress = new TargetNUInt(currentPC.Value - mapBase.Value);
Contracts\ExecutionManager\Helpers\NibbleMapHelpers.cs (2)
135TargetNUInt relativeAddress = new TargetNUInt(currentPC.Value - mapBase.Value);
Contracts\ExecutionManager\Helpers\WasmFunctionTableIndexLookup.cs (2)
91baseVirtualIP = minVirtualIP.Value + _runtimeFunctions.GetBeginAddress(runtimeFunction); 106unwindDataAddress = new TargetPointer(r2rInfo.LoadedImageBase.Value + runtimeFunction.UnwindData);
Contracts\ExternalMemoryHandles_1.cs (3)
79ulong fieldStart = memory.Value + seriesOffset - pointerSize; 91TargetPointer obj = _target.ReadPointer(slotAddress.Value); 93if (obj == TargetPointer.Null || obj.Value == invalidPointer)
Contracts\GC\GC_1.cs (2)
470TargetPointer next = new TargetPointer(currentAddress.Value + currentObjectSize); 479return new TargetPointer(context.Limit.Value + minObjSize);
Contracts\GCInfo\X86\GCInfo.cs (6)
122_infoHdrSize = (uint)(offset.Value - gcInfoAddress.Value); 566return new TargetPointer(GetOutermostBaseFP(fp).Value & ~SHADOW_SP_BITS); 571return new TargetPointer(sp.Value + CalculatePushedArgSizeAt(codeOffset)); 578TargetPointer pLocalloc = new(ebp.Value - GetLocallocSPOffset()); 582return new TargetPointer(ebp.Value - _stackSize + (uint)sizeof(int));
Contracts\Notifications_1.cs (4)
47notification = (NotificationType_1)(uint)exceptionInformation[0].Value switch 54NotificationType_1.ExceptionCatcherEnter => new ExceptionCatcherEnterNotificationData(exceptionInformation[1], (uint)exceptionInformation[2].Value), 63GcEventType eventType = (GcEventType)(uint)exceptionInformation[1].Value; 64GcEventData eventData = new(eventType, (int)(uint)exceptionInformation[2].Value);
Contracts\Object_1.cs (3)
43return mt.Value & (ulong)~_objectToMethodTableUnmask; 74offsetToFirstChar = (uint)(str.FirstChar.Value - address.Value);
Contracts\PrecodeStubs_1.cs (1)
96byte targetBytePattern = target.Read<byte>(new TargetPointer((instrAddress.Value + (ulong)i)));
Contracts\PrecodeStubs_Common.cs (2)
177ulong pageBase = instrPointer.Value & ~pageMask; 178ulong offset = instrPointer.Value - pageBase;
Contracts\RuntimeTypeSystem_1.cs (5)
855? (long)(int)_target.ReadPointer(mtAddress - pointerSize).Value 856: (long)_target.ReadPointer(mtAddress - pointerSize).Value; 866ulong rawSeriesSize = _target.ReadPointer(seriesBase).Value; 867ulong seriesOffset = _target.ReadPointer(seriesBase + pointerSize).Value; 874ulong startOffset = _target.ReadPointer(mtAddress - 2 * pointerSize).Value;
Contracts\Signature\Signature_1.cs (2)
66return new TargetPointer(vaSigCookieAddr.Value + cookie.SizeOfArgs); 69return new TargetPointer(vaSigCookieAddr.Value + (ulong)_target.PointerSize);
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (1)
1247if (_eman.GetCodeBlockHandle(controlPC.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\AMD64Context.cs (2)
46set => Rsp = value.Value; 56set => Rbp = value.Value;
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (2)
65uint controlPcRva = (uint)(context.Pc - imageBase.Value); 600uint controlPcRva = (uint)(context.Pc - imageBase.Value);
Contracts\StackWalk\Context\ARM64Context.cs (2)
52set => Sp = value.Value; 62set => Fp = value.Value;
Contracts\StackWalk\Context\ARMContext.cs (2)
44set => Sp = (uint)value.Value; 56set => R11 = (uint)value.Value;
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (2)
77uint controlPcRva = (uint)(context.Pc - imageBase.Value); 716ulong value = _target.ReadPointer(address).Value;
Contracts\StackWalk\Context\LoongArch64Context.cs (2)
50set => Sp = value.Value; 60set => Fp = value.Value;
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (2)
85uint controlPcRva = (uint)(context.Pc - imageBase.Value); 727ulong value = _target.ReadPointer(address).Value;
Contracts\StackWalk\Context\RISCV64Context.cs (2)
50set => Sp = value.Value; 60set => Fp = value.Value;
Contracts\StackWalk\Context\Wasm\WasmUnwinder.cs (9)
84if (sp.Value <= LinearStackFloor) 87ulong current = sp.Value; 90current = _target.ReadPointer(current + _pointerSize).Value; 111=> _target.ReadPointer(sp.Value + _pointerSize); 123uint functionIndex = _target.Read<uint>(frameBase.Value + FunctionIndexOffset); 126uint functionLocalVirtualIP = _target.Read<uint>(frameBase.Value + VirtualIpOffset) * 2; 149uint functionIndex = _target.Read<uint>(frameBase.Value + FunctionIndexOffset); 156uint frameSize = DecodeULEB128(unwindData.Value); 164sp = new TargetPointer(frameBase.Value + frameSize);
Contracts\StackWalk\Context\WasmContext.cs (2)
63set => _interpreterSP = (uint)value.Value; 75set => _interpreterFP = (uint)value.Value;
Contracts\StackWalk\Context\X86\X86Unwinder.cs (3)
383offset = SKIP_PUSH_REG(methodStart.Value, offset); 388offset = SKIP_ALLOC_FRAME((int)gcInfo.RawStackSize, methodStart.Value, offset); 476UnwindEbpDoubleAlignFrameProlog(ref context, gcInfo, methodStart.Value);
Contracts\StackWalk\Context\X86Context.cs (2)
53set => Esp = (uint)value.Value; 63set => Ebp = (uint)value.Value;
Contracts\StackWalk\FrameHandling\AMD64FrameHandler.cs (2)
23_holder.Context.Rcx = next.Address.Value; 27_holder.Context.Rdi = next.Address.Value;
Contracts\StackWalk\FrameHandling\ARM64FrameHandler.cs (1)
23_holder.Context.X0 = next.Address.Value;
Contracts\StackWalk\FrameHandling\BaseFrameHandler.cs (1)
115if (current.Next.Value == terminator)
Contracts\StackWalk\FrameHandling\FrameHelpers.cs (3)
356return (icf.Datum.Value & InlinedCallFrameMarkerMask) == InlinedCallFrameMarkerMask; 381ulong datum = frame.Datum.Value & ~InlinedCallFrameMarkerMask; 560if (!context.TrySetRegister(registerName, new TargetNUInt(value.Value)))
Contracts\StackWalk\FrameHandling\WasmFrameHandler.cs (1)
41if (!_holder.Context.TrySetRegister(WasmContext.InterpreterWalkFramePointerRegister, new TargetNUInt(next.Address.Value)))
Contracts\StackWalk\GC\GCInteriorPointerResolver.cs (11)
41if (obj.Value < seg.Start.Value || obj.Value >= seg.End.Value) 46while (currentObj.Value <= obj.Value) 49if (!_cache.TryReadPointer(currentObj.Value + _methodTableOffset, out TargetPointer mt)) 53mt = mt.Value & (ulong)~_objectToMethodTableUnmask; 62if (currentObj.Value + size > seg.End.Value || size == 0) 91if (!_cache.TryReadUInt32(objAddr.Value + numComponentsOffset, out uint numComponents))
Contracts\StackWalk\GC\GCRefMapDecoder.cs (1)
93_currentByte = new TargetPointer(_currentByte.Value + 1);
Contracts\StackWalk\GC\GcScanner.cs (16)
91TargetPointer addr = new(baseAddr.Value + (ulong)(long)slot.SpOffset); 100ulong sp = context.StackPointer.Value; 101if (addr.Value >= sp && addr.Value < sp + scratchAreaSize) 279ulong imageBase = r2rInfo.LoadedImageBase.Value; 280if (indirection.Value < imageBase) 282ulong diff = indirection.Value - imageBase; 296TargetPointer sectionAddr = new(sectionsBase.Value + i * ImportSectionSize); 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 (14)
161if (frameIterator.CurrentFrameAddress.Value >= curSP.Value) 449TargetPointer slot = new(gcFrame.ObjRefs.Value + (ulong)i * pointerSize); 831handle.Context.StackPointer.Value < handle.FrameIter.CurrentFrameAddress.Value || 1011return handle.FrameIter.CurrentFrameAddress.Value < parentContext.StackPointer.Value; 1026TargetPointer contextAddress = _target.ReadPointer(slotAddress.Value); 1050ulong baseValue = (useFramePointer ? context.FramePointer : context.StackPointer).Value; 1191=> _target.ReadPointer(new TargetPointer(unchecked(baseAddress.Value + (ulong)(long)offset))); 1208ulong unwoundEsp = CallerStackPointer(handle).Value; 1223return new TargetPointer(hijacked.StackPointer.Value - pointerSize); 1323_target.ReadBuffer(filterContext.Value, buffer); 1356if (context.StackPointer.Value != 0 && context.InstructionPointer.Value != 0)
Contracts\StressLog.cs (5)
110TargetNUInt maxModules = new(target.ReadGlobalPointer(Constants.Globals.StressLogMaxModules).Value); 145if (currentPointer.Value < currentChunkData.Buf.Value) 152if (readPointer.Value >= currentChunkData.Buf.Value + chunkSize)
Data\EETypeHashTable.cs (1)
35public uint Flags { get; } = (uint)(value.Value & FLAG_MASK);
Data\InstMethodHashTable.cs (1)
35public uint Flags { get; } = (uint)(value.Value & FLAG_MASK);
Data\JITNotification.cs (1)
24WriteClrModule(new TargetNUInt(module.Value));
PrintfStressMessageFormatter.cs (8)
83builder.Append(ptr.Value.ToString($"X{_target.PointerSize * 2}")); 117builder.Append($"(#Could not read address of string at 0x{ptr.Value:x}#)"); 129builder.Append($"(#Could not read address of string at 0x{ptr.Value:x}#)"); 139ReadOnlySpan<char> value = ptr.Value.ToString(format); 148builder.Append($"0x{ptr.Value:x}".PadLeft(paddingFormat.Width, paddingFormat.FormatChar)); 157return T.CreateTruncating(value.Value).ToString($"{format}{paddingFormat.Width}", formatProvider: CultureInfo.InvariantCulture); 161return T.CreateTruncating(value.Value).ToString($"{format}", formatProvider: CultureInfo.InvariantCulture).PadLeft(paddingFormat.Width, paddingFormat.FormatChar); 167double value = BitConverter.UInt64BitsToDouble(valueAsBits.Value);
Microsoft.Diagnostics.DataContractReader.Legacy (135)
ClrDataStackWalk.cs (2)
58_stackPointerBeforeFiltering = stackWalk.GetStackPointer(_dataFrames.Current).Value; 62_stackSizeSkipped = unchecked(stackWalk.GetStackPointer(_dataFrames.Current).Value - _stackPointerBeforeFiltering);
ClrDataValue.cs (4)
468: _target.ReadPointer(new TargetPointer(currentLocation.AddressOrValue)).Value; 655ulong offset = data.Value; 992baseAddress = address.Value; 997AddressOrValue = address.Value,
ConversionExtensions.cs (2)
21return address.Value; 25return (ulong)(int)address.Value;
Dbi\DacDbiImpl.cs (89)
34private ulong CorDBDefaultEnCFunctionVersion => _target.ReadGlobalPointer(Constants.Globals.CorDBDefaultEnCFunctionVersion).Value; 333pTargetRefInfo->vmAssembly = targetAssembly.Value; 428pTargetBuffer->pAddress = targetSpan.Address.Value; 561pTargetBuffer->pAddress = buffer.Value; 604pData->vmAssembly = loader.GetAssembly(handle).Value; 605pData->vmPEAssembly = loader.GetPEAssembly(handle).Value; 612pData->pPEBaseAddress = baseAddress.Value; 655*pModule = modulePtr.Value; 828fpCallback(assembly.Value, pUserData); 1025*pRemoteContextAddr = espContext.Value; 1058fpCallback(currentThread.Value, pUserData); 1132*pRetVal = (void*)threadData.ThreadHandle.Value; 1162*pRetVal = threadData.ExposedObjectHandle.Value; 1191ulong limit = threadData.AllocContextLimit.Value; 1192ulong pointer = threadData.AllocContextPointer.Value; 1474*pRetVal = exceptionHandle.Value; 1524*pRetVal = objectHandle.Value; 1551*pRetVal = threadData.CurrentCustomDebuggerNotificationHandle.Value; 1614*pRetVal = loader.GetAssembly(referencedModuleHandle).Value; 1729*pRetVal = filterContext.Value; 1737*pRetVal = redirectedContext.Value; 2239data.fp = _target.Contracts.StackWalk.GetRuntimeFramePointer(handle).Value; 2240data.vmCurrentAppDomainToken = currentAppDomain.Value; 2262data.v.exactGenericArgsToken = _target.Contracts.StackWalk.GetExactGenericArgsToken(handle).Value; 2277data.v.funcData.vmAssembly = vmAssembly.Value; 2286data.v.jitFuncData.nativeStartAddressPtr = eman.GetStartAddress(cbh).Value; 2298data.v.jitFuncData.vmNativeCodeMethodDescToken = mdPtr.Value; 2299data.v.taAmbientESP = GetAmbientSP(handle, codeBlockHandle, (uint)nativeOffset).Value; 2303data.v.jitFuncData.fpParentOrSelf = _target.Contracts.StackWalk.GetFuncletRootId(handle, out uint parentNativeOffset).Value; 2430data.fp = frame.FrameAddress.Value; 2431data.vmCurrentAppDomainToken = currentAppDomain.Value; 2434data.stubFrame.vmAssembly = vmAssembly.Value; 2435data.stubFrame.vmMethodDesc = vmMethodDesc.Value; 2707*pArgBase = argBase.Value; 2708*pRetVal = new DacDbiTargetBuffer { pAddress = sigAddr.Value, cbSize = sigLen }; 2790*pRetVal = _target.Contracts.Object.GetMethodTableAddress(new TargetPointer(rawToken)).Value; 2869pTargetBuffer->pAddress = headerPtr.Value + (ulong)headerSize; 2983code = new TargetCodePointer(code.ToAddress(_target).Value); 3008NativeCodeVersionHandle nativeCodeVersion = codeVersions.GetNativeCodeVersionForIP(new TargetCodePointer(codeStart.Value)); 3296fd.m_vmFieldDesc = fdPtr.Value; 3333fd.m_pFldStaticAddress = addr.Value; 3533*pRetVal = loader.GetModuleLookupMapElement(moduleHandle, ModuleLookupMapKind.TypeDefToMethodTable, metadataToken, out var _).Value; 3536*pRetVal = loader.GetModuleLookupMapElement(moduleHandle, ModuleLookupMapKind.TypeRefToMethodTable, metadataToken, out var _).Value; 3581*pRetVal = th.Address.Value; 3636*pVmTypeHandle = th.Address.Value; 3914*pRetVal = rts.GetFieldDescThreadStaticAddress(fd, new TargetPointer(vmRuntimeThread)).Value; 3942*pRetVal = rts.GetFieldDescStaticAddress(fd, unboxValueTypes: false).Value; 4007pFieldData->m_vmFieldDesc = fieldDescPointer.Value; 4011pFieldData->m_pFldStaticAddress = fieldAddress.Value; 4018pFieldData->m_fldInstanceOffset = fieldAddress.Value - (objectAddr + offsetToVars); 4192*pVmModule = module.Value; 4282ulong vmAppDomain = _target.Contracts.Loader.GetAppDomain().Value; 4292fpCallback(vmAppDomain, vmAssembly.Value, frame.Ip.Value, methodDef, isLastForeign, pUserData); 4383itfPtrs.Add(unknown.Value); 4428*pObjRef = info.Data.Value; 4627*pRetVal = _target.Contracts.Debugger.GetDebuggerControlBlockAddress().Value; 4653*pRetVal = _target.ReadPointer(new TargetPointer(ptr)).Value; 5122segments.Add((gen0AllocStart.Value, heapData.AllocAllocated.Value, (int)CorDebugGenerationTypes.CorDebug_Gen0, heapIndex)); 5128segments.Add((raw.Start.Value, raw.End.Value, (int)ToCorDebugGenerationType(raw.Generation), heapIndex)); 5135segments.Add((gen1AllocStart.Value, gen0AllocStart.Value, (int)CorDebugGenerationTypes.CorDebug_Gen1, heapIndex)); 5137segments.Add((raw.Start.Value, gen1AllocStart.Value, (int)CorDebugGenerationTypes.CorDebug_Gen2, heapIndex)); 5410pType->token1 = mt.Value; 5561corField->id.token1 = rts.GetPrimitiveType(CorElementType.I).Address.Value; 5572corField->id.token1 = mtHandle.Address.Value; 5636pLayout->parentID.token1 = parentMT.Value; 5696pLayout->componentID.token1 = charTypeHandle.Address.Value; 5713pLayout->componentID.token1 = componentTypeHandle.Address.Value; 5918*pVmILCodeVersionNode = ilCodeVersion.ILCodeVersionNode.Value; 5981pCodeInfo->pAddress = headerPtr.Value + (ulong)headerSize; 6030*pVmNativeCodeVersionNode = nativeCodeVersion.CodeVersionNodeAddress.Value; 6068*pVmILCodeVersionNode = ilCodeVersion.ILCodeVersionNode.Value; 6104pData->pbIL = codeVersions.GetIL(ilCodeVersion).Value; 6108pData->rgInstrumentedMapEntries = mapEntries.Value; 6232*ppFunctionAssembly = _target.Contracts.Loader.GetAssembly(moduleHandle).Value; 6272*ppTargetObj = delegateInfo.TargetObject.Value; 6382*pVmAssembly = assemblyPtr.Value; 6411*pDiagnosticIP = info.DiagnosticIP.Value; 6412*pNextContinuation = info.Next.Value; 6745WriteLittleEndian(ref pTypeInfo->ClassTypeData_typeHandle, typeHandle.Address.Value); 6752WriteLittleEndian(ref pTypeInfo->ClassTypeData_vmAssembly, loader.GetAssembly(moduleHandle).Value); 6764WriteLittleEndian(ref pTypeInfo->NaryTypeData_typeHandle, typeHandle.Address.Value); 6784WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.Address.Value); 6800WriteLittleEndian(ref typeInfo.vmTypeHandle, typeHandle.Address.Value); 6806WriteLittleEndian(ref typeInfo.vmAssembly, loader.GetAssembly(moduleHandle).Value);
Dbi\Helpers\HeapWalk.cs (13)
46if (seg.Start.Value >= seg.End.Value) 50while (currentObj.Value < seg.End.Value) 53if (!_cache.TryReadPointer(currentObj.Value + _methodTableOffset, out TargetPointer mt)) 58mt = new TargetPointer(mt.Value & _methodTableMask); 68if (currentObj.Value + size > seg.End.Value || size == 0) 76if (nextObj.Value > seg.End.Value) 98address = reportedAddr.Value, 100type = new COR_TYPEID { token1 = mt.Value, token2 = 0 }, 128if (!_cache.TryReadUInt32(objAddr.Value + numComponentsOffset, out uint numComponents))
Dbi\Helpers\RefWalk.cs (9)
68vmDomain = _appDomain.Value, 69objHnd = handle.Handle.Value, 127extraData = handle.Secondary.Value; 145vmDomain = _appDomain.Value, 151reference.pObject = root.Object.Value | 1; 153reference.objHnd = root.Address.Value; 178vmDomain = _appDomain.Value, 186reference.pObject = stackRef.Object.Value | 1; 188reference.objHnd = stackRef.Address.Value;
SOSDacImpl.cs (10)
845data->MethodStart = eman.GetStartAddress(cbh).Value; 3257data->metadataStart = readOnlyMetadata.Address.Value; 3336*nextNestedException = nextNestedExceptionLocal.Value; 3490data->ElementTypeHandle = element.Address.Value; 4214Address = refs[i].Address.Value, 4215Object = refs[i].Object.Value, 4217Source = refs[i].Source.Value, 4225StackPointer = refs[i].StackPointer.Value, 4902pCallback(block.Address.Value, (nuint)block.Size.Value, i == 1 ? Interop.BOOL.TRUE : Interop.BOOL.FALSE); 5413arguments[i] = _target.ReadNUInt(basePtr.Value + (ulong)(i * _target.PointerSize)).Value;
SOSDacImpl.IXCLRDataProcess.cs (5)
74_target.ReadBuffer(functionEntries[i].Value, destination); 306*displacement = managedCodeAddr.ToAddress(_target).Value - eman.GetStartAddress(codeBlock).Value; 319TargetPointer methodDesc = eman.NonVirtualEntry2MethodDesc(new TargetCodePointer(entryPoint.Value)); 323*displacement = codeAddr.ToAddress(_target).Value - entryPoint;
TypeNameBuilder.cs (1)
180if (parentTypePointer.Value == 0)