From: Chuck T. <ct...@gm...> - 2018-02-11 23:19:45
|
Hi I'm trying to use libelf to modify the file created from a core dump but am struggling with the right approach to use. Parts of the application work fine (e.g. modifying the ELF header), but modifying the Notes section is problematic. One attempt was to use the pointer returned from elf_rawfile() directly, but writing to this segfaults (I think) because libelf mmap's the file read-only. Are there any other approaches people would recommend? TIA. --chuck |