-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfuzz.yaml
34 lines (33 loc) · 916 Bytes
/
fuzz.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
base: ubuntu:16.04
environment: # global env vars here
language: c
setup:
- sudo apt-get update
- sudo apt-get -y install cmake
- mkdir -p build.fuzzbuzz
- cd build.fuzzbuzz
- cmake .. -DENABLE_FUZZING=On -DFUZZ_ENTRY=FuzzerEntrypoint -DFUZZ_ENGINE=$FUZZ_ENGINE -DCMAKE_C_COMPILER=$FUZZ_CC -DCMAKE_CXX_COMPILER=$FUZZ_CXX
- cd ..
targets:
- name: d2char
language: c
setup:
- cd build.fuzzbuzz
- make fuzz_d2char
- cd ..
harness:
binary: ./build.fuzzbuzz/tests/fuzz/fuzz_d2char
sanitizers:
address: detect_stack_use_after_return=1
corpus: ./tests/fuzz/corpus/fuzz_d2char
- name: d2itemreader
language: c
setup:
- cd build.fuzzbuzz
- make fuzz_d2itemreader
- cd ..
harness:
binary: ./build.fuzzbuzz/tests/fuzz/fuzz_d2itemreader
sanitizers:
address: detect_stack_use_after_return=1
corpus: ./build.fuzzbuzz/tests/fuzz/corpus/fuzz_d2itemreader_gen