Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | Pe32_image_dos_header |
struct | Pe32_image_file_header |
struct | Pe32_image_data_directory |
struct | Pe32_image_optional_header |
struct | Pe64_image_optional_header |
struct | Pe_image_rich_entry |
struct | Pe32_image_section_header |
struct | Pe32_image_export_directory |
struct | Pe32_image_import_directory |
struct | Pe32_image_delay_import_directory |
struct | Pe32_image_tls_directory |
struct | Pe_certificate |
struct | Pe_image_security_directory |
struct | Pe32_image_nt_headers |
struct | Pe64_image_nt_headers |
struct | Pe32_image_debug_directory_entry |
struct | Pe_image_resource_directory |
struct | Pe_image_resource_directory_entry |
struct | Pe_image_resource_directory_string |
struct | Pe_image_resource_directory_string_u |
struct | Pe_image_resource_data_entry |
struct | String |
struct | StringTable |
struct | StringFileInfo |
struct | Var |
struct | VarFileInfo |
struct | PE_VS_FIXEDFILEINFO |
struct | PE_VS_VERSIONINFO |
struct | PE64_RUNTIME_FUNCTION |
union | PE64_UNWIND_CODE |
struct | PE64_UNWIND_INFO |
struct | PE64_SCOPE_RECORD |
struct | PE64_SCOPE_TABLE |
Typedefs | |
typedef struct Pe32_image_dos_header | Pe64_image_dos_header |
typedef struct Pe32_image_file_header | Pe64_image_file_header |
typedef struct Pe32_image_data_directory | Pe64_image_data_directory |
typedef struct Pe32_image_section_header | Pe64_image_section_header |
typedef struct Pe32_image_export_directory | Pe64_image_export_directory |
typedef struct Pe32_image_import_directory | Pe64_image_import_directory |
typedef struct Pe32_image_delay_import_directory | Pe64_image_delay_import_directory |
typedef struct Pe32_image_tls_directory | Pe64_image_tls_directory |
typedef struct Pe32_image_debug_directory_entry | Pe64_image_debug_directory_entry |
Enumerations | |
enum | PE64_UNWIND_CODE_OPS { UWOP_PUSH_NONVOL = 0 , UWOP_ALLOC_LARGE , UWOP_ALLOC_SMALL , UWOP_SET_FPREG , UWOP_SAVE_NONVOL , UWOP_SAVE_NONVOL_FAR , UWOP_UNKNOWN1 , UWOP_UNKNOWN2 , UWOP_SAVE_XMM128 , UWOP_SAVE_XMM128_FAR , UWOP_PUSH_MACHFRAME } |
Functions | |
bool | Pe32_read_dos_header (RzBuffer *buf, Pe32_image_dos_header *header) |
bool | Pe32_read_nt_headers (RzBuffer *buf, ut64 addr, Pe32_image_nt_headers *headers) |
bool | Pe32_read_image_section_header (RzBuffer *b, ut64 addr, Pe32_image_section_header *section_header) |
void | Pe32_write_image_section_header (RzBuffer *b, ut64 addr, Pe32_image_section_header *section_header) |
bool | Pe64_read_dos_header (RzBuffer *buf, Pe64_image_dos_header *header) |
bool | Pe64_read_nt_headers (RzBuffer *buf, ut64 addr, Pe64_image_nt_headers *headers) |
bool | Pe64_read_image_section_header (RzBuffer *b, ut64 addr, Pe64_image_section_header *section_header) |
void | Pe64_write_image_section_header (RzBuffer *b, ut64 addr, Pe64_image_section_header *section_header) |
#define EIGHT_HEX_DIG_UTF_16_LEN ((8 + 1) * 2) |
Definition at line 542 of file pe_specs.h.
#define ILT_MASK1 0x80000000 |
Definition at line 24 of file pe_specs.h.
#define ILT_MASK2 0x7fffffff |
Definition at line 25 of file pe_specs.h.
#define IMAGE_DEBUG_TYPE_CODEVIEW 2 |
Definition at line 129 of file pe_specs.h.
#define IMAGE_DEBUG_TYPE_MISC 4 |
Definition at line 130 of file pe_specs.h.
#define IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE 0x0040 |
Definition at line 118 of file pe_specs.h.
#define IMAGE_DLL_CHARACTERISTICS_FORCE_INTEGRITY 0x0080 |
Definition at line 119 of file pe_specs.h.
#define IMAGE_DLL_CHARACTERISTICS_NX_COMPAT 0x0100 |
Definition at line 120 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000 |
Definition at line 124 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_GUARD_CF 0x4000 |
Definition at line 126 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA 0x0020 |
Definition at line 117 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800 |
Definition at line 123 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION 0x0200 |
Definition at line 121 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_NO_SEH 0x0400 |
Definition at line 122 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000 |
Definition at line 127 of file pe_specs.h.
#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000 |
Definition at line 125 of file pe_specs.h.
#define PE64_UNW_FLAG_CHAININFO 4 |
Definition at line 703 of file pe_specs.h.
#define PE64_UNW_FLAG_EHANDLER 1 |
Definition at line 701 of file pe_specs.h.
#define PE64_UNW_FLAG_NHANDLER 0 |
Definition at line 700 of file pe_specs.h.
#define PE64_UNW_FLAG_UHANDLER 2 |
Definition at line 702 of file pe_specs.h.
Definition at line 23 of file pe_specs.h.
#define PE_DWord ut32 |
Definition at line 27 of file pe_specs.h.
#define PE_DWORD_MAX UT32_MAX |
Definition at line 30 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRIES 16 |
Definition at line 142 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_ARCHITECTURE 7 |
Definition at line 151 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_BASERELOC 5 |
Definition at line 148 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT 11 |
Definition at line 155 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR 14 |
Definition at line 158 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_COPYRIGHT 7 |
Definition at line 150 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_DEBUG 6 |
Definition at line 149 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT 13 |
Definition at line 157 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_EXCEPTION 3 |
Definition at line 146 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_EXPORT 0 |
Definition at line 143 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_GLOBALPTR 8 |
Definition at line 152 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_IAT 12 |
Definition at line 156 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_IMPORT 1 |
Definition at line 144 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG 10 |
Definition at line 154 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_RESOURCE 2 |
Definition at line 145 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_SECURITY 4 |
Definition at line 147 of file pe_specs.h.
#define PE_IMAGE_DIRECTORY_ENTRY_TLS 9 |
Definition at line 153 of file pe_specs.h.
#define PE_IMAGE_FILE_16BIT_MACHINE 0x0040 |
Definition at line 106 of file pe_specs.h.
#define PE_IMAGE_FILE_32BIT_MACHINE 0x0100 |
Definition at line 108 of file pe_specs.h.
#define PE_IMAGE_FILE_AGGRESSIVE_WS_TRIM 0x0010 |
Definition at line 104 of file pe_specs.h.
#define PE_IMAGE_FILE_BYTES_REVERSED_HI 0x8000 |
Definition at line 115 of file pe_specs.h.
#define PE_IMAGE_FILE_BYTES_REVERSED_LO 0x0080 |
Definition at line 107 of file pe_specs.h.
#define PE_IMAGE_FILE_DEBUG_STRIPPED 0x0200 |
Definition at line 109 of file pe_specs.h.
#define PE_IMAGE_FILE_DLL 0x2000 |
Definition at line 113 of file pe_specs.h.
#define PE_IMAGE_FILE_EXECUTABLE_IMAGE 0x0002 |
Definition at line 101 of file pe_specs.h.
#define PE_IMAGE_FILE_LARGE_ADDRESS_AWARE 0x0020 |
Definition at line 105 of file pe_specs.h.
#define PE_IMAGE_FILE_LINE_NUMS_STRIPPED 0x0004 |
Definition at line 102 of file pe_specs.h.
#define PE_IMAGE_FILE_LOCAL_SYMS_STRIPPED 0x0008 |
Definition at line 103 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_ALPHA 0x0184 |
Definition at line 65 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_ALPHA64 0x0284 |
Definition at line 66 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_AM33 0x01d3 |
Definition at line 67 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_AMD64 0x8664 |
Definition at line 68 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_ARM 0x01c0 |
Definition at line 69 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_ARM64 0xaa64 |
Definition at line 71 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_ARMNT 0x01c4 |
Definition at line 70 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_AXP64 PE_IMAGE_FILE_MACHINE_ALPHA64 |
Definition at line 72 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_CEE 0xc0ee |
Definition at line 73 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_CEF 0x0cef |
Definition at line 74 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_EBC 0x0ebc |
Definition at line 75 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_I386 0x014c |
Definition at line 76 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_IA64 0x0200 |
Definition at line 77 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_M32R 0x9041 |
Definition at line 78 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_M68K 0x0268 |
Definition at line 79 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_MIPS16 0x0266 |
Definition at line 80 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_MIPSFPU 0x0366 |
Definition at line 81 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_MIPSFPU16 0x0466 |
Definition at line 82 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_POWERPC 0x01f0 |
Definition at line 83 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_POWERPCFP 0x01f1 |
Definition at line 84 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_R10000 0x0168 |
Definition at line 85 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_R3000 0x0162 |
Definition at line 86 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_R4000 0x0166 |
Definition at line 87 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_RISCV128 0x5128 |
Definition at line 98 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_RISCV32 0x5032 |
Definition at line 96 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_RISCV64 0x5064 |
Definition at line 97 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_SH3 0x01a2 |
Definition at line 88 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_SH3DSP 0x01a3 |
Definition at line 89 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_SH3E 0x01a4 |
Definition at line 90 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_SH4 0x01a6 |
Definition at line 91 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_SH5 0x01a8 |
Definition at line 92 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_THUMB 0x01c2 |
Definition at line 93 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_TRICORE 0x0520 |
Definition at line 94 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_UNKNOWN 0x0000 |
Definition at line 64 of file pe_specs.h.
#define PE_IMAGE_FILE_MACHINE_WCEMIPSV2 0x0169 |
Definition at line 95 of file pe_specs.h.
#define PE_IMAGE_FILE_NET_RUN_FROM_SWAP 0x0800 |
Definition at line 111 of file pe_specs.h.
#define PE_IMAGE_FILE_RELOCS_STRIPPED 0x0001 |
Definition at line 100 of file pe_specs.h.
#define PE_IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP 0x0400 |
Definition at line 110 of file pe_specs.h.
#define PE_IMAGE_FILE_SYSTEM 0x1000 |
Definition at line 112 of file pe_specs.h.
#define PE_IMAGE_FILE_TYPE_PE32 0x10b |
Definition at line 61 of file pe_specs.h.
#define PE_IMAGE_FILE_TYPE_PE32PLUS 0x20b |
Definition at line 62 of file pe_specs.h.
#define PE_IMAGE_FILE_UP_SYSTEM_ONLY 0x4000 |
Definition at line 114 of file pe_specs.h.
#define PE_IMAGE_SCN_MEM_EXECUTE 0x20000000 |
Definition at line 355 of file pe_specs.h.
#define PE_IMAGE_SCN_MEM_READ 0x40000000 |
Definition at line 356 of file pe_specs.h.
#define PE_IMAGE_SCN_MEM_SHARED 0x10000000 |
Definition at line 354 of file pe_specs.h.
#define PE_IMAGE_SCN_MEM_WRITE 0x80000000 |
Definition at line 357 of file pe_specs.h.
#define PE_IMAGE_SIZEOF_SHORT_NAME 8 |
Definition at line 352 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_EFI_APPLICATION 10 |
Definition at line 166 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11 |
Definition at line 167 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_EFI_ROM 13 |
Definition at line 169 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12 |
Definition at line 168 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_NATIVE 1 |
Definition at line 161 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_POSIX_CUI 7 |
Definition at line 164 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_UNKNOWN 0 |
Definition at line 160 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_WINDOWS_CE_GUI 9 |
Definition at line 165 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_WINDOWS_CUI 3 |
Definition at line 163 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_WINDOWS_GUI 2 |
Definition at line 162 of file pe_specs.h.
#define PE_IMAGE_SUBSYSTEM_XBOX 14 |
Definition at line 170 of file pe_specs.h.
#define PE_LANG_AFRIKAANS 0x36 |
Definition at line 176 of file pe_specs.h.
#define PE_LANG_ALBANIAN 0x1c |
Definition at line 177 of file pe_specs.h.
#define PE_LANG_ARABIC 0x01 |
Definition at line 178 of file pe_specs.h.
#define PE_LANG_ARMENIAN 0x2b |
Definition at line 179 of file pe_specs.h.
#define PE_LANG_ASSAMESE 0x4d |
Definition at line 180 of file pe_specs.h.
#define PE_LANG_AZERI 0x2c |
Definition at line 181 of file pe_specs.h.
#define PE_LANG_BASQUE 0x2d |
Definition at line 182 of file pe_specs.h.
#define PE_LANG_BELARUSIAN 0x23 |
Definition at line 183 of file pe_specs.h.
#define PE_LANG_BENGALI 0x45 |
Definition at line 184 of file pe_specs.h.
#define PE_LANG_BRETON 0x93 |
Definition at line 267 of file pe_specs.h.
#define PE_LANG_BULGARIAN 0x02 |
Definition at line 185 of file pe_specs.h.
#define PE_LANG_CATALAN 0x03 |
Definition at line 186 of file pe_specs.h.
#define PE_LANG_CHINESE 0x04 |
Definition at line 187 of file pe_specs.h.
#define PE_LANG_CORNISH 0x91 |
Definition at line 265 of file pe_specs.h.
#define PE_LANG_CROATIAN 0x1a |
Definition at line 188 of file pe_specs.h.
#define PE_LANG_CZECH 0x05 |
Definition at line 189 of file pe_specs.h.
#define PE_LANG_DANISH 0x06 |
Definition at line 190 of file pe_specs.h.
#define PE_LANG_DIVEHI 0x65 |
Definition at line 191 of file pe_specs.h.
#define PE_LANG_DUTCH 0x13 |
Definition at line 192 of file pe_specs.h.
#define PE_LANG_ENGLISH 0x09 |
Definition at line 193 of file pe_specs.h.
#define PE_LANG_ESPERANTO 0x8f |
Definition at line 263 of file pe_specs.h.
#define PE_LANG_ESTONIAN 0x25 |
Definition at line 194 of file pe_specs.h.
#define PE_LANG_FAEROESE 0x38 |
Definition at line 195 of file pe_specs.h.
#define PE_LANG_FARSI 0x29 |
Definition at line 196 of file pe_specs.h.
#define PE_LANG_FINNISH 0x0b |
Definition at line 197 of file pe_specs.h.
#define PE_LANG_FRENCH 0x0c |
Definition at line 198 of file pe_specs.h.
#define PE_LANG_GAELIC 0x3c |
Definition at line 251 of file pe_specs.h.
#define PE_LANG_GALICIAN 0x56 |
Definition at line 199 of file pe_specs.h.
#define PE_LANG_GEORGIAN 0x37 |
Definition at line 200 of file pe_specs.h.
#define PE_LANG_GERMAN 0x07 |
Definition at line 201 of file pe_specs.h.
#define PE_LANG_GREEK 0x08 |
Definition at line 202 of file pe_specs.h.
#define PE_LANG_GUJARATI 0x47 |
Definition at line 203 of file pe_specs.h.
#define PE_LANG_HEBREW 0x0d |
Definition at line 204 of file pe_specs.h.
#define PE_LANG_HINDI 0x39 |
Definition at line 205 of file pe_specs.h.
#define PE_LANG_HUNGARIAN 0x0e |
Definition at line 206 of file pe_specs.h.
#define PE_LANG_ICELANDIC 0x0f |
Definition at line 207 of file pe_specs.h.
#define PE_LANG_INDONESIAN 0x21 |
Definition at line 208 of file pe_specs.h.
#define PE_LANG_INVARIANT 0x7f |
Definition at line 175 of file pe_specs.h.
#define PE_LANG_ITALIAN 0x10 |
Definition at line 209 of file pe_specs.h.
#define PE_LANG_JAPANESE 0x11 |
Definition at line 210 of file pe_specs.h.
#define PE_LANG_KANNADA 0x4b |
Definition at line 211 of file pe_specs.h.
#define PE_LANG_KASHMIRI 0x60 |
Definition at line 212 of file pe_specs.h.
#define PE_LANG_KAZAK 0x3f |
Definition at line 213 of file pe_specs.h.
#define PE_LANG_KONKANI 0x57 |
Definition at line 214 of file pe_specs.h.
#define PE_LANG_KOREAN 0x12 |
Definition at line 215 of file pe_specs.h.
#define PE_LANG_KYRGYZ 0x40 |
Definition at line 216 of file pe_specs.h.
#define PE_LANG_LATVIAN 0x26 |
Definition at line 217 of file pe_specs.h.
#define PE_LANG_LITHUANIAN 0x27 |
Definition at line 218 of file pe_specs.h.
#define PE_LANG_MACEDONIAN 0x2f |
Definition at line 219 of file pe_specs.h.
#define PE_LANG_MALAY 0x3e |
Definition at line 220 of file pe_specs.h.
#define PE_LANG_MALAYALAM 0x4c |
Definition at line 221 of file pe_specs.h.
#define PE_LANG_MALTESE 0x3a |
Definition at line 252 of file pe_specs.h.
#define PE_LANG_MANIPURI 0x58 |
Definition at line 222 of file pe_specs.h.
#define PE_LANG_MAORI 0x28 |
Definition at line 253 of file pe_specs.h.
#define PE_LANG_MARATHI 0x4e |
Definition at line 223 of file pe_specs.h.
#define PE_LANG_MONGOLIAN 0x50 |
Definition at line 224 of file pe_specs.h.
#define PE_LANG_NEPALI 0x61 |
Definition at line 225 of file pe_specs.h.
#define PE_LANG_NEUTRAL 0x00 |
Definition at line 174 of file pe_specs.h.
#define PE_LANG_NORWEGIAN 0x14 |
Definition at line 226 of file pe_specs.h.
#define PE_LANG_ORIYA 0x48 |
Definition at line 227 of file pe_specs.h.
#define PE_LANG_POLISH 0x15 |
Definition at line 228 of file pe_specs.h.
#define PE_LANG_PORTUGUESE 0x16 |
Definition at line 229 of file pe_specs.h.
#define PE_LANG_PUNJABI 0x46 |
Definition at line 230 of file pe_specs.h.
#define PE_LANG_RHAETO_ROMANCE 0x17 |
Definition at line 254 of file pe_specs.h.
#define PE_LANG_ROMANIAN 0x18 |
Definition at line 231 of file pe_specs.h.
#define PE_LANG_RUSSIAN 0x19 |
Definition at line 232 of file pe_specs.h.
#define PE_LANG_SAAMI 0x3b |
Definition at line 255 of file pe_specs.h.
#define PE_LANG_SANSKRIT 0x4f |
Definition at line 233 of file pe_specs.h.
#define PE_LANG_SERBIAN 0x1a |
Definition at line 234 of file pe_specs.h.
#define PE_LANG_SINDHI 0x59 |
Definition at line 235 of file pe_specs.h.
#define PE_LANG_SLOVAK 0x1b |
Definition at line 236 of file pe_specs.h.
#define PE_LANG_SLOVENIAN 0x24 |
Definition at line 237 of file pe_specs.h.
#define PE_LANG_SORBIAN 0x2e |
Definition at line 256 of file pe_specs.h.
#define PE_LANG_SPANISH 0x0a |
Definition at line 238 of file pe_specs.h.
#define PE_LANG_SUTU 0x30 |
Definition at line 257 of file pe_specs.h.
#define PE_LANG_SWAHILI 0x41 |
Definition at line 239 of file pe_specs.h.
#define PE_LANG_SWEDISH 0x1d |
Definition at line 240 of file pe_specs.h.
#define PE_LANG_SYRIAC 0x5a |
Definition at line 241 of file pe_specs.h.
#define PE_LANG_TAMIL 0x49 |
Definition at line 242 of file pe_specs.h.
#define PE_LANG_TATAR 0x44 |
Definition at line 243 of file pe_specs.h.
#define PE_LANG_TELUGU 0x4a |
Definition at line 244 of file pe_specs.h.
#define PE_LANG_THAI 0x1e |
Definition at line 245 of file pe_specs.h.
#define PE_LANG_TSONGA 0x31 |
Definition at line 258 of file pe_specs.h.
#define PE_LANG_TSWANA 0x32 |
Definition at line 259 of file pe_specs.h.
#define PE_LANG_TURKISH 0x1f |
Definition at line 246 of file pe_specs.h.
#define PE_LANG_UKRAINIAN 0x22 |
Definition at line 247 of file pe_specs.h.
#define PE_LANG_URDU 0x20 |
Definition at line 248 of file pe_specs.h.
#define PE_LANG_UZBEK 0x43 |
Definition at line 249 of file pe_specs.h.
#define PE_LANG_VENDA 0x33 |
Definition at line 260 of file pe_specs.h.
#define PE_LANG_VIETNAMESE 0x2a |
Definition at line 250 of file pe_specs.h.
#define PE_LANG_WALON 0x90 |
Definition at line 264 of file pe_specs.h.
#define PE_LANG_WELSH 0x92 |
Definition at line 266 of file pe_specs.h.
#define PE_LANG_XHOSA 0x34 |
Definition at line 261 of file pe_specs.h.
#define PE_LANG_ZULU 0x35 |
Definition at line 262 of file pe_specs.h.
#define PE_NAME_LENGTH 256 |
Definition at line 36 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_ACCELERATOR 9 |
Definition at line 518 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_ANICURSOR 21 |
Definition at line 527 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_ANIICON 22 |
Definition at line 528 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_BITMAP 2 |
Definition at line 511 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_CURSOR 1 |
Definition at line 510 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_DIALOG 5 |
Definition at line 514 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_DLGINCLUDE 17 |
Definition at line 524 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_FONT 8 |
Definition at line 517 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_FONTDIR 7 |
Definition at line 516 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_GROUP_CURSOR 12 |
Definition at line 521 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_GROUP_ICON 14 |
Definition at line 522 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_HTML 23 |
Definition at line 529 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_ICON 3 |
Definition at line 512 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_MANIFEST 24 |
Definition at line 530 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_MENU 4 |
Definition at line 513 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_MESSAGETABLE 11 |
Definition at line 520 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_PLUGPLAY 19 |
Definition at line 525 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_RCDATA 10 |
Definition at line 519 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_STRING 6 |
Definition at line 515 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_VERSION 16 |
Definition at line 523 of file pe_specs.h.
#define PE_RESOURCE_ENTRY_VXD 20 |
Definition at line 526 of file pe_specs.h.
#define PE_STRING_LENGTH 256 |
Definition at line 37 of file pe_specs.h.
#define PE_VFT2_DRV_COMM 0x0000000AL |
Definition at line 638 of file pe_specs.h.
#define PE_VFT2_DRV_DISPLAY 0x00000004L |
Definition at line 639 of file pe_specs.h.
#define PE_VFT2_DRV_INSTALLABLE 0x00000008L |
Definition at line 640 of file pe_specs.h.
#define PE_VFT2_DRV_KEYBOARD 0x00000002L |
Definition at line 641 of file pe_specs.h.
#define PE_VFT2_DRV_LANGUAGE 0x00000003L |
Definition at line 642 of file pe_specs.h.
#define PE_VFT2_DRV_MOUSE 0x00000005L |
Definition at line 643 of file pe_specs.h.
#define PE_VFT2_DRV_NETWORK 0x00000006L |
Definition at line 644 of file pe_specs.h.
#define PE_VFT2_DRV_PRINTER 0x00000001L |
Definition at line 645 of file pe_specs.h.
#define PE_VFT2_DRV_SOUND 0x00000009L |
Definition at line 646 of file pe_specs.h.
#define PE_VFT2_DRV_SYSTEM 0x00000007L |
Definition at line 647 of file pe_specs.h.
#define PE_VFT2_DRV_VERSIONED_PRINTER 0x0000000CL |
Definition at line 648 of file pe_specs.h.
#define PE_VFT2_FONT_RASTER 0x00000001L |
Definition at line 651 of file pe_specs.h.
#define PE_VFT2_FONT_TRUETYPE 0x00000003L |
Definition at line 652 of file pe_specs.h.
#define PE_VFT2_FONT_VECTOR 0x00000002L |
Definition at line 653 of file pe_specs.h.
#define PE_VFT2_UNKNOWN 0x00000000L |
Definition at line 654 of file pe_specs.h.
#define PE_VFT2_UNKNOWN 0x00000000L |
Definition at line 654 of file pe_specs.h.
#define PE_VFT_APP 0x00000001L |
Definition at line 630 of file pe_specs.h.
#define PE_VFT_DLL 0x00000002L |
Definition at line 631 of file pe_specs.h.
#define PE_VFT_DRV 0x00000003L |
Definition at line 632 of file pe_specs.h.
#define PE_VFT_FONT 0x00000004L |
Definition at line 633 of file pe_specs.h.
#define PE_VFT_STATIC_LIB 0x00000007L |
Definition at line 634 of file pe_specs.h.
#define PE_VFT_UNKNOWN 0x00000000L |
Definition at line 635 of file pe_specs.h.
#define PE_VFT_VXD 0x00000005L |
Definition at line 636 of file pe_specs.h.
#define PE_VOS__PM16 0x00000002L |
Definition at line 620 of file pe_specs.h.
#define PE_VOS__PM32 0x00000003L |
Definition at line 621 of file pe_specs.h.
#define PE_VOS__WINDOWS16 0x00000001L |
Definition at line 616 of file pe_specs.h.
#define PE_VOS__WINDOWS32 0x00000004L |
Definition at line 617 of file pe_specs.h.
#define PE_VOS_DOS 0x00010000L |
Definition at line 614 of file pe_specs.h.
#define PE_VOS_DOS_WINDOWS16 0x00010001L |
Definition at line 624 of file pe_specs.h.
#define PE_VOS_DOS_WINDOWS32 0x00010004L |
Definition at line 625 of file pe_specs.h.
#define PE_VOS_NT 0x00040000L |
Definition at line 615 of file pe_specs.h.
#define PE_VOS_NT_WINDOWS32 0x00040004L |
Definition at line 626 of file pe_specs.h.
#define PE_VOS_OS216 0x00020000L |
Definition at line 618 of file pe_specs.h.
#define PE_VOS_OS216_PM16 0x00020002L |
Definition at line 627 of file pe_specs.h.
#define PE_VOS_OS232 0x00030000L |
Definition at line 619 of file pe_specs.h.
#define PE_VOS_OS232_PM32 0x00030003L |
Definition at line 628 of file pe_specs.h.
#define PE_VOS_UNKNOWN 0x00000000L |
Definition at line 622 of file pe_specs.h.
#define PE_VS_FF_DEBUG 0x00000001L |
Definition at line 607 of file pe_specs.h.
#define PE_VS_FF_INFOINFERRED 0x00000010L |
Definition at line 611 of file pe_specs.h.
#define PE_VS_FF_PATCHED 0x00000004L |
Definition at line 609 of file pe_specs.h.
#define PE_VS_FF_PRERELEASE 0x00000002L |
Definition at line 608 of file pe_specs.h.
#define PE_VS_FF_PRIVATEBUILD 0x00000008L |
Definition at line 610 of file pe_specs.h.
#define PE_VS_FF_SPECIALBUILD 0x00000020L |
Definition at line 612 of file pe_specs.h.
#define PE_VWord ut32 |
Definition at line 28 of file pe_specs.h.
#define PE_WIN_CERT_REVISION_1_0 0x0100 |
Definition at line 429 of file pe_specs.h.
#define PE_WIN_CERT_REVISION_2_0 0x0200 |
Definition at line 430 of file pe_specs.h.
#define PE_WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002 |
Definition at line 433 of file pe_specs.h.
#define PE_WIN_CERT_TYPE_RESERVED_1 0x0003 |
Definition at line 434 of file pe_specs.h.
#define PE_WIN_CERT_TYPE_TS_STACK_SIGNED 0x0004 |
Definition at line 435 of file pe_specs.h.
#define PE_WIN_CERT_TYPE_X509 0x0001 |
Definition at line 432 of file pe_specs.h.
#define PE_Word ut16 |
Definition at line 26 of file pe_specs.h.
#define RZ_BUF_READ_PE_DWORD_AT rz_buf_read_le32_at |
Definition at line 29 of file pe_specs.h.
#define RZ_PE_MAX_RESOURCES 2056 |
Definition at line 509 of file pe_specs.h.
#define STRINGFILEINFO_TEXT "StringFileInfo" |
Definition at line 532 of file pe_specs.h.
#define STRINGFILEINFO_TEXT_LEN sizeof(STRINGFILEINFO_TEXT) |
Definition at line 537 of file pe_specs.h.
#define STRINGFILEINFO_UTF_16 "S\0t\0r\0i\0n\0g\0F\0i\0l\0e\0I\0n\0f\0o\0\0" |
Definition at line 544 of file pe_specs.h.
#define STRINGFILEINFO_UTF_16_LEN sizeof(STRINGFILEINFO_UTF_16) |
Definition at line 549 of file pe_specs.h.
#define TRANSLATION_TEXT "Translation" |
Definition at line 533 of file pe_specs.h.
#define TRANSLATION_TEXT_LEN sizeof(TRANSLATION_TEXT) |
Definition at line 538 of file pe_specs.h.
#define TRANSLATION_UTF_16 "T\0r\0a\0n\0s\0l\0a\0t\0i\0o\0n\0\0" |
Definition at line 545 of file pe_specs.h.
#define TRANSLATION_UTF_16_LEN sizeof(TRANSLATION_UTF_16) |
Definition at line 550 of file pe_specs.h.
#define VARFILEINFO_TEXT "VarFileInfo" |
Definition at line 534 of file pe_specs.h.
#define VARFILEINFO_TEXT_LEN sizeof(VARFILEINFO_TEXT) |
Definition at line 539 of file pe_specs.h.
#define VARFILEINFO_UTF_16 "V\0a\0r\0F\0i\0l\0e\0I\0n\0f\0o\0\0" |
Definition at line 546 of file pe_specs.h.
#define VARFILEINFO_UTF_16_LEN sizeof(VARFILEINFO_UTF_16) |
Definition at line 551 of file pe_specs.h.
#define VS_VERSION_INFO_TEXT "VS_VERSION_INFO" |
Definition at line 535 of file pe_specs.h.
#define VS_VERSION_INFO_TEXT_LEN sizeof(VS_VERSION_INFO_TEXT) |
Definition at line 540 of file pe_specs.h.
#define VS_VERSION_INFO_UTF_16 "V\0S\0_\0V\0E\0R\0S\0I\0O\0N\0_\0I\0N\0F\0O\0\0" |
Definition at line 547 of file pe_specs.h.
#define VS_VERSION_INFO_UTF_16_LEN sizeof(VS_VERSION_INFO_UTF_16) |
Definition at line 552 of file pe_specs.h.
typedef struct Pe32_image_data_directory Pe64_image_data_directory |
typedef struct Pe32_image_debug_directory_entry Pe64_image_debug_directory_entry |
typedef struct Pe32_image_dos_header Pe64_image_dos_header |
typedef struct Pe32_image_export_directory Pe64_image_export_directory |
typedef struct Pe32_image_file_header Pe64_image_file_header |
typedef struct Pe32_image_import_directory Pe64_image_import_directory |
typedef struct Pe32_image_section_header Pe64_image_section_header |
typedef struct Pe32_image_tls_directory Pe64_image_tls_directory |
enum PE64_UNWIND_CODE_OPS |
Enumerator | |
---|---|
UWOP_PUSH_NONVOL | |
UWOP_ALLOC_LARGE | |
UWOP_ALLOC_SMALL | |
UWOP_SET_FPREG | |
UWOP_SAVE_NONVOL | |
UWOP_SAVE_NONVOL_FAR | |
UWOP_UNKNOWN1 | |
UWOP_UNKNOWN2 | |
UWOP_SAVE_XMM128 | |
UWOP_SAVE_XMM128_FAR | |
UWOP_PUSH_MACHFRAME |
Definition at line 686 of file pe_specs.h.
bool Pe32_read_dos_header | ( | RzBuffer * | buf, |
Pe32_image_dos_header * | header | ||
) |
bool Pe32_read_image_section_header | ( | RzBuffer * | b, |
ut64 | addr, | ||
Pe32_image_section_header * | section_header | ||
) |
bool Pe32_read_nt_headers | ( | RzBuffer * | buf, |
ut64 | addr, | ||
Pe32_image_nt_headers * | headers | ||
) |
void Pe32_write_image_section_header | ( | RzBuffer * | b, |
ut64 | addr, | ||
Pe32_image_section_header * | section_header | ||
) |
bool Pe64_read_dos_header | ( | RzBuffer * | buf, |
Pe64_image_dos_header * | header | ||
) |
Referenced by rz_bin_mdmp_patch_pe_headers().
bool Pe64_read_image_section_header | ( | RzBuffer * | b, |
ut64 | addr, | ||
Pe64_image_section_header * | section_header | ||
) |
Referenced by rz_bin_mdmp_patch_pe_headers().
bool Pe64_read_nt_headers | ( | RzBuffer * | buf, |
ut64 | addr, | ||
Pe64_image_nt_headers * | headers | ||
) |
Referenced by rz_bin_mdmp_patch_pe_headers().
void Pe64_write_image_section_header | ( | RzBuffer * | b, |
ut64 | addr, | ||
Pe64_image_section_header * | section_header | ||
) |
Referenced by rz_bin_mdmp_patch_pe_headers().