digplanet beta 1: Athena
Share digplanet:

Agriculture

Applied sciences

Arts

Belief

Business

Chronology

Culture

Education

Environment

Geography

Health

History

Humanities

Language

Law

Life

Mathematics

Nature

People

Politics

Science

Society

Technology

A hex dump of an executable real mode boot loader

In computing, an executable file causes a computer "to perform indicated tasks according to encoded instructions,"[1] as opposed to a data file that must be parsed by a program to be meaningful. These instructions are traditionally machine code instructions for a physical CPU. However, in a more general sense, a file containing instructions (such as bytecode) for a software interpreter may also be considered executable; even a scripting language source file may therefore be considered executable in this sense. The exact interpretation depends upon the use; while the term often refers only to machine code files, in the context of protection against computer viruses all files which cause potentially hazardous instruction execution, including scripts, are conveniently lumped together.

Contents

Generation of executable files [edit]

While an executable file can be hand-coded in machine language, it is far more usual to develop software as source code in a high-level language easily understood by humans, or in some cases an assembly language more complex for humans but more closely associated with machine code instructions. The high-level language is compiled into either an executable machine code file or a non-executable machine-code object file of some sort; the equivalent process on assembly language source code is called assembly. Several object files are linked to create the executable.

The same source code can be compiled to run under different operating systems, usually with minor operating-system-dependent features inserted in the source code to modify compilation according to the target. Conversion of existing source code for a different platform is called porting. Assembly-language source code, and executable programs, are not transportable in this way.

Interaction with computing platforms [edit]

Hardware [edit]

An executable comprises machine code for a particular processor or family of processors. Machine-code instructions for different processors are completely different and executables are totally incompatible.

Some dependence on the particular hardware, such as a particular graphics card may be coded into the executable. It is usual as far as possible to remove such dependencies from executable programs designed to run on a variety of different hardware, instead installing hardware-dependent device drivers on the computer, which the program interacts with in a standardised way.

Operating system [edit]

Some operating systems designate executable files by filename extension (such as .exe) or noted alongside the file in its metadata (such as by marking an "execute" permission in Unix-like operating systems). Most also check that the file has a valid executable file format to safeguard against random bit sequences inadvertently being run as instructions. Modern operating systems retain control over the computer's resources, requiring that individual programs make system calls to access privileged resources. Since each operating system family features its own system call architecture, executable files are generally tied to specific operating systems, or families of operating systems.

There are many tools available that make executable files made for one operating system work on another one by implementing a similar or compatible application binary interface. (For example Wine, which implements a Win32-compatible library for x86 processors)

When the binary interface of the hardware the executable was compiled for differs from the binary interface on which the executable is run, the program that does this translation is called an emulator. Different files that can execute but do not necessarily conform to a specific hardware binary interface, or instruction set, can be either represented in bytecode for Just-in-time compilation, or in source code for use in a scripting language. (see Shebang (Unix))

See also [edit]

References [edit]

  1. ^ "executable". Merriam-Webster's Online Dictionary. Merriam-Webster. Retrieved 2008-07-19. 

Original courtesy of Wikipedia: http://en.wikipedia.org/wiki/Executable — Please support Wikipedia.
A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia.
24716 videos foundNext > 

EXECUTABLE - GIANT BOMB WILL SMITH

An excerpt from the bombcast (11 22 11) http://www.giantbomb.com/podcast/?podcast_id=261 Will Smith Says the word "Executable" really really strange. Laughte...

How to Make Executable Files(.exe)

Heres a quick tutorial on how to use the built in iexpress.exe found in all Windows OS. Quite simple to do. If you any questions either comment or email me. ...

Revision 2013 - Executable Music Oldschool Competition

Revision 2013 Executable Music Oldschool Competition Compo Results: 01 335 Arkanoid's Revenge by Factor6 / H-Prg^GembaBoys 02 302 Abnormal People by Response...

HOW TO FIX F1 2011 "EXECUTABLE HAS STOPPED WORKING" HD

