Add dns_rdata_fromtext() fuzzer

... along with dns_rdataclass_fromtext and dns_rdatatype_fromtext

Most of the test binary is modified named-rrchecker. Main differences:
- reads single RR and exists
- does not refuse meta classes and rr types
We actually do have some fromtext code for meta-things so erroring out
in named-rrchecker would prevent us from testing this code.

Corpus has examples of all currently supported RR types. I did not do
any minimization but AFL does not complain on startup.

In future use command
diff -U0 \
	<(sed -n -e 's/^.*fromtext_\(.*\)(.*$/\1/p' lib/dns/code.h | \
		sort) \
	<(ls fuzz/dns_rdata_fromtext.in/)
to check for missing RR types.
76 jobs for !4718 with pspacek/fuzz-rdata-from-text in 41 minutes and 12 seconds (queued for 30 seconds)
latest detached
Status Job ID Name Coverage
  Autoconf
passed #1515772
linux amd64
autoreconf

00:00:18

 
  Precheck
passed #1515774
linux amd64
clang-format

00:00:17

passed #1515775
linux amd64
coccinelle

00:03:26

passed #1515776
linux amd64
danger

00:00:16

passed #1515773
linux amd64
misc

00:00:16

passed #1515777
linux amd64
tarball-create

00:01:28

 
  Build
passed #1515789
linux amd64
clang:asan

00:01:59

passed #1515793
linux amd64
clang:buster:amd64

00:00:55

passed #1515796
amd64 libvirt
clang:freebsd11:amd64

00:01:09

passed #1515797
amd64 libvirt
clang:freebsd12:amd64

00:01:05

passed #1515798
amd64 libvirt
clang:openbsd:amd64

00:02:24

passed #1515791
linux amd64
clang:tsan

00:01:10

passed #1515778
linux amd64
gcc:alpine3.12:amd64

00:00:51

passed #1515788
linux amd64
gcc:asan

00:01:27

passed #1515782
linux amd64
gcc:buster:amd64

00:00:38

passed #1515779
linux amd64
gcc:centos7:amd64

00:00:47

passed #1515780
linux amd64
gcc:centos8:amd64

00:00:50

passed #1515787
linux amd64
gcc:focal:amd64

00:00:49

passed #1515792
linux amd64
gcc:mutexatomics

00:00:48

passed #1515784
linux amd64
gcc:out-of-tree

00:00:50

passed #1515783
linux amd64
gcc:sid:amd64

00:01:00

passed #1515794
linux amd64
gcc:softhsm2.4

00:00:58

passed #1515795
linux amd64
gcc:softhsm2.6

00:01:01

passed #1515781
linux amd64
gcc:stretch:amd64

00:00:50

passed #1515790
linux amd64
gcc:tsan

00:00:56

passed #1515785
linux amd64
gcc:tumbleweed:amd64

00:00:51

passed #1515786
linux amd64
gcc:xenial:amd64

00:00:56

passed #1515799
amd64 windows
msvc:windows:amd64

00:00:48

 
  Unit
passed #1515810
linux amd64
unit:clang:asan

00:01:36

passed #1515814
linux amd64
unit:clang:buster:amd64

00:01:12

passed #1515817
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:35

passed #1515818
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:29

passed #1515819
amd64 libvirt
unit:clang:openbsd:amd64

00:03:23

passed #1515812
linux amd64
unit:clang:tsan

00:03:23

passed #1515800
linux amd64
unit:gcc:alpine3.12:amd64

00:01:19

passed #1515809
linux amd64
unit:gcc:asan

00:01:37

passed #1515804
linux amd64
unit:gcc:buster:amd64

00:02:16

passed #1515801
linux amd64
unit:gcc:centos7:amd64

00:01:16

passed #1515802
linux amd64
unit:gcc:centos8:amd64

00:01:07

passed #1515808
linux amd64
unit:gcc:focal:amd64

00:01:13

passed #1515813
linux amd64
unit:gcc:mutexatomics

00:01:06

passed #1515805
linux amd64
unit:gcc:sid:amd64

00:01:11

passed #1515815
linux amd64
unit:gcc:softhsm2.4

00:01:10

passed #1515863
linux amd64
unit:gcc:softhsm2.6

00:01:05

passed #1515803
linux amd64
unit:gcc:stretch:amd64

00:01:11

passed #1515811
linux amd64
unit:gcc:tsan

00:04:27

passed #1515806
linux amd64
unit:gcc:tumbleweed:amd64

00:01:10

passed #1515807
linux amd64
unit:gcc:xenial:amd64

00:01:08

failed #1515816
linux amd64
unit:gcc:softhsm2.6

00:01:10

 
  System
passed #1515830
linux amd64
system:clang:asan

00:13:47

passed #1515834
linux amd64
system:clang:buster:amd64

00:13:00

passed #1515837
amd64 libvirt
system:clang:freebsd11:amd64

00:12:21

passed #1515838
amd64 libvirt
system:clang:freebsd12:amd64

00:12:17

failed #1515864
linux amd64 allowed to fail
system:clang:tsan

00:15:16

passed #1515820
linux amd64
system:gcc:alpine3.12:amd64

00:12:31

passed #1515829
linux amd64
system:gcc:asan

00:13:54

passed #1515824
linux amd64
system:gcc:buster:amd64

00:13:15

passed #1515821
linux amd64
system:gcc:centos7:amd64

00:12:03

passed #1515822
linux amd64
system:gcc:centos8:amd64

00:12:20

passed #1515828
linux amd64
system:gcc:focal:amd64

00:11:53

passed #1515833
linux amd64
system:gcc:mutexatomics

00:13:08

passed #1515825
linux amd64
system:gcc:sid:amd64

00:11:59

passed #1515835
linux amd64
system:gcc:softhsm2.4

00:11:23

passed #1515836
linux amd64
system:gcc:softhsm2.6

00:11:29

passed #1515823
linux amd64
system:gcc:stretch:amd64

00:11:32

failed #1515865
linux amd64 allowed to fail
system:gcc:tsan

00:15:49

passed #1515826
linux amd64
system:gcc:tumbleweed:amd64

00:12:09

passed #1515827
linux amd64
system:gcc:xenial:amd64

00:11:03

failed #1515832
linux amd64 allowed to fail
system:clang:tsan

00:16:53

failed #1515831
linux amd64 allowed to fail
system:gcc:tsan

00:17:16

 
  Docs
passed #1515839
linux amd64
docs

00:00:45

 
  Postcheck
passed #1515843
linux amd64
cppcheck

00:00:42

passed #1515840
linux amd64
flake8

00:00:19

passed #1515844
linux amd64
gcov

00:00:34

76.0%
passed #1515841
linux amd64
pylint

00:00:21

passed #1515842
linux amd64
scan-build

00:04:33

 
Name Stage Failure
failed
system:gcc:tsan System
FAIL pipelined (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1725 files

Uploading artifacts as "archive" to coordinator... ok
id=1515865 responseStatus=201 Created token=nMYtpM9Q
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:clang:tsan System
FAIL pipelined (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1745 files

Uploading artifacts as "archive" to coordinator... ok
id=1515864 responseStatus=201 Created token=FC1YJWUL
Cleaning up file based variables
ERROR: Job failed: exit code 1