Maybe it is on fuzzers developer to know that, but in my opinion would be nice to have a note/warning about this and if possible update Honggfuzz to at lest not exit on -1. Also it could be reported somehow, now it just resets the persistent process and goes on without feedback, except log file.
LibFuzzer supports rejecting unwanted inputs with
return -1
https://llvm.org/docs/LibFuzzer.html#rejecting-unwanted-inputs One may read this documentation and implement fuzzers that return-1
fromLLVMFuzzerTestOneInput
. Problem is, Honggfuzz has never been updated to support this and any other return value than0
is fatal error. LOG_F calls exit(EXIT_FAILURE) https://github.com/google/honggfuzz/blob/348a47213919f14b9453e89a663b1515369bd9a2/libhfuzz/persistent.c#L67Maybe it is on fuzzers developer to know that, but in my opinion would be nice to have a note/warning about this and if possible update Honggfuzz to at lest not exit on
-1
. Also it could be reported somehow, now it just resets the persistent process and goes on without feedback, except log file.