diff options
| -rw-r--r-- | miasm2/expression/expression.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/expression/expression.py b/miasm2/expression/expression.py index 46b7737e..341b90fd 100644 --- a/miasm2/expression/expression.py +++ b/miasm2/expression/expression.py @@ -797,6 +797,7 @@ class ExprOp(Expr): if self.is_associative(): return '(' + self._op.join([str(arg) for arg in self._args]) + ')' if (self._op.startswith('call_func_') or + self._op == 'cpuid' or len(self._args) > 2 or self._op in ['parity', 'segm']): return self._op + '(' + ', '.join([str(arg) for arg in self._args]) + ')' |