diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2018-11-02 20:18:45 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2018-11-02 20:40:14 +0200 |
commit | 106d1a663d4ba42b63231caa289f531548df81c1 (patch) | |
tree | a2af37c8a4e454b2acccd19615b804f4cb9a1830 /tests/ossfuzz/Makefile | |
parent | liblzma: Don't verify header CRC32s if building for fuzz testing. (diff) | |
download | xz-106d1a663d4ba42b63231caa289f531548df81c1.tar.xz |
Tests: Add a fuzz test program and a config file for OSS-Fuzz.
Thanks to Bhargava Shastry and Github user pdknsk.
Diffstat (limited to '')
-rw-r--r-- | tests/ossfuzz/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ossfuzz/Makefile b/tests/ossfuzz/Makefile new file mode 100644 index 00000000..67ddbe5a --- /dev/null +++ b/tests/ossfuzz/Makefile @@ -0,0 +1,7 @@ +fuzz: fuzz.c + $(CC) $(CFLAGS) -c fuzz.c -I ../../src/liblzma/api/ + $(CXX) $(CXXFLAGS) -lFuzzingEngine fuzz.o -o $(OUT)/fuzz \ + ../../src/liblzma/.libs/liblzma.a + +clean: + rm -f *.o |