-
Notifications
You must be signed in to change notification settings - Fork 316
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
Add API to create maps at runtime #935
base: main
Are you sure you want to change the base?
Conversation
This is in preparation of unifying map defs
Now both BtfMap and LegacyMap hold MapDef
✅ Deploy Preview for aya-rs-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Maps can be created at runtime, in which case they don't have any ELF info. Split the ELF bits into ElfMapData. This is in preparation of adding MapData::create() to create maps at runtime.
I'd be happy to review this when it's ready (if you're seeking review). I was just thinking about implementing this sort of functionality. |
+1 super interested in this API! |
@alessandrod, this pull request is now in conflict and requires a rebase. |
@alessandrod, this pull request is now in conflict and requires a rebase. |
@alessandrod, this pull request is now in conflict and requires a rebase. |
This change is