One of the contributions that I've made recently to the Apache Kato project is an Eclipse plugin hex editor. The reason for writing this plugin was that when you are looking at huge core files which are hundreds of MB in size (if not GBs), typical editors attempt to load the whole file in at once. When dealing with files of this magnitude this approach obviously will not work. So I've started work on a hex editor which only displays a window over the contents of the file which means that it can deal with files of any size. Here is a summary of the other features that I've currently put in
- Search for a set of bytes in the file, specified as either a set of bytes or a string.
- Bookmark a position within a file so that you can just jump back to it when you want. Great for when you are looking for something and then don't want to forget where it was. The bookmarks are preserved between sessions.
- Define your own eyecatchers and have them highlighted. An eyecatcher is a sequence of bytes (which can be defined as text or binary) that you want called out in the main window.
This is one thing that I really like about being involved with the Apache Kato project. Although it is a reference implementation for Java post-mortem diagnsotics, you also get to deal with some more general problems - such as handling extremely large files in an editor. So far the editor is read only (so it's more of a viewer than an editor) but as I add more functionality I'll let people know. So if you want a general purpose hex viewer, then this can be downloaded from the Kato source code repository.
The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
The Coffee Grounds
with Tags: source X