Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

peformat.h File Reference

Go to the source code of this file.

Compounds

struct  _PE_IMAGE_DOS_HEADER
struct  _PE_IMAGE_RESOURCE_DATA_ENTRY
struct  _PE_IMAGE_RESOURCE_DIRECTORY
struct  _PE_IMAGE_BASE_RELOCATION
struct  _PE_IMAGE_RESOURCE_DIRECTORY_ENTRY
struct  _PE_IMAGE_EXPORT_DIRECTORY
struct  _PE_IMAGE_IMPORT_BY_NAME
struct  _PE_IMAGE_DATA_DIRECTORY
struct  _PE_IMAGE_FILE_HEADER
struct  _PE_IMAGE_IMPORT_DESCRIPTOR
struct  _PE_IMAGE_NT_HEADERS
struct  _PE_IMAGE_OPTIONAL_HEADER
struct  _PE_IMAGE_SECTION_HEADER
struct  _PE_IMAGE_THUNK_DATA32
struct  CURSORDIR
struct  ICONRESDIR
struct  NEWHEADER
struct  RESDIR

Defines

#define PE_IMAGE_SIZEOF_SHORT_NAME   8
#define PE_IMAGE_NUMBEROF_DIRECTORY_ENTRIES   16
#define RESOURCE_ENTRY_GETID(e)   (e.u1.Name&0xffffu)
#define RESOURCE_ENTRY_ISSTRING(e)   ((e.u1.Name>>31)&1)
#define RESOURCE_ENTRY_NAME_OFFSET(e)   (e.u1.Name&0x7fffffff)
#define RESOURCE_ENTRY_ISDIRECTORY(e)   ((e.u2.OffsetToData>>31)&1)
#define RESOURCE_ENTRY_DATA_OFFSET(e)   (e.u2.OffsetToData&0x7fffffff)
#define IMAGE_REL_BASED_ABSOLUTE   0
#define IMAGE_REL_BASED_HIGH   1
#define IMAGE_REL_BASED_LOW   2
#define IMAGE_REL_BASED_HIGHLOW   3
#define IMAGE_REL_BASED_HIGHADJ   4
#define IMAGE_REL_BASED_MIPS_JMPADDR   5
#define IMAGE_REL_BASED_SECTION   6
#define IMAGE_REL_BASED_REL32   7
#define IMAGE_REL_BASED_MIPS_JMPADDR16   9
#define IMAGE_REL_BASED_IA64_IMM64   9
#define IMAGE_REL_BASED_DIR64   10
#define IMAGE_REL_BASED_HIGH3ADJ   11
#define IMAGE_FILE_MACHINE_UNKNOWN   0
#define IMAGE_FILE_MACHINE_I386   0x014c
#define IMAGE_FILE_MACHINE_R3000   0x0162
#define IMAGE_FILE_MACHINE_R4000   0x0166
#define IMAGE_FILE_MACHINE_R10000   0x0168
#define IMAGE_FILE_MACHINE_WCEMIPSV2   0x0169
#define IMAGE_FILE_MACHINE_ALPHA   0x0184
#define IMAGE_FILE_MACHINE_POWERPC   0x01F0
#define IMAGE_FILE_MACHINE_SH3   0x01a2
#define IMAGE_FILE_MACHINE_SH3E   0x01a4
#define IMAGE_FILE_MACHINE_SH4   0x01a6
#define IMAGE_FILE_MACHINE_ARM   0x01c0
#define IMAGE_FILE_MACHINE_THUMB   0x01c2
#define IMAGE_FILE_MACHINE_IA64   0x0200
#define IMAGE_FILE_MACHINE_MIPS16   0x0266
#define IMAGE_FILE_MACHINE_MIPSFPU   0x0366
#define IMAGE_FILE_MACHINE_MIPSFPU16   0x0466
#define IMAGE_FILE_MACHINE_ALPHA64   0x0284
#define IMAGE_FILE_MACHINE_AXP64   IMAGE_FILE_MACHINE_ALPHA64
#define IMAGE_FILE_RELOCS_STRIPPED   0x0001
#define IMAGE_FILE_EXECUTABLE_IMAGE   0x0002
#define IMAGE_FILE_LINE_NUMS_STRIPPED   0x0004
#define IMAGE_FILE_LOCAL_SYMS_STRIPPED   0x0008
#define IMAGE_FILE_AGGRESIVE_WS_TRIM   0x0010
#define IMAGE_FILE_LARGE_ADDRESS_AWARE   0x0020
#define IMAGE_FILE_BYTES_REVERSED_LO   0x0080
#define IMAGE_FILE_32BIT_MACHINE   0x0100
#define IMAGE_FILE_DEBUG_STRIPPED   0x0200
#define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP   0x0400
#define IMAGE_FILE_NET_RUN_FROM_SWAP   0x0800
#define IMAGE_FILE_SYSTEM   0x1000
#define IMAGE_FILE_DLL   0x2000
#define IMAGE_FILE_UP_SYSTEM_ONLY   0x4000
#define IMAGE_FILE_BYTES_REVERSED_HI   0x8000
#define IMAGE_FILE_MACHINE_UNKNOWN   0
#define IMAGE_FILE_MACHINE_I386   0x014c
#define IMAGE_FILE_MACHINE_R3000   0x0162
#define IMAGE_FILE_MACHINE_R4000   0x0166
#define IMAGE_FILE_MACHINE_R10000   0x0168
#define IMAGE_FILE_MACHINE_WCEMIPSV2   0x0169
#define IMAGE_FILE_MACHINE_ALPHA   0x0184
#define IMAGE_FILE_MACHINE_POWERPC   0x01F0
#define IMAGE_FILE_MACHINE_SH3   0x01a2
#define IMAGE_FILE_MACHINE_SH3E   0x01a4
#define IMAGE_FILE_MACHINE_SH4   0x01a6
#define IMAGE_FILE_MACHINE_ARM   0x01c0
#define IMAGE_FILE_MACHINE_THUMB   0x01c2
#define IMAGE_FILE_MACHINE_IA64   0x0200
#define IMAGE_FILE_MACHINE_MIPS16   0x0266
#define IMAGE_FILE_MACHINE_MIPSFPU   0x0366
#define IMAGE_FILE_MACHINE_MIPSFPU16   0x0466
#define IMAGE_FILE_MACHINE_ALPHA64   0x0284
#define IMAGE_FILE_MACHINE_AXP64   IMAGE_FILE_MACHINE_ALPHA64
#define IMAGE_SUBSYSTEM_UNKNOWN   0
#define IMAGE_SUBSYSTEM_NATIVE   1
#define IMAGE_SUBSYSTEM_WINDOWS_GUI   2
#define IMAGE_SUBSYSTEM_WINDOWS_CUI   3
#define IMAGE_SUBSYSTEM_OS2_CUI   5
#define IMAGE_SUBSYSTEM_POSIX_CUI   7
#define IMAGE_SUBSYSTEM_NATIVE_WINDOWS   8
#define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI   9
#define IMAGE_SCN_TYPE_NO_PAD   0x00000008
#define IMAGE_SCN_CNT_CODE   0x00000020
#define IMAGE_SCN_CNT_INITIALIZED_DATA   0x00000040
#define IMAGE_SCN_CNT_UNINITIALIZED_DATA   0x00000080
#define IMAGE_SCN_LNK_OTHER   0x00000100
#define IMAGE_SCN_LNK_INFO   0x00000200
#define IMAGE_SCN_LNK_REMOVE   0x00000800
#define IMAGE_SCN_LNK_COMDAT   0x00001000
#define IMAGE_SCN_NO_DEFER_SPEC_EXC   0x00004000
#define IMAGE_SCN_GPREL   0x00008000
#define IMAGE_SCN_MEM_FARDATA   0x00008000
#define IMAGE_SCN_MEM_PURGEABLE   0x00020000
#define IMAGE_SCN_MEM_16BIT   0x00020000
#define IMAGE_SCN_MEM_LOCKED   0x00040000
#define IMAGE_SCN_MEM_PRELOAD   0x00080000
#define IMAGE_SCN_ALIGN_1BYTES   0x00100000
#define IMAGE_SCN_ALIGN_2BYTES   0x00200000
#define IMAGE_SCN_ALIGN_4BYTES   0x00300000
#define IMAGE_SCN_ALIGN_8BYTES   0x00400000
#define IMAGE_SCN_ALIGN_16BYTES   0x00500000
#define IMAGE_SCN_ALIGN_32BYTES   0x00600000
#define IMAGE_SCN_ALIGN_64BYTES   0x00700000
#define IMAGE_SCN_ALIGN_128BYTES   0x00800000
#define IMAGE_SCN_ALIGN_256BYTES   0x00900000
#define IMAGE_SCN_ALIGN_512BYTES   0x00A00000
#define IMAGE_SCN_ALIGN_1024BYTES   0x00B00000
#define IMAGE_SCN_ALIGN_2048BYTES   0x00C00000
#define IMAGE_SCN_ALIGN_4096BYTES   0x00D00000
#define IMAGE_SCN_ALIGN_8192BYTES   0x00E00000
#define IMAGE_SCN_LNK_NRELOC_OVFL   0x01000000
#define IMAGE_SCN_MEM_DISCARDABLE   0x02000000
#define IMAGE_SCN_MEM_NOT_CACHED   0x04000000
#define IMAGE_SCN_MEM_NOT_PAGED   0x08000000
#define IMAGE_SCN_MEM_SHARED   0x10000000
#define IMAGE_SCN_MEM_EXECUTE   0x20000000
#define IMAGE_SCN_MEM_READ   0x40000000
#define IMAGE_SCN_MEM_WRITE   0x80000000
#define IMAGE_DOS_SIGNATURE   0x5A4D
#define IMAGE_NT_SIGNATURE   0x00004550
#define IMAGE_NT_OPTIONAL_HDR_MAGIC   0x10b
#define FIELD_OFFSET(type, field)   (((char*)&(((type *)0)->field))-((char*)0))
#define IMAGE_ORDINAL_FLAG   0x80000000
#define IMAGE_ORDINAL(Ordinal)   (Ordinal & 0xffff)
#define IMAGE_SNAP_BY_ORDINAL(Ordinal)   ((Ordinal & IMAGE_ORDINAL_FLAG) != 0)
#define IMAGE_DIRECTORY_ENTRY_EXPORT   0
#define IMAGE_DIRECTORY_ENTRY_IMPORT   1
#define IMAGE_DIRECTORY_ENTRY_RESOURCE   2
#define IMAGE_DIRECTORY_ENTRY_EXCEPTION   3
#define IMAGE_DIRECTORY_ENTRY_SECURITY   4
#define IMAGE_DIRECTORY_ENTRY_BASERELOC   5
#define IMAGE_DIRECTORY_ENTRY_DEBUG   6
#define IMAGE_DIRECTORY_ENTRY_ARCHITECTURE   7
#define IMAGE_DIRECTORY_ENTRY_GLOBALPTR   8
#define IMAGE_DIRECTORY_ENTRY_TLS   9
#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG   10
#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT   11
#define IMAGE_DIRECTORY_ENTRY_IAT   12
#define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT   13
#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR   14

