Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Officeyutong opened this issue Feb 21, 2023 · 1 comment
Open

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

Officeyutong opened this issue Feb 21, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Officeyutong
Copy link
Contributor

Officeyutong commented Feb 21, 2023

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

@Officeyutong Officeyutong added the enhancement New feature or request label Feb 21, 2023
@Officeyutong
Copy link
Contributor Author

@yunwei37 yunwei37 changed the title [FEATURE] Support CO-RE access for native structs [FEATURE] Support multi-language access for native structs Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant