diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-03-31 10:11:03 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-04-01 23:47:37 +0200 |
| commit | 8e9957cba631f1c3640b18af30f129d88e9b3912 (patch) | |
| tree | f96a5f7c84164299c42eef16df57f8381a59f3be /miasm2/core/cpu.py | |
| parent | 89680eb28d75e8313ab59dbd8c31930596138bad (diff) | |
| download | miasm-8e9957cba631f1c3640b18af30f129d88e9b3912.tar.gz miasm-8e9957cba631f1c3640b18af30f129d88e9b3912.zip | |
Clean get_asm_offset
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index faba895a..ed124462 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -932,8 +932,8 @@ class instruction(object): o += self.gen_args(args) return o - def get_asm_offset(self, x): - return m2_expr.ExprInt_from(x, self.offset) + def get_asm_offset(self, expr): + return m2_expr.ExprInt_from(expr, self.offset) def resolve_args_with_symbols(self, symbols=None): if symbols is None: |