1 override of Read
Microsoft.Diagnostics.DataContractReader (1)
ContractDescriptorTarget.cs (1)
425public override T Read<T>(ulong address)
329 references to Read
Microsoft.Diagnostics.DataContractReader.Abstractions (2)
TargetFieldExtensions.cs (2)
26return target.Read<T>(address + (ulong)field.Offset); 41return target.Read<T>(address + (ulong)field.Offset);
Microsoft.Diagnostics.DataContractReader.Contracts (314)
Contracts\AuxiliarySymbols_1.cs (1)
24uint helperCount = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.AuxiliarySymbolCount));
Contracts\BuiltInCOM_1.cs (1)
88int interfaceKind = _target.Read<int>(descBase);
Contracts\ComWrappers_1.cs (1)
155int size = _target.Read<int>(listObj.Data + _listSizeOffset.Value);
Contracts\ConditionalWeakTable_1.cs (3)
76int entriesIndex = _target.Read<int>(bucketsArray.DataPointer + (ulong)(bucket * sizeof(int))); 105int entryHashCode = _target.Read<int>(entryAddress + _hashCodeFieldOffset.Value); 118entriesIndex = _target.Read<int>(entryAddress + _nextFieldOffset.Value);
Contracts\DacStreams_1.cs (6)
61uint miniMetaDataBuffMaxSize = target.Read<uint>(target.ReadGlobalPointer(Constants.Globals.MiniMetaDataBuffMaxSize)); 71if (target.Read<uint>(miniMetaDataBuffAddress + MiniMetadataStream_MiniMetadataSignature_Offset) != MiniMetadataSignature) 78uint totalSize = target.Read<uint>(miniMetaDataBuffAddress + MiniMetadataStream_TotalSize_Offset); 88uint countStreams = target.Read<uint>(miniMetaDataBuffAddress + MiniMetadataStream_CountOfStreams_Offset); 95uint eeNameSig = target.Read<uint>(eeNameStreamAddress + EENameStream_EENameStreamSignature_Offset); 101uint countNames = target.Read<uint>(eeNameStreamAddress + EENameStream_CountOfNames_Offset);
Contracts\Debugger_1.cs (4)
47return (int)_target.Read<uint>(addr.Value); 53uint currentFlags = _target.Read<uint>(addr.Value); 60uint currentFlags = _target.Read<uint>(addr.Value); 75return _target.Read<byte>(addr.Value.Value) != 0;
Contracts\DebugInfo\DebugInfo_1.cs (2)
56ExtraDebugInfoFlags_1 flagByte = (ExtraDebugInfoFlags_1)_target.Read<byte>(debugInfo++); 71uint richDebugInfoSize = _target.Read<uint>(debugInfo);
Contracts\ExecutionManager\Helpers\HashMapLookup.cs (1)
34uint size = _target.Read<uint>(map.Buckets);
Contracts\ExecutionManager\Helpers\HotColdLookup.cs (9)
34coldStart = _target.Read<uint>(hotColdMap + (ulong)coldIndex * sizeof(uint)); 36? _target.Read<uint>(hotColdMap + (ulong)(coldIndex + 2) * sizeof(uint)) - 1 54return _target.Read<uint>(hotColdMap + (ulong)hotIndex * sizeof(uint)); 66functionIndex = _target.Read<uint>(hotColdMap + (ulong)coldIndex * sizeof(uint)); 77uint firstColdRuntimeFunctionIndex = _target.Read<uint>(hotColdMap); 121return runtimeFunctionIndex < _target.Read<uint>(hotColdMap + (index * sizeof(uint))); 128uint value = _target.Read<uint>(hotColdMap + (ulong)(index + indexCorrection) * sizeof(uint)); 137if (isColdCode && runtimeFunctionIndex > _target.Read<uint>(hotColdMap + (ulong)index * sizeof(uint))) 140|| runtimeFunctionIndex < _target.Read<uint>(hotColdMap + (ulong)(index + 2) * sizeof(uint));
Contracts\ExecutionManager\Helpers\NibbleMapHelpers.cs (1)
126return new MapUnit(target.Read<uint>(mapUnitAdderss));
Contracts\ExecutionManager\Helpers\UnwindDataSize.cs (5)
23int countOfUnwindCodes = target.Read<byte>(unwindInfo + 2); // from spec 34uint xdata0 = target.Read<uint>(xdata); 53uint xdata1 = target.Read<uint>(xdata + 4); 70uint xdata0 = target.Read<uint>(xdata); 88uint xdata1 = target.Read<uint>(xdata + 4);
Contracts\GC\GC_1.cs (7)
72return (uint)_target.Read<int>(pNumHeaps); 81int invalidCount = _target.Read<int>(pInvalidCount); 88return _target.Read<uint>(pMaxGeneration); 101return _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.CurrentGCState)); 109mode = _target.Read<int>(_target.ReadGlobalPointer(Constants.Globals.DynamicAdaptationMode)); 328GCType.Server => _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.TotalCpuCount)), 593GCType.Server => _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.TotalCpuCount)),
Contracts\GC\GCHeapWKS.cs (1)
33HeapAnalyzeSuccess = target.Read<int>(target.ReadGlobalPointer(Constants.Globals.GCHeapHeapAnalyzeSuccess)) != 0;
Contracts\Notifications_1.cs (1)
31uint currentFlags = _target.Read<uint>(pGcNotificationFlags);
Contracts\PrecodeStubs_1.cs (2)
45byte precodeType = target.Read<byte>(instrPointer + precodeMachineDescriptor.OffsetOfPrecodeType!.Value); 50ushort precodeType = target.Read<ushort>(instrPointer + precodeMachineDescriptor.OffsetOfPrecodeType!.Value);
Contracts\PrecodeStubs_3.cs (1)
98byte targetBytePattern = target.Read<byte>(new TargetPointer((instrAddress.Value + (ulong)i)));
Contracts\RuntimeTypeSystem_1.cs (5)
623nptrs = _target.Read<ushort>(itemAddress); 624skip = _target.Read<ushort>(itemAddress + sizeof(ushort)); 628nptrs = _target.Read<uint>(itemAddress); 629skip = _target.Read<uint>(itemAddress + sizeof(uint)); 1429uint asyncFlags = _target.Read<uint>(asyncDataAddr);
Contracts\SHash_1.cs (1)
30uint tableSize = target.Read<uint>(address + (ulong)type.Fields[nameof(SHash<TKey, TEntry>.TableSize)].Offset);
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (6)
485SetRegister(ref context, registerNumber, _target.Read<ulong>(context.Rsp)); 499SetRegister(ref context, registerNumber, _target.Read<ulong>(context.Rsp)); 517context.Rip = _target.Read<ulong>(context.Rsp); 756SetRegister(ref context, unwindOp.OpInfo, _target.Read<ulong>(context.Rsp)); 1212new UnwindCode(_target.Read<ushort>(unwindInfo.GetUnwindCodeAddress(index))); 1266private byte ReadByteAt(TargetPointer address) => _target.Read<byte>(address);
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (26)
79uint headerWord = _target.Read<uint>(unwindDataPtr); 103epilogScopeCount = _target.Read<uint>(unwindDataPtr); 180headerWord = _target.Read<uint>(unwindDataPtr); 217uint curCode = _target.Read<byte>(unwindCodePtr); 233byte curCode = _target.Read<byte>(unwindCodePtr); 257_target.Read<byte>(unwindCodePtr)); 342context.Sp += 4u * _target.Read<byte>(unwindCodePtr); 359(ushort)(_target.Read<byte>(unwindCodePtr) | ((curCode << 14) & 0x4000u))); 373param = _target.Read<byte>(unwindCodePtr); 396param = _target.Read<byte>(unwindCodePtr); 420param = _target.Read<byte>(unwindCodePtr); 436param = _target.Read<byte>(unwindCodePtr); 454context.Sp += 4u * 256u * _target.Read<byte>(unwindCodePtr); 455context.Sp += 4u * _target.Read<byte>(unwindCodePtr + 1); 470context.Sp += 4u * 256u * 256u * _target.Read<byte>(unwindCodePtr); 471context.Sp += 4u * 256u * _target.Read<byte>(unwindCodePtr + 1); 472context.Sp += 4u * _target.Read<byte>(unwindCodePtr + 2); 550SetRegister(ref context, regIndex, _target.Read<uint>(sourceAddress)); 559context.D[fpRegIndex] = _target.Read<ulong>(sourceAddress); 567context.Lr = _target.Read<uint>(sourceAddress); 572context.Pc = _target.Read<uint>(sourceAddress); 585context.Sp = _target.Read<uint>(sourceAddress); 848byte opcode = _target.Read<byte>(unwindCodePtr); 854opcode = _target.Read<byte>(unwindCodePtr); 896context.D[regIndex] = _target.Read<ulong>(context.Sp); 911SetRegister(ref context, regIndex, _target.Read<uint>(context.Sp));
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (50)
171uint headerWord = _target.Read<uint>(unwindDataPtr); 195epilogScopeCount = _target.Read<uint>(unwindDataPtr); 295headerWord = _target.Read<uint>(unwindDataPtr); 327byte curCode = _target.Read<byte>(unwindCodePtr); 342byte curCode = _target.Read<byte>(unwindCodePtr); 416context.Sp += 16u * _target.Read<byte>(unwindCodePtr); 425byte nextCode = _target.Read<byte>(unwindCodePtr); 440byte nextCode = _target.Read<byte>(unwindCodePtr); 460byte nextCode = _target.Read<byte>(unwindCodePtr); 479byte nextCode = _target.Read<byte>(unwindCodePtr); 498byte nextCode = _target.Read<byte>(unwindCodePtr); 520byte nextCode = _target.Read<byte>(unwindCodePtr); 535byte nextCode = _target.Read<byte>(unwindCodePtr); 555byte nextCode = _target.Read<byte>(unwindCodePtr); 574byte nextCode = _target.Read<byte>(unwindCodePtr); 593context.Sp += 16u * ((uint)_target.Read<byte>(unwindCodePtr) << 16); 595context.Sp += 16 * ((uint)_target.Read<byte>(unwindCodePtr) << 8); 597context.Sp += 16 * (uint)_target.Read<byte>(unwindCodePtr); 624context.Sp = context.Fp - 8u * _target.Read<byte>(unwindCodePtr); 681byte val2 = _target.Read<byte>(unwindCodePtr); 683byte val1 = _target.Read<byte>(unwindCodePtr); 845SetRegister(ref context, regIndex, _target.Read<ulong>(sourceAddress)); 850TargetPointer vfpStateAddress = _target.Read<ulong>(sourceAddress); 854uint Fpcr = _target.Read<uint>(sourceAddress); 856uint Fpsr = _target.Read<uint>(sourceAddress); 865context.V[regIndex * 2] = _target.Read<ulong>(sourceAddress); 866context.V[(regIndex * 2) + 1] = _target.Read<ulong>(sourceAddress + 8); 876context.Cpsr = _target.Read<uint>(sourceAddress); 879context.Sp = _target.Read<ulong>(sourceAddress); 882context.Lr = _target.Read<ulong>(sourceAddress); 885context.Fp = _target.Read<ulong>(sourceAddress); 888context.Pc = _target.Read<ulong>(sourceAddress); 905context.Sp = _target.Read<ulong>(startingSp + 0); 906context.Pc = _target.Read<ulong>(startingSp + 8); 922SetRegister(ref context, regIndex, _target.Read<ulong>(sourceAddress)); 929context.V[regIndex * 2] = _target.Read<ulong>(sourceAddress); 930context.V[(regIndex * 2) + 1] = _target.Read<ulong>(sourceAddress + 8); 938context.Cpsr = _target.Read<uint>(sourceAddress); 941context.Fp = _target.Read<ulong>(sourceAddress); 944context.Lr = _target.Read<ulong>(sourceAddress); 947context.Sp = _target.Read<ulong>(sourceAddress); 950context.Pc = _target.Read<ulong>(sourceAddress); 953context.Fpcr = _target.Read<uint>(sourceAddress); 956context.Fpsr = _target.Read<uint>(sourceAddress); 964_target.Read<uint>(sourceAddress) & (uint)ContextFlagsValues.CONTEXT_UNWOUND_TO_CALL; 1003opcode = _target.Read<byte>(unwindCodePtr); 1078SetRegister(ref context, firstRegister + regIndex, _target.Read<ulong>(curAddress)); 1128context.V[(firstRegister + regIndex) * 2] = _target.Read<ulong>(curAddress); 1179context.V[(firstRegister + regIndex) * 2] = _target.Read<ulong>(curAddress); 1182context.V[((firstRegister + regIndex) * 2) + 1] = _target.Read<ulong>(curAddress);
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (55)
107uint headerWord = _target.Read<uint>(unwindDataPtr); 131epilogScopeCount = _target.Read<uint>(unwindDataPtr); 231headerWord = _target.Read<uint>(unwindDataPtr); 264byte curCode = _target.Read<byte>(unwindCodePtr); 280byte curCode = _target.Read<byte>(unwindCodePtr); 317byte opcode = _target.Read<byte>(unwindCodePtr); 368byte nextCode = _target.Read<byte>(unwindCodePtr); 389byte nextCode = _target.Read<byte>(unwindCodePtr); 391byte nextCode1 = _target.Read<byte>(unwindCodePtr); 414byte nextCode = _target.Read<byte>(unwindCodePtr); 416byte nextCode1 = _target.Read<byte>(unwindCodePtr); 435byte nextCode1 = _target.Read<byte>(unwindCodePtr); 437byte nextCode2 = _target.Read<byte>(unwindCodePtr); 439byte nextCode3 = _target.Read<byte>(unwindCodePtr); 473byte nextCode = _target.Read<byte>(unwindCodePtr); 475byte nextCode1 = _target.Read<byte>(unwindCodePtr); 577context.Sp = _target.Read<ulong>(startingSp + 0); 578context.Pc = _target.Read<ulong>(startingSp + 8); 592context.R0 = _target.Read<ulong>(sourceAddress); 595context.Ra = _target.Read<ulong>(sourceAddress); 598context.Tp = _target.Read<ulong>(sourceAddress); 601context.Sp = _target.Read<ulong>(sourceAddress); 604context.A0 = _target.Read<ulong>(sourceAddress); 606context.A1 = _target.Read<ulong>(sourceAddress); 608context.A2 = _target.Read<ulong>(sourceAddress); 610context.A3 = _target.Read<ulong>(sourceAddress); 612context.A4 = _target.Read<ulong>(sourceAddress); 614context.A5 = _target.Read<ulong>(sourceAddress); 616context.A6 = _target.Read<ulong>(sourceAddress); 618context.A7 = _target.Read<ulong>(sourceAddress); 621context.T0 = _target.Read<ulong>(sourceAddress); 623context.T1 = _target.Read<ulong>(sourceAddress); 625context.T2 = _target.Read<ulong>(sourceAddress); 627context.T3 = _target.Read<ulong>(sourceAddress); 629context.T4 = _target.Read<ulong>(sourceAddress); 631context.T5 = _target.Read<ulong>(sourceAddress); 633context.T6 = _target.Read<ulong>(sourceAddress); 635context.T7 = _target.Read<ulong>(sourceAddress); 637context.T8 = _target.Read<ulong>(sourceAddress); 640context.X0 = _target.Read<ulong>(sourceAddress); 643context.Fp = _target.Read<ulong>(sourceAddress); 646context.S0 = _target.Read<ulong>(sourceAddress); 648context.S1 = _target.Read<ulong>(sourceAddress); 650context.S2 = _target.Read<ulong>(sourceAddress); 652context.S3 = _target.Read<ulong>(sourceAddress); 654context.S4 = _target.Read<ulong>(sourceAddress); 656context.S5 = _target.Read<ulong>(sourceAddress); 658context.S6 = _target.Read<ulong>(sourceAddress); 660context.S7 = _target.Read<ulong>(sourceAddress); 662context.S8 = _target.Read<ulong>(sourceAddress); 668context.Pc = _target.Read<ulong>(sourceAddress); 673context.F[regIndex] = _target.Read<ulong>(sourceAddress); 678context.Fcc = _target.Read<uint>(sourceAddress); 681context.Fcsr = _target.Read<uint>(sourceAddress); 689_target.Read<uint>(sourceAddress) & (uint)ContextFlagsValues.CONTEXT_UNWOUND_TO_CALL;
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (53)
121uint headerWord = _target.Read<uint>(unwindDataPtr); 145epilogScopeCount = _target.Read<uint>(unwindDataPtr); 245headerWord = _target.Read<uint>(unwindDataPtr); 278byte curCode = _target.Read<byte>(unwindCodePtr); 294byte curCode = _target.Read<byte>(unwindCodePtr); 331byte opcode = _target.Read<byte>(unwindCodePtr); 382byte nextCode = _target.Read<byte>(unwindCodePtr); 403byte nextCode = _target.Read<byte>(unwindCodePtr); 405byte nextCode1 = _target.Read<byte>(unwindCodePtr); 428byte nextCode = _target.Read<byte>(unwindCodePtr); 430byte nextCode1 = _target.Read<byte>(unwindCodePtr); 449byte nextCode1 = _target.Read<byte>(unwindCodePtr); 451byte nextCode2 = _target.Read<byte>(unwindCodePtr); 453byte nextCode3 = _target.Read<byte>(unwindCodePtr); 487byte nextCode = _target.Read<byte>(unwindCodePtr); 489byte nextCode1 = _target.Read<byte>(unwindCodePtr); 591context.Sp = _target.Read<ulong>(startingSp + 0); 592context.Pc = _target.Read<ulong>(startingSp + 8); 606context.Ra = _target.Read<ulong>(sourceAddress); 609context.Sp = _target.Read<ulong>(sourceAddress); 612context.Gp = _target.Read<ulong>(sourceAddress); 615context.Tp = _target.Read<ulong>(sourceAddress); 618context.T0 = _target.Read<ulong>(sourceAddress); 620context.T1 = _target.Read<ulong>(sourceAddress); 622context.T2 = _target.Read<ulong>(sourceAddress); 625context.Fp = _target.Read<ulong>(sourceAddress); 628context.S1 = _target.Read<ulong>(sourceAddress); 631context.A0 = _target.Read<ulong>(sourceAddress); 633context.A1 = _target.Read<ulong>(sourceAddress); 635context.A2 = _target.Read<ulong>(sourceAddress); 637context.A3 = _target.Read<ulong>(sourceAddress); 639context.A4 = _target.Read<ulong>(sourceAddress); 641context.A5 = _target.Read<ulong>(sourceAddress); 643context.A6 = _target.Read<ulong>(sourceAddress); 645context.A7 = _target.Read<ulong>(sourceAddress); 648context.S2 = _target.Read<ulong>(sourceAddress); 650context.S3 = _target.Read<ulong>(sourceAddress); 652context.S4 = _target.Read<ulong>(sourceAddress); 654context.S5 = _target.Read<ulong>(sourceAddress); 656context.S6 = _target.Read<ulong>(sourceAddress); 658context.S7 = _target.Read<ulong>(sourceAddress); 660context.S8 = _target.Read<ulong>(sourceAddress); 662context.S9 = _target.Read<ulong>(sourceAddress); 664context.S10 = _target.Read<ulong>(sourceAddress); 666context.S11 = _target.Read<ulong>(sourceAddress); 669context.T3 = _target.Read<ulong>(sourceAddress); 671context.T4 = _target.Read<ulong>(sourceAddress); 673context.T5 = _target.Read<ulong>(sourceAddress); 675context.T6 = _target.Read<ulong>(sourceAddress); 681context.Pc = _target.Read<ulong>(sourceAddress); 686context.F[regIndex] = _target.Read<ulong>(sourceAddress); 691context.Fcsr = _target.Read<uint>(sourceAddress); 699_target.Read<uint>(sourceAddress) & (uint)ContextFlagsValues.CONTEXT_UNWOUND_TO_CALL;
Contracts\StackWalk\Context\X86\GCInfoDecoding\GCArgTable.cs (24)
106uint val = _target.Read<byte>(offset++); 213uint encType = _target.Read<byte>(offset++); 254val = _target.Read<byte>(offset++); 261argMask = _target.Read<byte>(offset++); 262val = _target.Read<byte>(offset++); 264nxt = _target.Read<byte>(offset++); 270curOffs += _target.Read<byte>(offset++); 271val = _target.Read<byte>(offset++); 274val = _target.Read<byte>(offset++); 280val = _target.Read<byte>(offset++); 284curOffs += _target.Read<uint>(offset); 286argMask = _target.Read<uint>(offset); 291byrefArgMask = _target.Read<uint>(offset); 296val = _target.Read<byte>(offset++); 299curOffs = _target.Read<uint>(offset); 301argCnt = _target.Read<uint>(offset); 303argTabSize = _target.Read<uint>(offset); 390uint val = _target.Read<byte>(offset++); 465val = _target.Read<byte>(offset++); 498val = _target.Read<byte>(offset++); 501lastSkip = _target.Read<uint>(offset); 504callArgCnt = _target.Read<uint>(offset); 506callPndTabCnt = _target.Read<uint>(offset); 508callPndTabSize = _target.Read<uint>(offset);
Contracts\StackWalk\Context\X86\GCInfoDecoding\GCInfoTargetExtensions.cs (4)
16byte b = target.Read<byte>(src++); 25b = target.Read<byte>(src++); 39byte b = target.Read<byte>(src++); 49b = target.Read<byte>(src++);
Contracts\StackWalk\Context\X86\GCInfoDecoding\InfoHdr.cs (3)
147byte nextByte = target.Read<byte>(offset++); 159nextByte = target.Read<byte>(offset++); 256nextByte = target.Read<byte>(offset++);
Contracts\StackWalk\Context\X86\X86Unwinder.cs (16)
235context.Ebp = _target.Read<uint>(esp); 240context.Eip = _target.Read<uint>(esp); 306context.Eip = _target.Read<uint>(esp); 346context.Eip = _target.Read<uint>(esp); 402context.Ebp = _target.Read<uint>(savedRegPtr); 410context.Ebx = _target.Read<uint>(savedRegPtr); 415context.Esi = _target.Read<uint>(savedRegPtr); 420context.Edi = _target.Read<uint>(savedRegPtr); 812Debug.Assert(CheckInstrWord(_target.Read<ushort>(baseAddress + offset), X86_INSTR_w_TEST_ESP_EAX)); 826Debug.Assert(val == _target.Read<sbyte>(baseAddress + offset + 3)); 832Debug.Assert(val == _target.Read<int>(baseAddress + offset + 3)); 850Debug.Assert(CheckInstrWord(_target.Read<ushort>(baseAddress + offset), X86_INSTR_W_CALL_IND_IMM)); 930return _target.Read<sbyte>(address); 935return _target.Read<byte>(address); 940return _target.Read<ushort>(address); 945return _target.Read<int>(address);
Contracts\StackWalk\GC\GCRefMapDecoder.cs (1)
59x = _target.Read<byte>(_currentByte);
Contracts\StackWalk\GC\GcScanner.cs (6)
277uint sectionVA = _target.Read<uint>(sectionAddr + SectionVAOffset); 278uint sectionSize = _target.Read<uint>(sectionAddr + SectionSizeOffset); 282byte entrySize = _target.Read<byte>(sectionAddr + EntrySizeOffset); 287uint auxDataRva = _target.Read<uint>(sectionAddr + AuxiliaryDataOffset); 297uint lookupOffset = _target.Read<uint>(new TargetPointer(gcRefMapBase.Value + lookupIndex * 4)); 302while ((_target.Read<byte>(p) & 0x80) != 0)
Contracts\StressLog.cs (5)
281uint payload = target.Read<uint>(msg.Header); 290Facility: target.Read<uint>((ulong)msg.Header + 4), 292Timestamp: target.Read<ulong>((ulong)msg.Header + 8), 316ulong payload1 = target.Read<ulong>(msg.Header); 317ulong payload2 = target.Read<ulong>((ulong)msg.Header + 8);
Contracts\SyncBlock_1.cs (1)
144return _target.Read<uint>(dataAddr + offset);
Data\PrecodeMachineDescriptor.cs (1)
72return target.Read<byte>(address + (ulong)target.GetTypeInfo(DataType.PrecodeMachineDescriptor).Fields[fieldName].Offset);
Data\ReadyToRunInfo.cs (1)
36NumImportSections = target.Read<uint>(address + (ulong)type.Fields[nameof(NumImportSections)].Offset);
Data\UnwindInfo.cs (1)
25Header = target.Read<uint>(address);
Data\WebcilHeader.cs (2)
11CoffSections = target.Read<ushort>(address + 8); // See docs/design/mono/webcil.md 12VersionMajor = target.Read<ushort>(address + 4); // See docs/design/mono/webcil.md
Data\WebcilSectionHeader.cs (4)
11VirtualSize = target.Read<uint>(address + 0); 12VirtualAddress = target.Read<uint>(address + 4); 13SizeOfRawData = target.Read<uint>(address + 8); 14PointerToRawData = target.Read<uint>(address + 12);
RuntimeTypeSystemHelpers\TypeValidation.cs (3)
45MTFlags = _target.Read<uint>(Address + (ulong)_type.Fields[nameof(MethodTableFlags_1.MTFlags)].Offset), 46MTFlags2 = _target.Read<uint>(Address + (ulong)_type.Fields[nameof(MethodTableFlags_1.MTFlags2)].Offset), 47BaseSize = _target.Read<uint>(Address + (ulong)_type.Fields[nameof(MethodTableFlags_1.BaseSize)].Offset),
Microsoft.Diagnostics.DataContractReader.Legacy (13)
ClrDataFrame.cs (2)
531ushort sizeAndFlags = _target.Read<ushort>(ilHeader); 538int localToken = _target.Read<int>(ilHeader + 8);
HeaderReaderHelpers.cs (2)
21ushort sizeAndFlags = target.Read<ushort>(ilHeader); // get flags and size of il header 26localVarSigToken = target.Read<int>(ilHeader + 8);
SOSDacImpl.cs (7)
2204=> 0x48 == _target.Read<byte>(pThunk) && 22050xB8 == _target.Read<byte>(pThunk + 1) && 22060xFF == _target.Read<byte>(pThunk + 10) && 22070xE0 == _target.Read<byte>(pThunk + 11); 3355data->Size += _target.Read<uint>(objAddr + numComponentsOffset) * data->dwComponentSize; 4482uint TlsIndexBase = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.TlsIndexBase)); 4483uint OffsetOfCurrentThreadInfo = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.OffsetOfCurrentThreadInfo));
SOSDacImpl.IXCLRDataProcess.cs (2)
959*flags = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.DacNotificationFlags)); 1009flagsLocal = _target.Read<uint>(_target.ReadGlobalPointer(Constants.Globals.DacNotificationFlags));