[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Gesucht: Template-basierter Editor für Binärdaten



Michael Schuerig <michael.lists@schuerig.de> writes:
>
> Ich habe keine Eile mit dieser Sache, daher werde ich auch nicht in absehbarer 
> Zeit anfangen, etwas daran zu tun. Ein wenig nachgedacht habe ich aber noch. 
> Wenn man, wie ich ursprünglich gewünscht hatte, auch beliebig geschachtelte 
> Strukturen zulässt, dann wäre der Kern so eines Editors im Grund ein Parser (+ 
> Unparser), nur eben für Binärdaten. Gerade für große Dateien wäre es aber 
> wünschenswert, wenn alle Operationen in-place (oder irgendwie copy-on-write) 
> arbeiten könnten. Traditionelle Parser-Generatoren, wie Yacc oder ANTLR, 
> helfen da vermutlich nicht.

Dafür scheint http://kaitai.io/ ganz akzeptabel zu sein, auch das viele
Formate schon in http://formats.kaitai.io/ zusammengetragen wurden.

Nach ein wenig Recherche noch
https://stackoverflow.com/questions/492751/tools-to-help-reverse-engineer-binary-file-formats
gefunden und von https://stackoverflow.com/a/492917/2911961 auf
http://apps.tempel.org/iBored/ gestossen, probiert habe ich noch
nichts. Die Seite klingt aber vielversprechend:

""" About iBored

This is a free program for Mac OS X, Windows and Linux.
...
Templates

Some data is auto-detected when viewed in the hex editor - then the view
switches from hex view to the template view. In template view,
structured data appears interpreted. For example, a MBR (master boot
record) of a typical Windows formatted disk will show the four partition
entries with block numbers and other values.

Currently, the template view does not allow you to modify entries. You
will have to note the offset and size of an entry and then switch back
to the hex view to make modifications.
...
If you like to add more templates yourself, have a look at the file
templates.xml, which is either next to the application, or, on Mac OS X,
inside the package in Contents/Resources. The app should also have come
with a Templates Programming.rtf file explaning a little of how it
works. """

das die Templatw view keine Änderung zulässt ist zwar erstmal blöd, aber
der Herr Tempelmann kommt in seiner Stack Overflow als zugänglich rüber.

Kommerziell ist https://www.sweetscape.com/010editor/ wohl noch ne Option.

Peter


Reply to: