Skip to content

Commit 6547b2e

Browse files
authored
Add corpus support to local DotnetFuzzing runs and fuzz Deflate64 (#121019)
This PR introduces corpus support for the DotnetFuzzing project. Currently this works for local runs only (OneFuzz requires creating a special container for corpus, which probably needs to be done manually -- once per fuzzer, this is left for future work). Currently, some fuzzers (IMO incorrectly) use dictionaries as a replacement for lack of corpus support, which makes fuzzing inefficient. This PR prepares ground for future improvements in this regard. To validate the concept, this PR converts ZipArchive fuzzing to use corpus instead of a dictionary, and adds code to fuzz Deflate64 (for which we have managed implementation internal to reading ZipArchives).
1 parent d594a04 commit 6547b2e

24 files changed

+141
-48
lines changed

eng/pipelines/libraries/fuzzing/deploy-to-onefuzz.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ extends:
9090
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
9191
displayName: Send Base64UrlFuzzer to OneFuzz
9292

93+
- task: onefuzz-task@0
94+
inputs:
95+
onefuzzOSes: 'Windows'
96+
env:
97+
onefuzzDropDirectory: $(fuzzerProject)/deployment/Deflate64Fuzzer
98+
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
99+
displayName: Send Deflate64Fuzzer to OneFuzz
100+
93101
- task: onefuzz-task@0
94102
inputs:
95103
onefuzzOSes: 'Windows'
Binary file not shown.
Binary file not shown.
135 Bytes
Binary file not shown.
78 Bytes
Binary file not shown.
Binary file not shown.
36 Bytes
Binary file not shown.
40 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)