[PATCH 0/2] Disassembler styling for i386-dis.c
Andrew Burgess
aburgess@redhat.com
Fri Apr 29 13:42:54 GMT 2022
This series builds on commit:
commit 60a3da00bd5407f07d64dff82a4dae98230dfaac
Date: Sat Jan 22 11:38:18 2022 +0000
objdump/opcodes: add syntax highlighting to disassembler output
which introduced a framework for disassembler styling.
In this series I extend the minimal styling that currently exists in
the i386 disassembler to add full styling for all instruction
operands.
The i386 disassembler is pretty complex, so it is quite possible that
I've missed some corners of it, however, this should not cause any
major problems, worst case some output would (when styling is on) end
up with the wrong style, or no style at all.
That said, in the testing I've done, I'm not seeing anything that's
not styled any more, and the styling I do see looks reasonable -
though I don't claim to have manually checked every single i386
instruction.
If anyone spots any output that is not styling correctly, then please
just let me know, and I'm happy to get it sorted.
Thanks,
Andrew
---
Andrew Burgess (2):
objdump: fix styled printing of addresses
libopcodes: extend the styling within the i386 disassembler
binutils/objdump.c | 9 +-
opcodes/i386-dis.c | 571 ++++++++++++++++++++++++++-------------------
2 files changed, 337 insertions(+), 243 deletions(-)
--
2.25.4
More information about the Binutils
mailing list