diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-12-23 13:45:25 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-12-23 15:11:48 +0100 |
| commit | 494ba6e2b3711b519d7f99f2867e293b0f1650eb (patch) | |
| tree | 7eb36c35e792baa5806a68daeb16d4856ff9323b /miasm2/core/cpu.py | |
| parent | 103c1ea91b7cbeef86041974ac493f341513efd8 (diff) | |
| download | miasm-494ba6e2b3711b519d7f99f2867e293b0f1650eb.tar.gz miasm-494ba6e2b3711b519d7f99f2867e293b0f1650eb.zip | |
Expr: Remove exprint_from
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index 81c18f1f..a6a65796 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -921,7 +921,7 @@ class instruction(object): return o def get_asm_offset(self, expr): - return m2_expr.ExprInt_from(expr, self.offset) + return m2_expr.ExprInt(self.offset, expr.size) def resolve_args_with_symbols(self, symbols=None): if symbols is None: |