Commit 4785d35
committed
Optimize WEB_TESTS_URL download and extraction
- Add `web_tests_url` to `FuzzTaskInput` proto and recompile.
- Sign `WEB_TESTS_URL` in `fuzz_task` preprocess.
- In `utask_main`, if blackbox fuzzing, pass signed URL to `update_tests_if_needed`.
- In `update_tests_if_needed`, handle signed URL (downloading to file if http).
- Use `unzip -q` for extraction if available for speed, falling back to `archive` module.
- Refactor defensive checks in `fuzz_task`.1 parent 64260c1 commit 4785d35
File tree
2 files changed
+10
-11
lines changed- src/clusterfuzz/_internal/bot/tasks
- utasks
2 files changed
+10
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
| 328 | + | |
| 329 | + | |
331 | 330 | | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
| 331 | + | |
336 | 332 | | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
340 | | - | |
| 339 | + | |
341 | 340 | | |
342 | 341 | | |
343 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2098 | 2098 | | |
2099 | 2099 | | |
2100 | 2100 | | |
2101 | | - | |
| 2101 | + | |
2102 | 2102 | | |
2103 | 2103 | | |
2104 | 2104 | | |
| |||
0 commit comments