about summary refs log tree commit diff stats
path: root/miasm2/ir/translators/C.py
diff options
context:
space:
mode:
authorw4kfu <gw4kfu@gmail.com>2018-11-14 16:34:54 -0500
committerw4kfu <gw4kfu@gmail.com>2018-11-14 16:39:01 -0500
commita9bdf11a126fc5d82bc0a57972512c379f858afc (patch)
tree3fbe08c4cfd76baf5ab0d8410ae8dedaa9f30b68 /miasm2/ir/translators/C.py
parent599ac301037a8509cbeb3aa88a19dd314db8e683 (diff)
downloadmiasm-a9bdf11a126fc5d82bc0a57972512c379f858afc.tar.gz
miasm-a9bdf11a126fc5d82bc0a57972512c379f858afc.zip
fix simplification that delete affectation
Revert "X86 sem : mov assignexpr rot / shift"
Diffstat (limited to 'miasm2/ir/translators/C.py')
-rw-r--r--miasm2/ir/translators/C.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/translators/C.py b/miasm2/ir/translators/C.py
index a5453745..20fa210e 100644
--- a/miasm2/ir/translators/C.py
+++ b/miasm2/ir/translators/C.py
@@ -317,7 +317,7 @@ class TranslatorC(Translator):
                         ">>>": "ror",
                         "<<<": "rol"
                     }
-                    out = "bignum_%s(%s, %d, bignum_to_uint64(%s))" % (
+                    out = "bignum_%d(%s, %d, bignum_to_uint64(%s))" % (
                         op[expr.op], arg0, expr.size, arg1
                     )
                     out = "bignum_mask(%s, %d)"% (out, expr.size)