From 077654dacca4d1f540236f9a96347f4d6b75f5cd Mon Sep 17 00:00:00 2001 From: Xusheng Date: Wed, 31 May 2023 16:10:49 +0800 Subject: [PATCH] Only use the LLIL of the function if it is available --- ui/registerswidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/registerswidget.cpp b/ui/registerswidget.cpp index 8d3f732..0c6b0e1 100644 --- a/ui/registerswidget.cpp +++ b/ui/registerswidget.cpp @@ -221,7 +221,7 @@ std::set DebugRegistersListModel::getUsedRegisterNames() if (functions.empty() || (!functions[0])) return usedRegisterNames; - auto llil = functions[0]->GetLowLevelIL(); + auto llil = functions[0]->GetLowLevelILIfAvailable(); if (!llil) return usedRegisterNames;