Hi there,
After a phase of using going with the usual unstructured fuzzing approach for a fuzzing project of mine, I've recently dug into structure aware fuzzing. It seems like libfuzzer is the best tool for this and I have several questions about since my case doesn't seem all that common.
I have a target that takes 4 files as input as command-line arguments e.g. `target file1 file2 file3 file4`. The files `file1` and `file2` are in a custom format for this target and files `file3` and `file4` are json files.
From the documentation, I need to implement `LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)` but it's unclear to me how to do the following:
- use *Data to get the inputs that I need for my target
- use a custom mutator on *Data to get the different files formats that I need for my target.
Are there any examples that are similar that I can take a look at?
Thank you