Typedefs

typedef _PE_IMAGE_SECTION_HEADER PE_IMAGE_SECTION_HEADER
typedef _PE_IMAGE_FILE_HEADER PE_IMAGE_FILE_HEADER
typedef _PE_IMAGE_DATA_DIRECTORY PE_IMAGE_DATA_DIRECTORY
typedef _PE_IMAGE_OPTIONAL_HEADER PE_IMAGE_OPTIONAL_HEADER32
typedef _PE_IMAGE_OPTIONAL_HEADER PE_IMAGE_OPTIONAL_HEADER
typedef _PE_IMAGE_NT_HEADERS PE_IMAGE_NT_HEADERS32
typedef _PE_IMAGE_NT_HEADERS PE_IMAGE_NT_HEADERS
typedef _PE_IMAGE_IMPORT_DESCRIPTOR PE_IMAGE_IMPORT_DESCRIPTOR
typedef _PE_IMAGE_IMPORT_BY_NAME PE_IMAGE_IMPORT_BY_NAME
typedef _PE_IMAGE_EXPORT_DIRECTORY PE_IMAGE_EXPORT_DIRECTORY
typedef _PE_IMAGE_THUNK_DATA32 PE_IMAGE_THUNK_DATA32
typedef _PE_IMAGE_THUNK_DATA32 PE_IMAGE_THUNK_DATA
typedef _PE_IMAGE_BASE_RELOCATION PE_IMAGE_BASE_RELOCATION
typedef _PE_IMAGE_RESOURCE_DIRECTORY_ENTRY PE_IMAGE_RESOURCE_DIRECTORY_ENTRY
typedef _PE_IMAGE_RESOURCE_DIRECTORY PE_IMAGE_RESOURCE_DIRECTORY
typedef _PE_IMAGE_RESOURCE_DATA_ENTRY PE_IMAGE_RESOURCE_DATA_ENTRY
typedef _PE_IMAGE_DOS_HEADER PE_IMAGE_DOS_HEADER
typedef NEWHEADER NEWHEADER
typedef ICONRESDIR ICONRESDIR
typedef CURSORDIR CURSORDIR
typedef RESDIR RESDIR


