Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions projects/bind9/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ export CXXFLAGS="${CXXFLAGS} -fPIC -Wl,--allow-multiple-definition"

git apply --ignore-space-change --ignore-whitespace $SRC/patch.diff

meson setup build -Dfuzzing=oss-fuzz -Dcmocka=enabled \
-Dc_link_args="$CFLAGS" -Dcpp_link_args="$CXXFLAGS" \
-Dc_args="$CFLAGS" -Dcpp_args="$CXXFLAGS" \
-Ddefault_library=static -Dprefer_static=true
# Use valid value for -Dfuzzing (enabled/disabled/auto)
meson setup build -Dfuzzing=enabled -Dcmocka=enabled \
-Dc_link_args="$CFLAGS" -Dcpp_link_args="$CXXFLAGS" \
-Dc_args="$CFLAGS" -Dcpp_args="$CXXFLAGS" \
-Ddefault_library=static -Dprefer_static=true \
-Db_lto=false \
-Dnamed-lto=off
meson compile -C build fuzz_dns_master_load fuzz_dns_message_checksig fuzz_dns_message_parse fuzz_dns_name_fromtext_target fuzz_dns_name_fromwire fuzz_dns_qp fuzz_dns_qpkey_name fuzz_dns_rdata_fromtext fuzz_dns_rdata_fromwire_text fuzz_isc_lex_getmastertoken fuzz_isc_lex_gettoken --verbose

for fuzzname in fuzz_dns_master_load fuzz_dns_message_checksig fuzz_dns_message_parse fuzz_dns_name_fromtext_target fuzz_dns_name_fromwire fuzz_dns_qp fuzz_dns_qpkey_name fuzz_dns_rdata_fromtext fuzz_dns_rdata_fromwire_text fuzz_isc_lex_getmastertoken fuzz_isc_lex_gettoken; do
Expand Down
1 change: 0 additions & 1 deletion projects/bind9/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ auto_ccs:
- "pspacek@isc.org"
sanitizers:
- address
- undefined
main_repo: 'https://gitlab.isc.org/isc-projects/bind9.git'

fuzzing_engines:
Expand Down