Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

pestruct.h File Reference

#include "global.h"
#include "tools.h"
#include "coff_s.h"

Go to the source code of this file.

Classes

struct  PE_DATA_DIRECTORY
struct  PE_DELAY_IMPORT_DESCRIPTOR
struct  PE_EXPORT_DIRECTORY
struct  PE_IL_DIRECTORY
struct  PE_IMPORT_DESCRIPTOR
struct  PE_OPTIONAL_HEADER32_NT
struct  PE_OPTIONAL_HEADER64_NT
struct  PE_RESOURCE_DATA_ENTRY
struct  PE_RESOURCE_DIRECTORY
struct  PE_RESOURCE_DIRECTORY_ENTRY
struct  PE_THUNK_DATA
struct  PE_THUNK_DATA_64

Defines

#define PE_MAGIC0   'P'
#define PE_MAGIC1   'E'
#define PE_MAGIC2   0
#define PE_MAGIC3   0
#define PE_NUMBEROF_DIRECTORY_ENTRIES   16
#define PE_SUBSYSTEM_NATIVE   1
#define PE_SUBSYSTEM_WINDOWS_GUI   2
#define PE_SUBSYSTEM_WINDOWS_CUI   3
#define PE_SUBSYSTEM_OS2_CUI   5
#define PE_SUBSYSTEM_POSIX_CUI   7
#define PE_SUBSYSTEM_RESERVED8   8
#define PE_SUBSYSTEM_CE_GUI   9
#define PE_SUBSYSTEM_EFI_APPLICATION   10
#define PE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER   11
#define PE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12
#define PE_DIRECTORY_ENTRY_EXPORT   0
#define PE_DIRECTORY_ENTRY_IMPORT   1
#define PE_DIRECTORY_ENTRY_RESOURCE   2
#define PE_DIRECTORY_ENTRY_EXCEPTION   3
#define PE_DIRECTORY_ENTRY_SECURITY   4
#define PE_DIRECTORY_ENTRY_BASERELOC   5
#define PE_DIRECTORY_ENTRY_DEBUG   6
#define PE_DIRECTORY_ENTRY_COPYRIGHT   7
#define PE_DIRECTORY_ENTRY_GLOBALPTR   8
#define PE_DIRECTORY_ENTRY_TLS   9
#define PE_DIRECTORY_ENTRY_LOAD_CONFIG   10
#define PE_DIRECTORY_ENTRY_BOUND_IMPORT   11
#define PE_DIRECTORY_ENTRY_IAT   12
#define PE_DIRECTORY_ENTRY_DELAY_IMPORT   13
#define PE_DIRECTORY_ENTRY_IL   14
#define PE_RESOURCE_NAME_IS_STRING   0x80000000
#define PE_RESOURCE_DATA_IS_DIRECTORY   0x80000000
#define PE_IL_DIRECTORY_ATTRIBUTES_HAD_NATIVE   0x1
#define PE_IL_DIRECTORY_ATTRIBUTES_INT64   0x2

Variables

byte PE_DATA_DIRECTORY_struct []
byte PE_OPTIONAL_HEADER32_NT_struct []
byte PE_OPTIONAL_HEADER64_NT_struct []
byte PE_EXPORT_DIRECTORY_struct []
byte PE_THUNK_DATA_struct []
byte PE_THUNK_DATA_64_struct []
byte PE_IMPORT_DESCRIPTOR_struct []
byte PE_DELAY_IMPORT_DESCRIPTOR_struct []
byte PE_RESOURCE_DIRECTORY_struct []
byte PE_RESOURCE_DIRECTORY_ENTRY_struct []
byte PE_RESOURCE_DATA_ENTRY_struct []
byte PE_IL_DIRECTORY_struct []


Define Documentation

#define PE_DIRECTORY_ENTRY_BASERELOC   5
 

Definition at line 121 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_BOUND_IMPORT   11
 

Definition at line 127 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_COPYRIGHT   7
 

Definition at line 123 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_DEBUG   6
 

Definition at line 122 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_DELAY_IMPORT   13
 

Definition at line 129 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_EXCEPTION   3
 

Definition at line 119 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_EXPORT   0
 

