btf2wit

Conversion from BTF to WIT.

```console Usage: btf2wit [OPTIONS]

Arguments:

Options: -o, --output-file
-h, --help Print help -V, --version Print version ```

Extract BTF info from DWARF

Use btf2wit to emit WIT info from BTF

btf2wit simple.bpf.o -o simple.wit

Use wit-bindgen to emit bindings for C and Rust

console wit-bindgen c simple.wit wit-bindgen rust simple.wit

For examples, please refer to examples/simple.

License

MIT