diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-11-23 09:00:30 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-11-29 10:09:05 -0500 |
| commit | 2959d69e86eacf0de78703d48217215deb507cd4 (patch) | |
| tree | 9e2381a37c59b4a0ec0dfbdb5bc17750218e9bac /python/lowlevelil.py | |
| parent | b82050fe24f7920c9ff29f4494236844375eeba9 (diff) | |
Fully deprecate (Low|Medium|High)LevelILExpr in favor of ExpressionIndex
Diffstat (limited to 'python/lowlevelil.py')
| -rw-r--r-- | python/lowlevelil.py | 17 |
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 |