Definition at line 116 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_GLOBALPTR   8
 

Definition at line 124 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_IAT   12
 

Definition at line 128 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_IL   14
 

Definition at line 130 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_IMPORT   1
 

Definition at line 117 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_LOAD_CONFIG   10
 

Definition at line 126 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_RESOURCE   2
 

Definition at line 118 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_SECURITY   4
 

Definition at line 120 of file pestruct.h.

#define PE_DIRECTORY_ENTRY_TLS   9
 

Definition at line 125 of file pestruct.h.

#define PE_IL_DIRECTORY_ATTRIBUTES_HAD_NATIVE   0x1
 

Definition at line 246 of file pestruct.h.

#define PE_IL_DIRECTORY_ATTRIBUTES_INT64   0x2
 

Definition at line 247 of file pestruct.h.

#define PE_MAGIC0   'P'
 

Definition at line 29 of file pestruct.h.

#define PE_MAGIC1   'E'
 

Definition at line 30 of file pestruct.h.

#define PE_MAGIC2   0
 

Definition at line 31 of file pestruct.h.

#define PE_MAGIC3   0
 

Definition at line 32 of file pestruct.h.

#define PE_NUMBEROF_DIRECTORY_ENTRIES   16
 

Definition at line 43 of file pestruct.h.

Referenced by ht_pe::init().

#define PE_RESOURCE_DATA_IS_DIRECTORY   0x80000000
 

Definition at line 217 of file pestruct.h.

#define PE_RESOURCE_NAME_IS_STRING   0x80000000
 

Definition at line 216 of file pestruct.h.

#define PE_SUBSYSTEM_CE_GUI   9
 

Definition at line 109 of file pestruct.h.

#define PE_SUBSYSTEM_EFI_APPLICATION   10
 

Definition at line 110 of file pestruct.h.

#define PE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER   11
 

Definition at line 111 of file pestruct.h.

#define PE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12
 

Definition at line 112 of file pestruct.h.

#define PE_SUBSYSTEM_NATIVE   1
 

Definition at line 103 of file pestruct.h.

#define PE_SUBSYSTEM_OS2_CUI   5
 

Definition at line 106 of file pestruct.h.

#define PE_SUBSYSTEM_POSIX_CUI   7
 

Definition at line 107 of file pestruct.h.

#define PE_SUBSYSTEM_RESERVED8   8
 

Definition at line 108 of file pestruct.h.

#define PE_SUBSYSTEM_WINDOWS_CUI   3
 

Definition at line 105 of file pestruct.h.

#define PE_SUBSYSTEM_WINDOWS_GUI   2
 

Definition at line 104 of file pestruct.h.


Variable Documentation

byte PE_DATA_DIRECTORY_struct[]
 

Definition at line 258 of file pestruct.h.

Referenced by ht_pe::init().

byte PE_DELAY_IMPORT_DESCRIPTOR_struct[]
 

Definition at line 265 of file pestruct.h.

byte PE_EXPORT_DIRECTORY_struct[]
 

Definition at line 261 of file pestruct.h.

byte PE_IL_DIRECTORY_struct[]
 

Definition at line 269 of file pestruct.h.

byte PE_IMPORT_DESCRIPTOR_struct[]
 

Definition at line 264 of file pestruct.h.

byte PE_OPTIONAL_HEADER32_NT_struct[]
 

Definition at line 259 of file pestruct.h.

Referenced by ht_pe::init().

byte PE_OPTIONAL_HEADER64_NT_struct[]
 

Definition at line 260 of file pestruct.h.

Referenced by ht_pe::init().

byte PE_RESOURCE_DATA_ENTRY_struct[]
 

Definition at line 268 of file pestruct.h.

byte PE_RESOURCE_DIRECTORY_ENTRY_struct[]
 

Definition at line 267 of file pestruct.h.

byte PE_RESOURCE_DIRECTORY_struct[]
 

Definition at line 266 of file pestruct.h.

byte PE_THUNK_DATA_64_struct[]
 

Definition at line 263 of file pestruct.h.

byte PE_THUNK_DATA_struct[]
 

Definition at line 262 of file pestruct.h.


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5