fuzzer harness for authorized_keys option parsing

This commit is contained in:
Damien Miller 2018-09-14 15:16:34 +10:00
parent 6c8b82fc69
commit 6bc5a24ac8
2 changed files with 5 additions and 2 deletions

View File

@ -7,7 +7,7 @@ CXXFLAGS=-O2 -g -Wall -Wextra -I ../../.. $(FUZZ_FLAGS)
LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS)
LIBS=-lssh -lopenbsd-compat -lcrypto $(FUZZ_LIBS)
all: pubkey_fuzz sig_fuzz
all: pubkey_fuzz sig_fuzz authopt_fuzz
.cc.o:
$(CXX) $(CXXFLAGS) -c $< -o $@
@ -18,5 +18,8 @@ pubkey_fuzz: pubkey_fuzz.o
sig_fuzz: sig_fuzz.o
$(CXX) -o $@ sig_fuzz.o $(LDFLAGS) $(LIBS)
authopt_fuzz: authopt_fuzz.o
$(CXX) -o $@ authopt_fuzz.o ../../../auth-options.o $(LDFLAGS) $(LIBS)
clean:
-rm -f *.o pubkey_fuzz sig_fuzz
-rm -f *.o pubkey_fuzz sig_fuzz authopt_fuzz

Binary file not shown.