Define Documentation

#define FIELD_OFFSET type,
field       (((char*)&(((type *)0)->field))-((char*)0))
 

Definition at line 361 of file peformat.h.

Referenced by PeFile::PeFile().

#define IMAGE_DIRECTORY_ENTRY_ARCHITECTURE   7
 

Definition at line 377 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_BASERELOC   5
 

Definition at line 374 of file peformat.h.

Referenced by main(), and PeFile::ParseRelocations().

#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT   11
 

Definition at line 381 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR   14
 

Definition at line 384 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_DEBUG   6
 

Definition at line 375 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT   13
 

Definition at line 383 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_EXCEPTION   3
 

Definition at line 372 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_EXPORT   0
 

Definition at line 369 of file peformat.h.

Referenced by main(), and PeFile::ParseExport().

#define IMAGE_DIRECTORY_ENTRY_GLOBALPTR   8
 

Definition at line 378 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_IAT   12
 

Definition at line 382 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_IMPORT   1
 

Definition at line 370 of file peformat.h.

Referenced by main(), and PeFile::ParseImport().

#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG   10
 

Definition at line 380 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_RESOURCE   2
 

Definition at line 371 of file peformat.h.

Referenced by main(), and PeFile::ParseResource().

#define IMAGE_DIRECTORY_ENTRY_SECURITY   4
 

