diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-01-31 21:08:05 -0500 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2018-01-31 21:08:05 -0500 |
| commit | fd51307c7fa5baff29860b1e3be09aafca13c2f0 (patch) | |
| tree | 2bb384a3a0660fec08aeedd318cc3f0876130586 /python | |
| parent | 2f3873928078e8c21911ffeb5476781b31886514 (diff) | |
Allow intrinsics to write flags
Diffstat (limited to 'python')
| -rw-r--r-- | python/lowlevelil.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/lowlevelil.py b/python/lowlevelil.py index 33296ce8..273d3aeb 100644 --- a/python/lowlevelil.py +++ b/python/lowlevelil.py @@ -1770,7 +1770,7 @@ class LowLevelILFunction(object): """ return self.expr(LowLevelILOperation.LLIL_SYSCALL) - def intrinsic(self, outputs, intrinsic, params): + def intrinsic(self, outputs, intrinsic, params, flags=None): """ ``intrinsic`` return an intrinsic expression. @@ -1787,7 +1787,7 @@ class LowLevelILFunction(object): for param in params: param_list.append(param.index) return self.expr(LowLevelILOperation.LLIL_INTRINSIC, len(outputs), self.add_operand_list(output_list), - self.arch.get_intrinsic_index(intrinsic), len(params), self.add_operand_list(param_list)) + self.arch.get_intrinsic_index(intrinsic), len(params), self.add_operand_list(param_list), flags = flags) def breakpoint(self): """ |
