Re: failed reading "Smallest x86 ELF Hello World"

2017-10-13 Thread Mark Wielaard
On Wed, 2017-10-04 at 20:55 +0200, Mark Wielaard wrote: > The first issue is indeed that almost anything that goes wrong when > setting up the initial Elf handle ends up being described as > ELF_E_INVALID_FILE. Which is not always the correct error code. So I > introduced ELF_E_INVALID_ELF which in

Re: failed reading "Smallest x86 ELF Hello World"

2017-10-04 Thread Mark Wielaard
On Thu, 2017-09-28 at 12:06 -0700, Josh Stone wrote: > From http://timelessname.com/elfbin/ > > Elfutils completely fails to read the file: > > $ eu-readelf --version > eu-readelf (elfutils) 0.169 > Copyright [...] > $ eu-readelf -a hello > eu-readelf: failed reading 'hello': invalid file descrip

failed reading "Smallest x86 ELF Hello World"

2017-09-28 Thread Josh Stone
>From http://timelessname.com/elfbin/ Elfutils completely fails to read the file: $ eu-readelf --version eu-readelf (elfutils) 0.169 Copyright [...] $ eu-readelf -a hello eu-readelf: failed reading 'hello': invalid file descriptor It's not clear that we should care, since that page even says it'