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