https://sourceware.org/bugzilla/show_bug.cgi?id=31225
--- Comment #4 from Derek Bruening ---
> So I added one that checks various issues (and that fails before your
> suggested change). Please take a look:
>
> https://inbox.sourceware.org/elfutils-devel/20240201143858.930159-1-m...@klomp.org/
https://sourceware.org/bugzilla/show_bug.cgi?id=31225
--- Comment #2 from Derek Bruening ---
Our usage is inside a large complex code base that mmaps the file on its own.
It seems that any use of elf_memory() that has mapped the file on their own as
read-only will hit this.
I know it may not be
: UNCONFIRMED
Severity: normal
Priority: P2
Component: libelf
Assignee: unassigned at sourceware dot org
Reporter: bruening at google dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
When setting up libelf with