diff options
| author | Brandon Miller <brandon@vector35.com> | 2025-03-14 09:25:46 -0400 |
|---|---|---|
| committer | Brandon Miller <brandon@vector35.com> | 2025-03-14 09:25:46 -0400 |
| commit | 608bd9c1f305c7d2f6f4812ed4d406ac3f5ef67a (patch) | |
| tree | 4c95b30dc9222ef6e7775d3c153031d0ef14293a /python/function.py | |
| parent | 58c06d8101bfc60d42e6e6688f66b061315efdfa (diff) | |
Return None on ILException in get_low_level_il_at
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
