Mark Wielaard mark@klomp.org
Thu Jun 27 13:22:00 GMT 2019

On Tue, 2019-06-25 at 22:09 +0000, Sasha Da Rocha Pinheiro wrote:
>  What happens if I call elf64_newphdr() on the same Elf * but with
> different size_t __cnt? 

It creates a new phdr table for the Elf with cnt entries, whether or
not the phdr table existed or not. If cnt is zero any existing table is

>  What happens to the previous headers?

Using references to them become invalid.



More information about the Elfutils-devel mailing list