From 608bd9c1f305c7d2f6f4812ed4d406ac3f5ef67a Mon Sep 17 00:00:00 2001 From: Brandon Miller Date: Fri, 14 Mar 2025 09:25:46 -0400 Subject: Return None on ILException in get_low_level_il_at --- python/function.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/function.py') diff --git a/python/function.py b/python/function.py index 83666ab9..cecf7993 100644 --- a/python/function.py +++ b/python/function.py @@ -1800,7 +1800,11 @@ class Function: idx = core.BNGetLowLevelILForInstruction(self.handle, arch.handle, addr) - llil = self.llil + try: + llil = self.llil + except ILException: + return None + if idx == len(llil): return None -- cgit v1.3.1