eunomia-bpf / wasm-bpf

WebAssembly library, toolchain and runtime for eBPF programs
https://eunomia.dev/wasm-bpf/
MIT License
380 stars 26 forks source link

[FEATURE] Support multi-language access for native structs #36

Open Officeyutong opened 1 year ago

Officeyutong commented 1 year ago

Support generating modules that can provide ability to access structs passed from native programs (e.g kernel) using BTF for golang and rust.

This could be done in https://github.com/eunomia-bpf/c-struct-bindgen

Officeyutong commented 1 year ago

https://webassembly.github.io/spec/core/appendix/index-instructions.html#index-instr