Closed jarkkojs closed 3 months ago
Neither requesting to do anything, nor committing to implement it (although it is a possibility). Just first probing whether it is "thinkable" or "unthinkable" for Goblin so that no one wastes time for nothing ;-)
If it's apart of elf, it is likely fair game, some initial questions and comments:
otherwise this seems tentatively like something that I have no issue with adding, in principle.
OK, did not expect this quick response thanks! I'm on holiday for next week but will do a quick feasibility study and try to provide decent answers to your questions. Thank you.
Correction: I will do a quick feasibility study after next week ;-) So if you don't mind to keep the bug open up until end of week after next week I'd appreciate it. I might then even draft something to see if it will work or not.
In Enarx we've been heavily relying on Goblin, and use it generate ELF payload dynamically for the confidential computing VM and SGX hosts.
[1] is way too early draft to work with. So maybe some other day once this gets refined.
[1] https://www.ietf.org/archive/id/draft-thaler-bpf-elf-00.html
I've used Goblin to parse ELF and Mach-O but in some cases it would be convenient if Goblin was able to also parse eBPF ELF Profile without having to add external crate.