PL_POINTERS

The PL_POINTERS structure contains pointers to important parts of the PE Header in the opened file.
PL_POINTERS{
DWORD plMZHeader
DWORD plPeHeader
DWORD plSectionsStart
DWORD plOptionalHeader
DWORD plDirectoriesStart
};
Members
plMZHeader
Contains pointer to the MZ Header start.
plPeHeader
Contains pointer to the Pe Header.
plSectionsStart
Contains pointer to the Section Table.
plOptionalHeader
Contains pointer to the Optional Header.
plDirectoriesStart
Contains pointer to the Directory Entries start.
Example use
|
.data? strucPointers PL_POINTERS <>
.code invoke plGetPeInfo, NULL, addr strucPointers , NULL
lea esi,offset strucPointers
mov eax,[esi].plSectionsStart
|
See Also

Pumqara <programs@mail.bg> 2004. All rights reserved.