fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

`arrow_parquet-arrow-fuzz` does not use `FUZZER_LIB`

Open DonggeLiu opened this issue 3 years ago • 3 comments

How do fuzzers who requires FUZZER_LIB work with benchmark arrow_parquet-arrow-fuzz? The build script of that benchmark does not seem to make use of FUZZER_LIB.

DonggeLiu avatar Jul 15 '22 15:07 DonggeLiu

Unfortunately, linking env variable LIB_FUZZING_ENGINE to Centipede's lib file does not solve the issue, see #1433. Maybe we should consider removing this benchmark from CI tests, as it is not used for experiments anyway?

If there is any idea about how to fix it, I am more than happy to give it a shot.

DonggeLiu avatar Jul 22 '22 11:07 DonggeLiu

to jump into this issue, there is another problem in arrow_paquet-arrow fuzz.

At some point and I don't know where, -fsanitize-coverage-type=3 -fsanitize-coverage-trace-pc-guard is inserted into the compile statements - also when afl++ is used for which this results in broken binaries. I will add code in afl-cc to remove such problematic stuff, but the target should be fixed for this too as this will break everything that is not pc-guard. (like us).

vanhauser-thc avatar Aug 14 '22 12:08 vanhauser-thc