Ignore:
Timestamp:
Jul 23, 2002, 3:51:49 PM (23 years ago)
Author:
sandervl
Message:

Enhanced PE loader class to support files with PE image starting at an offset ..= 0 (custom build) & Fixes for memory map view with offset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagepeldr.h

    r5914 r8913  
    1 /* $Id: winimagepeldr.h,v 1.16 2001-06-06 10:01:48 phaller Exp $ */
     1/* $Id: winimagepeldr.h,v 1.17 2002-07-23 13:51:49 sandervl Exp $ */
    22
    33/*
     
    7676virtual ~Win32PeLdrImage();
    7777
    78         //reservedMem is address of memory reserved in peldr.dll (allocated before
    79         //any dlls are loaded, so that exes without fixups can be loaded at a low
    80         //address)
    81     virtual BOOL  init(ULONG reservedMem);
     78    //reservedMem: address of memory reserved in peldr.dll (allocated before
     79    //             any dlls are loaded, so that exes without fixups can be
     80    //             loaded at a low address)
     81    //ulPEOffset:  offset in file where real PE image starts
     82    virtual BOOL  init(ULONG reservedMem, ULONG ulPEOffset = 0);
    8283
    8384    virtual BOOL  insideModule(ULONG address);
     
    140141        Section               *section;
    141142
     143        //offset in executable image where real PE file starts (default 0)
     144        ULONG                 ulPEOffset;
     145
    142146        //internal flags (see FLAGS_PELDR_*)
    143147        DWORD                 dwFlags;
Note: See TracChangeset for help on using the changeset viewer.