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