Fix the --enable-fuzzers build
Failed with: fuzzer/HttpEcho.cpp:111:17: error: 'removeSockets' is a private member of 'SocketPoll' And: kit/Delta.hpp:208:(.text._ZN14DeltaGenerator14DeltaBitmapRow7initRowEPKjj[_ZN14DeltaGenerator14DeltaBitmapRow7initRowEPKjj]+0x127): undefined reference to `simd_initPixRowSimd' Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I6d980698b43ca3545d9eae5f40eabaf4e442ca17
This commit is contained in:
parent
7d0276c394
commit
a0944a0b5e
2 changed files with 7 additions and 3 deletions
|
@ -208,6 +208,7 @@ admin_fuzzer_SOURCES = \
|
|||
$(common_fuzzer_sources) \
|
||||
fuzzer/Admin.cpp
|
||||
admin_fuzzer_LDFLAGS = -fsanitize=fuzzer $(AM_LDFLAGS)
|
||||
admin_fuzzer_LDADD = libsimd.a
|
||||
|
||||
clientsession_fuzzer_CPPFLAGS = \
|
||||
-DKIT_IN_PROCESS=1 \
|
||||
|
@ -216,6 +217,7 @@ clientsession_fuzzer_SOURCES = \
|
|||
$(common_fuzzer_sources) \
|
||||
fuzzer/ClientSession.cpp
|
||||
clientsession_fuzzer_LDFLAGS = -fsanitize=fuzzer $(AM_LDFLAGS)
|
||||
clientsession_fuzzer_LDADD = libsimd.a
|
||||
|
||||
httpresponse_fuzzer_CPPFLAGS = \
|
||||
-DKIT_IN_PROCESS=1 \
|
||||
|
@ -224,6 +226,7 @@ httpresponse_fuzzer_SOURCES = \
|
|||
$(common_fuzzer_sources) \
|
||||
fuzzer/HttpResponse.cpp
|
||||
httpresponse_fuzzer_LDFLAGS = -fsanitize=fuzzer $(AM_LDFLAGS)
|
||||
httpresponse_fuzzer_LDADD = libsimd.a
|
||||
|
||||
httpecho_fuzzer_CPPFLAGS = \
|
||||
-DKIT_IN_PROCESS=1 \
|
||||
|
@ -233,6 +236,7 @@ httpecho_fuzzer_SOURCES = \
|
|||
$(common_fuzzer_sources) \
|
||||
fuzzer/HttpEcho.cpp
|
||||
httpecho_fuzzer_LDFLAGS = -fsanitize=fuzzer $(AM_LDFLAGS)
|
||||
httpecho_fuzzer_LDADD = libsimd.a
|
||||
|
||||
endif # ENABLE_LIBFUZZER
|
||||
|
||||
|
|
|
@ -619,6 +619,9 @@ public:
|
|||
wakeup();
|
||||
}
|
||||
|
||||
/// Remove all the sockets we own.
|
||||
void removeSockets();
|
||||
|
||||
bool isAlive() const { return (_threadStarted && !_threadFinished) || _runOnClientThread; }
|
||||
|
||||
/// Check if we should continue polling
|
||||
|
@ -855,9 +858,6 @@ private:
|
|||
/// Used to set the thread name and mark the thread as stopped when done.
|
||||
void pollingThreadEntry();
|
||||
|
||||
/// Remove all the sockets we own.
|
||||
void removeSockets();
|
||||
|
||||
/// Debug name used for logging.
|
||||
const std::string _name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue