LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
enums.hpp File Reference
#include <cinttypes>
#include <cstddef>
#include "LIEF/enums.hpp"
#include "LIEF/PE/undef.h"
Include dependency graph for PE/enums.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EnableBitMaskOperators< LIEF::PE::ACCELERATOR_FLAGS >
 

Namespaces

namespace  LIEF
 LIEF namespace.
 
namespace  LIEF::PE
 Namespace related to the LIEF's PE module.
 

Macros

#define LIEF_PE_FORCE_UNDEF
 

Enumerations

enum class  LIEF::PE::PE_TYPES : size_t { LIEF::PE::PE32 = 0x10b , LIEF::PE::PE32_PLUS = 0x20b }
 
enum  LIEF::PE::SYMBOL_SECTION_NUMBER : int { LIEF::PE::IMAGE_SYM_DEBUG = -2 , LIEF::PE::IMAGE_SYM_ABSOLUTE = -1 , LIEF::PE::IMAGE_SYM_UNDEFINED = 0 }
 
enum  LIEF::PE::SYMBOL_STORAGE_CLASS : int {
  LIEF::PE::IMAGE_SYM_CLASS_INVALID = 0xFF , LIEF::PE::IMAGE_SYM_CLASS_END_OF_FUNCTION = -1 , LIEF::PE::IMAGE_SYM_CLASS_NULL = 0 , LIEF::PE::IMAGE_SYM_CLASS_AUTOMATIC = 1 ,
  LIEF::PE::IMAGE_SYM_CLASS_EXTERNAL = 2 , LIEF::PE::IMAGE_SYM_CLASS_STATIC = 3 , LIEF::PE::IMAGE_SYM_CLASS_REGISTER = 4 , LIEF::PE::IMAGE_SYM_CLASS_EXTERNAL_DEF = 5 ,
  LIEF::PE::IMAGE_SYM_CLASS_LABEL = 6 , LIEF::PE::IMAGE_SYM_CLASS_UNDEFINED_LABEL = 7 , LIEF::PE::IMAGE_SYM_CLASS_MEMBER_OF_STRUCT = 8 , LIEF::PE::IMAGE_SYM_CLASS_ARGUMENT = 9 ,
  LIEF::PE::IMAGE_SYM_CLASS_STRUCT_TAG = 10 , LIEF::PE::IMAGE_SYM_CLASS_MEMBER_OF_UNION = 11 , LIEF::PE::IMAGE_SYM_CLASS_UNION_TAG = 12 , LIEF::PE::IMAGE_SYM_CLASS_TYPE_DEFINITION = 13 ,
  LIEF::PE::IMAGE_SYM_CLASS_UNDEFINED_STATIC = 14 , LIEF::PE::IMAGE_SYM_CLASS_ENUM_TAG = 15 , LIEF::PE::IMAGE_SYM_CLASS_MEMBER_OF_ENUM = 16 , LIEF::PE::IMAGE_SYM_CLASS_REGISTER_PARAM = 17 ,
  LIEF::PE::IMAGE_SYM_CLASS_BIT_FIELD = 18 , LIEF::PE::IMAGE_SYM_CLASS_BLOCK = 100 , LIEF::PE::IMAGE_SYM_CLASS_FUNCTION = 101 , LIEF::PE::IMAGE_SYM_CLASS_END_OF_STRUCT = 102 ,
  LIEF::PE::IMAGE_SYM_CLASS_FILE = 103 , LIEF::PE::IMAGE_SYM_CLASS_SECTION = 104 , LIEF::PE::IMAGE_SYM_CLASS_WEAK_EXTERNAL = 105 , LIEF::PE::IMAGE_SYM_CLASS_CLR_TOKEN = 107
}
 Storage class tells where and what the symbol represents. More...
 
enum class  LIEF::PE::SYMBOL_BASE_TYPES : size_t {
  LIEF::PE::IMAGE_SYM_TYPE_NULL = 0 , LIEF::PE::IMAGE_SYM_TYPE_VOID = 1 , LIEF::PE::IMAGE_SYM_TYPE_CHAR = 2 , LIEF::PE::IMAGE_SYM_TYPE_SHORT = 3 ,
  LIEF::PE::IMAGE_SYM_TYPE_INT = 4 , LIEF::PE::IMAGE_SYM_TYPE_LONG = 5 , LIEF::PE::IMAGE_SYM_TYPE_FLOAT = 6 , LIEF::PE::IMAGE_SYM_TYPE_DOUBLE = 7 ,
  LIEF::PE::IMAGE_SYM_TYPE_STRUCT = 8 , LIEF::PE::IMAGE_SYM_TYPE_UNION = 9 , LIEF::PE::IMAGE_SYM_TYPE_ENUM = 10 , LIEF::PE::IMAGE_SYM_TYPE_MOE = 11 ,
  LIEF::PE::IMAGE_SYM_TYPE_BYTE = 12 , LIEF::PE::IMAGE_SYM_TYPE_WORD = 13 , LIEF::PE::IMAGE_SYM_TYPE_UINT = 14 , LIEF::PE::IMAGE_SYM_TYPE_DWORD = 15
}
 
enum class  LIEF::PE::SYMBOL_COMPLEX_TYPES : size_t {
  LIEF::PE::IMAGE_SYM_DTYPE_NULL = 0 , LIEF::PE::IMAGE_SYM_DTYPE_POINTER = 1 , LIEF::PE::IMAGE_SYM_DTYPE_FUNCTION = 2 , LIEF::PE::IMAGE_SYM_DTYPE_ARRAY = 3 ,
  LIEF::PE::SCT_COMPLEX_TYPE_SHIFT = 4
}
 
enum class  LIEF::PE::AuxSymbolType : size_t { LIEF::PE::IMAGE_AUX_SYMBOL_TYPE_TOKEN_DEF = 1 }
 
enum class  LIEF::PE::RELOCATIONS_I386 : size_t {
  LIEF::PE::IMAGE_REL_I386_ABSOLUTE = 0x0000 , LIEF::PE::IMAGE_REL_I386_DIR16 = 0x0001 , LIEF::PE::IMAGE_REL_I386_REL16 = 0x0002 , LIEF::PE::IMAGE_REL_I386_DIR32 = 0x0006 ,
  LIEF::PE::IMAGE_REL_I386_DIR32NB = 0x0007 , LIEF::PE::IMAGE_REL_I386_SEG12 = 0x0009 , LIEF::PE::IMAGE_REL_I386_SECTION = 0x000A , LIEF::PE::IMAGE_REL_I386_SECREL = 0x000B ,
  LIEF::PE::IMAGE_REL_I386_TOKEN = 0x000C , LIEF::PE::IMAGE_REL_I386_SECREL7 = 0x000D , LIEF::PE::IMAGE_REL_I386_REL32 = 0x0014
}
 
enum class  LIEF::PE::RELOCATIONS_AMD64 : size_t {
  LIEF::PE::IMAGE_REL_AMD64_ABSOLUTE = 0x0000 , LIEF::PE::IMAGE_REL_AMD64_ADDR64 = 0x0001 , LIEF::PE::IMAGE_REL_AMD64_ADDR32 = 0x0002 , LIEF::PE::IMAGE_REL_AMD64_ADDR32NB = 0x0003 ,
  LIEF::PE::IMAGE_REL_AMD64_REL32 = 0x0004 , LIEF::PE::IMAGE_REL_AMD64_REL32_1 = 0x0005 , LIEF::PE::IMAGE_REL_AMD64_REL32_2 = 0x0006 , LIEF::PE::IMAGE_REL_AMD64_REL32_3 = 0x0007 ,
  LIEF::PE::IMAGE_REL_AMD64_REL32_4 = 0x0008 , LIEF::PE::IMAGE_REL_AMD64_REL32_5 = 0x0009 , LIEF::PE::IMAGE_REL_AMD64_SECTION = 0x000A , LIEF::PE::IMAGE_REL_AMD64_SECREL = 0x000B ,
  LIEF::PE::IMAGE_REL_AMD64_SECREL7 = 0x000C , LIEF::PE::IMAGE_REL_AMD64_TOKEN = 0x000D , LIEF::PE::IMAGE_REL_AMD64_SREL32 = 0x000E , LIEF::PE::IMAGE_REL_AMD64_PAIR = 0x000F ,
  LIEF::PE::IMAGE_REL_AMD64_SSPAN32 = 0x0010
}
 
enum class  LIEF::PE::RELOCATIONS_ARM : size_t {
  LIEF::PE::IMAGE_REL_ARM_ABSOLUTE = 0x0000 , LIEF::PE::IMAGE_REL_ARM_ADDR32 = 0x0001 , LIEF::PE::IMAGE_REL_ARM_ADDR32NB = 0x0002 , LIEF::PE::IMAGE_REL_ARM_BRANCH24 = 0x0003 ,
  LIEF::PE::IMAGE_REL_ARM_BRANCH11 = 0x0004 , LIEF::PE::IMAGE_REL_ARM_TOKEN = 0x0005 , LIEF::PE::IMAGE_REL_ARM_BLX24 = 0x0008 , LIEF::PE::IMAGE_REL_ARM_BLX11 = 0x0009 ,
  LIEF::PE::IMAGE_REL_ARM_SECTION = 0x000E , LIEF::PE::IMAGE_REL_ARM_SECREL = 0x000F , LIEF::PE::IMAGE_REL_ARM_MOV32A = 0x0010 , LIEF::PE::IMAGE_REL_ARM_MOV32T = 0x0011 ,
  LIEF::PE::IMAGE_REL_ARM_BRANCH20T = 0x0012 , LIEF::PE::IMAGE_REL_ARM_BRANCH24T = 0x0014 , LIEF::PE::IMAGE_REL_ARM_BLX23T = 0x0015
}
 
enum class  LIEF::PE::WeakExternalCharacteristics : size_t { LIEF::PE::IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY = 1 , LIEF::PE::IMAGE_WEAK_EXTERN_SEARCH_LIBRARY = 2 , LIEF::PE::IMAGE_WEAK_EXTERN_SEARCH_ALIAS = 3 }
 These are not documented in the spec, but are located in WinNT.h. More...
 
enum class  LIEF::PE::ImportType : size_t { LIEF::PE::IMPORT_CODE = 0 , LIEF::PE::IMPORT_DATA = 1 , LIEF::PE::IMPORT_CONST = 2 }
 
