diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-06-09 23:19:01 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-06-10 14:59:14 +0200 |
| commit | 924237fea92f689172330b9bb203b3faf263b929 (patch) | |
| tree | bd61c254ce94c30b2f3685970e6d2191c3a65db0 /miasm2/jitter/codegen.py | |
| parent | 990060f21e515ff1a25246f8fdf0936a97ac698f (diff) | |
| download | miasm-924237fea92f689172330b9bb203b3faf263b929.tar.gz miasm-924237fea92f689172330b9bb203b3faf263b929.zip | |
Jitter: label to_string
Diffstat (limited to 'miasm2/jitter/codegen.py')
| -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): |