<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Executable</id>
	<title>Executable - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sarg.dev/index.php?action=history&amp;feed=atom&amp;title=Executable"/>
	<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Executable&amp;action=history"/>
	<updated>2026-04-08T05:48:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.sarg.dev/index.php?title=Executable&amp;diff=150339&amp;oldid=prev</id>
		<title>imported&gt;DreamRimmer bot II: Standardise list-defined references format (bot)</title>
		<link rel="alternate" type="text/html" href="https://wiki.sarg.dev/index.php?title=Executable&amp;diff=150339&amp;oldid=prev"/>
		<updated>2025-11-18T14:34:46Z</updated>

		<summary type="html">&lt;p&gt;Standardise list-defined references format (&lt;a href=&quot;https://en.wikipedia.org/wiki/Bots/Requests_for_approval/DreamRimmer_bot_II_6&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Bots/Requests for approval/DreamRimmer bot II 6&quot;&gt;bot&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Data that causes a computer to follow indicated instructions}}&lt;br /&gt;
{{About|a general type of data|the specific file type used in some operating systems|.exe}}&lt;br /&gt;
{{Use dmy dates|date=December 2021|cs1-dates=y}}&lt;br /&gt;
{{Use list-defined references|date=December 2021}}&lt;br /&gt;
{{Program execution}}&lt;br /&gt;
[[File:Binary executable file2.png|thumb|A [[hex dump]] of an executable [[real mode]] loader. The first column consists of [[byte address|address]]es of the first byte in the second column, which comprises bytes of data in [[hexadecimal]] notation ([[Bit numbering#Bit significance and indexing|least significant byte]] first), and the last column consists of the corresponding [[ASCII]] form.&amp;lt;ref name=&amp;quot;Celovi_2022&amp;quot;/&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
In [[computing]], an &amp;#039;&amp;#039;&amp;#039;executable&amp;#039;&amp;#039;&amp;#039; is a [[computer resource|resource]] that a [[computer]] can use to control its behavior. As with all information in computing, it is [[data]], but distinct from data that does not imply a [[control flow|flow of control]].&amp;lt;ref name=&amp;quot;Mueller_2007&amp;quot; /&amp;gt; Terms such as &amp;#039;&amp;#039;&amp;#039;executable code&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;executable file&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;executable program&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;executable image&amp;#039;&amp;#039;&amp;#039; describe forms in which the information is represented and stored. A &amp;#039;&amp;#039;&amp;#039;native executable&amp;#039;&amp;#039;&amp;#039; is [[machine code]] and is directly executable at the [[instruction (computer science)|instruction level]] of a [[central processing unit|CPU]].&amp;lt;ref name=&amp;quot;MW_2008&amp;quot;/&amp;gt;&amp;lt;ref name=&amp;quot;GFG_2015&amp;quot;/&amp;gt; A [[Script (computer programming)|script]] is also executable although indirectly via an [[interpreter (computing)|interpreter]]. Intermediate executable code (such as [[bytecode]]) may be interpreted or converted to native code at runtime via [[just-in-time compilation]].&lt;br /&gt;
&lt;br /&gt;
==Native executable==&lt;br /&gt;
Even though it is technically possible to write a native executable directly in machine language, it is generally not done. It is far more convenient to develop software as [[human readable]] [[source code]] and to automate the generation of machine code via a [[software build|build]] [[toolchain]]. Today, most source code is a [[high-level language]] although it is still possible to use [[assembly language]] which is closely associated with machine code instructions. Many toolchains consist of a [[compiler]] that generates native code as a set of [[object file]]s and a [[linker (computing)|linker]] that generates a native executable from the object and other files. For assembly language, typically the translation tool is called an [[Assembler (computing)|assembler]] instead of a compiler.&lt;br /&gt;
&lt;br /&gt;
Object files are typically stored in a [[digital container format]] that supports structure in the machine code {{endash}} such as [[Executable and Linkable Format]] (ELF) or [[Portable Executable]] (PE), depending on the computing context.&amp;lt;ref name=&amp;quot;LB_2019&amp;quot;/&amp;gt; The format may support segregating code into sections such as [[.text]] (executable code), [[.data]] (initialized global and static variables), and [[.rodata]] (read-only data, such as constants and strings).&lt;br /&gt;
&lt;br /&gt;
Executable files typically include a [[runtime system]], which implements runtime language features (such as [[task scheduling]], [[exception handling]], calling static constructors and destructors, etc.) and interactions with the operating system, notably passing arguments, environment, and returning an [[exit status]], together with other startup and shutdown features such as releasing resources like [[file handle]]s. For C, this is done by linking in the [[crt0]] object, which contains the actual entry point and does setup and shutdown by calling the [[runtime library]].&amp;lt;ref name=&amp;quot;Fisher_2019&amp;quot;/&amp;gt; Executable files thus may contain significant code beyond that directly generated from the source code. In some cases, it is desirable to omit this, for example for embedded systems. In C, this can be done by omitting the usual runtime, and instead explicitly specifying a linker script, which generates the entry point and handles startup and shutdown, such as calling &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; to start and returning exit status to the kernel at the end.&amp;lt;ref name=&amp;quot;McKellar_2010&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To be executable, a file must conform to the system&amp;#039;s [[application binary interface]] (ABI). In simple interfaces, a file is executed by loading it into memory and jumping to the start of the address space and executing from there.&amp;lt;ref name=&amp;quot;Computer_2005&amp;quot;/&amp;gt; In more complicated interfaces, executable files have additional [[metadata]], which may specify [[Relocation (computing)|relocations]] to be performed when the program is loaded, or the [[entry point]] address at which to start execution.&amp;lt;ref name=&amp;quot;Rusling_1999&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{Annotated link|Comparison of executable file formats}}&lt;br /&gt;
* {{Annotated link|Executable compression}}&lt;br /&gt;
* {{Annotated link|Executable text}}&lt;br /&gt;
* {{Annotated link|Object file}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;references&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Celovi_2022&amp;quot;&amp;gt;{{cite book|url=https://books.google.com/books?id=E4SFkfsOVaoC&amp;amp;pg=PA188|title=Embedded FreeBSD Cookbook|last=Celovi|first=Paul|publisher=[[Elsevier]]|date=2002|access-date=2022-03-06|pages=108, 187–188|isbn=1-5899-5004-6}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Computer_2005&amp;quot;&amp;gt;{{cite journal|title=The Architecture of Virtual Machines|last1=Smith|first1=James E.|author1-link=James E. Smith (engineer)|last2=Nair|first2=Ravi|journal=[[Computer (magazine)|Computer]]|date=2005-05-16|volume=38|issue=5|pages=33–34|doi=10.1109/MC.2005.173|url=http://digital.library.wisc.edu/1793/11154 }}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Fisher_2019&amp;quot;&amp;gt;{{cite web |url=https://www.lifewire.com/list-of-executable-file-extensions-2626061 |title=List of Executable File Extensions |author-last=Fisher |author-first=Tim |website=lifewire.com |language=en |access-date=2019-09-18}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;GFG_2015&amp;quot;&amp;gt;{{cite web |url=https://www.geeksforgeeks.org/machine-instructions/ |title=Machine Instructions |date=2015-11-03 |website=GeeksforGeeks |language=en-US |access-date=2019-09-18}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;LB_2019&amp;quot;&amp;gt;{{cite web |url=https://refspecs.linuxbase.org/elf/gabi4+/ch4.intro.html |title=Chapter 4: Object Files |website=refspecs.linuxbase.org |access-date=2019-09-18}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;McKellar_2010&amp;quot;&amp;gt;{{cite web |url=https://blogs.oracle.com/ksplice/entry/hello_from_a_libc_free |title=Hello from a libc-free world! (Part 1) |date=2010-03-16 |author-first=Jessica |author-last=McKellar}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Mueller_2007&amp;quot;&amp;gt;{{cite book|url=https://books.google.com/books?id=Ua819DVKQPwC&amp;amp;pg=PA24|title=Windows Administration at the Command Line for Windows Vista, Windows 2003, Windows XP, and Windows 2000|last=Mueller|first=John Paul|publisher=[[John Wiley &amp;amp; Sons]]|date=2007|access-date=2023-03-06|page=24|isbn=978-0-470-04616-6}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;MW_2008&amp;quot;&amp;gt;{{cite web |url=http://www.merriam-webster.com/dictionary/executable |title=executable |access-date=2008-07-19 |work=Merriam-Webster&amp;#039;s Online Dictionary |publisher=[[Merriam-Webster]]}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;Rusling_1999&amp;quot;&amp;gt;{{cite book|chapter-url=https://tldp.org/LDP/tlk/kernel/processes.html|chapter=Chapter 4 – Processes|title=The Linux Kernel|last=Rusling|first=David A.|date=1999|access-date=2023-03-06|at=sec. 4.8.1 – ELF}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;/references&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==External links==&lt;br /&gt;
* [http://whatis.techtarget.com/fileformat/EXE-Executable-file-program EXE File Format] at What Is&lt;br /&gt;
&lt;br /&gt;
{{Executables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer file systems]]&lt;br /&gt;
[[Category:Programming language implementation]]&lt;/div&gt;</summary>
		<author><name>imported&gt;DreamRimmer bot II</name></author>
	</entry>
</feed>