Alan Jowett

Results 37 comments of Alan Jowett

If code using this form of the instruction is passed to uBPF the behavior may be incorrect.

Blocked on availability of an ARM64 self-hosted runner.

Note: This also misses cases where we access memory retrieved from a map.

The model we are taking with Ebpf-on-Windows is to define all the inputs to types of eBPF programs and the signature of helper functions and have that provided to the...

Yep, Prevail tracks each BPF register and evaluates the control flow graph to determine safety. Not an expert on this myself, but based on my understanding a formal verification.

This was fixed with the addition of the ubpf_register_data_bounds_check function.

Thanks @joachimff. Would it be possible for you to create a PR with this change?

@pchaigno is there a reference doc for the relocation types in BPF ELF format? Something similar to [AMD64 ABI](http://refspecs.linuxbase.org/elf/x86_64-abi-0.99.pdf)? I was planning on adding support for maps and other type...

Something doesn't match here. lllvm defines only 2 relocation types for EBPF: R_BPF_64_64 = 1 R_BPF_64_32 = 10 See: [llvm/BinaryFormat/ELFRelocs/BPF.def](https://github.com/llvm/llvm-project/blob/master/llvm/include/llvm/BinaryFormat/ELFRelocs/BPF.def) Where does the type 2 in the code come from?...