enum class  LIEF::PE::ImportNameType : size_t { LIEF::PE::IMPORT_ORDINAL = 0 , LIEF::PE::IMPORT_NAME = 1 , LIEF::PE::IMPORT_NAME_NOPREFIX = 2 , LIEF::PE::IMPORT_NAME_UNDECORATE = 3 }
 
enum class  LIEF::PE::CodeViewIdentifiers : size_t {
  LIEF::PE::DEBUG_LINE_TABLES_HAVE_COLUMN_RECORDS = 0x1 , LIEF::PE::DEBUG_SECTION_MAGIC = 0x4 , LIEF::PE::DEBUG_SYMBOL_SUBSECTION = 0xF1 , LIEF::PE::DEBUG_LINE_TABLE_SUBSECTION = 0xF2 ,
  LIEF::PE::DEBUG_STRING_TABLE_SUBSECTION = 0xF3 , LIEF::PE::DEBUG_INDEX_SUBSECTION = 0xF4 , LIEF::PE::DEBUG_SYMBOL_TYPE_PROC_START = 0x1147 , LIEF::PE::DEBUG_SYMBOL_TYPE_PROC_END = 0x114F
}
 
enum class  LIEF::PE::EXTENDED_WINDOW_STYLES : size_t {
  LIEF::PE::WS_EX_DLGMODALFRAME = 0x00000001L , LIEF::PE::WS_EX_NOPARENTNOTIFY = 0x00000004L , LIEF::PE::WS_EX_TOPMOST = 0x00000008L , LIEF::PE::WS_EX_ACCEPTFILES = 0x00000010L ,
  LIEF::PE::WS_EX_TRANSPARENT = 0x00000020L , LIEF::PE::WS_EX_MDICHILD = 0x00000040L , LIEF::PE::WS_EX_TOOLWINDOW = 0x00000080L , LIEF::PE::WS_EX_WINDOWEDGE = 0x00000100L ,
  LIEF::PE::WS_EX_CLIENTEDGE = 0x00000200L , LIEF::PE::WS_EX_CONTEXTHELP = 0x00000400L , LIEF::PE::WS_EX_RIGHT = 0x00001000L , LIEF::PE::WS_EX_LEFT = 0x00000000L ,
  LIEF::PE::WS_EX_RTLREADING = 0x00002000L , LIEF::PE::WS_EX_LTRREADING = 0x00000000L , LIEF::PE::WS_EX_LEFTSCROLLBAR = 0x00004000L , LIEF::PE::WS_EX_RIGHTSCROLLBAR = 0x00000000L ,
  LIEF::PE::WS_EX_CONTROLPARENT = 0x00010000L , LIEF::PE::WS_EX_STATICEDGE = 0x00020000L , LIEF::PE::WS_EX_APPWINDOW = 0x00040000L
}
 From https://docs.microsoft.com/en-us/windows/win32/winmsg/extended-window-styles. More...
 
enum class  LIEF::PE::WINDOW_STYLES : size_t {
  LIEF::PE::WS_OVERLAPPED = 0x00000000L , LIEF::PE::WS_POPUP = 0x80000000L , LIEF::PE::WS_CHILD = 0x40000000L , LIEF::PE::WS_MINIMIZE = 0x20000000L ,
  LIEF::PE::WS_VISIBLE = 0x10000000L , LIEF::PE::WS_DISABLED = 0x08000000L , LIEF::PE::WS_CLIPSIBLINGS = 0x04000000L , LIEF::PE::WS_CLIPCHILDREN = 0x02000000L ,
  LIEF::PE::WS_MAXIMIZE = 0x01000000L , LIEF::PE::WS_CAPTION = 0x00C00000L , LIEF::PE::WS_BORDER = 0x00800000L , LIEF::PE::WS_DLGFRAME = 0x00400000L ,
  LIEF::PE::WS_VSCROLL = 0x00200000L , LIEF::PE::WS_HSCROLL = 0x00100000L , LIEF::PE::WS_SYSMENU = 0x00080000L , LIEF::PE::WS_THICKFRAME = 0x00040000L ,
  LIEF::PE::WS_GROUP = 0x00020000L , LIEF::PE::WS_TABSTOP = 0x00010000L , LIEF::PE::WS_MINIMIZEBOX = 0x00020000L , LIEF::PE::WS_MAXIMIZEBOX = 0x00010000L
}
 From: https://docs.microsoft.com/en-us/windows/win32/winmsg/window-styles. More...
 
enum class  LIEF::PE::DIALOG_BOX_STYLES : size_t {
  LIEF::PE::DS_ABSALIGN = 0x0001L , LIEF::PE::DS_SYSMODAL = 0x0002L , LIEF::PE::DS_LOCALEDIT = 0x0020L , LIEF::PE::DS_SETFONT = 0x0040L ,
  LIEF::PE::DS_MODALFRAME = 0x0080L , LIEF::PE::DS_NOIDLEMSG = 0x0100L , LIEF::PE::DS_SETFOREGROUND = 0x0200L , LIEF::PE::DS_3DLOOK = 0x0004L ,
  LIEF::PE::DS_FIXEDSYS = 0x0008L , LIEF::PE::DS_NOFAILCREATE = 0x0010L , LIEF::PE::DS_CONTROL = 0x0400L , LIEF::PE::DS_CENTER = 0x0800L ,
  LIEF::PE::DS_CENTERMOUSE = 0x1000L , LIEF::PE::DS_CONTEXTHELP = 0x2000L , LIEF::PE::DS_SHELLFONT = 0x0040L | 0x0008L
}
 From https://docs.microsoft.com/en-us/windows/win32/dlgbox/dialog-box-styles. More...
 
