Rizin
unix-like reverse engineering framework and cli tools
te_specs.h File Reference

Go to the source code of this file.

Classes

struct  efi_image_data_directory
 
struct  TE_image_file_header
 
struct  TE_image_section_header
 

Macros

#define TE_Word   ut16
 
#define TE_DWord   ut64
 
#define TE_VWord   ut32
 
#define TE_NAME_LENGTH   256
 
#define TE_STRING_LENGTH   256
 
#define TE_IMAGE_FILE_MACHINE_UNKNOWN   0x0000
 
#define TE_IMAGE_FILE_MACHINE_ALPHA   0x0184
 
#define TE_IMAGE_FILE_MACHINE_ALPHA64   0x0284
 
#define TE_IMAGE_FILE_MACHINE_AM33   0x01d3
 
#define TE_IMAGE_FILE_MACHINE_AMD64   0x8664
 
#define TE_IMAGE_FILE_MACHINE_ARM   0x01c0
 
#define TE_IMAGE_FILE_MACHINE_AXP64   TE_IMAGE_FILE_MACHINE_ALPHA64
 
#define TE_IMAGE_FILE_MACHINE_CEE   0xc0ee
 
#define TE_IMAGE_FILE_MACHINE_CEF   0x0cef
 
#define TE_IMAGE_FILE_MACHINE_EBC   0x0ebc
 
#define TE_IMAGE_FILE_MACHINE_I386   0x014c
 
#define TE_IMAGE_FILE_MACHINE_IA64   0x0200
 
#define TE_IMAGE_FILE_MACHINE_M32R   0x9041
 
#define TE_IMAGE_FILE_MACHINE_M68K   0x0268
 
#define TE_IMAGE_FILE_MACHINE_MIPS16   0x0266
 
#define TE_IMAGE_FILE_MACHINE_MIPSFPU   0x0366
 
#define TE_IMAGE_FILE_MACHINE_MIPSFPU16   0x0466
 
#define TE_IMAGE_FILE_MACHINE_POWERPC   0x01f0
 
#define TE_IMAGE_FILE_MACHINE_POWERPCFP   0x01f1
 
#define TE_IMAGE_FILE_MACHINE_R10000   0x0168
 
#define TE_IMAGE_FILE_MACHINE_R3000   0x0162
 
#define TE_IMAGE_FILE_MACHINE_R4000   0x0166
 
#define TE_IMAGE_FILE_MACHINE_SH3   0x01a2
 
#define TE_IMAGE_FILE_MACHINE_SH3DSP   0x01a3
 
#define TE_IMAGE_FILE_MACHINE_SH3E   0x01a4
 
#define TE_IMAGE_FILE_MACHINE_SH4   0x01a6
 
#define TE_IMAGE_FILE_MACHINE_SH5   0x01a8
 
#define TE_IMAGE_FILE_MACHINE_THUMB   0x01c2
 
#define TE_IMAGE_FILE_MACHINE_TRICORE   0x0520
 
#define TE_IMAGE_FILE_MACHINE_WCEMIPSV2   0x0169
 
#define TE_IMAGE_DIRECTORY_ENTRIES   2
 
#define TE_IMAGE_DIRECTORY_ENTRY_BASERELOC   0
 
#define TE_IMAGE_DIRECTORY_ENTRY_DEBUG   1
 
#define TE_IMAGE_SUBSYSTEM_UNKNOWN   0
 
#define TE_IMAGE_SUBSYSTEM_NATIVE   1
 
#define TE_IMAGE_SUBSYSTEM_WINDOWS_GUI   2
 
#define TE_IMAGE_SUBSYSTEM_WINDOWS_CUI   3
 
#define TE_IMAGE_SUBSYSTEM_POSIX_CUI   7
 
#define TE_IMAGE_SUBSYSTEM_WINDOWS_CE_GUI   9
 
#define TE_IMAGE_SUBSYSTEM_EFI_APPLICATION   10
 
