2 instantiations of CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Contracts (2)
Contracts\ExecutionManager\ExecutionManagerCore.cs (2)
222return new CodeBlockHandle(key); 230return new CodeBlockHandle(key);
95 references to CodeBlockHandle
Microsoft.Diagnostics.DataContractReader.Abstractions (14)
Contracts\IExecutionManager.cs (14)
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(); 112uint GetStackParameterSize(CodeBlockHandle codeInfoHandle) => throw new NotImplementedException();
Microsoft.Diagnostics.DataContractReader.Contracts (74)
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 (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); 32public uint GetStackParameterSize(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStackParameterSize(codeInfoHandle); 33public 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); 32public uint GetStackParameterSize(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetStackParameterSize(codeInfoHandle); 33public List<ExceptionClauseInfo> GetExceptionClauses(CodeBlockHandle codeInfoHandle) => _executionManagerCore.GetExceptionClauses(codeInfoHandle);
Contracts\ExecutionManager\ExecutionManagerCore.cs (16)
122public abstract void GetExceptionClauses(RangeSection rangeSection, CodeBlockHandle codeInfoHandle, out TargetPointer startAddr, out TargetPointer endAddr); 217CodeBlockHandle? IExecutionManager.GetCodeBlockHandle(TargetCodePointer ip) 233TargetPointer IExecutionManager.GetMethodDesc(CodeBlockHandle codeInfoHandle) 241TargetPointer IExecutionManager.GetStartAddress(CodeBlockHandle codeInfoHandle) 249TargetPointer IExecutionManager.GetFuncletStartAddress(CodeBlockHandle codeInfoHandle) 270void IExecutionManager.GetMethodRegionInfo(CodeBlockHandle codeInfoHandle, out uint hotSize, out TargetPointer coldStart, out uint coldSize) 323bool IExecutionManager.IsFunclet(CodeBlockHandle codeInfoHandle) 333bool IExecutionManager.IsFilterFunclet(CodeBlockHandle codeInfoHandle) 356TargetPointer IExecutionManager.GetUnwindInfo(CodeBlockHandle codeInfoHandle) 367TargetPointer IExecutionManager.GetUnwindInfoBaseAddress(CodeBlockHandle codeInfoHandle) 376TargetPointer IExecutionManager.GetDebugInfo(CodeBlockHandle codeInfoHandle, out bool hasFlagByte) 387void IExecutionManager.GetGCInfo(CodeBlockHandle codeInfoHandle, out TargetPointer gcInfo, out uint gcVersion) 401TargetNUInt IExecutionManager.GetRelativeOffset(CodeBlockHandle codeInfoHandle) 409uint IExecutionManager.GetStackParameterSize(CodeBlockHandle codeInfoHandle) 481private RangeSection RangeSectionFromCodeBlockHandle(CodeBlockHandle codeInfoHandle) 524List<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)
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)
2000if (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 (6)
296if (!IsManaged(gcFrame.Frame.Context.InstructionPointer, out CodeBlockHandle? cbh)) 825if (_target.Contracts.ExecutionManager.GetCodeBlockHandle(preUnwindIp) is CodeBlockHandle cbh) 1101if (returnAddress != TargetCodePointer.Null && _eman.GetCodeBlockHandle(returnAddress) is CodeBlockHandle cbh) 1126if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? codeBlockHandle)) 1227private bool IsManaged(TargetCodePointer ip, [NotNullWhen(true)] out CodeBlockHandle? codeBlockHandle) 1229if (_eman.GetCodeBlockHandle(ip) is CodeBlockHandle cbh && cbh.Address != TargetPointer.Null)
Contracts\StackWalk\StackWalk_1.ExceptionHandling.cs (3)
62bool isCallerInVM = !IsManaged(callerIp, out CodeBlockHandle? _); 112if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh)) 126if (!IsManaged(handle.Context.InstructionPointer, out CodeBlockHandle? cbh))
RuntimeTypeSystemHelpers\MethodValidation.cs (1)
210CodeBlockHandle? codeInfo = executionManager.GetCodeBlockHandle(jitCodeAddr);
Microsoft.Diagnostics.DataContractReader.Legacy (7)
Dbi\DacDbiImpl.cs (1)
1859if (eman.GetCodeBlockHandle(new TargetCodePointer(controlPC)) is not CodeBlockHandle cbh)
SOSDacImpl.cs (5)
777if (eman.GetCodeBlockHandle(targetCodePointer) is not CodeBlockHandle cbh) 2726CodeBlockHandle? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target)); 2727if (handle is not CodeBlockHandle codeHandle) 4637CodeBlockHandle? handle = executionManager.GetCodeBlockHandle(ip.ToTargetCodePointer(_target)); 4638if (handle is not CodeBlockHandle codeBlockHandle)
SOSDacImpl.IXCLRDataProcess.cs (1)
467if (eman.GetCodeBlockHandle(methodAddr) is CodeBlockHandle cbh &&