-
Notifications
You must be signed in to change notification settings - Fork 245
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bpf2c fuzzer and execution context fuzzer to CI/CD (#1164)
* Enable bpf2c fuzzer and execution context fuzzer in CI/CD Signed-off-by: Dave Thaler <[email protected]> * Create bpf2c fuzzer corpus Signed-off-by: Dave Thaler <[email protected]> * Make absolute path and strip trailing slash from it. (#1175) Signed-off-by: Alan Jowett <[email protected]> Co-authored-by: Alan Jowett <[email protected]> * Add libsancov.lib when building fuzzer (#1179) * Add libsancov.lib when building fuzzer Signed-off-by: Alan Jowett <[email protected]> * upload artifacts as dumps Signed-off-by: Alan Jowett <[email protected]> Co-authored-by: Alan Jowett <[email protected]> * Bpf2c fuzzer fix build (#1180) * Disable caching of verifier cmake project for now Signed-off-by: Alan Jowett <[email protected]> * Fix dump upload path Signed-off-by: Alan Jowett <[email protected]> * Fix dump upload path Signed-off-by: Alan Jowett <[email protected]> * Fix crash dump upload Signed-off-by: Alan Jowett <[email protected]> * Add Execution Context corpus Signed-off-by: Alan Jowett <[email protected]> * Limit fuzzing to 15 minutes Signed-off-by: Alan Jowett <[email protected]> * Fix artifact path Signed-off-by: Alan Jowett <[email protected]> * Fix yaml to corectly upload artifacts Signed-off-by: Alan Jowett <[email protected]> * Fix yaml to corectly upload artifacts Signed-off-by: Alan Jowett <[email protected]> * Fix yaml to corectly upload artifacts Signed-off-by: Alan Jowett <[email protected]> Co-authored-by: Alan Jowett <[email protected]> * Bpf2c fuzzer fix build (#1182) * Disable caching of verifier cmake project for now Signed-off-by: Alan Jowett <[email protected]> * Limit fuzzing memory Signed-off-by: Alan Jowett <[email protected]> * Validate symbols offset Signed-off-by: Alan Jowett <[email protected]> Co-authored-by: Alan Jowett <[email protected]> * Reject maps that have no associated symbols Signed-off-by: Alan Jowett <[email protected]> Co-authored-by: Alan Jowett <[email protected]> Co-authored-by: Alan Jowett <[email protected]>
- Loading branch information
1 parent
4e3aace
commit e11f1d3
Showing
15 changed files
with
123 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
@echo off | ||
rem Copyright (c) Microsoft Corporation | ||
rem SPDX-License-Identifier: MIT | ||
rem | ||
rem Usage: create_bpf2c_corpus.bat <output_directory> | ||
echo set OUTPUTPATH=%1 | ||
set OUTPUTPATH=%1 | ||
rem Strip the \ from the end of the path if present. | ||
if %OUTPUTPATH:~-1% EQU \ set OUTPUTPATH=%OUTPUTPATH:~0,-1% | ||
xcopy /d /i /y "%OUTPUTPATH%\*.o" "%OUTPUTPATH%\bpf2c_fuzzer_corpus" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters