-
Notifications
You must be signed in to change notification settings - Fork 309
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
Added helper module for easier BTF object manipulation #530
base: main
Are you sure you want to change the base?
Conversation
…rmation about BTF objects Signed-off-by: Quentin JEROME <[email protected]>
Signed-off-by: Quentin JEROME <[email protected]>
✅ Deploy Preview for aya-rs-docs ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
* typedef were not handled properly and were generating wrong offsets * anonymous structures were not handled properly and were generating garbage members Signed-off-by: Quentin JEROME <[email protected]>
- When typedefs are nested - Offset issue when dealing with arrays Signed-off-by: Quentin JEROME <[email protected]>
- duplicated members under some conditions (it was not causing any functional issue) Signed-off-by: Quentin JEROME <[email protected]>
Does this PR provide any value until the rest of this functionality is built? |
Created a new module under btf module. The goal of this module is to provide higher level APIs to query BTF objects.
For the moment, APIs provide access to:
An example scenario of the implemented feature would be to give an easy access to information needed to implement CO-RE (whenever builtin CO-RE is not possible) manually by passing structure(s)/member(s) information down to eBPF.
This change is