-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(svm): initial sbfv1 virtual machine (#478)
* initial svm implementation * geyser: remove needless allocation in a test * svm: include elf binary tests * svm: fix up some comments * svm: rename `registerFunction*` to `register*` * svm: clean up a bit * svm: fix some more comments * svm: remove `test_input.hex` * svm: don't leak if `getInstructions` fails * svm: rework the Elf parser to parse in stages * svm: remove confusing boolean * svm: return an error if `addr != offset` while parsing ro * address some final comments * svm: revert files-as-structs usage * svm: conform to style guide * svm: rename files to lowercase * svm: rename `ebpf.zig` to `sbpf.zig` * svm: rename to use `self` pattern --------- Co-authored-by: Drew Nutter <[email protected]>
- Loading branch information
1 parent
fbc554e
commit 7b961e8
Showing
19 changed files
with
4,127 additions
and
10 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.