Add simple fuzzing dictionary

This commit is contained in:
Alex Hultman
2020-08-10 15:49:17 +02:00
parent 854aeeecb6
commit 330361f7b3
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
"get"
"post"
"get /"
"http/1.1"
"upgrade: websocket"
"\x0D\x0A"
"sec-websocket-key: dGhlIHNhbXBsZSBub25jZQ=="
"sec-websocket-version: 13"
"get / http/1.1"
"sec-websocket-extensions: permessage-deflate"
"sec-websocket-protocol: "
" "
+2
View File
@@ -9,6 +9,8 @@ OUT ?= .
WRAPPED_SYSCALLS = -Wl,--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:
# Copy dictionaries
cp *.dict $(OUT)
# libEpollFuzzer cases
# Compile uSockets without -flto
rm -rf *.o