public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Disassembler styling for i386-dis.c
@ 2022-04-29 13:42 Andrew Burgess
  2022-04-29 13:42 ` [PATCH 1/2] objdump: fix styled printing of addresses Andrew Burgess
  2022-04-29 13:42 ` [PATCH 2/2] libopcodes: extend the styling within the i386 disassembler Andrew Burgess
  0 siblings, 2 replies; 29+ messages in thread
From: Andrew Burgess @ 2022-04-29 13:42 UTC (permalink / raw)
  To: binutils; +Cc: Andrew Burgess

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


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2022-06-10 13:01 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 13:42 [PATCH 0/2] Disassembler styling for i386-dis.c Andrew Burgess
2022-04-29 13:42 ` [PATCH 1/2] objdump: fix styled printing of addresses Andrew Burgess
2022-05-02  7:14   ` Jan Beulich
2022-05-03  9:52     ` Andrew Burgess
2022-04-29 13:42 ` [PATCH 2/2] libopcodes: extend the styling within the i386 disassembler Andrew Burgess
2022-04-29 18:16   ` Vladimir Mezentsev
2022-05-03 13:15     ` Andrew Burgess
2022-04-29 18:57   ` H.J. Lu
2022-05-03 13:14     ` Andrew Burgess
2022-05-02  7:28   ` Jan Beulich
2022-05-03 13:12     ` Andrew Burgess
2022-05-03 15:47       ` H.J. Lu
2022-05-04  7:58       ` Jan Beulich
2022-05-09  9:48         ` Andrew Burgess
2022-05-09 12:54           ` [PATCHv2] " Andrew Burgess
2022-05-18 12:27             ` Jan Beulich
2022-05-26 12:48               ` Andrew Burgess
2022-05-18 21:23             ` H.J. Lu
2022-05-27 17:44             ` [PATCHv3] " Andrew Burgess
2022-05-30  8:19               ` Jan Beulich
2022-05-31 17:20                 ` Andrew Burgess
2022-06-01  5:59                   ` Jan Beulich
2022-06-01 15:56                     ` H.J. Lu
2022-06-08 16:03                       ` Andrew Burgess
2022-06-10 10:56               ` Jan Beulich
2022-06-10 13:01                 ` Andrew Burgess
2022-05-18  7:06           ` [PATCH 2/2] " Jan Beulich
2022-05-18 10:41             ` Andrew Burgess
2022-05-18 10:46               ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).