View Full Version : windows loader????
adityamolugu
03-17-2009, 03:29 AM
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???
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 (http://www.fileformat.info/format/com/corion.htm) file?  It's one 64k segment, no more, but possibly less.
        +-------------------------+
    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
vBulletin® v3.6.4, Copyright ©2000-2015, Jelsoft Enterprises Ltd.