Quentin Monnet
|
153995b3a3
Let cargo-clippy lint the code
|
2 年之前 |
Jack May
|
bb0e3a73ef
copy OperandSize, cleanup extern/use
|
6 年之前 |
Jack May
|
1a6f30fd9c
fix clippy errors: cast to more stick alignment, warning: not consumed copy
|
6 年之前 |
Quentin Monnet
|
53b0fce923
Add BPF_J{LT,LE,SLT,SLE} instructions
|
7 年之前 |
Quentin Monnet
|
c63bd3411a
src: fix all warnings from clippy, one way or another
|
8 年之前 |
Quentin Monnet
|
dfd9a065c7
src/ebpf.rs: add `Insn.to_array()` and `Insn.to_vec()` methods
|
8 年之前 |
Quentin Monnet
|
e7af284d83
src/ebpf.rs: derive `Clone` trait for `Insn`
|
8 年之前 |
Bruce Mitchener
|
abd2d83793
Fix spelling error in comment.
|
8 年之前 |
Quentin Monnet
|
9044596a7f
src, tests, examples: replace vec. by slices in unit/doc tests and ex.
|
8 年之前 |
Quentin Monnet
|
20bf842baf
src: add some additional style fixes thanks to rust-clippy
|
8 年之前 |
Jan-Erik Rediger
|
8d7042d5cc
Avoid unnecessary references or vectors
|
8 年之前 |
Jan-Erik Rediger
|
b8eec6a49f
Use slices everywhere instead of references to vectors
|
8 年之前 |
Quentin Monnet
|
3b0f80da29
src/ebpf.rs: add `to_insn_vec()` function
|
8 年之前 |
Quentin Monnet
|
0a90347fe2
src/ebpf.rs: add guard on idx in `get_insn()` function
|
8 年之前 |
Quentin Monnet
|
a4d1871576
src/ebpf.rs: document all constants about operation class, codes etc.
|
8 年之前 |
Quentin Monnet
|
115c4a362b
src: minor style and comments edit
|
8 年之前 |
Quentin Monnet
|
8c7c26d471
src: document API (EbpfVmMbuff, ...FixedMbuff, helpers, parts of ebpf)
|
8 年之前 |
Quentin Monnet
|
44c872d10f
rbpf: initial commit, interpreter and JIT work
|
8 年之前 |