diff options
| author | Ajax <commial@gmail.com> | 2016-01-11 15:55:57 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2016-01-11 15:59:30 +0100 |
| commit | f921e8f5542bb6064071924595216417a194dbea (patch) | |
| tree | f15b66eff5c7893a4a434cfc5e5c51bca0b0020f /miasm2/core/parse_asm.py | |
| parent | 6b09332775857805741be7ef6b1fc98e189f4d5b (diff) | |
| download | focaccia-miasm-f921e8f5542bb6064071924595216417a194dbea.tar.gz focaccia-miasm-f921e8f5542bb6064071924595216417a194dbea.zip | |
AsmConstraint: ensure label is always an asm_label
Diffstat (limited to 'miasm2/core/parse_asm.py')
| -rw-r--r-- | miasm2/core/parse_asm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/parse_asm.py b/miasm2/core/parse_asm.py index 840b88db..5437ca22 100644 --- a/miasm2/core/parse_asm.py +++ b/miasm2/core/parse_asm.py @@ -305,7 +305,7 @@ def parse_txt(mnemo, attrib, txt, symbol_pool=None): continue if dst in mnemo.regs.all_regs_ids: continue - cur_block.addto(asmbloc.asm_constraint(dst, C_TO)) + cur_block.addto(asmbloc.asm_constraint(dst.name, C_TO)) if not line.splitflow(): block_to_nlink = None |