Skip to main content

Questions tagged [executables]

For questions about executable binary files.

13 votes
0 answers
348 views

Executable formats used in Windows – PE, LE and NE – are extended from MS-DOS’s MZ executable format. This means that Windows binaries (including DLLs) can potentially be run as MS-DOS executables, ...
user3840170's user avatar
  • 27.5k
8 votes
1 answer
1k views

I'm looking at some COFF files for the NS32k CPU, and was wondering where the OS starts executing a loaded program. The fields of the file header are: unsigned short f_magic; // magic ...
John Källén's user avatar
17 votes
1 answer
1k views

The Portable Executable format defines a header field that specifies the Windows subsystem under which the executable is meant to run. Typically it is used to declare the executable as being a GUI or ...
user3840170's user avatar
  • 27.5k
18 votes
2 answers
2k views

The New Executable (NE) format used by 16-bit Windows and OS/2, and the multitasking ("European") MS-DOS 4, contains a "target operating system" field at byte offset 36h from the ...
Simon Kissane's user avatar
4 votes
3 answers
1k views

How can image files be extracted from a compiled executable which contains certain resource files? Precis on Resource Compilers Visual C++ 1.5 did have a 16 bit console based resource compiler rc.exe ...
Laurie Stearn's user avatar
19 votes
4 answers
4k views

I just came across this good question at SO: Why are global and static variables initialized to their default values? But I don't like any of the answers and I actually think it remains unanswered: ...
Lundin's user avatar
  • 1,024
4 votes
0 answers
158 views

I'm now poking around in the binary executable file format of the Acorn Archimedes family of computers, Arm Image Format or AIF. It doesn't have a magic word but the *nix file utility identifies them ...
hippietrail's user avatar
  • 8,214
11 votes
2 answers
1k views

Current macOS binary executable files use a format called "Mach-O" and prior to that there was the PEF "Preferred Object Format", and Wikipedia says "It was optimised for RISC ...
hippietrail's user avatar
  • 8,214
3 votes
2 answers
578 views

For a game reversing project, I am trying to undo linking with the C library performed by the MSC 5.1 C compiler+linker. To that end, I have created a simple executable that does nothing except ...
neuviemeporte's user avatar
6 votes
1 answer
1k views

The Rich Header was presumably introduced by Microsoft in a previous version of Visual Studio. What was its original purpose and how does it achieve this? Is DanS the designer, similar to MZ?
Single Malt's user avatar
  • 1,995
4 votes
1 answer
542 views

What are the initial contents of CPU registers at OS/2 1.x program startup? I know that CS, IP, DS, SS and SP are initialized based on the NE header. But what about the other registers? Are they ...
pts's user avatar
  • 5,499
12 votes
1 answer
726 views

I wrote a simple Win16 program in NASM assembly. It works on Windows 3.11. (Source code: https://github.com/pts/mininasm/blob/master/demo/hello/helljw16.nasm .) When I tried to combine the code and ...
pts's user avatar
  • 5,499
14 votes
1 answer
2k views

Many materials covering the layout of MZ executables (RBIL, for example, and even a comment in MS-DOS 2.0 source code) describe the word at offset +0x1a as the ‘overlay number’, with the value zero ...
user3840170's user avatar
  • 27.5k
11 votes
1 answer
730 views

Ralf Brown's Interrupt List describes a subvariant of the DOS int21/4Bh function with AL=01, where the program is loaded into memory and a PSP + stack are allocated for it, but the program is not ...
neuviemeporte's user avatar
8 votes
0 answers
465 views

According to the wikipedia article on the topic, the earliest executable compressor listed is Realia Spacemaker for IBM PC (since 1982, written by Robert B. K. Dewar, SM.COM, signature "MEMORY$&...
Leo B.'s user avatar
  • 22.3k

15 30 50 per page