diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-10-29 10:35:32 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-10-29 13:37:03 +0100 |
| commit | c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e (patch) | |
| tree | eae7ae526c7e45d1e640c814ec3a03d5b999fac8 /miasm2/ir | |
| parent | e37d545e07a22b0ea9a5ce21b975c73927dd4d50 (diff) | |
| download | miasm-c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e.tar.gz miasm-c4e4273c2d4e459eddc96c8ef0af0e5eff9c3f7e.zip | |
Expression: fix api
Diffstat (limited to 'miasm2/ir')
| -rw-r--r-- | miasm2/ir/translators/miasm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/translators/miasm.py b/miasm2/ir/translators/miasm.py index 004a1ba9..f1e4c5ae 100644 --- a/miasm2/ir/translators/miasm.py +++ b/miasm2/ir/translators/miasm.py @@ -10,7 +10,7 @@ class TranslatorMiasm(Translator): return "ExprId(%s, size=%d)" % (repr(expr.name), expr.size) def from_ExprInt(self, expr): - return "ExprInt_fromsize(%d, 0x%x)" % (expr.size, int(expr.arg)) + return "ExprInt(0x%x, %d)" % (int(expr.arg), expr.size) def from_ExprCond(self, expr): return "ExprCond(%s, %s, %s)" % (self.from_expr(expr.cond), |