enum class  LIEF::PE::FIXED_VERSION_OS : size_t {
  LIEF::PE::VOS_UNKNOWN = 0x00000000L , LIEF::PE::VOS_DOS = 0x00010000L , LIEF::PE::VOS_NT = 0x00040000L , LIEF::PE::VOS__WINDOWS16 = 0x00000001L ,
  LIEF::PE::VOS__WINDOWS32 = 0x00000004L , LIEF::PE::VOS_OS216 = 0x00020000L , LIEF::PE::VOS_OS232 = 0x00030000L , LIEF::PE::VOS__PM16 = 0x00000002L ,
  LIEF::PE::VOS__PM32 = 0x00000003L , LIEF::PE::VOS_DOS_WINDOWS16 = 0x00010000L | 0x00000001L , LIEF::PE::VOS_DOS_WINDOWS32 = 0x00010000L | 0x00000004L , LIEF::PE::VOS_NT_WINDOWS32 = 0x00040000L | 0x00000004L ,
  LIEF::PE::VOS_OS216_PM16 = 0x00020000L | 0x00000002L , LIEF::PE::VOS_OS232_PM32 = 0x00030000L | 0x00000003L
}
 
enum class  LIEF::PE::FIXED_VERSION_FILE_FLAGS : size_t {
  LIEF::PE::VS_FF_DEBUG = 0x00000001L , LIEF::PE::VS_FF_INFOINFERRED = 0x00000010L , LIEF::PE::VS_FF_PATCHED = 0x00000004L , LIEF::PE::VS_FF_PRERELEASE = 0x00000002L ,
  LIEF::PE::VS_FF_PRIVATEBUILD = 0x00000008L , LIEF::PE::VS_FF_SPECIALBUILD = 0x00000020L
}
 
enum class  LIEF::PE::FIXED_VERSION_FILE_TYPES : size_t {
  LIEF::PE::VFT_APP = 0x00000001L , LIEF::PE::VFT_DLL = 0x00000002L , LIEF::PE::VFT_DRV = 0x00000003L , LIEF::PE::VFT_FONT = 0x00000004L ,
  LIEF::PE::VFT_STATIC_LIB = 0x00000007L , LIEF::PE::VFT_UNKNOWN = 0x00000000L , LIEF::PE::VFT_VXD = 0x00000005L
}
 
enum class  LIEF::PE::FIXED_VERSION_FILE_SUB_TYPES : size_t {
  LIEF::PE::VFT2_DRV_COMM = 0x0000000AL , LIEF::PE::VFT2_DRV_DISPLAY = 0x00000004L , LIEF::PE::VFT2_DRV_INSTALLABLE = 0x00000008L , LIEF::PE::VFT2_DRV_KEYBOARD = 0x00000002L ,
  LIEF::PE::VFT2_DRV_LANGUAGE = 0x00000003L , LIEF::PE::VFT2_DRV_MOUSE = 0x00000005L , LIEF::PE::VFT2_DRV_NETWORK = 0x00000006L , LIEF::PE::VFT2_DRV_PRINTER = 0x00000001L ,
  LIEF::PE::VFT2_DRV_SOUND = 0x00000009L , LIEF::PE::VFT2_DRV_SYSTEM = 0x00000007L , LIEF::PE::VFT2_DRV_VERSIONED_PRINTER = 0x0000000CL , LIEF::PE::VFT2_FONT_RASTER = 0x00000001L ,
  LIEF::PE::VFT2_FONT_TRUETYPE = 0x00000003L , LIEF::PE::VFT2_FONT_VECTOR = 0x00000002L , LIEF::PE::VFT2_UNKNOWN = 0x00000000L
}
 
