Support text-based encoding (e.g. Base64) for inputs files #964
Marcono1234
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
If this requires explicit opt-in via a config file anyway, could a copy & pastable |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently the inputs files generated by Jazzer are binary. This can lead to issues when adding them to a Git repository (e.g. as regression test resources) because Git might erroneously consider them to be text and performs line ending conversion, see also #958 (comment).
Would it be possible to support text-based encoding such as Base64? Possibly as opt-in via a command line flag or a
junit-platform.properties
entry.Maybe you could also use a file extension suffix such as
.base64
(e.g.crash-abcdef.base64
) so that Jazzer recognizes and decodes it automatically when reading the inputs (even if writing of Base64 encoded files is not opted-in).The disadvantage would be that these files would be larger compared to the binary ones. And it might need custom post- and pre-processing when interacting with libFuzzer?
Beta Was this translation helpful? Give feedback.
All reactions