AFLplusplus / AFLplusplus

The fuzzer afl++ is afl with community patches, qemu 5.1 upgrade, collision-free coverage, enhanced laf-intel & redqueen, AFLfast++ power schedules, MOpt mutators, unicorn_mode, and a lot more!

Home Page:https://aflplus.plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valid coverage heuristic

bendrissou opened this issue · comments

Is there a way to instruct AFL to discard invalid inputs, that is inputs that are rejected by the target program?

The validity of a given input can be derived simply by looking at the exit code.

If you use LLVMFuzzerTestOneInput harnesses and return -1 from it, then afl-fuzz discards the coverage. But I would not recommend it as invalid input might still be interesting to build upon it to get a valid but unexpected input

could you please give feedback to #1959 ?

is this solved for you? then please close the issue. otherwise ask your follow up question :)