ISSUE_63_FLAGS=-O1 -g -fsanitize=address,bool,float-cast-overflow,integer-divide-by-zero,return,returns-nonnull-attribute,shift-exponent,signed-integer-overflow,unreachable,vla-bound -fno-sanitize-recover=all -funsigned-char all: miniz clang++ -std=c++11 -o fuzz_62 -I../../ -I../../deps/miniz -g -fsanitize=address fuzz.cc /usr/lib/llvm-5.0/lib/libFuzzer.a libminiz.a clang++ -std=c++11 -o fuzz_63 -I../../ -I../../deps/miniz ${ISSUE_63_FLAGS} fuzz.cc /usr/lib/llvm-5.0/lib/libFuzzer.a libminiz.a miniz: clang -c -I../../deps/miniz -g ../../deps/miniz/miniz.c llvm-ar rc libminiz.a miniz.o t: ./fuzz_62 issue-62-tinyexr_memcpy_heap-buffer-overflow ./fuzz_63 issue-63-tinyexr_signed-integer-overflow