summaryrefslogtreecommitdiffstats
path: root/.clusterfuzzlite
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2024-10-23 15:40:32 +0200
committerAndrei Pavel <andrei@isc.org>2024-10-23 15:40:32 +0200
commit9f7d0a93ebf0e9af28c951c2abadb6b6da902070 (patch)
tree0da3cb421026d7a82fee8dd3da4962f20c08d901 /.clusterfuzzlite
parent[#3605] Razvan's fix for ASAN warnings in fuzzing (diff)
downloadkea-9f7d0a93ebf0e9af28c951c2abadb6b6da902070.tar.xz
kea-9f7d0a93ebf0e9af28c951c2abadb6b6da902070.zip
[#3605] Specialize HTTP fuzzers into v4 and v6
Diffstat (limited to '.clusterfuzzlite')
-rwxr-xr-x.clusterfuzzlite/build.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/.clusterfuzzlite/build.sh b/.clusterfuzzlite/build.sh
index 41f60f12ad..0a1662bfd8 100755
--- a/.clusterfuzzlite/build.sh
+++ b/.clusterfuzzlite/build.sh
@@ -35,12 +35,11 @@ install_kea() {
# Copy internal libraries.
# SC2156 (warning): Injecting filenames is fragile and insecure. Use parameters.
# shellcheck disable=SC2156
- find "/opt/kea/lib" -mindepth 1 -maxdepth 1 -exec sh -c "cp {} ${KEA_BUILD_DIR}" ';'
+ find "/opt/kea/lib" -mindepth 1 -maxdepth 1 -not -type d -exec sh -c "cp {} ${KEA_BUILD_DIR}" ';'
# Copy the binaries.
- for fuzzer in fuzz-config-kea-dhcp4 fuzz-packets-kea-dhcp4 fuzz-unix-socket-kea-dhcp4 \
- fuzz-config-kea-dhcp6 fuzz-packets-kea-dhcp6 fuzz-unix-socket-kea-dhcp6 \
- fuzz-http-endpoint \
+ for fuzzer in fuzz_config_kea_dhcp4 fuzz_http_endpoint_kea_dhcp4 fuzz_packets_kea_dhcp4 fuzz_unix_socket_kea_dhcp4 \
+ fuzz_config_kea_dhcp6 fuzz_http_endpoint_kea_dhcp6 fuzz_packets_kea_dhcp6 fuzz_unix_socket_kea_dhcp6 \
; do
cp "/opt/kea/sbin/${fuzzer}" "${OUT}/${fuzzer}"
# copy all required libraries