From 8b82998e5da42c6b08f59a6f3bccf4a81bcf55ea Mon Sep 17 00:00:00 2001 From: Alex Hultman Date: Mon, 24 Aug 2020 01:55:26 +0200 Subject: [PATCH] Use our fork of zlib for MemorySanitizer fuzzing --- fuzzing/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fuzzing/Makefile b/fuzzing/Makefile index fe50ca3..0382d02 100644 --- a/fuzzing/Makefile +++ b/fuzzing/Makefile @@ -9,9 +9,9 @@ OUT ?= . WRAPPED_SYSCALLS = -Wl,--wrap=getpeername,--wrap=sendto,--wrap=send,--wrap=recv,--wrap=read,--wrap=listen,--wrap=getaddrinfo,--wrap=freeaddrinfo,--wrap=setsockopt,--wrap=fcntl,--wrap=bind,--wrap=socket,--wrap=epoll_wait,--wrap=epoll_create1,--wrap=timerfd_settime,--wrap=close,--wrap=accept4,--wrap=eventfd,--wrap=timerfd_create,--wrap=epoll_ctl,--wrap=shutdown oss-fuzz: -# Build zlib (it listens to CFLAGS, CC and CXX) +# Build zlib (it listens to CFLAGS, CC and CXX) - we need our fork to pass MemorySanitizer rm -rf zlib - git clone https://github.com/madler/zlib + git clone https://github.com/alexhultman/zlib cd zlib && ./configure && make # Copy dictionaries cp *.dict $(OUT)