fuzzware-fuzzer / fuzzware

Fuzzware's main repository. Start here to install.
Apache License 2.0
302 stars 51 forks source link

fuzzware genconfig --fuzz-for #4

Closed MrMatch246 closed 2 years ago

MrMatch246 commented 2 years ago

using the fuzz-for option on genconfig does very strange things it somehow results in lots of nonexistant sed accesses when fuzzing afterwards without any manual configurations (tried it on "examples/pw-recovery/ARCH_PRO/basic_exercises.bin") is this already implemented?

Scepticz commented 2 years ago

This feature is experimental and not yet implemented. The idea here is to extend the memory map by regions for which early crashes occur. Currently, the early crash region additions are done only for base inputs. There should also be an error output that the --fuzz-for option is not yet supported. However, it currently comes a bit late such that the output may be a bit misleading.

Scepticz commented 2 years ago

If you like, you can give implementing this feature a shot and then create a pull request. :-)

Scepticz commented 2 years ago

I changed the order in which checks are performed so that the fuzzware genconfig --fuzz-for argument is being non-zero is detected earlier. The output should be less confusing now.

You may still create a pull request implementing the actual funcitonality, though!