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