Starship
Starship copied to clipboard
Prototyping a libbpf wasm binding library for wasmtime
There is a test repo in https://github.com/eunomia-bpf/wasmtime-test, where they are trying to mirage to wasmtime.
Some problems related to wasmtime is reported in https://github.com/bytecodealliance/wasmtime/issues/5775
An issue for tracking this is opened in https://github.com/eunomia-bpf/wasm-bpf/issues/15
https://github.com/eunomia-bpf/WasmEdge/tree/master/plugins/wasm-bpf Need to show how to use wasmedge go sdk to work with ebpf object file
https://github.com/eunomia-bpf/c-struct-bindgen#usage---genereate-struct-to-struct-binding JSON string output from c struct
Any updates @yunwei37
see https://github.com/eunomia-bpf/WasmEdge, we have a wasmedge libbpf plugin in https://github.com/eunomia-bpf/WasmEdge/tree/master/plugins/wasm-bpf
You can directly use this plugin with wasmedge go sdk, see https://wasmedge.org/book/en/sdk/go.html
BPF programs can run inside wasmedge, without any changes to the outside host sdks.