#define TE_IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER   11
 
#define TE_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12
 
#define TE_IMAGE_SUBSYSTEM_EFI_ROM   13
 
#define TE_IMAGE_SUBSYSTEM_XBOX   14
 
#define TE_IMAGE_SIZEOF_NAME   8
 
#define TE_IMAGE_SCN_MEM_SHARED   0x10000000
 
#define TE_IMAGE_SCN_MEM_EXECUTE   0x20000000
 
#define TE_IMAGE_SCN_MEM_READ   0x40000000
 
#define TE_IMAGE_SCN_MEM_WRITE   0x80000000
 

Macro Definition Documentation

◆ TE_DWord

#define TE_DWord   ut64

Definition at line 11 of file te_specs.h.

◆ TE_IMAGE_DIRECTORY_ENTRIES

#define TE_IMAGE_DIRECTORY_ENTRIES   2

Definition at line 51 of file te_specs.h.

◆ TE_IMAGE_DIRECTORY_ENTRY_BASERELOC

#define TE_IMAGE_DIRECTORY_ENTRY_BASERELOC   0

Definition at line 53 of file te_specs.h.

◆ TE_IMAGE_DIRECTORY_ENTRY_DEBUG

#define TE_IMAGE_DIRECTORY_ENTRY_DEBUG   1

Definition at line 54 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_ALPHA

#define TE_IMAGE_FILE_MACHINE_ALPHA   0x0184

Definition at line 21 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_ALPHA64

#define TE_IMAGE_FILE_MACHINE_ALPHA64   0x0284

Definition at line 22 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_AM33

#define TE_IMAGE_FILE_MACHINE_AM33   0x01d3

Definition at line 23 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_AMD64

#define TE_IMAGE_FILE_MACHINE_AMD64   0x8664

Definition at line 24 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_ARM

#define TE_IMAGE_FILE_MACHINE_ARM   0x01c0

Definition at line 25 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_AXP64

#define TE_IMAGE_FILE_MACHINE_AXP64   TE_IMAGE_FILE_MACHINE_ALPHA64

Definition at line 26 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_CEE

#define TE_IMAGE_FILE_MACHINE_CEE   0xc0ee

Definition at line 27 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_CEF

#define TE_IMAGE_FILE_MACHINE_CEF   0x0cef

Definition at line 28 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_EBC

#define TE_IMAGE_FILE_MACHINE_EBC   0x0ebc

Definition at line 29 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_I386

#define TE_IMAGE_FILE_MACHINE_I386   0x014c

Definition at line 30 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_IA64

#define TE_IMAGE_FILE_MACHINE_IA64   0x0200

Definition at line 31 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_M32R

#define TE_IMAGE_FILE_MACHINE_M32R   0x9041

Definition at line 32 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_M68K

#define TE_IMAGE_FILE_MACHINE_M68K   0x0268

Definition at line 33 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_MIPS16

#define TE_IMAGE_FILE_MACHINE_MIPS16   0x0266

Definition at line 34 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_MIPSFPU

#define TE_IMAGE_FILE_MACHINE_MIPSFPU   0x0366

Definition at line 35 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_MIPSFPU16

#define TE_IMAGE_FILE_MACHINE_MIPSFPU16   0x0466

Definition at line 36 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_POWERPC

#define TE_IMAGE_FILE_MACHINE_POWERPC   0x01f0

Definition at line 37 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_POWERPCFP

#define TE_IMAGE_FILE_MACHINE_POWERPCFP   0x01f1

Definition at line 38 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_R10000

#define TE_IMAGE_FILE_MACHINE_R10000   0x0168

Definition at line 39 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_R3000

#define TE_IMAGE_FILE_MACHINE_R3000   0x0162

Definition at line 40 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_R4000

#define TE_IMAGE_FILE_MACHINE_R4000   0x0166

Definition at line 41 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_SH3

