This repository was archived by the owner on Jun 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Common PE Types and Enumerations
Steve Maillet edited this page Jun 5, 2016
·
4 revisions
#Philosophy The PE File format is expressed in terms of a number of common types. In code these are generally realized as a typedef or type alias of some sort to help ensure both clarity of code and correctness of use. This is preferred over use of raw primitive types directly as they convey no real meaning beyond their basic ranges.
##Table Index Many PE data structures store an index into a particular table index as a field. This table defines the type names used to store the index and which table it is an index into.
Name | underlying type | Description |
---|---|---|
StringTableIndex | unsigned 16 bit integer | Index into the string table (see: StringTables) for more details) |
TypeDefTableIndex | unsigned 16 bit integer | Index into the type definition table |
TypeRefTableIndex | unsigned 16 bit integer | Index into the type reference table |
FieldDefTableIndex | unsigned 16 bit integer | Index into the field definition table |
MethodDefTableIndex | unsigned 16 bit integer | Index into the method definition table |
SigTableIndex | unsigned 16 bit integer | Index into the signature table (see: SignatureBlobs for more details) |
##Tokens