diff options
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 |
