RE: Embedding stuff in ELF section of compiled module

2024-11-10 Thread Maxime Devos via General Guile related discussions
>TLDR; Is there a way to embed a bytevector into a ELF section of a compiled module (.go)? Yes, all (referenced) bytevectors end up somewhere. But going by the rest, it needs to be in some section in particular. >So, is there any way for adding section to the compiled ELF, something along like:

Re: Embedding stuff in ELF section of compiled module

2024-11-09 Thread Matt Wette
On 11/9/24 7:15 AM, Olivier Dion wrote: Hi, TLDR; Is there a way to embed a bytevector into a ELF section of a compiled module (.go)? I have a case where I want to generate bytevectors that follow an ABI for event description of static tracepoints. I would like this bytevector to be put into a