Scaffold for oss-fuzz, from Sergey Nizovtsev.

This commit is contained in:
Nicholas Marriott
2020-11-09 16:41:55 +00:00
parent 0dcb6e5eb4
commit 3eb1519bd7
7 changed files with 159 additions and 3 deletions

View File

@ -202,6 +202,12 @@ if HAVE_UTF8PROC
nodist_tmux_SOURCES += compat/utf8proc.c
endif
if NEED_FUZZING
check_PROGRAMS = fuzz/input-fuzzer
fuzz_input_fuzzer_LDFLAGS = $(FUZZING_LIBS)
fuzz_input_fuzzer_LDADD = $(LDADD) $(tmux_OBJECTS)
endif
# Install tmux.1 in the right format.
install-exec-hook:
if test x@MANFORMAT@ = xmdoc; then \