Commit dbc079a
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` via `subprocess` for extraction if available for speed, falling back to `archive` module.
- Refactor defensive checks in `fuzz_task`.1 parent 4785d35 commit dbc079a
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
331 | 332 | | |
332 | 333 | | |
333 | 334 | | |
334 | | - | |
335 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
336 | 339 | | |
337 | 340 | | |
338 | 341 | | |
| |||
0 commit comments