Page 1 of 1
A Question on Executable File Formats ELF and PE
Posted: Sat Nov 05, 2011 4:53 pm
by jammmie999
I have been researching the ELF and PE file formats, but there is one thing that I cannot seem to understand. The .text section contains the executable code, correct? I don't understand what format this code is in. I assume that it is not in the language that the executable. But what is it in? Binary seems the most logical of guesses as it is simply coped into memory to be executed (correct me if I am wrong). But I don't think it is binary as when I open an executable with a text editor I see no binary mostly just random garbage. Could someone please help to clarify.
Thanks
Re: A Question on Executable File Formats ELF and PE
Posted: Sat Nov 05, 2011 5:18 pm
by Combuster
I suggest you find a place for beginning programmers. You obviously lack the basics of how computers work. This question is off-topic here.
Re: A Question on Executable File Formats ELF and PE
Posted: Sat Nov 05, 2011 6:54 pm
by Brynet-Inc
Re: A Question on Executable File Formats ELF and PE
Posted: Sat Nov 05, 2011 10:35 pm
by AndrewBuckley
jammmie999 wrote:when I open an executable with a text editor I see no binary mostly just random garbage.
wow.
Re: A Question on Executable File Formats ELF and PE
Posted: Sun Nov 06, 2011 5:27 am
by JuEeHa
jammmie999 wrote:when I open an executable with a text editor I see no binary mostly just random garbage.
That random garbage IS binary. Everything in computers is in binary. Even this message. Learn about ascii(or utf-8), machine language and basic programmer knowledge before you ask more questions