enum class  LIEF::PE::CODE_PAGES : size_t {
  LIEF::PE::CP_IBM037 = 37 , LIEF::PE::CP_IBM437 = 437 , LIEF::PE::CP_IBM500 = 500 , LIEF::PE::CP_ASMO_708 = 708 ,
  LIEF::PE::CP_DOS_720 = 720 , LIEF::PE::CP_IBM737 = 737 , LIEF::PE::CP_IBM775 = 775 , LIEF::PE::CP_IBM850 = 850 ,
  LIEF::PE::CP_IBM852 = 852 , LIEF::PE::CP_IBM855 = 855 , LIEF::PE::CP_IBM857 = 857 , LIEF::PE::CP_IBM00858 = 858 ,
  LIEF::PE::CP_IBM860 = 860 , LIEF::PE::CP_IBM861 = 861 , LIEF::PE::CP_DOS_862 = 862 , LIEF::PE::CP_IBM863 = 863 ,
  LIEF::PE::CP_IBM864 = 864 , LIEF::PE::CP_IBM865 = 865 , LIEF::PE::CP_CP866 = 866 , LIEF::PE::CP_IBM869 = 869 ,
  LIEF::PE::CP_IBM870 = 870 , LIEF::PE::CP_WINDOWS_874 = 874 , LIEF::PE::CP_CP875 = 875 , LIEF::PE::CP_SHIFT_JIS = 932 ,
  LIEF::PE::CP_GB2312 = 936 , LIEF::PE::CP_KS_C_5601_1987 = 949 , LIEF::PE::CP_BIG5 = 950 , LIEF::PE::CP_IBM1026 = 1026 ,
  LIEF::PE::CP_IBM01047 = 1047 , LIEF::PE::CP_IBM01140 = 1140 , LIEF::PE::CP_IBM01141 = 1141 , LIEF::PE::CP_IBM01142 = 1142 ,
  LIEF::PE::CP_IBM01143 = 1143 , LIEF::PE::CP_IBM01144 = 1144 , LIEF::PE::CP_IBM01145 = 1145 , LIEF::PE::CP_IBM01146 = 1146 ,
  LIEF::PE::CP_IBM01147 = 1147 , LIEF::PE::CP_IBM01148 = 1148 , LIEF::PE::CP_IBM01149 = 1149 , LIEF::PE::CP_UTF_16 = 1200 ,
  LIEF::PE::CP_UNICODEFFFE = 1201 , LIEF::PE::CP_WINDOWS_1250 = 1250 , LIEF::PE::CP_WINDOWS_1251 = 1251 , LIEF::PE::CP_WINDOWS_1252 = 1252 ,
  LIEF::PE::CP_WINDOWS_1253 = 1253 , LIEF::PE::CP_WINDOWS_1254 = 1254 , LIEF::PE::CP_WINDOWS_1255 = 1255 , LIEF::PE::CP_WINDOWS_1256 = 1256 ,
  LIEF::PE::CP_WINDOWS_1257 = 1257 , LIEF::PE::CP_WINDOWS_1258 = 1258 , LIEF::PE::CP_JOHAB = 1361 , LIEF::PE::CP_MACINTOSH = 10000 ,
  LIEF::PE::CP_X_MAC_JAPANESE = 10001 , LIEF::PE::CP_X_MAC_CHINESETRAD = 10002 , LIEF::PE::CP_X_MAC_KOREAN = 10003 , LIEF::PE::CP_X_MAC_ARABIC = 10004 ,
  LIEF::PE::CP_X_MAC_HEBREW = 10005 , LIEF::PE::CP_X_MAC_GREEK = 10006 , LIEF::PE::CP_X_MAC_CYRILLIC = 10007 , LIEF::PE::CP_X_MAC_CHINESESIMP = 10008 ,
  LIEF::PE::CP_X_MAC_ROMANIAN = 10010 , LIEF::PE::CP_X_MAC_UKRAINIAN = 10017 , LIEF::PE::CP_X_MAC_THAI = 10021 , LIEF::PE::CP_X_MAC_CE = 10029 ,
  LIEF::PE::CP_X_MAC_ICELANDIC = 10079 , LIEF::PE::CP_X_MAC_TURKISH = 10081 , LIEF::PE::CP_X_MAC_CROATIAN = 10082 , LIEF::PE::CP_UTF_32 = 12000 ,
  LIEF::PE::CP_UTF_32BE = 12001 , LIEF::PE::CP_X_CHINESE_CNS = 20000 , LIEF::PE::CP_X_CP20001 = 20001 , LIEF::PE::CP_X_CHINESE_ETEN = 20002 ,
  LIEF::PE::CP_X_CP20003 = 20003 , LIEF::PE::CP_X_CP20004 = 20004 , LIEF::PE::CP_X_CP20005 = 20005 , LIEF::PE::CP_X_IA5 = 20105 ,
  LIEF::PE::CP_X_IA5_GERMAN = 20106 , LIEF::PE::CP_X_IA5_SWEDISH = 20107 , LIEF::PE::CP_X_IA5_NORWEGIAN = 20108 , LIEF::PE::CP_US_ASCII = 20127 ,
  LIEF::PE::CP_X_CP20261 = 20261 , LIEF::PE::CP_X_CP20269 = 20269 , LIEF::PE::CP_IBM273 = 20273 , LIEF::PE::CP_IBM277 = 20277 ,
  LIEF::PE::CP_IBM278 = 20278 , LIEF::PE::CP_IBM280 = 20280 , LIEF::PE::CP_IBM284 = 20284 , LIEF::PE::CP_IBM285 = 20285 ,
  LIEF::PE::CP_IBM290 = 20290 , LIEF::PE::CP_IBM297 = 20297 , LIEF::PE::CP_IBM420 = 20420 , LIEF::PE::CP_IBM423 = 20423 ,
  LIEF::PE::CP_IBM424 = 20424 , LIEF::PE::CP_X_EBCDIC_KOREANEXTENDED = 20833 , LIEF::PE::CP_IBM_THAI = 20838 , LIEF::PE::CP_KOI8_R = 20866 ,
  LIEF::PE::CP_IBM871 = 20871 , LIEF::PE::CP_IBM880 = 20880 , LIEF::PE::CP_IBM905 = 20905 , LIEF::PE::CP_IBM00924 = 20924 ,
  LIEF::PE::CP_EUC_JP_JIS = 20932 , LIEF::PE::CP_X_CP20936 = 20936 , LIEF::PE::CP_X_CP20949 = 20949 , LIEF::PE::CP_CP1025 = 21025 ,
  LIEF::PE::CP_KOI8_U = 21866 , LIEF::PE::CP_ISO_8859_1 = 28591 , LIEF::PE::CP_ISO_8859_2 = 28592 , LIEF::PE::CP_ISO_8859_3 = 28593 ,
  LIEF::PE::CP_ISO_8859_4 = 28594 , LIEF::PE::CP_ISO_8859_5 = 28595 , LIEF::PE::CP_ISO_8859_6 = 28596 , LIEF::PE::CP_ISO_8859_7 = 28597 ,
  LIEF::PE::CP_ISO_8859_8 = 28598 , LIEF::PE::CP_ISO_8859_9 = 28599 , LIEF::PE::CP_ISO_8859_13 = 28603 , LIEF::PE::CP_ISO_8859_15 = 28605 ,
  LIEF::PE::CP_X_EUROPA = 29001 , LIEF::PE::CP_ISO_8859_8_I = 38598 , LIEF::PE::CP_ISO_2022_JP = 50220 , LIEF::PE::CP_CSISO2022JP = 50221 ,
  LIEF::PE::CP_ISO_2022_JP_JIS = 50222 , LIEF::PE::CP_ISO_2022_KR = 50225 , LIEF::PE::CP_X_CP50227 = 50227 , LIEF::PE::CP_EUC_JP = 51932 ,
  LIEF::PE::CP_EUC_CN = 51936 , LIEF::PE::CP_EUC_KR = 51949 , LIEF::PE::CP_HZ_GB_2312 = 52936 , LIEF::PE::CP_GB18030 = 54936 ,
  LIEF::PE::CP_X_ISCII_DE = 57002 , LIEF::PE::CP_X_ISCII_BE = 57003 , LIEF::PE::CP_X_ISCII_TA = 57004 , LIEF::PE::CP_X_ISCII_TE = 57005 ,
  LIEF::PE::CP_X_ISCII_AS = 57006 , LIEF::PE::CP_X_ISCII_OR = 57007 , LIEF::PE::CP_X_ISCII_KA = 57008 , LIEF::PE::CP_X_ISCII_MA = 57009 ,
  LIEF::PE::CP_X_ISCII_GU = 57010 , LIEF::PE::CP_X_ISCII_PA = 57011 , LIEF::PE::CP_UTF_7 = 65000 , LIEF::PE::CP_UTF_8 = 65001
}
 Code page from https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers. More...
 
