Support generating modules that can provide ability to access structs passed from native programs (e.g kernel) using BTF for golang and rust.
- Generating a WASM module that provide functions which can access a native struct using
base pointer, struct type name, field name. Information can be obtained from a BTF file and then hard-coded in the generated WASM module for acceleration.
This could be done in https://github.com/eunomia-bpf/c-struct-bindgen
Support generating modules that can provide ability to access structs passed from native programs (e.g kernel) using BTF for golang and rust.
base pointer,struct type name,field name. Information can be obtained from a BTF file and then hard-coded in the generated WASM module for acceleration.This could be done in https://github.com/eunomia-bpf/c-struct-bindgen