diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-02-15 16:22:21 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2017-03-13 14:13:14 +0100 |
| commit | d0727aa74bf264580e82f37abc9833b75804daca (patch) | |
| tree | e5ec4298599a5907b45d009c4da2755c6ba523c0 /miasm2/core/cpu.py | |
| parent | e1fc2de7e4d8662d5b97ceb7d7a9b9ba24acddaa (diff) | |
| download | miasm-d0727aa74bf264580e82f37abc9833b75804daca.tar.gz miasm-d0727aa74bf264580e82f37abc9833b75804daca.zip | |
Asmbloc: rename asm_label to AsmLabel
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 1beeeff0..41ae822d 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -232,7 +232,7 @@ class ParseAst(object): if size is None: size = self.default_size assert value is not None - return m2_expr.ExprId(asmbloc.asm_label(value), size) + return m2_expr.ExprId(asmbloc.AsmLabel(value), size) def ast_to_expr(self, size, ast): """Transform a typed ast into a Miasm expression @@ -974,7 +974,7 @@ class instruction(object): ids = m2_expr.get_expr_ids(e) fixed_ids = {} for x in ids: - if isinstance(x.name, asmbloc.asm_label): + if isinstance(x.name, asmbloc.AsmLabel): name = x.name.name # special symbol $ if name == '$': |