Use private writable mmap when opening binaries and debug files (#624)
authorJonathon Anderson <17242663+blue42u@users.noreply.github.com>
Mon, 12 Aug 2019 23:15:35 +0000 (18:15 -0500)
committerTim Haines <thaines.astro@gmail.com>
Mon, 12 Aug 2019 23:15:35 +0000 (18:15 -0500)
commit66e458f886132fd68a6e68406c1bd6f4b9ad576c
treebac20240ee2d4f413bdecddfe74e3363581bf8ed
parent7e6b7685bef61ca5465e3f17a5e6b014eb4a29b4
Use private writable mmap when opening binaries and debug files (#624)

* Open debug files (privately) writable, to allow libelf to decompress sections.
* Fix for SEGV when performing endianness conversions in-place later.
common/src/MappedFile.C
elf/src/Elf_X.C
symtabAPI/src/Object-elf.C