Re: Noop round trip through elf_update() causes segfaults

2023-12-30 Thread Daniel Xu
Hi Mark, On Sat, Dec 30, 2023, at 11:41 AM, Mark Wielaard wrote: > Hi Daniel, > > On Wed, Dec 27, 2023 at 08:40:09PM -0600, Daniel Xu wrote: >> I was working on code that adds an ELF section containing custom >> metadata to ELF binaries when I started getting odd segfaul

Noop round trip through elf_update() causes segfaults

2023-12-27 Thread Daniel Xu
Hi, I was working on code that adds an ELF section containing custom metadata to ELF binaries when I started getting odd segfaults in the added-to binary. I've managed to create a minimal reproducer with a couple interesting discoveries. The reproducer is available here: https://github.c