Re: Question on how to copy an elf file and edit the .preinit_array section

2020-06-24 Thread Anastasios Andronidis via Elfutils-devel
Hello Mark, thanks a billion for you answer! You gave me a very good starting point! Kindly, Anastasios > On 19 Jun 2020, at 21:15, Mark Wielaard wrote: > > Hi, > > On Thu, 2020-06-11 at 15:25 +0100, Anastasios Andronidis via Elfutils- > devel wrote: >> Could someone please help me with this

Re: Question on how to copy an elf file and edit the .preinit_array section

2020-06-19 Thread Mark Wielaard
Hi, On Thu, 2020-06-11 at 15:25 +0100, Anastasios Andronidis via Elfutils- devel wrote: > Could someone please help me with this: > https://stackoverflow.com/questions/62293512/inject-a-preinit-array-section-in-an-elf-file-with-libelf > > I'm trying to do some runtime manipulation of an elf fil

Question on how to copy an elf file and edit the .preinit_array section

2020-06-11 Thread Anastasios Andronidis via Elfutils-devel
Hello everyone! Could someone please help me with this: https://stackoverflow.com/questions/62293512/inject-a-preinit-array-section-in-an-elf-file-with-libelf I'm trying to do some runtime manipulation of an elf file and I'm a little bit lost with how to use libelf :/ Basically I want to copy