enum class  LIEF::PE::ACCELERATOR_FLAGS : size_t {
  LIEF::PE::FVIRTKEY = 0x01 , LIEF::PE::FNOINVERT = 0x02 , LIEF::PE::FSHIFT = 0x04 , LIEF::PE::FCONTROL = 0x08 ,
  LIEF::PE::FALT = 0x10 , LIEF::PE::END = 0x80
}
 From https://docs.microsoft.com/en-us/windows/win32/menurc/acceltableentry. More...
 
enum class  LIEF::PE::ACCELERATOR_VK_CODES : size_t {
  LIEF::PE::VK_LBUTTON = 0x01 , LIEF::PE::VK_RBUTTON = 0x02 , LIEF::PE::VK_CANCEL = 0x03 , LIEF::PE::VK_MBUTTON = 0x04 ,
  LIEF::PE::VK_XBUTTON1 = 0x05 , LIEF::PE::VK_XBUTTON2 = 0x06 , LIEF::PE::VK_BACK = 0x08 , LIEF::PE::VK_TAB = 0x09 ,
  LIEF::PE::VK_CLEAR = 0x0C , LIEF::PE::VK_RETURN = 0x0D , LIEF::PE::VK_SHIFT = 0x10 , LIEF::PE::VK_CONTROL = 0x11 ,
  LIEF::PE::VK_MENU = 0x12 , LIEF::PE::VK_PAUSE = 0x13 , LIEF::PE::VK_CAPITAL = 0x14 , LIEF::PE::VK_KANA = 0x15 ,
  LIEF::PE::VK_HANGUEL = 0x15 , LIEF::PE::VK_HANGUL = 0x15 , LIEF::PE::VK_IME_ON = 0x16 , LIEF::PE::VK_JUNJA = 0x17 ,
  LIEF::PE::VK_FINAL = 0x18 , LIEF::PE::VK_HANJA = 0x19 , LIEF::PE::VK_KANJI = 0x19 , LIEF::PE::VK_IME_OFF = 0x1A ,
  LIEF::PE::VK_ESCAPE = 0x1B , LIEF::PE::VK_CONVERT = 0x1C , LIEF::PE::VK_NONCONVERT = 0x1D , LIEF::PE::VK_ACCEPT = 0x1E ,
  LIEF::PE::VK_MODECHANGE = 0x1F , LIEF::PE::VK_SPACE = 0x20 , LIEF::PE::VK_PRIOR = 0x21 , LIEF::PE::VK_NEXT = 0x22 ,
  LIEF::PE::VK_END = 0x23 , LIEF::PE::VK_HOME = 0x24 , LIEF::PE::VK_LEFT = 0x25 , LIEF::PE::VK_UP = 0x26 ,
  LIEF::PE::VK_RIGHT = 0x27 , LIEF::PE::VK_DOWN = 0x28 , LIEF::PE::VK_SELECT = 0x29 , LIEF::PE::VK_PRINT = 0x2A ,
  LIEF::PE::VK_EXECUTE = 0x2B , LIEF::PE::VK_SNAPSHOT = 0x2C , LIEF::PE::VK_INSERT = 0x2D , LIEF::PE::VK_DELETE = 0x2E ,
  LIEF::PE::VK_HELP = 0x2F , LIEF::PE::VK_0 = 0x30 , LIEF::PE::VK_1 = 0x31 , LIEF::PE::VK_2 = 0x32 ,
  LIEF::PE::VK_3 = 0x33 , LIEF::PE::VK_4 = 0x34 , LIEF::PE::VK_5 = 0x35 , LIEF::PE::VK_6 = 0x36 ,
  LIEF::PE::VK_7 = 0x37 , LIEF::PE::VK_8 = 0x38 , LIEF::PE::VK_9 = 0x39 , LIEF::PE::VK_A = 0x41 ,
  LIEF::PE::VK_B = 0x42 , LIEF::PE::VK_C = 0x43 , LIEF::PE::VK_D = 0x44 , LIEF::PE::VK_E = 0x45 ,
  LIEF::PE::VK_F = 0x46 , LIEF::PE::VK_G = 0x47 , LIEF::PE::VK_H = 0x48 , LIEF::PE::VK_I = 0x49 ,
  LIEF::PE::VK_J = 0x4A , LIEF::PE::VK_K = 0x4B , LIEF::PE::VK_L = 0x4C , LIEF::PE::VK_M = 0x4D ,
  LIEF::PE::VK_N = 0x4E , LIEF::PE::VK_O = 0x4F , LIEF::PE::VK_P = 0x50 , LIEF::PE::VK_Q = 0x51 ,
  LIEF::PE::VK_R = 0x52 , LIEF::PE::VK_S = 0x53 , LIEF::PE::VK_T = 0x54 , LIEF::PE::VK_U = 0x55 ,
  LIEF::PE::VK_V = 0x56 , LIEF::PE::VK_W = 0x57 , LIEF::PE::VK_X = 0x58 , LIEF::PE::VK_Y = 0x59 ,
  LIEF::PE::VK_Z = 0x60 , LIEF::PE::VK_LWIN = 0x5B , LIEF::PE::VK_RWIN = 0x5C , LIEF::PE::VK_APPS = 0x5D ,
  LIEF::PE::VK_SLEEP = 0x5F , LIEF::PE::VK_NUMPAD0 = 0x60 , LIEF::PE::VK_NUMPAD1 = 0x61 , LIEF::PE::VK_NUMPAD2 = 0x62 ,
  LIEF::PE::VK_NUMPAD3 = 0x63 , LIEF::PE::VK_NUMPAD4 = 0x64 , LIEF::PE::VK_NUMPAD5 = 0x65 , LIEF::PE::VK_NUMPAD6 = 0x66 ,
  LIEF::PE::VK_NUMPAD7 = 0x67 , LIEF::PE::VK_NUMPAD8 = 0x68 , LIEF::PE::VK_NUMPAD9 = 0x69 , LIEF::PE::VK_MULTIPLY = 0x6A ,
  LIEF::PE::VK_ADD = 0x6B , LIEF::PE::VK_SEPARATOR = 0x6C , LIEF::PE::VK_SUBTRACT = 0x6D , LIEF::PE::VK_DECIMAL = 0x6E ,
  LIEF::PE::VK_DIVIDE = 0x6F , LIEF::PE::VK_F1 = 0x70 , LIEF::PE::VK_F2 = 0x71 , LIEF::PE::VK_F3 = 0x72 ,
  LIEF::PE::VK_F4 = 0x73 , LIEF::PE::VK_F5 = 0x74 , LIEF::PE::VK_F6 = 0x75 , LIEF::PE::VK_F7 = 0x76 ,
  LIEF::PE::VK_F8 = 0x77 , LIEF::PE::VK_F9 = 0x78 , LIEF::PE::VK_F10 = 0x79 , LIEF::PE::VK_F11 = 0x7A ,
  LIEF::PE::VK_F12 = 0x7B , LIEF::PE::VK_F13 = 0x7C , LIEF::PE::VK_F14 = 0x7D , LIEF::PE::VK_F15 = 0x7E ,
  LIEF::PE::VK_F16 = 0x7F , LIEF::PE::VK_F17 = 0x80 , LIEF::PE::VK_F18 = 0x81 , LIEF::PE::VK_F19 = 0x82 ,
  LIEF::PE::VK_F20 = 0x83 , LIEF::PE::VK_F21 = 0x84 , LIEF::PE::VK_F22 = 0x85 , LIEF::PE::VK_F23 = 0x86 ,
  LIEF::PE::VK_F24 = 0x87 , LIEF::PE::VK_NUMLOCK = 0x90 , LIEF::PE::VK_SCROLL = 0x91 , LIEF::PE::VK_LSHIFT = 0xA0 ,
  LIEF::PE::VK_RSHIFT = 0xA1 , LIEF::PE::VK_LCONTROL = 0xA2 , LIEF::PE::VK_RCONTROL = 0xA3 , LIEF::PE::VK_LMENU = 0xA4 ,
  LIEF::PE::VK_RMENU = 0xA5 , LIEF::PE::VK_BROWSER_BACK = 0xA6 , LIEF::PE::VK_BROWSER_FORWARD = 0xA7 , LIEF::PE::VK_BROWSER_REFRESH = 0xA8 ,
  LIEF::PE::VK_BROWSER_STOP = 0xA9 , LIEF::PE::VK_BROWSER_SEARCH = 0xAA , LIEF::PE::VK_BROWSER_FAVORITES = 0xAB , LIEF::PE::VK_BROWSER_HOME = 0xAC ,
  LIEF::PE::VK_VOLUME_MUTE = 0xAD , LIEF::PE::VK_VOLUME_DOWN = 0xAE , LIEF::PE::VK_VOLUME_UP = 0xAF , LIEF::PE::VK_MEDIA_NEXT_TRACK = 0xB0 ,
  LIEF::PE::VK_MEDIA_PREV_TRACK = 0xB1 , LIEF::PE::VK_MEDIA_STOP = 0xB2 , LIEF::PE::VK_MEDIA_PLAY_PAUSE = 0xB3 , LIEF::PE::VK_LAUNCH_MAIL = 0xB4 ,
  LIEF::PE::VK_LAUNCH_MEDIA_SELECT = 0xB5 , LIEF::PE::VK_LAUNCH_APP1 = 0xB6 , LIEF::PE::VK_LAUNCH_APP2 = 0xB7 , LIEF::PE::VK_OEM_1 = 0xBA ,
  LIEF::PE::VK_OEM_PLUS = 0xBB , LIEF::PE::VK_OEM_COMMA = 0xBC , LIEF::PE::VK_OEM_MINUS = 0xBD , LIEF::PE::VK_OEM_PERIOD = 0xBE ,
  LIEF::PE::VK_OEM_2 = 0xBF , LIEF::PE::VK_OEM_4 = 0xDB , LIEF::PE::VK_OEM_5 = 0xDC , LIEF::PE::VK_OEM_6 = 0xDD ,
  LIEF::PE::VK_OEM_7 = 0xDE , LIEF::PE::VK_OEM_8 = 0xDF , LIEF::PE::VK_OEM_102 = 0xE2 , LIEF::PE::VK_PROCESSKEY = 0xE5 ,
  LIEF::PE::VK_PACKET = 0xE7 , LIEF::PE::VK_ATTN = 0xF6 , LIEF::PE::VK_CRSEL = 0xF7 , LIEF::PE::VK_EXSEL = 0xF8 ,
  LIEF::PE::VK_EREOF = 0xF9 , LIEF::PE::VK_PLAY = 0xFA , LIEF::PE::VK_ZOOM = 0xFB , LIEF::PE::VK_NONAME = 0xFC ,
  LIEF::PE::VK_PA1 = 0xFD , LIEF::PE::VK_OEM_CLEAR = 0xFE
}
 From https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes. More...
 
