mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 01:05:14 +02:00
update fuzzer example makefile to clang16
This commit is contained in:
parent
fc332cb2d6
commit
698fe6fd61
@ -1,10 +1,10 @@
|
|||||||
# NB. libssh and libopenbsd-compat should be built with the same sanitizer opts.
|
# NB. libssh and libopenbsd-compat should be built with the same sanitizer opts.
|
||||||
CC=clang-11
|
CC=clang-16
|
||||||
CXX=clang++-11
|
CXX=clang++-16
|
||||||
FUZZ_FLAGS=-fsanitize=address,fuzzer -fno-omit-frame-pointer
|
FUZZ_FLAGS=-fsanitize=address,fuzzer -fno-omit-frame-pointer
|
||||||
FUZZ_LIBS=-lFuzzer
|
FUZZ_LIBS=-L/usr/lib/llvm-16/lib -lFuzzer
|
||||||
|
|
||||||
CXXFLAGS=-O2 -g -Wall -Wextra -Wno-unused-parameter -I ../../.. $(FUZZ_FLAGS)
|
CXXFLAGS=-O2 -g -Wall -Wextra -Wno-unused-parameter -Wno-exceptions -I ../../.. $(FUZZ_FLAGS)
|
||||||
CFLAGS=$(CXXFLAGS)
|
CFLAGS=$(CXXFLAGS)
|
||||||
LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS)
|
LDFLAGS=-L ../../.. -L ../../../openbsd-compat -g $(FUZZ_FLAGS)
|
||||||
LIBS=-lssh -lopenbsd-compat -lmd -lcrypto -lfido2 -lcbor $(FUZZ_LIBS)
|
LIBS=-lssh -lopenbsd-compat -lmd -lcrypto -lfido2 -lcbor $(FUZZ_LIBS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user