summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-09-29 14:37:44 -0400
committerBrian Potchik <brian@vector35.com>2020-09-29 14:37:44 -0400
commitc893956bdf6a016307ef90400f29adbe060a071a (patch)
tree7fd37b972e7eb912cce0912889a97e15dd1324b9 /python
parentcb26e00fc61263fa1680eb0b725c81b2299bc7bf (diff)
Fix low_level_il access when MLIL is None.
Diffstat (limited to 'python')
-rw-r--r--python/highlevelil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py
index 56619f05..d85905b1 100644
--- a/python/highlevelil.py
+++ b/python/highlevelil.py
@@ -532,6 +532,8 @@ class HighLevelILInstruction(object):
@property
def low_level_il(self):
"""Low level IL form of this expression"""
+ if self.mlil is None:
+ return None
return self.mlil.llil
@property