diff options
| author | Brian Potchik <brian@vector35.com> | 2020-10-06 14:57:22 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-10-06 14:57:22 -0400 |
| commit | aca3edf17f3dba99664c5b3bfc7b7d084d8d21a3 (patch) | |
| tree | b16d5c526fda6e794c6e0035ca457839429e647b /python/lowlevelil.py | |
| parent | 0e10983e83fbd5980aa4d2aed06057c3676bf402 (diff) | |
Verify mlil is not None in high level IL mapping API.
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 64a862d6..396f3925 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -1028,6 +1028,8 @@ class LowLevelILInstruction(object): @property def high_level_il(self): """Gets the high level IL expression corresponding to this expression (may be None for eliminated instructions)""" + if self.mlil is None: + return None return self.mlil.hlil @property |
