bind9/fuzz
Tony Finch b171cacf4f Use a qp-trie for the zone table
This change makes the zone table lock-free for reads. Previously, the
zone table used a red-black tree, which is not thread safe, so the hot
read path acquired both the per-view mutex and the per-zonetable
rwlock. (The double locking was to fix to cleanup races on shutdown.)

One visible difference is that zones are not necessarily shut down
promptly: it depends on when the qp-trie garbage collector cleans up
the zone table. The `catz` system test checks several times that zones
have been deleted; the test now checks for zones to be removed from
the server configuration, instead of being fully shut down. The catz
test does not churn through enough zones to trigger a gc, so the zones
are not fully detached until the server exits.

After this change, it is still possible to improve the way we handle
changes to the zone table, for instance, batching changes, or better
compaction heuristics.
2023-04-05 12:38:11 +01:00
..
dns_master_load.in Add test case for issue-45178 2022-04-01 07:56:52 +00:00
dns_message_checksig.in Add seed to reproduce issue memory leak in dns_message_checktsig 2022-09-26 16:29:36 +02:00
dns_message_parse.in Add packet from issue #4189 2020-09-30 13:24:29 +00:00
dns_name_fromtext_target.in oss-fuzz: Improve interaction with fuzzing tools and add new tests in fuzz/ directory 2018-08-23 10:07:28 +02:00
dns_name_fromwire.in Fuzzing and benchmarking for dns_name_fromwire() 2022-11-17 08:45:17 +00:00
dns_qp.in Fuzz testing the qp-trie 2023-02-27 13:47:25 +00:00
dns_qpkey_name.in Fuzz testing the qp-trie 2023-02-27 13:47:25 +00:00
dns_rdata_fromtext.in Add seed that demonstrated INSIST triggered in isc_lex_gettoken 2022-03-01 16:05:39 -08:00
dns_rdata_fromwire_text.in add svcb fuzzing seed 2021-08-18 13:49:48 +10:00
isc_lex_getmastertoken.in Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
isc_lex_gettoken.in Mark setting operating system limits from named.conf as ancient 2022-12-07 19:40:00 +01:00
.gitignore Fuzz testing the qp-trie 2023-02-27 13:47:25 +00:00
afl.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
dns_master_load.c Add dns_master_loadbuffer() fuzzer 2022-02-24 10:02:56 +01:00
dns_message_checksig.c Use a qp-trie for the zone table 2023-04-05 12:38:11 +01:00
dns_message_parse.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
dns_name_fromtext_target.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
dns_name_fromwire.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
dns_qp.c A few qp-trie cleanups 2023-04-05 12:35:04 +01:00
dns_qpkey_name.c Fix Coverity complaints in the qp-trie tests 2023-04-03 15:10:47 +00:00
dns_rdata_fromtext.c Remove do-nothing header <isc/print.h> 2023-02-15 16:44:47 +00:00
dns_rdata_fromwire_text.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
fuzz.h Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
FUZZING.md Fix configure options in FUZZING.md 2022-02-24 11:12:02 +01:00
isc_lex_getmastertoken.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
isc_lex_gettoken.c Replace __attribute__((unused)) with ISC_ATTR_UNUSED attribute macro 2023-03-30 23:29:25 +02:00
libfuzzer.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
main.c Detect errors in fuzzer initialization 2022-09-27 11:21:38 +02:00
Makefile.am Build libtest even if CMOCKA is not available 2023-03-29 02:29:18 +00:00
old.c Fuzzing and benchmarking for dns_name_fromwire() 2022-11-17 08:45:17 +00:00
old.h Fuzzing and benchmarking for dns_name_fromwire() 2022-11-17 08:45:17 +00:00