Definition at line 373 of file peformat.h.

#define IMAGE_DIRECTORY_ENTRY_TLS   9
 

Definition at line 379 of file peformat.h.

#define IMAGE_DOS_SIGNATURE   0x5A4D
 

Definition at line 355 of file peformat.h.

Referenced by PeFile::PeFile().

#define IMAGE_FILE_32BIT_MACHINE   0x0100
 

Definition at line 260 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_AGGRESIVE_WS_TRIM   0x0010
 

Definition at line 257 of file peformat.h.

#define IMAGE_FILE_BYTES_REVERSED_HI   0x8000
 

Definition at line 267 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_BYTES_REVERSED_LO   0x0080
 

Definition at line 259 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_DEBUG_STRIPPED   0x0200
 

Definition at line 261 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_DLL   0x2000
 

Definition at line 265 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_EXECUTABLE_IMAGE   0x0002
 

Definition at line 254 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_LARGE_ADDRESS_AWARE   0x0020
 

Definition at line 258 of file peformat.h.

#define IMAGE_FILE_LINE_NUMS_STRIPPED   0x0004
 

Definition at line 255 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_LOCAL_SYMS_STRIPPED   0x0008
 

Definition at line 256 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_MACHINE_ALPHA   0x0184
 

Definition at line 275 of file peformat.h.

#define IMAGE_FILE_MACHINE_ALPHA   0x0184
 

Definition at line 275 of file peformat.h.

#define IMAGE_FILE_MACHINE_ALPHA64   0x0284
 

Definition at line 286 of file peformat.h.

#define IMAGE_FILE_MACHINE_ALPHA64   0x0284
 

Definition at line 286 of file peformat.h.

#define IMAGE_FILE_MACHINE_ARM   0x01c0
 

Definition at line 280 of file peformat.h.

#define IMAGE_FILE_MACHINE_ARM   0x01c0
 

Definition at line 280 of file peformat.h.

#define IMAGE_FILE_MACHINE_AXP64   IMAGE_FILE_MACHINE_ALPHA64
 

Definition at line 287 of file peformat.h.

#define IMAGE_FILE_MACHINE_AXP64   IMAGE_FILE_MACHINE_ALPHA64
 

Definition at line 287 of file peformat.h.

#define IMAGE_FILE_MACHINE_I386   0x014c
 

Definition at line 270 of file peformat.h.

#define IMAGE_FILE_MACHINE_I386   0x014c
 

Definition at line 270 of file peformat.h.

#define IMAGE_FILE_MACHINE_IA64   0x0200
 

Definition at line 282 of file peformat.h.

#define IMAGE_FILE_MACHINE_IA64   0x0200
 

Definition at line 282 of file peformat.h.

#define IMAGE_FILE_MACHINE_MIPS16   0x0266
 

Definition at line 283 of file peformat.h.

#define IMAGE_FILE_MACHINE_MIPS16   0x0266
 

Definition at line 283 of file peformat.h.

#define IMAGE_FILE_MACHINE_MIPSFPU   0x0366
 

Definition at line 284 of file peformat.h.

#define IMAGE_FILE_MACHINE_MIPSFPU   0x0366
 

Definition at line 284 of file peformat.h.

#define IMAGE_FILE_MACHINE_MIPSFPU16   0x0466
 

Definition at line 285 of file peformat.h.

#define IMAGE_FILE_MACHINE_MIPSFPU16   0x0466
 

Definition at line 285 of file peformat.h.

#define IMAGE_FILE_MACHINE_POWERPC   0x01F0
 

Definition at line 276 of file peformat.h.

#define IMAGE_FILE_MACHINE_POWERPC   0x01F0
 

Definition at line 276 of file peformat.h.

#define IMAGE_FILE_MACHINE_R10000   0x0168
 

Definition at line 273 of file peformat.h.

#define IMAGE_FILE_MACHINE_R10000   0x0168
 

Definition at line 273 of file peformat.h.

#define IMAGE_FILE_MACHINE_R3000   0x0162
 

Definition at line 271 of file peformat.h.

#define IMAGE_FILE_MACHINE_R3000   0x0162
 

Definition at line 271 of file peformat.h.

#define IMAGE_FILE_MACHINE_R4000   0x0166
 

Definition at line 272 of file peformat.h.

#define IMAGE_FILE_MACHINE_R4000   0x0166
 

Definition at line 272 of file peformat.h.

#define IMAGE_FILE_MACHINE_SH3   0x01a2
 

Definition at line 277 of file peformat.h.

#define IMAGE_FILE_MACHINE_SH3   0x01a2
 

Definition at line 277 of file peformat.h.

#define IMAGE_FILE_MACHINE_SH3E   0x01a4
 

Definition at line 278 of file peformat.h.

#define IMAGE_FILE_MACHINE_SH3E   0x01a4
 

Definition at line 278 of file peformat.h.

#define IMAGE_FILE_MACHINE_SH4   0x01a6
 

Definition at line 279 of file peformat.h.

#define IMAGE_FILE_MACHINE_SH4   0x01a6
 

Definition at line 279 of file peformat.h.

#define IMAGE_FILE_MACHINE_THUMB   0x01c2
 

Definition at line 281 of file peformat.h.

#define IMAGE_FILE_MACHINE_THUMB   0x01c2
 

Definition at line 281 of file peformat.h.

#define IMAGE_FILE_MACHINE_UNKNOWN   0
 

Definition at line 269 of file peformat.h.

#define IMAGE_FILE_MACHINE_UNKNOWN   0
 

Definition at line 269 of file peformat.h.

#define IMAGE_FILE_MACHINE_WCEMIPSV2   0x0169
 

Definition at line 274 of file peformat.h.

#define IMAGE_FILE_MACHINE_WCEMIPSV2   0x0169
 

Definition at line 274 of file peformat.h.

#define IMAGE_FILE_NET_RUN_FROM_SWAP   0x0800
 

Definition at line 263 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_RELOCS_STRIPPED   0x0001
 

Definition at line 253 of file peformat.h.

Referenced by main(), and PeFile::WriteFileHdr().

#define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP   0x0400
 

Definition at line 262 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_SYSTEM   0x1000
 

Definition at line 264 of file peformat.h.

Referenced by PeFile::WriteFileHdr().

#define IMAGE_FILE_UP_SYSTEM_ONLY   0x4000
 

Definition at line 266 of file peformat.h.

#define IMAGE_NT_OPTIONAL_HDR_MAGIC   0x10b
 

Definition at line 358 of file peformat.h.

Referenced by PeFile::PeFile().

#define IMAGE_NT_SIGNATURE   0x00004550
 

Definition at line 356 of file peformat.h.

Referenced by PeFile::PeFile().

#define IMAGE_ORDINAL Ordinal       (Ordinal & 0xffff)
 

Definition at line 364 of file peformat.h.

Referenced by PeFile::ParseImport().

#define IMAGE_ORDINAL_FLAG   0x80000000
 

Definition at line 363 of file peformat.h.

#define IMAGE_REL_BASED_ABSOLUTE   0
 

Definition at line 219 of file peformat.h.

Referenced by PeFile::WriteRelocation().

#define IMAGE_REL_BASED_DIR64   10
 

Definition at line 230 of file peformat.h.

#define IMAGE_REL_BASED_HIGH   1
 

Definition at line 220 of file peformat.h.

Referenced by PeFile::WriteRelocation().

#define IMAGE_REL_BASED_HIGH3ADJ   11
 

Definition at line 231 of file peformat.h.

#define IMAGE_REL_BASED_HIGHADJ   4
 

Definition at line 223 of file peformat.h.

Referenced by PeFile::WriteRelocation().

#define IMAGE_REL_BASED_HIGHLOW   3
 

Definition at line 222 of file peformat.h.

Referenced by AddRelocationInfo(), and PeFile::WriteRelocation().

#define IMAGE_REL_BASED_IA64_IMM64   9
 

Definition at line 229 of file peformat.h.

#define IMAGE_REL_BASED_LOW   2
 

Definition at line 221 of file peformat.h.

Referenced by PeFile::WriteRelocation().

#define IMAGE_REL_BASED_MIPS_JMPADDR   5
 

Definition at line 224 of file peformat.h.

#define IMAGE_REL_BASED_MIPS_JMPADDR16   9
 

Definition at line 228 of file peformat.h.

#define IMAGE_REL_BASED_REL32   7
 

Definition at line 226 of file peformat.h.

#define IMAGE_REL_BASED_SECTION   6
 

Definition at line 225 of file peformat.h.

#define IMAGE_SCN_ALIGN_1024BYTES   0x00B00000
 

Definition at line 340 of file peformat.h.

#define IMAGE_SCN_ALIGN_128BYTES   0x00800000
 

Definition at line 337 of file peformat.h.

#define IMAGE_SCN_ALIGN_16BYTES   0x00500000
 

Definition at line 334 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_ALIGN_1BYTES   0x00100000
 

Definition at line 330 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_ALIGN_2048BYTES   0x00C00000
 

Definition at line 341 of file peformat.h.

#define IMAGE_SCN_ALIGN_256BYTES   0x00900000
 

Definition at line 338 of file peformat.h.

#define IMAGE_SCN_ALIGN_2BYTES   0x00200000
 

