xref: /aosp_15_r20/external/bc/tests/fuzzing/bc_afl_continue.yaml (revision 5a6e848804d15c18a0125914844ee4eb0bda4fcf)
1session_name: bc_afl_continue
2start_directory: ./
3
4windows:
5  - window_name: control
6    layout: even-horizontal
7    panes:
8      - shell_command:
9        - echo core | doas tee /proc/sys/kernel/core_pattern
10        - echo performance | doas tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
11  - window_name: bc11
12    layout: even-horizontal
13    panes:
14      - shell_command:
15        - export AFL_AUTORESUME=1
16        - export AFL_MAP_SIZE=5000000
17        - unset POSIXLY_CORRECT
18        - unset BC_BANNER
19        - unset BC_ENV_ARGS
20        - unset BC_LINE_LENGTH
21        - unset BC_SIGINT_RESET
22        - unset BC_TTY_MODE
23        - unset BC_PROMPT
24        - unset BC_EXPR_EXIT
25        - unset BC_DIGIT_CLAMP
26        - sleep 4
27        - afl-fuzz -i- -o tests/fuzzing/bc_outputs1 -p fast -M bc11 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
28  - window_name: bc12
29    layout: even-horizontal
30    panes:
31      - shell_command:
32        - export AFL_AUTORESUME=1
33        - export AFL_MAP_SIZE=5000000
34        - unset POSIXLY_CORRECT
35        - unset BC_BANNER
36        - unset BC_ENV_ARGS
37        - unset BC_LINE_LENGTH
38        - unset BC_SIGINT_RESET
39        - unset BC_TTY_MODE
40        - unset BC_PROMPT
41        - unset BC_EXPR_EXIT
42        - unset BC_DIGIT_CLAMP
43        - sleep 5
44        - afl-fuzz -i- -o tests/fuzzing/bc_outputs1 -p coe -z -S bc12 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
45  - window_name: bc13
46    layout: even-horizontal
47    panes:
48      - shell_command:
49        - export AFL_AUTORESUME=1
50        - export AFL_MAP_SIZE=5000000
51        - unset POSIXLY_CORRECT
52        - unset BC_BANNER
53        - unset BC_ENV_ARGS
54        - unset BC_LINE_LENGTH
55        - unset BC_SIGINT_RESET
56        - unset BC_TTY_MODE
57        - unset BC_PROMPT
58        - unset BC_EXPR_EXIT
59        - unset BC_DIGIT_CLAMP
60        - sleep 6
61        - afl-fuzz -i- -o tests/fuzzing/bc_outputs1 -p exploit -z -S bc13 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
62  - window_name: bc14
63    layout: even-horizontal
64    panes:
65      - shell_command:
66        - export AFL_AUTORESUME=1
67        - export AFL_MAP_SIZE=5000000
68        - unset POSIXLY_CORRECT
69        - unset BC_BANNER
70        - unset BC_ENV_ARGS
71        - unset BC_LINE_LENGTH
72        - unset BC_SIGINT_RESET
73        - unset BC_TTY_MODE
74        - unset BC_PROMPT
75        - unset BC_EXPR_EXIT
76        - unset BC_DIGIT_CLAMP
77        - sleep 7
78        - afl-fuzz -i- -o tests/fuzzing/bc_outputs1 -p explore -z -S bc14 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
79  - window_name: bc15
80    layout: even-horizontal
81    panes:
82      - shell_command:
83        - export AFL_AUTORESUME=1
84        - export AFL_MAP_SIZE=5000000
85        - unset POSIXLY_CORRECT
86        - unset BC_BANNER
87        - unset BC_ENV_ARGS
88        - unset BC_LINE_LENGTH
89        - unset BC_SIGINT_RESET
90        - unset BC_TTY_MODE
91        - unset BC_PROMPT
92        - unset BC_EXPR_EXIT
93        - unset BC_DIGIT_CLAMP
94        - sleep 9
95        - afl-fuzz -i- -o tests/fuzzing/bc_outputs1 -p exploit -S bc15 bin/bc -lqC -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
96  - window_name: bc21
97    layout: even-horizontal
98    panes:
99      - shell_command:
100        - export AFL_AUTORESUME=1
101        - export AFL_MAP_SIZE=5000000
102        - unset POSIXLY_CORRECT
103        - unset BC_BANNER
104        - unset BC_ENV_ARGS
105        - unset BC_LINE_LENGTH
106        - unset BC_SIGINT_RESET
107        - unset BC_TTY_MODE
108        - unset BC_PROMPT
109        - unset BC_EXPR_EXIT
110        - unset BC_DIGIT_CLAMP
111        - sleep 10
112        - afl-fuzz -i- -o tests/fuzzing/bc_outputs2 -p fast -M bc21 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
113  - window_name: bc22
114    layout: even-horizontal
115    panes:
116      - shell_command:
117        - export AFL_AUTORESUME=1
118        - export AFL_MAP_SIZE=5000000
119        - unset POSIXLY_CORRECT
120        - unset BC_BANNER
121        - unset BC_ENV_ARGS
122        - unset BC_LINE_LENGTH
123        - unset BC_SIGINT_RESET
124        - unset BC_TTY_MODE
125        - unset BC_PROMPT
126        - unset BC_EXPR_EXIT
127        - unset BC_DIGIT_CLAMP
128        - sleep 11
129        - afl-fuzz -i- -o tests/fuzzing/bc_outputs2 -p coe -z -S bc22 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
130  - window_name: bc23
131    layout: even-horizontal
132    panes:
133      - shell_command:
134        - export AFL_AUTORESUME=1
135        - export AFL_MAP_SIZE=5000000
136        - unset POSIXLY_CORRECT
137        - unset BC_BANNER
138        - unset BC_ENV_ARGS
139        - unset BC_LINE_LENGTH
140        - unset BC_SIGINT_RESET
141        - unset BC_TTY_MODE
142        - unset BC_PROMPT
143        - unset BC_EXPR_EXIT
144        - unset BC_DIGIT_CLAMP
145        - sleep 12
146        - afl-fuzz -i- -o tests/fuzzing/bc_outputs2 -p exploit -z -S bc23 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
147  - window_name: bc24
148    layout: even-horizontal
149    panes:
150      - shell_command:
151        - export AFL_AUTORESUME=1
152        - export AFL_MAP_SIZE=5000000
153        - unset POSIXLY_CORRECT
154        - unset BC_BANNER
155        - unset BC_ENV_ARGS
156        - unset BC_LINE_LENGTH
157        - unset BC_SIGINT_RESET
158        - unset BC_TTY_MODE
159        - unset BC_PROMPT
160        - unset BC_EXPR_EXIT
161        - unset BC_DIGIT_CLAMP
162        - sleep 13
163        - afl-fuzz -i- -o tests/fuzzing/bc_outputs2 -p explore -z -S bc24 bin/bc -lqc -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
164  - window_name: bc25
165    layout: even-horizontal
166    panes:
167      - shell_command:
168        - export AFL_AUTORESUME=1
169        - export AFL_MAP_SIZE=5000000
170        - unset POSIXLY_CORRECT
171        - unset BC_BANNER
172        - unset BC_ENV_ARGS
173        - unset BC_LINE_LENGTH
174        - unset BC_SIGINT_RESET
175        - unset BC_TTY_MODE
176        - unset BC_PROMPT
177        - unset BC_EXPR_EXIT
178        - unset BC_DIGIT_CLAMP
179        - sleep 14
180        - afl-fuzz -i- -o tests/fuzzing/bc_outputs2 -p exploit -S bc25 bin/bc -lqC -e "seed = 1280937142.20981723890730892738902938071028973408912703984712093" -f-
181  - window_name: dc11
182    layout: even-horizontal
183    panes:
184      - shell_command:
185        - export AFL_AUTORESUME=1
186        - export AFL_MAP_SIZE=5000000
187        - unset DC_ENV_ARGS
188        - unset DC_LINE_LENGTH
189        - unset DC_SIGINT_RESET
190        - unset DC_TTY_MODE
191        - unset DC_PROMPT
192        - unset DC_EXPR_EXIT
193        - unset DC_DIGIT_CLAMP
194        - sleep 15
195        - afl-fuzz -i- -o tests/fuzzing/dc_outputs -p fast -M dc11 bin/dc -xc -e "1280937142.20981723890730892738902938071028973408912703984712093j" -f-
196  - window_name: dc12
197    layout: even-horizontal
198    panes:
199      - shell_command:
200        - export AFL_AUTORESUME=1
201        - export AFL_MAP_SIZE=5000000
202        - unset DC_ENV_ARGS
203        - unset DC_LINE_LENGTH
204        - unset DC_SIGINT_RESET
205        - unset DC_TTY_MODE
206        - unset DC_PROMPT
207        - unset DC_EXPR_EXIT
208        - unset DC_DIGIT_CLAMP
209        - sleep 16
210        - afl-fuzz -i- -o tests/fuzzing/dc_outputs -p coe -z -S dc12 bin/dc -xc -e "1280937142.20981723890730892738902938071028973408912703984712093j" -f-
211  - window_name: dc13
212    layout: even-horizontal
213    panes:
214      - shell_command:
215        - export AFL_AUTORESUME=1
216        - export AFL_MAP_SIZE=5000000
217        - unset DC_ENV_ARGS
218        - unset DC_LINE_LENGTH
219        - unset DC_SIGINT_RESET
220        - unset DC_TTY_MODE
221        - unset DC_PROMPT
222        - unset DC_EXPR_EXIT
223        - unset DC_DIGIT_CLAMP
224        - sleep 17
225        - afl-fuzz -i- -o tests/fuzzing/dc_outputs -p exploit -z -S dc13 bin/dc -xc -e "1280937142.20981723890730892738902938071028973408912703984712093j" -f-
226  - window_name: dc14
227    layout: even-horizontal
228    panes:
229      - shell_command:
230        - export AFL_AUTORESUME=1
231        - export AFL_MAP_SIZE=5000000
232        - unset DC_ENV_ARGS
233        - unset DC_LINE_LENGTH
234        - unset DC_SIGINT_RESET
235        - unset DC_TTY_MODE
236        - unset DC_PROMPT
237        - unset DC_EXPR_EXIT
238        - unset DC_DIGIT_CLAMP
239        - sleep 18
240        - afl-fuzz -i- -o tests/fuzzing/dc_outputs -p explore -z -S dc14 bin/dc -xc -e "1280937142.20981723890730892738902938071028973408912703984712093j" -f-
241  - window_name: dc15
242    layout: even-horizontal
243    panes:
244      - shell_command:
245        - export AFL_AUTORESUME=1
246        - export AFL_MAP_SIZE=5000000
247        - unset DC_ENV_ARGS
248        - unset DC_LINE_LENGTH
249        - unset DC_SIGINT_RESET
250        - unset DC_TTY_MODE
251        - unset DC_PROMPT
252        - unset DC_EXPR_EXIT
253        - unset DC_DIGIT_CLAMP
254        - sleep 19
255        - afl-fuzz -i- -o tests/fuzzing/dc_outputs -p exploit -S dc15 bin/dc -xC -e "1280937142.20981723890730892738902938071028973408912703984712093j" -f-
256