#define TE_IMAGE_FILE_MACHINE_SH3   0x01a2

Definition at line 42 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_SH3DSP

#define TE_IMAGE_FILE_MACHINE_SH3DSP   0x01a3

Definition at line 43 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_SH3E

#define TE_IMAGE_FILE_MACHINE_SH3E   0x01a4

Definition at line 44 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_SH4

#define TE_IMAGE_FILE_MACHINE_SH4   0x01a6

Definition at line 45 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_SH5

#define TE_IMAGE_FILE_MACHINE_SH5   0x01a8

Definition at line 46 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_THUMB

#define TE_IMAGE_FILE_MACHINE_THUMB   0x01c2

Definition at line 47 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_TRICORE

#define TE_IMAGE_FILE_MACHINE_TRICORE   0x0520

Definition at line 48 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_UNKNOWN

#define TE_IMAGE_FILE_MACHINE_UNKNOWN   0x0000

Definition at line 20 of file te_specs.h.

◆ TE_IMAGE_FILE_MACHINE_WCEMIPSV2

#define TE_IMAGE_FILE_MACHINE_WCEMIPSV2   0x0169

Definition at line 49 of file te_specs.h.

◆ TE_IMAGE_SCN_MEM_EXECUTE

#define TE_IMAGE_SCN_MEM_EXECUTE   0x20000000

Definition at line 88 of file te_specs.h.

◆ TE_IMAGE_SCN_MEM_READ

#define TE_IMAGE_SCN_MEM_READ   0x40000000

Definition at line 89 of file te_specs.h.

◆ TE_IMAGE_SCN_MEM_SHARED

#define TE_IMAGE_SCN_MEM_SHARED   0x10000000

Definition at line 87 of file te_specs.h.

◆ TE_IMAGE_SCN_MEM_WRITE

#define TE_IMAGE_SCN_MEM_WRITE   0x80000000

Definition at line 90 of file te_specs.h.

◆ TE_IMAGE_SIZEOF_NAME

#define TE_IMAGE_SIZEOF_NAME   8

Definition at line 85 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_EFI_APPLICATION

#define TE_IMAGE_SUBSYSTEM_EFI_APPLICATION   10

Definition at line 62 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER

#define TE_IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER   11

Definition at line 63 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_EFI_ROM

#define TE_IMAGE_SUBSYSTEM_EFI_ROM   13

Definition at line 65 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER

#define TE_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12

Definition at line 64 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_NATIVE

#define TE_IMAGE_SUBSYSTEM_NATIVE   1

Definition at line 57 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_POSIX_CUI

#define TE_IMAGE_SUBSYSTEM_POSIX_CUI   7

Definition at line 60 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_UNKNOWN

#define TE_IMAGE_SUBSYSTEM_UNKNOWN   0

Definition at line 56 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_WINDOWS_CE_GUI

#define TE_IMAGE_SUBSYSTEM_WINDOWS_CE_GUI   9

Definition at line 61 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_WINDOWS_CUI

#define TE_IMAGE_SUBSYSTEM_WINDOWS_CUI   3

Definition at line 59 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_WINDOWS_GUI

#define TE_IMAGE_SUBSYSTEM_WINDOWS_GUI   2

Definition at line 58 of file te_specs.h.

◆ TE_IMAGE_SUBSYSTEM_XBOX

#define TE_IMAGE_SUBSYSTEM_XBOX   14

Definition at line 66 of file te_specs.h.

◆ TE_NAME_LENGTH

#define TE_NAME_LENGTH   256

Definition at line 17 of file te_specs.h.

◆ TE_STRING_LENGTH

#define TE_STRING_LENGTH   256

Definition at line 18 of file te_specs.h.

◆ TE_VWord

#define TE_VWord   ut32

Definition at line 12 of file te_specs.h.

◆ TE_Word

#define TE_Word   ut16

Definition at line 10 of file te_specs.h.