giit_rbpf/
lib.rs

1// Derived from uBPF <https://github.com/iovisor/ubpf>
2// Copyright 2015 Big Switch Networks, Inc
3//      (uBPF: VM architecture, parts of the interpreter, originally in C)
4// Copyright 2016 6WIND S.A. <quentin.monnet@6wind.com>
5//      (Translation to Rust, MetaBuff/multiple classes addition, hashmaps for syscalls)
6//
7// Licensed under the Apache License, Version 2.0 <http://www.apache.org/licenses/LICENSE-2.0> or
8// the MIT license <http://opensource.org/licenses/MIT>, at your option. This file may not be
9// copied, modified, or distributed except according to those terms.
10
11//! Virtual machine and JIT compiler for eBPF programs.
12#![warn(missing_docs)]
13#![doc(
14    html_logo_url = "https://raw.githubusercontent.com/qmonnet/rbpf/master/misc/rbpf.png",
15    html_favicon_url = "https://raw.githubusercontent.com/qmonnet/rbpf/master/misc/rbpf.ico"
16)]
17
18extern crate byteorder;
19extern crate combine;
20extern crate hash32;
21extern crate log;
22extern crate rand;
23extern crate thiserror;
24extern crate time;
25
26pub mod aligned_memory;
27mod asm_parser;
28pub mod assembler;
29pub mod call_frames;
30pub mod disassembler;
31pub mod ebpf;
32pub mod elf;
33pub mod error;
34pub mod fuzz;
35pub mod insn_builder;
36mod jit;
37pub mod memory_region;
38pub mod static_analysis;
39pub mod syscalls;
40pub mod user_error;
41pub mod verifier;
42pub mod vm;
43mod x86;