Definition at line 331 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_ALIGN_32BYTES   0x00600000
 

Definition at line 335 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_ALIGN_4096BYTES   0x00D00000
 

Definition at line 342 of file peformat.h.

#define IMAGE_SCN_ALIGN_4BYTES   0x00300000
 

Definition at line 332 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_ALIGN_512BYTES   0x00A00000
 

Definition at line 339 of file peformat.h.

#define IMAGE_SCN_ALIGN_64BYTES   0x00700000
 

Definition at line 336 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_ALIGN_8192BYTES   0x00E00000
 

Definition at line 343 of file peformat.h.

#define IMAGE_SCN_ALIGN_8BYTES   0x00400000
 

Definition at line 333 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_CNT_CODE   0x00000020
 

Definition at line 310 of file peformat.h.

Referenced by PeSection::IsCode(), and PeFile::WriteSectionHdr().

#define IMAGE_SCN_CNT_INITIALIZED_DATA   0x00000040
 

Definition at line 311 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_CNT_UNINITIALIZED_DATA   0x00000080
 

Definition at line 312 of file peformat.h.

Referenced by RVAFileTranslator::RVAFileTranslator(), and PeFile::WriteSectionHdr().

#define IMAGE_SCN_GPREL   0x00008000
 

Definition at line 322 of file peformat.h.

#define IMAGE_SCN_LNK_COMDAT   0x00001000
 

Definition at line 318 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_LNK_INFO   0x00000200
 

Definition at line 315 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_LNK_NRELOC_OVFL   0x01000000
 

Definition at line 346 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_LNK_OTHER   0x00000100
 

Definition at line 314 of file peformat.h.

#define IMAGE_SCN_LNK_REMOVE   0x00000800
 

Definition at line 317 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_16BIT   0x00020000
 

Definition at line 326 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_DISCARDABLE   0x02000000
 

Definition at line 347 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_EXECUTE   0x20000000
 

Definition at line 351 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_FARDATA   0x00008000
 

Definition at line 323 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_LOCKED   0x00040000
 

Definition at line 327 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_NOT_CACHED   0x04000000
 

Definition at line 348 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_NOT_PAGED   0x08000000
 

Definition at line 349 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_PRELOAD   0x00080000
 

Definition at line 328 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_PURGEABLE   0x00020000
 

Definition at line 325 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_READ   0x40000000
 

Definition at line 352 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_SHARED   0x10000000
 

Definition at line 350 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_MEM_WRITE   0x80000000
 

Definition at line 353 of file peformat.h.

Referenced by PeFile::WriteSectionHdr().

#define IMAGE_SCN_NO_DEFER_SPEC_EXC   0x00004000
 

Definition at line 321 of file peformat.h.

#define IMAGE_SCN_TYPE_NO_PAD   0x00000008
 

Definition at line 307 of file peformat.h.

#define IMAGE_SNAP_BY_ORDINAL Ordinal       ((Ordinal & IMAGE_ORDINAL_FLAG) != 0)
 

Definition at line 365 of file peformat.h.

Referenced by PeFile::ParseImport().

#define IMAGE_SUBSYSTEM_NATIVE   1
 

Definition at line 292 of file peformat.h.

Referenced by PeFile::WriteOptionalHdr().

#define IMAGE_SUBSYSTEM_NATIVE_WINDOWS   8
 

Definition at line 297 of file peformat.h.

#define IMAGE_SUBSYSTEM_OS2_CUI   5
 

Definition at line 295 of file peformat.h.

Referenced by PeFile::WriteOptionalHdr().

#define IMAGE_SUBSYSTEM_POSIX_CUI   7
 

Definition at line 296 of file peformat.h.

Referenced by PeFile::WriteOptionalHdr().

#define IMAGE_SUBSYSTEM_UNKNOWN   0
 

Definition at line 291 of file peformat.h.

Referenced by PeFile::WriteOptionalHdr().

#define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI   9
 

Definition at line 298 of file peformat.h.

#define IMAGE_SUBSYSTEM_WINDOWS_CUI   3
 

