Mark Wielaard <[email protected]> writes: > On Mon, 2013-12-16 at 11:16 -0800, Josh Stone wrote: >> Is that a problem to use libelfP.h? I see this going on elsewhere, in >> elflint, readelf, libdw/cfi.h, and a few places in libdwfl. At least >> fildes is a pretty unassuming detail of the implementation, IMO. > > In this case however I do think it shows something "fishy" is going > on. An Elf might or might not be backed by a fildes (anymore). Like > when elf_cntl (elf, ELF_C_FDREAD) has already been called.
Also if the Elf was constructed by an elf_memory call. PM
