commit | 4aec4de0c1522d5920e89a6708d62d40f6ed9ed6 | [log] [tgz] |
---|---|---|
author | Ruslan Kabatsayev <b7.10110111@gmail.com> | Wed Sep 06 17:35:19 2017 +0400 |
committer | Nguyen Anh Quynh <aquynh@gmail.com> | Wed Sep 06 20:35:19 2017 +0700 |
tree | 3b164ca48b28e3691a1262d9494eff1aeb9826c9 | |
parent | 394cdfc11ec6bb69a2604956ca3040351f22f7b9 [diff] |
cstool: Separate instruction bytes by spaces (#1009)
diff --git a/cstool/cstool.c b/cstool/cstool.c index e6eea14..0b3efae 100644 --- a/cstool/cstool.c +++ b/cstool/cstool.c
@@ -324,6 +324,8 @@ printf("%"PRIx64" ", insn[i].address); for (j = 0; j < insn[i].size; j++) { + if (j > 0) + putchar(' '); printf("%02x", insn[i].bytes[j]); } // X86 instruction size is variable.