solemnwarning / rehex

Reverse Engineers' Hex Editor
https://rehex.solemnwarning.net/
GNU General Public License v2.0
2.3k stars 113 forks source link

[Feature Request] Colorize HEX values #223

Closed PROPHESSOR closed 4 months ago

PROPHESSOR commented 6 months ago

In radare2 there's color highlighting for hex values (green for 0x00, red for 0xFF, blue for 0x7F, yellow for ASCII, etc). image

It's convenient when you work with non-ascii data to "feel" the values.

In addition, it would be nice to have some heatmap-like gradient colorization of the values. For example, from blue for 0x00, through red for 0x7F, to white for 0xFF. image

solemnwarning commented 4 months ago

Still an early WIP, but a preview of how the UI for this is coming along:

image

The intent here is that you will be able to define different value colourisation profiles which define solid colours to use for bytes, or start/end colours to apply a gradient over a range and switch between them from the view menu.

solemnwarning commented 4 months ago

image

solemnwarning commented 4 months ago

Finished and merged into master.