Quote:
Originally Posted by adityamolugu
hi,
how does windows loader work???. i have a executable which does not follow PE format,but i am able to run that...hows that possible???
|
The portable executable isn't the only Windows executable in existance - could you be working with a
COM file? It's one 64k segment, no more, but possibly less.
Code:
+-------------------------+
00h | Old-style header info |
+-------------------------+
20h | Reserved |
+-------------------------+
3Ch | Offset to segmented |
| .EXE header |
+-------------------------+
40h | Relocation table and |
| MS-DOS stub program |
+-------------------------+
| Segmented .EXE Header |
| . |
| . |
| . |
Source:
http://support.microsoft.com/kb/65122