enum class  LIEF::PE::PE_SECTION_TYPES : uint8_t {
  LIEF::PE::TEXT = 0 , LIEF::PE::TLS = 1 , LIEF::PE::IMPORT = 2 , LIEF::PE::DATA = 3 ,
  LIEF::PE::BSS = 4 , LIEF::PE::RESOURCE = 5 , LIEF::PE::RELOCATION = 6 , LIEF::PE::EXPORT = 7 ,
  LIEF::PE::DEBUG_TYPE = 8 , LIEF::PE::LOAD_CONFIG = 9 , LIEF::PE::UNKNOWN = 10
}
 Common section type. More...
 
enum class  LIEF::PE::PE_TYPE : uint16_t { LIEF::PE::PE32 = 0x10b , LIEF::PE::PE32_PLUS = 0x20b }
 
enum class  LIEF::PE::ALGORITHMS : uint32_t {
  LIEF::PE::UNKNOWN = 0 , LIEF::PE::SHA_512 , LIEF::PE::SHA_384 , LIEF::PE::SHA_256 ,
  LIEF::PE::SHA_1 , LIEF::PE::MD5 , LIEF::PE::MD4 , LIEF::PE::MD2 ,
  LIEF::PE::RSA , LIEF::PE::EC , LIEF::PE::MD5_RSA , LIEF::PE::SHA1_DSA ,
  LIEF::PE::SHA1_RSA , LIEF::PE::SHA_256_RSA , LIEF::PE::SHA_384_RSA , LIEF::PE::SHA_512_RSA ,
  LIEF::PE::SHA1_ECDSA , LIEF::PE::SHA_256_ECDSA , LIEF::PE::SHA_384_ECDSA , LIEF::PE::SHA_512_ECDSA
}
 Cryptography algorithms. More...
 

Macro Definition Documentation

◆ LIEF_PE_FORCE_UNDEF

#define LIEF_PE_FORCE_UNDEF