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