Skip to content

Commit 20f269d

Browse files
committed
Fix fuzzers in CI/CD
Signed-off-by: Dave Thaler <[email protected]>
1 parent 6f4a6df commit 20f269d

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

.github/workflows/cicd.yml

+13-15
Original file line numberDiff line numberDiff line change
@@ -172,26 +172,24 @@ jobs:
172172
uses: ./.github/workflows/reusable-test.yml
173173
with:
174174
name: core_helper_fuzzer
175-
test_command: core_helper_fuzzer core_helper_corpus -max_len=139 -runs=3000 -use_value_profile=1
175+
test_command: core_helper_fuzzer core_helper_corpus -max_len=139 -runs=2000 -use_value_profile=1
176176
build_artifact: Build-x64-fuzzer
177177
environment: windows-2019
178178
code_coverage: false
179179
gather_dumps: true
180180

181-
# TODO: Enable this once a corpus is available.
182-
#
183-
#execution_context_fuzzer:
184-
# needs: libfuzzer
185-
# # Always run this job.
186-
# if: github.event_name == 'schedule' || github.event_name == 'pull_request'
187-
# uses: ./.github/workflows/reusable-test.yml
188-
# with:
189-
# name: execution_context_fuzzer
190-
# test_command: execution_context_fuzzer.exe execution_context_fuzzer_corpus -use_value_profile=1 -max_total_time=1800
191-
# build_artifact: Build-x64-fuzzer
192-
# environment: windows-2019
193-
# code_coverage: false
194-
# gather_dumps: true
181+
execution_context_fuzzer:
182+
needs: libfuzzer
183+
# Always run this job.
184+
if: github.event_name == 'schedule' || github.event_name == 'pull_request'
185+
uses: ./.github/workflows/reusable-test.yml
186+
with:
187+
name: execution_context_fuzzer
188+
test_command: execution_context_fuzzer.exe execution_context_fuzzer_corpus -use_value_profile=1 -runs=3000
189+
build_artifact: Build-x64-fuzzer
190+
environment: windows-2019
191+
code_coverage: false
192+
gather_dumps: true
195193

196194
verifier_fuzzer:
197195
needs: libfuzzer

ebpf-for-windows.sln

+3
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ EndProject
154154
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "execution_context_fuzzer", "tests\libfuzzer\execution_context\execution_context_fuzzer.vcxproj", "{6116AE11-5296-4DE9-8A8E-5380B789907E}"
155155
EndProject
156156
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bpf2c_fuzzer", "tests\libfuzzer\bpf2c\bpf2c_fuzzer.vcxproj", "{A0A0D663-DCF7-4BB1-9DDB-7964C3C31603}"
157+
ProjectSection(ProjectDependencies) = postProject
158+
{B4AD72E3-754E-40CA-9CEA-D3F2C9170E51} = {B4AD72E3-754E-40CA-9CEA-D3F2C9170E51}
159+
EndProjectSection
157160
EndProject
158161
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "verifier_fuzzer", "tests\libfuzzer\verifier\verifier_fuzzer.vcxproj", "{DCF12929-B975-4874-A80F-9EAF1CC5A5A0}"
159162
EndProject

0 commit comments

Comments
 (0)