diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2018-05-15 19:46:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-15 19:46:08 +0200 |
| commit | c2b0779c68ce50514e19e021084328d265b53663 (patch) | |
| tree | cab4451d098d94a9de3a13bb9cd1b3721b1f51f1 /miasm2/ir/translators/C.py | |
| parent | b0db47c82568f7bf78ce1fdfe059569d6efd019a (diff) | |
| parent | d87f5e3c45edd586c6c1ac77a3e485a33e95e236 (diff) | |
| download | miasm-c2b0779c68ce50514e19e021084328d265b53663.tar.gz miasm-c2b0779c68ce50514e19e021084328d265b53663.zip | |
Merge pull request #742 from commial/refactor/x86_cpuid
Rename x86 specific op 'cpuid' to 'x86_cpuid'
Diffstat (limited to '')
| -rw-r--r-- | miasm2/ir/translators/C.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/translators/C.py b/miasm2/ir/translators/C.py index 099f1420..bcffc364 100644 --- a/miasm2/ir/translators/C.py +++ b/miasm2/ir/translators/C.py @@ -94,7 +94,7 @@ class TranslatorC(Translator): self.from_expr(expr.args[0]), self.from_expr(expr.args[1]), size2mask(expr.args[0].size)) - elif expr.op == 'cpuid': + elif expr.op == 'x86_cpuid': return "%s(%s, %s)" % (expr.op, self.from_expr(expr.args[0]), self.from_expr(expr.args[1])) |