diff options
| author | Peter LaFosse <peter@vector35.com> | 2017-07-12 17:57:36 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2017-07-12 17:57:36 -0400 |
| commit | c05fbe9e3cffc727536a6df6893116af1570327c (patch) | |
| tree | 1f19ed42f31194a62c56caa60ee0405d9464c8b2 /python | |
| parent | 3d3b803d18f0d61b5e36367c9eb660b234cdc66e (diff) | |
bug fix for: get_default_flag_write_low_level_il and get_flag_write_low_level_il
Diffstat (limited to 'python')
| -rw-r--r-- | python/architecture.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/architecture.py b/python/architecture.py index 2eb3c717..260f4392 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -1293,7 +1293,7 @@ class Architecture(object): for i in xrange(len(operands)): if isinstance(operands[i], str): operand_list[i].constant = False - operand_list[i].reg = self.regs[operands[i]] + operand_list[i].reg = self.regs[operands[i]].index elif isinstance(operands[i], lowlevelil.ILRegister): operand_list[i].constant = False operand_list[i].reg = operands[i].index @@ -1317,7 +1317,7 @@ class Architecture(object): for i in xrange(len(operands)): if isinstance(operands[i], str): operand_list[i].constant = False - operand_list[i].reg = self.regs[operands[i]] + operand_list[i].reg = self.regs[operands[i]].index elif isinstance(operands[i], lowlevelil.ILRegister): operand_list[i].constant = False operand_list[i].reg = operands[i].index |
