Skip to content

Commit

Permalink
Fix fuzzers in CI/CD
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
  • Loading branch information
dthaler committed May 31, 2022
1 parent 472a859 commit dedcb38
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/cicd.yml
Expand Up @@ -178,20 +178,18 @@ jobs:
code_coverage: false
gather_dumps: true

# TODO: Enable this once a corpus is available.
#
#execution_context_fuzzer:
# needs: libfuzzer
# # Always run this job.
# if: github.event_name == 'schedule' || github.event_name == 'pull_request'
# uses: ./.github/workflows/reusable-test.yml
# with:
# name: execution_context_fuzzer
# test_command: execution_context_fuzzer.exe execution_context_fuzzer_corpus -use_value_profile=1 -max_total_time=1800
# build_artifact: Build-x64-fuzzer
# environment: windows-2019
# code_coverage: false
# gather_dumps: true
execution_context_fuzzer:
needs: libfuzzer
# Always run this job.
if: github.event_name == 'schedule' || github.event_name == 'pull_request'
uses: ./.github/workflows/reusable-test.yml
with:
name: execution_context_fuzzer
test_command: execution_context_fuzzer.exe execution_context_fuzzer_corpus -use_value_profile=1 -runs=3000
build_artifact: Build-x64-fuzzer
environment: windows-2019
code_coverage: false
gather_dumps: true

verifier_fuzzer:
needs: libfuzzer
Expand Down
3 changes: 3 additions & 0 deletions ebpf-for-windows.sln
Expand Up @@ -154,6 +154,9 @@ EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "execution_context_fuzzer", "tests\libfuzzer\execution_context\execution_context_fuzzer.vcxproj", "{6116AE11-5296-4DE9-8A8E-5380B789907E}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bpf2c_fuzzer", "tests\libfuzzer\bpf2c\bpf2c_fuzzer.vcxproj", "{A0A0D663-DCF7-4BB1-9DDB-7964C3C31603}"
ProjectSection(ProjectDependencies) = postProject
{B4AD72E3-754E-40CA-9CEA-D3F2C9170E51} = {B4AD72E3-754E-40CA-9CEA-D3F2C9170E51}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "verifier_fuzzer", "tests\libfuzzer\verifier\verifier_fuzzer.vcxproj", "{DCF12929-B975-4874-A80F-9EAF1CC5A5A0}"
EndProject
Expand Down
2 changes: 1 addition & 1 deletion tests/libfuzzer/README.md
Expand Up @@ -8,7 +8,7 @@ There are now four libFuzzer-based binaries:

* bpf2c_fuzzer
* core_helper_fuzzer
* execution_contet_fuzzer
* execution_context_fuzzer
* verifier_fuzzer

## Usage
Expand Down

0 comments on commit dedcb38

Please sign in to comment.