Quentin Monnet
|
487d0bd781
rbpf: Apply rustfmt on the whole repository
|
1 month ago |
Quentin Monnet
|
f190fc0530
clippy: Fix Clippy report
|
2 months ago |
Quentin Monnet
|
e41119db59
rbpf: Improve formatting, prepare/protect for rustfmt
|
2 months ago |
Godones
|
2c302ee5d9
feat: Add support for ebpf to ebpf call in assembler and disassembler
|
2 months ago |
Godones
|
b4bef82024
Add test cases and fix errors.
|
2 months ago |
Godones
|
3b85933a03
feat: add func call for jit
|
2 months ago |
Godones
|
f8f36569b8
feat: Add ebpf to ebpf call support
|
3 months ago |
hsqStephenZhang
|
9642917c9e
fix: add jmp insn unsigned extend unittest
|
5 months ago |
Quentin Monnet
|
b4079fedfc
src: Remove presumably unused Clippy directives
|
8 months ago |
Quentin Monnet
|
5d622130c2
src: Fix deprecated calls to 'feature = "cargo-clippy"'
|
8 months ago |
Quentin Monnet
|
a16cc00d8c
tests/ubpf_vm.rs: Add tests for arsh offset masking
|
1 year ago |
Quentin Monnet
|
7bebff57be
src/interpreter.rs: Fix left/right shifts implementation (mask offset)
|
1 year ago |
Quentin Monnet
|
9bd61f2dd7
tests/ubpf_vm.rs: Add non-regression tests for 32-bit divisions by 0
|
1 year ago |
Quentin Monnet
|
36bf0d646c
tests/ubpf_vm.rs: Add regression test for check_mem() addition overflow
|
1 year ago |
Quentin Monnet
|
7e8875e036
src/lib.rs: Add support for 32-bit jumps in interpreter and verifier
|
2 years ago |
Quentin Monnet
|
6936dcb558
src/lib.rs: Update behaviour for divisions by zero (interpreter)
|
2 years ago |
Quentin Monnet
|
9a1fdc9fc6
Replace license boilerplate with SPDX tags
|
2 years ago |
Quentin Monnet
|
153995b3a3
Let cargo-clippy lint the code
|
2 years ago |
jackcmay
|
f4bda9472c
Rename (#40)
|
6 years ago |
jackcmay
|
b31d366489
Exit gracefully on program exit (#38)
|
6 years ago |
jackcmay
|
4bcf67ad4c
Customizable verifier (#34)
|
6 years ago |
Quentin Monnet
|
fc834c71fb
src: handle errors in verifier instead of panic!()-ing
|
6 years ago |
Quentin Monnet
|
53b0fce923
Add BPF_J{LT,LE,SLT,SLE} instructions
|
7 years ago |
Bruce Mitchener
|
97e185c336
Configure rustc and clippy warnings.
|
7 years ago |
Rich Lane
|
79f794bb13
tests/ubpf_vm.rs: fix sign of immediates
|
8 years ago |
Rich Lane
|
d08279fc5c
tests/ubpf_vm.rs: use assembler
|
8 years ago |
Rich Lane
|
5a0f2ef657
tests: factor out tcp_sack data into a common file
|
8 years ago |
Rich Lane
|
0b8e232b1c
tests/ubpf_vm.rs: use assembler in test_vm_lddw
|
8 years ago |
Quentin Monnet
|
9044596a7f
src, tests, examples: replace vec. by slices in unit/doc tests and ex.
|
8 years ago |
Quentin Monnet
|
44c872d10f
rbpf: initial commit, interpreter and JIT work
|
8 years ago |