diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-07-17 12:28:17 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-07-17 12:28:17 +0200 |
| commit | c4974d42d44921dcfd3d4abb9b92160a2654c86e (patch) | |
| tree | bac5cba3d5612c7fbf1b31e8e1c785b78fbc1807 | |
| parent | 4a1dc7ab1796f5aecb35c2e4633b08f68ab21cef (diff) | |
| download | miasm-c4974d42d44921dcfd3d4abb9b92160a2654c86e.tar.gz miasm-c4974d42d44921dcfd3d4abb9b92160a2654c86e.zip | |
X86: fix 64 bit asm
| -rw-r--r-- | miasm2/arch/x86/arch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py index bf872667..3a0fb78e 100644 --- a/miasm2/arch/x86/arch.py +++ b/miasm2/arch/x86/arch.py @@ -256,7 +256,7 @@ cl_or_imm |= base_expr class x86_arg(m_arg): def asm_ast_to_expr(self, value, loc_db, size_hint=None, fixed_size=None): if size_hint is None: - size_hint = self.parent.v_opmode() + size_hint = self.parent.mode if fixed_size is None: fixed_size = set() if isinstance(value, AstId): |