diff options
| author | Camille Mougey <commial@gmail.com> | 2018-06-10 16:23:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-10 16:23:50 +0200 |
| commit | 08c27666179e37206919bf58f214eb62b14100a3 (patch) | |
| tree | d8b40165bf2bd1552eb3b36c389e37caabe0a675 /miasm2/jitter/codegen.py | |
| parent | 7d55449414bdca973632af879694a27a4edf385e (diff) | |
| parent | 924237fea92f689172330b9bb203b3faf263b929 (diff) | |
| download | miasm-08c27666179e37206919bf58f214eb62b14100a3.tar.gz miasm-08c27666179e37206919bf58f214eb62b14100a3.zip | |
Merge pull request #754 from serpilliere/fix_asmcfg_label
Jitter: label to_string
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/codegen.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/miasm2/jitter/codegen.py b/miasm2/jitter/codegen.py index c6232642..92af3259 100644 --- a/miasm2/jitter/codegen.py +++ b/miasm2/jitter/codegen.py @@ -342,8 +342,12 @@ class CGen(object): out = [] if instr_attrib.log_mn: - out.append('printf("%.8X %s\\n");' % (instr_attrib.instr.offset, - instr_attrib.instr)) + out.append( + 'printf("%.8X %s\\n");' % ( + instr_attrib.instr.offset, + instr_attrib.instr.to_string(self.ir_arch.symbol_pool) + ) + ) return out def gen_post_code(self, attrib): |