12 instantiations of RangeSection
Microsoft.Diagnostics.DataContractReader.Contracts (12)
Contracts\ExecutionManager\ExecutionManagerCore.cs (12)
198
return new
RangeSection
();
204
return new
RangeSection
();
206
return new
RangeSection
(rangeSection);
218
return new
RangeSection
();
228
return new
RangeSection
();
238
return new
RangeSection
();
244
return new
RangeSection
();
250
return new
RangeSection
();
257
return new
RangeSection
();
266
return matchingRange is null ? new
RangeSection
() : new
RangeSection
(matchingRange);
270
return new
RangeSection
();
66 references to RangeSection
Microsoft.Diagnostics.DataContractReader.Contracts (66)
Contracts\ExecutionManager\ExecutionManagerCore.cs (30)
20
private readonly Dictionary<TargetCodePointer,
RangeSection
> _rangeSections = new();
67
public
RangeSection
RangeSection { get; }
68
public CodeBlock(TargetPointer startAddress, TargetPointer methodDesc, TargetNUInt relativeOffset,
RangeSection
rangeSection)
132
public abstract bool GetMethodInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info);
134
RangeSection
rangeSection,
139
public abstract TargetPointer GetUnwindInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress);
140
public abstract TargetPointer GetDebugInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte);
141
public abstract void GetGCInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion);
142
public abstract void GetExceptionClauses(
RangeSection
rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr);
143
public abstract CodeKind GetCodeKind(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress);
173
internal static
RangeSection
Find(
209
private static
RangeSection
FindVirtualIPRangeSection(
286
private
RangeSection
FindRangeSection(TargetCodePointer ip)
288
if (_rangeSections.TryGetValue(ip, out
RangeSection
? range))
291
range =
RangeSection
.Find(_target, _topRangeSectionMapAddress, _rangeSectionMapLookup, _virtualIPRangeListAddress, ip);
299
private JitManager? GetJitManager(
RangeSection
rangeSection)
321
RangeSection
range = FindRangeSection(jittedCodeAddress);
370
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
398
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
414
RangeSection
range = FindRangeSection(entrypoint);
468
RangeSection
range = FindRangeSection(entryPoint);
555
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
566
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
568
throw new InvalidOperationException($"{nameof(
RangeSection
)} not found for {codeInfoHandle.Address}");
581
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
594
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
649
RangeSection
range = FindRangeSection(codeAddr);
767
private
RangeSection
RangeSectionFromCodeBlockHandle(CodeBlockHandle codeInfoHandle)
810
RangeSection
range = RangeSectionFromCodeBlockHandle(codeInfoHandle);
898
RangeSection
range = FindRangeSection(codeAddress);
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (14)
24
public override bool GetMethodInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info)
49
RangeSection
rangeSection,
66
public override TargetPointer GetUnwindInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress)
96
public override TargetPointer GetDebugInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte)
119
public override CodeKind GetCodeKind(
RangeSection
rangeSection, TargetCodePointer codeAddress)
127
public override void GetGCInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion)
150
private TargetPointer FindMethodCode(
RangeSection
rangeSection, TargetCodePointer codeAddress)
184
if (!
RangeSection
.IsStubCodeBlock(Target, codeHeaderAddress))
200
private TargetPointer GetCodeHeaderAddress(
RangeSection
rangeSection, TargetPointer codeStart)
214
private bool GetRealCodeHeader(
RangeSection
rangeSection, TargetPointer codeStart, [NotNullWhen(true)] out Data.RealCodeHeader? realCodeHeader)
218
if (
RangeSection
.IsStubCodeBlock(Target, codeHeaderAddress))
226
private CodeKind GetCodeHeaderStubKind(
RangeSection
rangeSection, TargetPointer codeStart)
229
if (
RangeSection
.IsStubCodeBlock(Target, codeHeaderAddress))
236
public override void GetExceptionClauses(
RangeSection
rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (9)
22
public override bool GetMethodInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info)
47
RangeSection
rangeSection,
63
public override TargetPointer GetUnwindInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress)
69
public override CodeKind GetCodeKind(
RangeSection
rangeSection, TargetCodePointer codeAddress)
74
public override TargetPointer GetDebugInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte)
90
public override void GetGCInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion)
109
public override void GetExceptionClauses(
RangeSection
rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
129
private TargetPointer FindMethodCode(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress)
150
if (
RangeSection
.IsStubCodeBlock(Target, codeHeaderIndirect))
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (13)
34
public override bool GetMethodInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, [NotNullWhen(true)] out CodeBlock? info)
79
RangeSection
rangeSection,
111
public override TargetPointer GetUnwindInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress)
121
public override TargetPointer GetDebugInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out bool hasFlagByte)
162
public override CodeKind GetCodeKind(
RangeSection
rangeSection, TargetCodePointer codeAddress)
169
public override void GetGCInfo(
RangeSection
rangeSection, TargetCodePointer jittedCodeAddress, out TargetPointer gcInfo, out uint gcVersion)
211
private Data.ReadyToRunInfo GetReadyToRunInfo(
RangeSection
rangeSection)
224
RangeSection
rangeSection,
284
private bool IsStubCodeBlockThunk(
RangeSection
rangeSection, Data.ReadyToRunInfo r2rInfo, TargetCodePointer jittedCodeAddress)
313
private static TargetPointer GetCodeBase(
RangeSection
rangeSection, Data.ReadyToRunInfo r2rInfo)
316
private static TargetPointer GetLoadedImageBase(
RangeSection
rangeSection, Data.ReadyToRunInfo r2rInfo)
346
public override void GetExceptionClauses(
RangeSection
range, CodeBlockHandle cbh, out TargetPointer startAddr, out TargetPointer endAddr)
378
RangeSection
range,