Conversation
Any recommendations for generating annotated hex dumps for #documentation, optimally (but not necessarily) something like @angealbertini's format dissections:

https://github.com/corkami/formats/blob/master/image/PNGRGB_dissected.png

#ReverseEngineering
1
1
0

@buherator for Python code, I like using a combination of ctypes.Structure and hexdump.

https://github.com/alexander-hanel/py-snips/blob/main/readme.py#L372-L404

KaiStruct is also another option https://ide.kaitai.io

1
1
0
@nullandnull I need something for one-off diagrams, I don't want to write a formal declaration this time. My best idea so far is to annote the bytes in some GUI that supports this (IIRC 010 does?), and take a screenshot...
1
0
0

@buherator I believe 010 does have that functionality. If you need something free, you can always use McAfee’s old FileInsight. It has a nice feature in which you can select bytes and color code them.

0
1
1