bind9/fuzz
Evan Hunt afb424c9b6 simplify dns_name_fromtext() interface
previously, dns_name_fromtext() took both a target name and an
optional target buffer parameter, which could override the name's
dedicated buffer. this interface is unnecessarily complex.

we now have two functions, dns_name_fromtext() to convert text
into a dns_name that has a dedicated buffer, and dns_name_wirefromtext()
to convert text into uncompressed DNS wire format and append it to a
target buffer.

in cases where it really is necessary to have both, we can use
dns_name_fromtext() to load the dns_name, then dns_name_towire()
to append the wire format to the target buffer.
2025-02-25 12:53:25 -08: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 remove "sortlist" 2024-12-11 15:09:24 -08:00
isc_lex_gettoken.in remove "sortlist" 2024-12-11 15:09:24 -08: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 Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_message_checksig.c clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
dns_message_parse.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_name_fromtext_target.c simplify dns_name_fromtext() interface 2025-02-25 12:53:25 -08:00
dns_name_fromwire.c Remove offsets from the dns_name and dns_fixedname structures 2025-02-25 12:17:34 +01:00
dns_qp.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_qpkey_name.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_rdata_fromtext.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
dns_rdata_fromwire_text.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
fuzz.h Remove C++ support from the public header 2024-12-18 13:10:39 +01:00
FUZZING.md Fix configure options in FUZZING.md 2022-02-24 11:12:02 +01:00
isc_lex_getmastertoken.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
isc_lex_gettoken.c Remove redundant parentheses from the return statement 2024-11-19 12:27:22 +01:00
libfuzzer.sh Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
main.c Move the library init and shutdown to executables 2025-02-22 16:19:00 +01:00
Makefile.am Get the tests working with liburcu 2023-05-12 20:48:31 +01:00
old.c Remove offsets from the dns_name and dns_fixedname structures 2025-02-25 12:17:34 +01:00
old.h Fuzzing and benchmarking for dns_name_fromwire() 2022-11-17 08:45:17 +00:00