summaryrefslogtreecommitdiff
path: root/python/lowlevelil.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lowlevelil.py')
-rw-r--r--python/lowlevelil.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py
index 5a560cad..6130baa3 100644
--- a/python/lowlevelil.py
+++ b/python/lowlevelil.py
@@ -2641,6 +2641,23 @@ ILInstruction:Mapping[LowLevelILOperation, LowLevelILInstruction] = { # type: i
}
+class LowLevelILExpr:
+ """
+ ``class LowLevelILExpr`` hold the index of IL Expressions.
+
+ .. note:: Deprecated. Use ExpressionIndex instead
+ """
+ def __init__(self, index:ExpressionIndex):
+ self._index = index
+
+ def __int__(self):
+ return self._index
+
+ @property
+ def index(self) -> ExpressionIndex:
+ return self._index
+
+
class LowLevelILFunction:
"""
``class LowLevelILFunction`` contains the list of ExpressionIndex objects that make up a function. ExpressionIndex