Skip to content
Snippets Groups Projects
Commit cbc75e86 authored by tophyan1's avatar tophyan1
Browse files

Add sample inputs

parent ab230874
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,9 @@ cp "main/inc/main.h" "fuzz_test/input/files"
cp "main/src/main.c" "fuzz_test/input/files"
cp "tree/inc/tree.h" "fuzz_test/input/files"
cp "tree/src/tree.c" "fuzz_test/input/files"
cp "main/tests/input_1.txt" "fuzz_test/input/sample_inputs"
cp "main/tests/input_2.txt" "fuzz_test/input/sample_inputs"
cp "main/tests/input_3.txt" "fuzz_test/input/sample_inputs"
export AFL_USE_ASAN=1
afl-clang-lto fuzz_test/input/files/main.c fuzz_test/input/files/tree.c -o fuzz_test/output/fuzzer
afl-fuzz -i fuzz_test/input/sample_inputs/ -o fuzz_test/output/ -V 3600 fuzz_test/output/fuzzer
\ No newline at end of file
i 1 one
i 2 two
i 3 three
i 4 four
i 5 five
p
c 1 one
c 2 two
c 3 three
c 4 four
c 5 five
p
e 1 one
e 2 two
e 3 three
e 4 four
e 5 five
p
c 1 one
c 2 two
c 3 three
c 4 four
c 5 five
p
q
i 1 one
i 2 two
i 3 three
i 4 four
i 5 five
p
c 1 one
c 2 two
c 3 three
c 4 four
c 5 five
p
x
p
c 1 one
c 2 two
c 3 three
c 4 four
c 5 five
p
q
i 1 one
i 2 two
i 3 three
i 4 four
i 5 five
p
e 1 one
e 2 two
e 1 one
e 9 nine
p
q
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment