Skip to content
Myr

add fuzz target to Makefile

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Randy · committed by Randy · parent 5a7af50 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • tests:+3 added−1 removed

1 file+3 added−1 removed

modified:tests/Makefile+3 added-1 removed
1INCLUDES = -I..2CFLAGS = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -DSTB_DIVIDE_TEST3CPPFLAGS = -Wno-write-strings -DSTB_DIVIDE_TEST45# Uncomment this line for reproducing OSS-Fuzz bugs with image_fuzzer5#CFLAGS += -O -fsanitize=address6#CFLAGS += -O -fsanitize=address 78all:9 $(CC) $(INCLUDES) $(CFLAGS) ../stb_vorbis.c test_c_compilation.c test_c_lexer.c test_dxt.c test_easyfont.c test_image.c test_image_write.c test_perlin.c test_sprintf.c test_truetype.c test_voxel.c -lm10 $(CC) $(INCLUDES) $(CPPFLAGS) -std=c++0x test_cpp_compilation.cpp -lm -lstdc++11 $(CC) $(INCLUDES) $(CFLAGS) -DIWT_TEST image_write_test.c -lm -o image_write_test12 $(CC) $(INCLUDES) $(CFLAGS) fuzz_main.c stbi_read_fuzzer.c -lm -o image_fuzzer