test/fuzzing/hb-set-fuzzer.cc

Branch


Log

Author Commit Date CI Message
Behdad Esfahbod b8c7c0a0 2022-07-01T12:11:15 [fuzzer] In 50% of runs don't fail the allocator
luz paz e2e30506 2022-01-16T07:00:53 Fix various typos Found via `codespell -q 3 -S ./perf/texts -L actualy,ba,beng,fo,gir,inout,nd,ot,pres,ro,te,teh,timne`
Garret Rieger f94bf9f0 2021-01-25T15:57:42 [set fuzzer] limit the total number of set members in a fuzzing input. Currently the fuzzer can create arbitarily long inputs which once big enough will trigger a timeout.
Ebrahim Byagowi c33e8006 2020-07-14T19:29:58 [fuzz] Implement failing allocator
Ebrahim Byagowi a470b0b2 2020-07-04T23:56:10 Minor, disable strict-aliasing warning in set fuzzer ../test/fuzzing/hb-set-fuzzer.cc: In function ‘int LLVMFuzzerTestOneInput(const uint8_t*, size_t)’: ../test/fuzzing/hb-set-fuzzer.cc:38:82: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 38 | const instructions_t &instructions = reinterpret_cast<const instructions_t &> (data); | And it is already disabled at project level so let's disable it here also.
Ebrahim Byagowi a94d1af1 2020-02-12T19:25:10 [fuzz] minor style fixes
Ebrahim Byagowi 97229244 2020-02-12T15:41:22 [fuzzer] Fix hb-set-fuzzer minor overflow issue Size shouldn't be smaller than the struct not its pointer size. Fixes https://crbug.com/oss-fuzz/20655
Garret Rieger 7b42403c 2020-02-11T12:25:57 Add explicit values to the set fuzzer enums.
Garret Rieger bca9bc6b 2020-02-06T13:02:58 Add hb-set-fuzzer. It fuzzes all of the hb_set process methods (intersection, subtraction, union, and symmetric difference).