diff options
author | Andrei Pavel <andrei@isc.org> | 2024-10-15 11:41:41 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2024-10-23 15:40:31 +0200 |
commit | a96168e7625541f15fc58811104c8da0303646f4 (patch) | |
tree | ae63bde11d86d1276c6efe4bb000a24c5e6486c7 /configure.ac | |
parent | [#3605] Remove extra semis (diff) | |
download | kea-a96168e7625541f15fc58811104c8da0303646f4.tar.xz kea-a96168e7625541f15fc58811104c8da0303646f4.zip |
[#3605] Integrate a new fuzzing solution in Kea
The solution is based on clusterfuzzlite, libfuzzer, and oss-fuzz
technologies.
- Add the .clusterfuzzlite directory.
- Add the fuzz CI stage and fuzzing CI jobs.
- Add the fuzzing targets in the fuzz directory.
- Document fuzzing in doxygen.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 59dbdee819..2aa669f9aa 100644 --- a/configure.ac +++ b/configure.ac @@ -1428,6 +1428,10 @@ AC_ARG_ENABLE([fuzzing], AC_MSG_RESULT("no. Fuzzing requires C++17 support.") AC_MSG_ERROR("Fuzzing requires C++17 support.") fi + if test "${enable_gtest}" = 'no'; then + AC_MSG_RESULT("no. Fuzzing requires gtest to be enabled.") + AC_MSG_ERROR("Fuzzing requires gtest to be enabled.") + fi enable_fuzzing=${enableval}], [enable_fuzzing=no] ) @@ -1503,6 +1507,7 @@ if (echo ${runstatedir} | grep -q localstatedir); then runstatedir="$(eval echo ${runstatedir})" fi +AC_CONFIG_FILES([kea_version.h]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([doc/Makefile]) AC_CONFIG_FILES([doc/sphinx/Makefile]) @@ -1510,7 +1515,9 @@ AC_CONFIG_FILES([doc/devel/Makefile]) AC_CONFIG_FILES([ext/Makefile]) AC_CONFIG_FILES([ext/gtest/Makefile]) AC_CONFIG_FILES([ext/coroutine/Makefile]) -AC_CONFIG_FILES([kea_version.h]) +AC_CONFIG_FILES([fuzz/Makefile]) +AC_CONFIG_FILES([fuzz/input/Makefile]) +AC_CONFIG_FILES([fuzz/tests/Makefile]) AC_CONFIG_FILES([m4macros/Makefile]) AC_CONFIG_FILES([src/Makefile]) AC_CONFIG_FILES([src/bin/Makefile]) |