diff options
author | 2022-05-21 13:34:16 +0100 | |
---|---|---|
committer | 2022-05-21 13:34:16 +0100 | |
commit | 84d255ab00727c83407d6c0c0421159024010360 (patch) | |
tree | f31e2180a0c0d277c0cad0425098adb37b0f609c /projects/libpng-proto | |
parent | b76cac640c00000d09ebc2f145a309e302fcc69d (diff) |
libprotobuf-mutator projects: fix builds (#7737)
* libprotobuf-mutator projects: fix builds
Ref: https://github.com/google/oss-fuzz/issues/7736
* boringssl: fix libprotobuf-mutator fuzzer
* giflib: fix libprotobuf-mutator fuzzer
* jsoncpp: fix libprotobuf-mutator fuzzer
* xerces-c: fix libprotobuf-mutator fuzzer
* libpng-proto: fix libprotobuf-mutator fuzzer
* giflib: add license header to satisfy CI
Diffstat (limited to 'projects/libpng-proto')
-rwxr-xr-x | projects/libpng-proto/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/libpng-proto/build.sh b/projects/libpng-proto/build.sh index b51c9f9b..75984f57 100755 --- a/projects/libpng-proto/build.sh +++ b/projects/libpng-proto/build.sh @@ -32,7 +32,7 @@ rm -rf genfiles && mkdir genfiles && LPM/external.protobuf/bin/protoc png_fuzz_p $CXX $CXXFLAGS -c -DLLVMFuzzerTestOneInput=FuzzPNG libpng/contrib/oss-fuzz/libpng_read_fuzzer.cc -I libpng # compile & link the rest -$CXX $CXXFLAGS png_proto_fuzzer_example.cc libpng_read_fuzzer.o genfiles/png_fuzz_proto.pb.cc \ +$CXX $CXXFLAGS -DNDEBUG png_proto_fuzzer_example.cc libpng_read_fuzzer.o genfiles/png_fuzz_proto.pb.cc \ -I genfiles -I. -I libprotobuf-mutator/ -I LPM/external.protobuf/include \ -lz \ LPM/src/libfuzzer/libprotobuf-mutator-libfuzzer.a \ @@ -43,7 +43,7 @@ $CXX $CXXFLAGS png_proto_fuzzer_example.cc libpng_read_fuzzer.o genfiles/png_fuz -o $OUT/png_proto_fuzzer_example # custom png proto mutator -$CXX $CXXFLAGS png_proto_fuzzer_example.cc png_proto_mutator.cc libpng_read_fuzzer.o genfiles/png_fuzz_proto.pb.cc \ +$CXX $CXXFLAGS -DNDEBUG png_proto_fuzzer_example.cc png_proto_mutator.cc libpng_read_fuzzer.o genfiles/png_fuzz_proto.pb.cc \ -I genfiles -I. -I libprotobuf-mutator/ -I LPM/external.protobuf/include \ -lz \ LPM/src/libfuzzer/libprotobuf-mutator-libfuzzer.a \ |