Skip to content

Extending the Hexer Structure Viewer using a plugin written in JRuby

In Hexer the Structure Viewer is the part of the hex windows where data from loaded files is read into pre-defined structures and displayed in trees that represent the structure. This is pretty useful because you can use it to quickly navigate through complexely structured binary data.

Like basically all parts of Hexer you can extend the Structure Viewer tree with plugins that can be implemented in Java, Groovy, ECMAScript, Python, and Ruby. I have prepared an example plugin (download here) which demonstrates how to extend the Structure Viewer tree using a plugin written in Ruby. This plugin adds support for Windows Bitmap file (BMP) headers. The result can be seen in the screenshot below.

Note that this plugin only works if you have Ruby scripting support installed in Hexer.