Skip to content

Commit

Permalink
Validate instructions (#593)
Browse files Browse the repository at this point in the history
* Validate instruction's reserved fields

Signed-off-by: Alan Jowett <[email protected]>

* Fix tests

Signed-off-by: Alan Jowett <[email protected]>

* PR feedback

Signed-off-by: Alan Jowett <[email protected]>

* PR feedback

Signed-off-by: Alan Jowett <[email protected]>

---------

Signed-off-by: Alan Jowett <[email protected]>
Co-authored-by: Alan Jowett <[email protected]>
  • Loading branch information
Alan-Jowett and Alan Jowett authored Oct 29, 2024
1 parent e6bf9d4 commit 3c639e6
Show file tree
Hide file tree
Showing 4 changed files with 1,026 additions and 0 deletions.
1 change: 1 addition & 0 deletions vm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ add_library("ubpf"
${public_header_list}

ebpf.h
ubpf_instruction_valid.c
ubpf_int.h
ubpf_jit_arm64.c
ubpf_jit.c
Expand Down
Loading

0 comments on commit 3c639e6

Please sign in to comment.