Linux ELF Implementation

From: dirty boy (slashdotcommacolon@hotmail.com)
Date: Sun Sep 01 2002 - 17:26:10 EST


hey people :)

i would be greatful if one of you knowledgeable people could settle a bet
for me...

im learning about the ELF specification with a friend of mine, were hoping
to get a better understanding of how these things work, and a wild idea
occurred to us - would it be possible to create a valid ELF executable from
purely printable ASCII characters ?

by that i mean, you would be able to literally cat > a.out and enter your
executable from the keyboard! it wouldnt have todo anything, just return
0...

the file wouldnt have to be portable, only the fields that the kernel is
going to notice would have to be present, so long as it executes!

im convinced the answer is no - but my friend says it is, he says hes seen
it done in PE format ( although we cant find it on the web ) and therefore
theres no reason why it couldnt be done in ELF.

Thanks so much!!

[ please cc me if possible, im not a subscriber and will save me waiting for
the responses to show up on google! ]

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:14 EST