-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add bpf2c support for non-inlined local function calls (#3506)
* Skip subprograms when enumerating programs in an object Fixes #3885 Signed-off-by: Dave Thaler <[email protected]> * Work in progress Signed-off-by: Dave Thaler <[email protected]> * Temporarily use dthaler fork to get verifier fix Signed-off-by: Dave Thaler <[email protected]> * Pull some changes in from the calllocal branch Signed-off-by: Dave Thaler <[email protected]> * Update bpf2c Signed-off-by: Dave Thaler <[email protected]> * Cleanup Signed-off-by: Dave Thaler <[email protected]> * Use subprogram names as function names Signed-off-by: Dave Thaler <[email protected]> * Output subprograms Signed-off-by: Dave Thaler <[email protected]> * Fix output Signed-off-by: Dave Thaler <[email protected]> * Fixes for multiple programs per section Signed-off-by: Dave Thaler <[email protected]> * Temporarily use dthaler fork of ebpf-verifier Signed-off-by: Dave Thaler <[email protected]> * Fix bpf2c_fuzzer compilation Signed-off-by: Dave Thaler <[email protected]> * Update expected files for bpf2c_tests Signed-off-by: Dave Thaler <[email protected]> * Fix bug hit by test Signed-off-by: Dave Thaler <[email protected]> * Fix test Signed-off-by: Dave Thaler <[email protected]> * Fix test Signed-off-by: Dave Thaler <[email protected]> * Fix test Signed-off-by: Dave Thaler <[email protected]> * Fix fuzzer Signed-off-by: Dave Thaler <[email protected]> * Add support for calling helper functions from subprograms Signed-off-by: Dave Thaler <[email protected]> * Update comment per PR feedback Signed-off-by: Dave Thaler <[email protected]> * Add more comments Signed-off-by: Dave Thaler <[email protected]> --------- Signed-off-by: Dave Thaler <[email protected]>
- Loading branch information
Showing
166 changed files
with
2,195 additions
and
962 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
Submodule ebpf-verifier
updated
57 files
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
Oops, something went wrong.