AngoraFuzzer / Angora

Angora is a mutation-based fuzzer. The main goal of Angora is to increase branch coverage by solving path constraints without symbolic execution.
Apache License 2.0
916 stars 166 forks source link

Print warning when skipping a large seed #45

Closed EliaGeretto closed 5 years ago

EliaGeretto commented 5 years ago

The current implementation discards large seeds silently. The only feedback provided to the user is that the number of seeds considered does not match the number of files in the input directory. No indication about the reason why the seed was discarded is provided.

This pull request adds a warning message that informs the user whenever a seed is discarded because of its dimension so that the user can act accordingly: either change the configuration or reduce the size of the seed.

In addition, a multi-line error message was split to improve readability.

spinpx commented 5 years ago

Thanks for your contribution, @EliaGeretto .