Sublime Forum

Custom view/panel for viewing/editing binaries

#1

Hi,

I suspect this is absolutely unsupported, but it’s something I think could be expected from an editor framework. Basically, the idea is to represent a file, in this case an executable binary, as a “form”, i.e. a list of fields organized into sections (a front-end for readelf, objdump, nm).

Perhaps sections would be collapsible, and various options could be selected to impact what parts of the file are visible at all.

To accomplish this, I guess there would have to be a custom view/panel/canvas, where controls could be arrayed (text fields with validation, buttons, check boxes, etc).

Of course, the alternative is to write a custom IDE to do this, but the idea is to leverage some of the capabilities of the editor, and have a custom editor that is fully integrated.

Thanks

0 Likes

#2

You could write a syntax definition for the output of the nm command. If done right, this would automatically give you the ability to fold and unfold sections of the text. I don’t believe a custom panel would be necessary.

0 Likes