2 instantiations of CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
219return new CodeBlockHandle(key); 227return new CodeBlockHandle(key);
88 references to CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Abstractions (13)
Contracts\IExecutionManager.cs (13)
98CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => throw new NotImplementedException(); 99TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 100TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 101TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 102void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => throw new NotImplementedException(); 104bool IsFunclet(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 105bool IsFilterFunclet(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 106TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 107TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 108TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => throw new NotImplementedException(); 109void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => throw new NotImplementedException(); 110TargetNUInt GetRelativeOffset(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 111List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (69)
Contracts\CodeVersions_1.cs (1)
123CodeBlockHandle? info = executionManager.GetCodeBlockHandle(ip);
Contracts\DebugInfo\DebugInfo_1.cs (2)
29if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh) 38if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh)
Contracts\DebugInfo\DebugInfo_2.cs (3)
36if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh) 45if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh) 122if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh)
Contracts\ExecutionManager\ExecutionManager_1.cs (13)
20public CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip); 21public TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle); 22public TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle); 23public TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle); 24public void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize); 26public bool IsFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFunclet(codeInfoHandle); 27public bool IsFilterFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFilterFunclet(codeInfoHandle); 28public TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle); 29public TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle); 30public TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte); 31public void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion); 32public TargetNUInt GetRelativeOffset(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetRelativeOffset(codeInfoHandle); 33public List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetExceptionClauses(codeInfoHandle);
Contracts\ExecutionManager\ExecutionManager_2.cs (13)
20public CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip); 21public TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle); 22public TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle); 23public TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle); 24public void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize); 26public bool IsFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFunclet(codeInfoHandle); 27public bool IsFilterFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFilterFunclet(codeInfoHandle); 28public TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle); 29public TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle); 30public TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte); 31public void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion); 32public TargetNUInt GetRelativeOffset(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetRelativeOffset(codeInfoHandle); 33public List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetExceptionClauses(codeInfoHandle);
Contracts\ExecutionManager\ExecutionManagerCore.cs (15)
119public abstract void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr); 214CodeBlockHandle? IExecutionManager.GetCodeBlockHandle(TargetCodePointer ip) 230TargetPointer IExecutionManager.GetMethodDesc(CodeBlockHandle codeInfoHandle) 238TargetPointer IExecutionManager.GetStartAddress(CodeBlockHandle codeInfoHandle) 246TargetPointer IExecutionManager.GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) 266void IExecutionManager.GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) 319bool IExecutionManager.IsFunclet(CodeBlockHandle codeInfoHandle) 329bool IExecutionManager.IsFilterFunclet(CodeBlockHandle codeInfoHandle) 352TargetPointer IExecutionManager.GetUnwindInfo(CodeBlockHandle codeInfoHandle) 363TargetPointer IExecutionManager.GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) 372TargetPointer IExecutionManager.GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) 383void IExecutionManager.GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) 397TargetNUInt IExecutionManager.GetRelativeOffset(CodeBlockHandle codeInfoHandle) 459private RangeSection RangeSectionFromCodeBlockHandle(CodeBlockHandle codeInfoHandle) 502List<ExceptionClauseInfo> IExecutionManager.GetExceptionClauses(CodeBlockHandle codeInfoHandle)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
197public override void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
108public override void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
310public override void GetExceptionClauses(RangeSection range, CodeBlockHandle cbh, out TargetPointer startAddr, out TargetPointer endAddr) 341private void GetMethodRVAAndRangeStart(CodeBlockHandle cbh, out TargetPointer methodStart, out TargetPointer rangeStart)
Contracts\RuntimeTypeSystem_1.cs (1)
1817if (executionManager.GetCodeBlockHandle(pCode) is CodeBlockHandle cbh)
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (2)
48if (_eman.GetCodeBlockHandle(context.InstructionPointer.Value) is not CodeBlockHandle cbh) 1245if (_eman.GetCodeBlockHandle(controlPC.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\ARM\ARMUnwinder.cs (1)
22if (_eman.GetCodeBlockHandle(context.InstructionPointer.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (1)
54if (_eman.GetCodeBlockHandle(context.InstructionPointer.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (1)
39if (_eman.GetCodeBlockHandle(context.InstructionPointer.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (1)
47if (_eman.GetCodeBlockHandle(context.InstructionPointer.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\X86\X86Unwinder.cs (1)
54if (eman.GetCodeBlockHandle(context.InstructionPointer.Value) is not CodeBlockHandle cbh)
Contracts\StackWalk\GC\GcScanner.cs (1)
38CodeBlockHandle cbh,
Contracts\StackWalk\StackWalk_1.cs (5)
238if (!IsManaged(gcFrame.Frame.Context.InstructionPointer, out CodeBlockHandle? cbh)) 866if (returnAddress != TargetPointer.Null && _eman.GetCodeBlockHandle(returnAddress.Value) is CodeBlockHandle cbh) 891if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? codeBlockHandle)) 920private bool IsManaged(TargetPointer ip, [NotNullWhen(true)] out CodeBlockHandle? codeBlockHandle) 923if (_eman.GetCodeBlockHandle(codePointer) is CodeBlockHandle cbh && cbh.Address != TargetPointer.Null)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (3)
62bool isCallerInVM = !IsManaged(callerIp, out CodeBlockHandle? _); 111if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 124if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh))
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
210CodeBlockHandle? codeInfo = executionManager.GetCodeBlockHandle(jitCodeAddr);
Microsoft.Diagnostics.DataContractReader.Legacy (6)
SOSDacImpl.cs (5)
798if (eman.GetCodeBlockHandle(targetCodePointer) is not CodeBlockHandle cbh) 2742CodeBlockHandle? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target)); 2743if (handle is not CodeBlockHandle codeHandle) 4650CodeBlockHandle? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target)); 4651if (handle is not CodeBlockHandle codeBlockHandle)
SOSDacImpl.IXCLRDataProcess.cs (1)
468if (eman.GetCodeBlockHandle(methodAddr) is CodeBlockHandle cbh &&