epasveer / seer

Seer - a gui frontend to gdb
GNU General Public License v3.0
2.13k stars 69 forks source link

Improve MemoryVisualizer widget. #52

Closed epasveer closed 2 years ago

epasveer commented 2 years ago

Look at the "bless hex editor" as an example to improve my "hex viewer".

epasveer commented 2 years ago

Or look at ghex.

epasveer commented 2 years ago

ghex_window_open

Attached is a GHex example.

uyar commented 2 years ago

wxhexeditor

And I'm attaching a screenshot from wxHexEditor.

epasveer commented 2 years ago

memoryvisualizer

I've gone with something similar to ghex/bless. It's quite usable now.

I like how some 'memory widgets' can show the memory as assembly. I'll work on adding that to mine.

uyar commented 2 years ago

This is coming along very nicely, kudos! One thing I can point out is that the representations on the last column (hexadecimal, octal, binary, and text) are redundant since they are already available in the main content view and through the selection box that reads "hex" by default.

Adding other encodings (especially utf-8/16/32) to the ascii/ebcdic selection box would be useful.

uyar commented 2 years ago

And with relatively little effort (support for reading files from disk) you could make seer to also function as a hex viewer.

epasveer commented 2 years ago

Hi,

Yes, the last column is a little redundant. However, it is a quick way of showing the 4 bytes at the current position in different views (hex,octal,binary,text). The main context view changes the entire memory block. I think it would be handy to have both.

I'll investigate the other ASCII encodings.

(Thanks for your comments and inputs!)

epasveer commented 2 years ago

Closing this task. Created a separate task for the ASCII encodings.