diff options
| author | Rusty Wagner <rusty@vector35.com> | 2020-02-07 21:02:12 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2020-04-17 14:20:40 -0400 |
| commit | 1a73fb21cea559e8da2cabb43176b0f183a937ee (patch) | |
| tree | 61b2ef1d07c66447011c7fcfaec24d9b3b82134a /python | |
| parent | 3d5a45d8bcc7f11f89b9da6cf63be95f6d8a2a52 (diff) | |
Add HLIL instructions for variable declarations
Diffstat (limited to 'python')
| -rw-r--r-- | python/highlevelil.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/highlevelil.py b/python/highlevelil.py index 505b2b97..b31bc0cc 100644 --- a/python/highlevelil.py +++ b/python/highlevelil.py @@ -94,6 +94,9 @@ class HighLevelILInstruction(object): HighLevelILOperation.HLIL_NORET: [], HighLevelILOperation.HLIL_GOTO: [("target", "int")], HighLevelILOperation.HLIL_LABEL: [("target", "int")], + HighLevelILOperation.HLIL_VAR_DECLARE: [("var", "var")], + HighLevelILOperation.HLIL_VAR_INIT: [("dest", "var"), ("src", "expr")], + HighLevelILOperation.HLIL_VAR_INIT_SSA: [("dest", "var_ssa"), ("src", "expr")], HighLevelILOperation.HLIL_ASSIGN: [("dest", "expr"), ("src", "expr")], HighLevelILOperation.HLIL_ASSIGN_UNPACK: [("dest", "expr_list"), ("src", "expr")], HighLevelILOperation.HLIL_ASSIGN_MEM_SSA: [("dest", "expr"), ("dest_memory", "int"), ("src", "expr"), ("src_memory", "int")], |
