summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-09-07 07:57:42 -0400
committerPeter LaFosse <peter@vector35.com>2021-09-07 08:23:21 -0400
commita97a9b63b62a19752882d8082d0a75b7684d0339 (patch)
tree6a75cd3f1e8550e4fb911f938098264ee3cff95e /python
parent377e5bc4ef08ccd82ac9a66e4e4b61968b578a47 (diff)
Fix some bugs in lowlevelil.py refactor
Diffstat (limited to 'python')
-rw-r--r--python/lowlevelil.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 48c39189..2b374560 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -503,6 +503,10 @@ class LowLevelILInstruction:
return hash((self.function, self.expr_index))
@property
+ def size(self) -> int:
+ return self.instr.size
+
+ @property
def address(self) -> int:
return self.instr.address
@@ -2702,7 +2706,6 @@ class LowLevelILFunction:
assert _handle is not None
self.handle = _handle
assert self._arch is not None
- assert self._source_function is not None
def __del__(self):
if core is not None: