https://github.com/ahrefs/ocaml-ubpf
OCaml bindings for the userspace eBPF VM
https://github.com/ahrefs/ocaml-ubpf
Last synced: 5 months ago
JSON representation
OCaml bindings for the userspace eBPF VM
- Host: GitHub
- URL: https://github.com/ahrefs/ocaml-ubpf
- Owner: ahrefs
- License: other
- Created: 2018-11-28T13:16:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-18T00:54:01.000Z (over 4 years ago)
- Last Synced: 2025-12-01T08:22:36.595Z (8 months ago)
- Language: C
- Size: 72.3 KB
- Stars: 12
- Watchers: 32
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
OCaml bindings for the [Userspace eBPF VM](https://github.com/iovisor/ubpf).
uBPF is patched to [initialize R2 with data size](https://github.com/iovisor/ubpf/pull/22)
and [build with -fPIC](https://github.com/iovisor/ubpf/pull/23).
[Example usage](example.ml)
Use [OCaml eBPF assembler](https://github.com/ygrek/ocaml-bpf) to assemble raw bpf in OCaml code.