gramtest icon indicating copy to clipboard operation
gramtest copied to clipboard

Would it be possible to use zip/targz/etc data?

Open kinow opened this issue 8 years ago • 1 comments

Hi, thanks for GramTest :)

Any idea if it would be doable to use it to something like Apache Commons Compress? A library for compression algorithms. I'm interested in running tests against the compression algorithms. Things like

  • header
  • some payloads
  • then the content which consists of bytes

Without going too far as genetic algorithms like in afl, maybe it would be possible to support another grammar, a more high level, that users could customize to support things like binary data?

Thanks Bruno

kinow avatar Jun 26 '17 08:06 kinow

Interesting idea, I haven't given it a lot of thought yet. The zip, targz files would have some format, so it may be a good idea to have a section (e.g. header) that is fixed in grammar and another general section that can generate binary data like you said.

Let me figure out how to support such a use case.

codelion avatar Jun 27 '17 03:06 codelion