Definition at line 294 of file peformat.h.

Referenced by PeFile::WriteOptionalHdr().

#define IMAGE_SUBSYSTEM_WINDOWS_GUI   2
 

Definition at line 293 of file peformat.h.

Referenced by PeFile::WriteOptionalHdr().

#define PE_IMAGE_NUMBEROF_DIRECTORY_ENTRIES   16
 

Definition at line 61 of file peformat.h.

#define PE_IMAGE_SIZEOF_SHORT_NAME   8
 

Definition at line 28 of file peformat.h.

#define RESOURCE_ENTRY_DATA_OFFSET      (e.u2.OffsetToData&0x7fffffff)
 

Definition at line 177 of file peformat.h.

Referenced by ParseResourceDirectory().

#define RESOURCE_ENTRY_GETID      (e.u1.Name&0xffffu)
 

Definition at line 169 of file peformat.h.

Referenced by ParseResourceDirectory().

#define RESOURCE_ENTRY_ISDIRECTORY      ((e.u2.OffsetToData>>31)&1)
 

Definition at line 175 of file peformat.h.

Referenced by ParseResourceDirectory().

#define RESOURCE_ENTRY_ISSTRING      ((e.u1.Name>>31)&1)
 

Definition at line 171 of file peformat.h.

Referenced by ParseResourceDirectory().

#define RESOURCE_ENTRY_NAME_OFFSET      (e.u1.Name&0x7fffffff)
 

Definition at line 173 of file peformat.h.

Referenced by ParseResourceDirectory().


Typedef Documentation

typedef struct CURSORDIR CURSORDIR
 

typedef struct ICONRESDIR ICONRESDIR
 

typedef struct NEWHEADER NEWHEADER
 

typedef struct _PE_IMAGE_BASE_RELOCATION PE_IMAGE_BASE_RELOCATION
 

typedef struct _PE_IMAGE_DATA_DIRECTORY PE_IMAGE_DATA_DIRECTORY
 

typedef struct _PE_IMAGE_DOS_HEADER PE_IMAGE_DOS_HEADER
 

typedef struct _PE_IMAGE_EXPORT_DIRECTORY PE_IMAGE_EXPORT_DIRECTORY
 

typedef struct _PE_IMAGE_FILE_HEADER PE_IMAGE_FILE_HEADER
 

typedef struct _PE_IMAGE_IMPORT_BY_NAME PE_IMAGE_IMPORT_BY_NAME
 

typedef struct _PE_IMAGE_IMPORT_DESCRIPTOR PE_IMAGE_IMPORT_DESCRIPTOR
 

typedef struct _PE_IMAGE_NT_HEADERS PE_IMAGE_NT_HEADERS
 

typedef struct _PE_IMAGE_NT_HEADERS PE_IMAGE_NT_HEADERS32
 

typedef struct _PE_IMAGE_OPTIONAL_HEADER PE_IMAGE_OPTIONAL_HEADER
 

typedef struct _PE_IMAGE_OPTIONAL_HEADER PE_IMAGE_OPTIONAL_HEADER32
 

typedef struct _PE_IMAGE_RESOURCE_DATA_ENTRY PE_IMAGE_RESOURCE_DATA_ENTRY
 

typedef struct _PE_IMAGE_RESOURCE_DIRECTORY PE_IMAGE_RESOURCE_DIRECTORY
 

typedef struct _PE_IMAGE_RESOURCE_DIRECTORY_ENTRY PE_IMAGE_RESOURCE_DIRECTORY_ENTRY
 

typedef struct _PE_IMAGE_SECTION_HEADER PE_IMAGE_SECTION_HEADER
 

typedef struct _PE_IMAGE_THUNK_DATA32 PE_IMAGE_THUNK_DATA
 

typedef struct _PE_IMAGE_THUNK_DATA32 PE_IMAGE_THUNK_DATA32
 

typedef struct RESDIR RESDIR
 


Generated on Mon Jan 13 22:20:35 2003 for perdr by doxygen1.2.15