Re: [PATCH v4 07/17] dump: Allocate header

2022-07-29 Thread Janis Schoetterl-Glausch
On 7/26/22 11:22, Janosch Frank wrote: > Allocating the header lets us write it at a later time and hence also > allows us to change section and segment table offsets until we > finally write it. > Where are you making use of this? You set e_shstrndx in prepare_elf_section_hdrs, but that is not re

[PATCH v4 07/17] dump: Allocate header

2022-07-26 Thread Janosch Frank
Allocating the header lets us write it at a later time and hence also allows us to change section and segment table offsets until we finally write it. Signed-off-by: Janosch Frank Reviewed-by: Marc-André Lureau --- dump/dump.c | 127 +- include/