Diff

Differences From Artifact [fd2b240781]:

To Artifact [cb7694cf17]:


33
34
35
36
37
38
39


40
41
42
43
44
45
46
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48







+
+







(
	set -e

	cd "${workdir}"
	mkdir "${inputdir}" "${outputdir}"

	echo $'GET /etc/passwd HTTP/1.1\x0d\x0aHost: example.com\x0d\x0a\x0d\x0a' > input/test-1
	echo $'GET / HTTP/1.1\x0d\x0aHost: example.com\x0d\x0a\x0d\x0a' > input/test-2
	echo $'GET / HTTP/1.1\x0d\x0aHost:\x0d\x0a\x0d\x0a' > input/test-3

	cd 'src'
	make distclean
	make CC=afl-gcc FILED_EXTRA_CFLAGS=-DFILED_TEST_AFL=1

	#export AFL_SKIP_CPUFREQ=1
	afl-fuzz -i "${inputdir}" -o "${outputdir}" -- ./filed