Skip to content

Khaotica

Sergey Rachev edited this page Oct 11, 2017 · 3 revisions

What the hell is that!?

Say Hi to the Khaotica: Universal generic bitestream analyzer inspired by FLAVOR. More information about FLAVOR is available at its home page

What can it do?

Khaotica uses Flavor description to parse bitstream. Parsed information could be dumped to text, edited and be written back to bitstream. Don't need to make from scratch bitstream reader taking care about byteendian, bit order, codes Exp-Golomb etc. Just copy or write flavor description and Khaotica will do the rest for you.

How it works?

Khaotica uses Bison\Flex grammar from origin Flavor package to do lexical and syntax parsing of Flavor script. Abstract Syntax Tree is being traversed with bitstream reading to actual values. Keeping actual values separately from AST gives ability to mutate values later or reuse AST multiple times while bitstream data is available.

Future development

There are a lot of place to improve:

  • SDK to extend functionality
  • Graphical User Interface
  • Dynamic bitstream viewer: parsing on the fly, editing\writing on the fly
  • Meta language to define primitive types to generalize parsing and go away from ISO specific.
Clone this wiki locally