Skip to content

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

Description

@Officeyutong

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions