Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/szymonkubica/micro-bpf-tools
Command line utility for custom compilation of eBPF programs compatible with rBPF
https://github.com/szymonkubica/micro-bpf-tools
Last synced: 7 days ago
JSON representation
Command line utility for custom compilation of eBPF programs compatible with rBPF
- Host: GitHub
- URL: https://github.com/szymonkubica/micro-bpf-tools
- Owner: SzymonKubica
- Created: 2024-01-25T19:45:53.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-27T22:05:56.000Z (7 months ago)
- Last Synced: 2024-06-28T00:32:27.563Z (7 months ago)
- Language: Rust
- Size: 344 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# micro-bpf-tools
Compilation and deployment toolkit for [micro-bpf](https://github.com/SzymonKubica/micro-bpf) (μBPF)
This repository contains a set of tools, scripts and definitions that
can be used to develop applications for microcontrollers using eBPF.It is meant to work in conjunction with [μBPF](https://github.com/SzymonKubica/mibpf) - a port of an eBPF VM for microcontrollers running [RIOT](https://www.riot-os.org/).
**micro-bpf-tools** consist of three separate packages:
- `tools`
- `common`
- `elf-utils`### `tools`
This module contains a CLI application which allows for compiling, verifying,
deploying and executing eBPF programs on microcontrollers running an instance of
the μBPF VM.### `common`
This module contains definitions of constants, structs and enums that are shared
between the CLI tool and the server application that is responsible for executing
instances of the VM on the target microcontrollers.### `elf-utils`
This module contains a set of functions responsible for modifying ELF files that
result from compiling eBPF programs. It is used by both the CLI tool and the
main application server to transform program into custom binary formats that
are specific to the implementation of the VM.It can also act as a static linker to allow for resolving relocations in the ELF
files directly on the target device.