Re: Questions regarding editing an elf executable

2020-06-25 Thread Mark Wielaard
Hi Anastasios, On Thu, 2020-06-25 at 02:46 +0100, Anastasios Andronidis via Elfutils- devel wrote: > My end goal is to add a DT_NEEDED entry into an arbitrary elf file, > but before this I should just print the DT_NEEDED entries like this: > > ```C > > // Some code that copies a source_elf_file

Questions regarding editing an elf executable

2020-06-24 Thread Anastasios Andronidis via Elfutils-devel
Hello everyone, please forgive my rather noob-ish question but I'm very confused on how libelf works. My end goal is to add a DT_NEEDED entry into an arbitrary elf file, but before this I should just print the DT_NEEDED entries like this: ```C // Some code that copies a source_elf_file to a