Files
bind9/tests/bench/Makefile.am
Tony Finch 04f3000dfc Fuzzing and benchmarking for dns_name_fromwire()
Since this is very sensitive code which has often had security
problems in many DNS implementations, it needs a decent amount of
validation. This fuzzer ensures that the new code has the same output
as the old code, and that it doesn't take longer than a second.

The benchmark uses the fuzzer's copy of the old dns_name_fromwire()
code to compare a number of scenarios: many compression pointers, many
labels, long labels, random data, with/without downcasing.
2022-11-17 08:45:17 +00:00

22 lines
355 B
Makefile

include $(top_srcdir)/Makefile.top
AM_CPPFLAGS += \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
-I$(top_srcdir)/fuzz
LDADD += \
$(LIBISC_LIBS) \
$(LIBDNS_LIBS)
noinst_PROGRAMS = \
ascii \
compress \
dns_name_fromwire \
siphash
dns_name_fromwire_SOURCES = \
$(top_builddir)/fuzz/old.c \
$(top_builddir)/fuzz/old.h \
dns_name_fromwire.c