THIS TUTORIAL WILL SHOW YOU HOW TO FIX THE APP CRASH PROBLEM ON LOADING THE GAME F1 2011, STORAGE DEVICE FAILURE. YOU WILL HAVE TO RE ASSIGN THE DRIVING WHEE...

How to create an executable jar file in eclipse

How to create an executable jar file in eclipse, running jar file and structure of jar file. Part of JavaVids tutorials: http://www.javavids.com/

Make Java Executable

Step by Step Directions: http://goo.gl/cMDtR I've been asked many times to show how to make a java program executable. It is actually very easy to make Java ...

The Care and Feeding of Weird Machines Found in Executable Metadata [29c3]

The Care and Feeding of Weird Machines Found in Executable Metadata The Executable and Linkable Format (ELF) is omnipresent; related OS and library code is r...

How to fix Aliens Colonial Marines missing executable

THIS IS HOW TO FIX ALIENS COLONIAL MARINES missing executable ERROR PLEASE SUBSCRIBE LIKE OR EVEN COMMENT AND HAVE A NICE DAY.

How to Make MS Access Database Executable

In this tutorial we will learn about the same concept and will see how we can make an access database as executables. Don't forget to check out our site http...

Faronics Anti-Executable Standard 5.10 vs Blackhole exploit kit (Live Security Platinum)

Faronics Anti-Executable Standard 5.10 kontra Blackhole exploit kit (Live Security Platinum). System został obroniony przed złośliwym oprogramowaniem. Muzyka...

24716 videos foundNext > 

574 news items

 
Khaama Press
Sun, 21 Apr 2013 10:26:41 -0700

Officials in Afghanistan foreign affairs ministry on Sunday announced that the security agreement between Kabul and Washington will be executable in early 2015 once the two nations agrees on the terms and conditions of the pact. The officials further ...
 
Network World
Mon, 20 May 2013 09:27:00 -0700

The strings in the executable malware, the domain registrations and the malicious domains of which there are more than 600, where the word Appin can be discovered. Some email services tied to the cyber-espionage attack that show a banner containing the ...
 
ComputerworldUK (blog)
Mon, 20 May 2013 07:36:56 -0700

Oracle Policy Automation is a powerful platform to transform complex legislation, regulations, and policy documentation into executable software. It makes it easy for public-sector agencies to service citizens fairly, efficiently, and consistently ...
 
Moneycontrol.com
Mon, 20 May 2013 00:00:15 -0700

“NIIT Technologies is confident to do better than industry in FY14 helped by robust 12M order executable book of USD 252mn. It expect sustained momentum from its Manufacturing and Government clients specifically in the US and Asia markets. Europe is ...

Tech2

Tech2
Mon, 20 May 2013 02:30:39 -0700

Double-click on the Odin executable file. Odin will start up and you should see the phone connected to the utility and ready for flashing. To confirm this, the field "ID:COM" should have a light blue colour with "0:(ComXX)" written in it. (Please note ...
 
iProgrammer
Mon, 20 May 2013 02:43:12 -0700

You simply save Terra code into a .o file or executable. The team says you can think of it as a replacement for C++ template metaprogramming or C preprocessor X-Macros with better syntax. The Stanford team has released a paper, Terra: A Multi-stage ...
 
TechRadar UK
Sun, 19 May 2013 04:05:04 -0700

We'll replace the Sticky Keys executable with a command prompt, so that even without logging in, we can pull up a command line and change the password, then use it to log in. If you don't have a Windows installation disc, one option is to load up a ...
 
MMORPG
Sat, 18 May 2013 14:11:25 -0700

Also added the method to fix Error 0x80010009 in CFWs sharing the same keys (from 4.21 to 4.41) when a executable is greater than that of CFW. In this case, I made a custom implementation code from Ita PS3 Team:Using Sandungas suggestion, it uses ...
Loading

Oops, we seem to be having trouble contacting Twitter

Talk About Executable

You can talk about Executable with people all over the world in our discussions.

Support Wikipedia

A portion of the proceeds from advertising on Digplanet goes to supporting Wikipedia. Please add your support for Wikipedia!