mirror of https://github.com/google/oss-fuzz.git
[uwebsockets] Hold building script at main repo (#2517)
This commit is contained in:
parent
a3c935fe9c
commit
179d9732a2
|
@ -15,14 +15,4 @@
|
|||
################################################################################
|
||||
|
||||
cd fuzzing
|
||||
# "Unit tests"
|
||||
$CXX $CXXFLAGS -std=c++17 -O3 WebSocket.cpp -o $OUT/WebSocket $LIB_FUZZING_ENGINE
|
||||
$CXX $CXXFLAGS -std=c++17 -O3 Http.cpp -o $OUT/Http $LIB_FUZZING_ENGINE
|
||||
$CXX $CXXFLAGS -std=c++17 -O3 PerMessageDeflate.cpp -o $OUT/PerMessageDeflate $LIB_FUZZING_ENGINE -lz
|
||||
# "Integration tests"
|
||||
$CC $CFLAGS -DLIBUS_NO_SSL -c -O3 uSocketsMock.c
|
||||
$CXX $CXXFLAGS -std=c++17 -O3 -DUWS_NO_ZLIB -DLIBUS_NO_SSL -I../src -I../uSockets/src MockedHelloWorld.cpp uSocketsMock.o -o $OUT/MockedHelloWorld $LIB_FUZZING_ENGINE
|
||||
|
||||
# Too small tests, failing coverage test
|
||||
# $CXX $CXXFLAGS -std=c++17 -O3 Extensions.cpp -o $OUT/Extensions $LIB_FUZZING_ENGINE
|
||||
# $CXX $CXXFLAGS -std=c++17 -O3 Handshake.cpp -o $OUT/Handshake $LIB_FUZZING_ENGINE
|
||||
make oss-fuzz
|
||||
|
|
Loading…
Reference in New Issue