2 instantiations of CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
226return new CodeBlockHandle(key); 234return new CodeBlockHandle(key);
106 references to CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Abstractions (14)
Contracts\IExecutionManager.cs (14)
99CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => throw new NotImplementedException(); 100TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 101TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 102TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 103void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => throw new NotImplementedException(); 105bool IsFunclet(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 106bool IsFilterFunclet(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 107TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 108TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 109TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => throw new NotImplementedException(); 110void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => throw new NotImplementedException(); 111TargetNUInt GetRelativeOffset(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 113List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException(); 114uint GetStackParameterSize(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (77)
Contracts\CodeVersions_1.cs (1)
126CodeBlockHandle? 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 (4)
36if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh) 45if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh) 122if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh) 155if (_eman.GetCodeBlockHandle(pCode) is not CodeBlockHandle cbh)
Contracts\ExecutionManager\ExecutionManager_1.cs (14)
19public CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip); 20public TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle); 21public TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle); 22public TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle); 23public void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize); 25public bool IsFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFunclet(codeInfoHandle); 26public bool IsFilterFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFilterFunclet(codeInfoHandle); 27public TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle); 28public TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle); 29public TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte); 30public void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion); 31public TargetNUInt GetRelativeOffset(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetRelativeOffset(codeInfoHandle); 33public uint GetStackParameterSize(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStackParameterSize(codeInfoHandle); 34public List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetExceptionClauses(codeInfoHandle);
Contracts\ExecutionManager\ExecutionManager_2.cs (14)
19public CodeBlockHandle? GetCodeBlockHandle(TargetCodePointer ip) => _executionManagerCore.GetCodeBlockHandle(ip); 20public TargetPointer GetMethodDesc(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetMethodDesc(codeInfoHandle); 21public TargetPointer GetStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStartAddress(codeInfoHandle); 22public TargetPointer GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetFuncletStartAddress(codeInfoHandle); 23public void GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) => _executionManagerCore.GetMethodRegionInfo(codeInfoHandle, out hotSize, out coldStart, out coldSize); 25public bool IsFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFunclet(codeInfoHandle); 26public bool IsFilterFunclet(CodeBlockHandle codeInfoHandle) => _executionManagerCore.IsFilterFunclet(codeInfoHandle); 27public TargetPointer GetUnwindInfo(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfo(codeInfoHandle); 28public TargetPointer GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetUnwindInfoBaseAddress(codeInfoHandle); 29public TargetPointer GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) => _executionManagerCore.GetDebugInfo(codeInfoHandle, out hasFlagByte); 30public void GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) => _executionManagerCore.GetGCInfo(codeInfoHandle, out gcInfo, out gcVersion); 31public TargetNUInt GetRelativeOffset(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetRelativeOffset(codeInfoHandle); 33public uint GetStackParameterSize(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStackParameterSize(codeInfoHandle); 34public List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetExceptionClauses(codeInfoHandle);
Contracts\ExecutionManager\ExecutionManagerCore.cs (17)
126public abstract void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr); 221CodeBlockHandle? IExecutionManager.GetCodeBlockHandle(TargetCodePointer ip) 237TargetPointer IExecutionManager.GetMethodDesc(CodeBlockHandle codeInfoHandle) 245TargetPointer IExecutionManager.GetStartAddress(CodeBlockHandle codeInfoHandle) 253TargetPointer IExecutionManager.GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) 274void IExecutionManager.GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) 327bool IExecutionManager.IsFunclet(CodeBlockHandle codeInfoHandle) 337bool IExecutionManager.IsFilterFunclet(CodeBlockHandle codeInfoHandle) 360TargetPointer IExecutionManager.GetUnwindInfo(CodeBlockHandle codeInfoHandle) 371TargetPointer IExecutionManager.GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) 380TargetPointer IExecutionManager.GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) 391void IExecutionManager.GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) 405TargetNUInt IExecutionManager.GetRelativeOffset(CodeBlockHandle codeInfoHandle) 416if (eman.GetCodeBlockHandle(instructionPointer) is not CodeBlockHandle cbh) 427uint IExecutionManager.GetStackParameterSize(CodeBlockHandle codeInfoHandle) 538private RangeSection RangeSectionFromCodeBlockHandle(CodeBlockHandle codeInfoHandle) 581List<ExceptionClauseInfo> IExecutionManager.GetExceptionClauses(CodeBlockHandle codeInfoHandle)
Contracts\ExecutionManager\ExecutionManagerCore.EEJitManager.cs (1)
236public override void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.InterpreterJitManager.cs (1)
109public override void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr)
Contracts\ExecutionManager\ExecutionManagerCore.ReadyToRunJitManager.cs (2)
311public override void GetExceptionClauses(RangeSection range, CodeBlockHandle cbh, out TargetPointer startAddr, out TargetPointer endAddr) 342private void GetMethodRVAAndRangeStart(CodeBlockHandle cbh, out TargetPointer methodStart, out TargetPointer rangeStart)
Contracts\RuntimeTypeSystem_1.cs (1)
2155if (executionManager.GetCodeBlockHandle(pCode) is CodeBlockHandle cbh)
Contracts\StackWalk\Context\AMD64\AMD64Unwinder.cs (2)
48if (_eman.GetCodeBlockHandle(context.InstructionPointer) 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) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\ARM64\ARM64Unwinder.cs (1)
54if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\LoongArch64\LoongArch64Unwinder.cs (1)
39if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\RISCV64\RISCV64Unwinder.cs (1)
47if (_eman.GetCodeBlockHandle(context.InstructionPointer) is not CodeBlockHandle cbh)
Contracts\StackWalk\Context\X86\X86Unwinder.cs (1)
55if (eman.GetCodeBlockHandle(context.InstructionPointer) is not CodeBlockHandle cbh)
Contracts\StackWalk\GC\GcScanner.cs (1)
38CodeBlockHandle cbh,
Contracts\StackWalk\StackWalk_1.cs (7)
306if (!IsManaged(gcFrame.Frame.Context.InstructionPointer, out CodeBlockHandle? cbh)) 1138if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 1207if (IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 1253if (returnAddress != TargetCodePointer.Null && _eman.GetCodeBlockHandle(returnAddress) is CodeBlockHandle cbh) 1277if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? codeBlockHandle)) 1378private bool IsManaged(TargetCodePointer ip, [NotNullWhen(true)] out CodeBlockHandle? codeBlockHandle) 1380if (_eman.GetCodeBlockHandle(ip) is CodeBlockHandle cbh && cbh.Address != TargetPointer.Null)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (4)
62bool isCallerInVM = !IsManaged(callerIp, out CodeBlockHandle? _); 151if (IsManaged(cf.Context.InstructionPointer, out CodeBlockHandle? cbh)) 167if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 181if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh))
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
206CodeBlockHandle? codeInfo = executionManager.GetCodeBlockHandle(jitCodeAddr);
Microsoft.Diagnostics.DataContractReader.Legacy (15)
ClrDataMethodInstance.cs (1)
401CodeBlockHandle? codeBlock = executionManager.GetCodeBlockHandle(code);
Dbi\DacDbiImpl.cs (8)
2178CodeBlockHandle? codeBlockHandle = eman.GetCodeBlockHandle(controlPC); 2179if (codeBlockHandle is CodeBlockHandle cbh) 2197data.v.jitFuncData.fIsFilterFrame = codeBlockHandle is CodeBlockHandle codeBlock && eman.IsFilterFunclet(codeBlock) 2209private TargetPointer GetAmbientSP(IStackDataFrameHandle handle, CodeBlockHandle? codeBlockHandle, uint nativeOffset) 2211if (codeBlockHandle is not CodeBlockHandle cbh) 2440if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not CodeBlockHandle cbh) 2811CodeBlockHandle codeBlock = executionManager.GetCodeBlockHandle(nativeCode) 2868CodeBlockHandle codeBlock = executionManager.GetCodeBlockHandle(code)
SOSDacImpl.cs (5)
776if (eman.GetCodeBlockHandle(targetCodePointer) is not CodeBlockHandle cbh) 2732CodeBlockHandle? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target)); 2733if (handle is not CodeBlockHandle codeHandle) 4648CodeBlockHandle? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target)); 4649if (handle is not CodeBlockHandle codeBlockHandle)
SOSDacImpl.IXCLRDataProcess.cs (1)
933if (eman.GetCodeBlockHandle(methodAddr) is CodeBlockHandle cbh &&