Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_types.h>
Go to the source code of this file.
Classes | |
struct | LE_entry_bundle_header_s |
struct | LE_fixup_record_header_s |
struct | LE_object_entry_s |
struct | LE_object_page_entry_s |
struct | LE_image_header_s |
Macros | |
#define | ENTRY_PARAMETER_TYPING_PRESENT 0x80 |
#define | ENTRY_EXPORTED 0x01 |
#define | ENTRY_PARAM_COUNT_MASK 0xF8 |
#define | F_SOURCE_TYPE_MASK 0xF |
#define | F_SOURCE_ALIAS 0x10 |
#define | F_SOURCE_LIST 0x20 |
#define | F_TARGET_TYPE_MASK 0x3 |
#define | F_TARGET_ADDITIVE 0x4 |
#define | F_TARGET_CHAIN 0x8 |
#define | F_TARGET_OFF32 0x10 |
#define | F_TARGET_ADD32 0x20 |
#define | F_TARGET_ORD16 0x40 |
#define | F_TARGET_ORD8 0x80 |
#define | O_READABLE 1 |
#define | O_WRITABLE 1 << 1 |
#define | O_EXECUTABLE 1 << 2 |
#define | O_RESOURCE 1 << 3 |
#define | O_DISCARTABLE 1 << 4 |
#define | O_SHARED 1 << 5 |
#define | O_PRELOAD 1 << 6 |
#define | O_INVALID 1 << 7 |
#define | O_ZEROED 1 << 8 |
#define | O_RESIDENT 1 << 9 |
#define | O_CONTIGUOUS O_RESIDENT | O_ZEROED |
#define | O_LOCKABLE 1 << 10 |
#define | O_RESERVED 1 << 11 |
#define | O_ALIASED 1 << 12 |
#define | O_BIG_BIT 1 << 13 |
#define | O_CODE 1 << 14 |
#define | O_IO_PRIV 1 << 15 |
#define | P_LEGAL 0 |
#define | P_ITERATED 1 |
#define | P_INVALID 2 |
#define | P_ZEROED 3 |
#define | P_RANGE 4 |
#define | P_COMPRESSED 5 |
#define | M_PP_LIB_INIT 1 << 2 |
#define | M_SYS_DLL 1 << 3 |
#define | M_INTERNAL_FIXUP 1 << 4 |
#define | M_EXTERNAL_FIXUP 1 << 5 |
#define | M_PM_WINDOWING_INCOMP 1 << 8 |
#define | M_PM_WINDOWING_COMPAT 1 << 9 |
#define | M_USES_PM_WINDOWING M_PM_WINDOWING_INCOMP | M_PM_WINDOWING_COMPAT |
#define | M_NOT_LOADABLE 1 << 13 |
#define | M_TYPE_MASK 0x38000 |
#define | M_TYPE_EXE 0 |
#define | M_TYPE_DLL 0x08000 |
#define | M_TYPE_PM_DLL 0x10000 |
#define | M_TYPE_PDD 0x20000 |
#define | M_TYPE_VDD 0x28000 |
#define | M_MP_UNSAFE 1 << 19 |
#define | M_PP_LIB_TERM 1 << 30 |
Typedefs | |
typedef struct LE_entry_bundle_header_s | LE_entry_bundle_header |
typedef struct LE_fixup_record_header_s | LE_fixup_record_header |
typedef struct LE_object_entry_s | LE_object_entry |
typedef struct LE_object_page_entry_s | LE_object_page_entry |
typedef struct LE_image_header_s | LE_image_header |
Enumerations | |
enum | LE_entry_bundle_type { UNUSED_ENTRY = 0 , ENTRY16 , CALLGATE , ENTRY32 , FORWARDER } |
enum | LE_resource_type { LE_RT_POINTER = 1 , LE_RT_BITMAP = 2 , LE_RT_MENU = 3 , LE_RT_DIALOG = 4 , LE_RT_STRING = 5 , LE_RT_FONTDIR = 6 , LE_RT_FONT = 7 , LE_RT_ACCELTABLE = 8 , LE_RT_RCDATA = 9 , LE_RT_MESSAGE = 10 , LE_RT_DLGINCLUDE = 11 , LE_RT_VKEYTBL = 12 , LE_RT_KEYTBL = 13 , LE_RT_CHARTBL = 14 , LE_RT_DISPLAYINFO = 15 , LE_RT_FKASHORT = 16 , LE_RT_FKALONG = 17 , LE_RT_HELPTABLE = 18 , LE_RT_HELPSUBTABLE = 19 , LE_RT_FDDIR = 20 , LE_RT_FD = 21 } |
enum | LE_fixup_source_type { BYTEFIXUP , UNDEFINED1 , SELECTOR16 , POINTER32 , UNDEFINED2 , OFFSET16 , POINTER48 , OFFSET32 , SELFOFFSET32 } |
enum | LE_fixup_record_type { INTERNAL , IMPORTORD , IMPORTNAME , INTERNALENTRY } |
Functions | |
RZ_PACKED (typedef union LE_entry_bundle_entry_u { RZ_PACKED(struct { ut8 flags;ut16 offset;}) entry_16;RZ_PACKED(struct { ut8 flags;ut16 offset;ut16 callgate_sel;}) callgate;RZ_PACKED(struct { ut8 flags;ut32 offset;}) entry_32;RZ_PACKED(struct { ut8 flags;ut16 import_ord;ut32 offset;}) forwarder;}) LE_entry_bundle_entry | |
#define ENTRY_EXPORTED 0x01 |
Definition at line 50 of file le_specs.h.
#define ENTRY_PARAM_COUNT_MASK 0xF8 |
Definition at line 51 of file le_specs.h.
#define ENTRY_PARAMETER_TYPING_PRESENT 0x80 |
Definition at line 42 of file le_specs.h.
#define F_SOURCE_ALIAS 0x10 |
Definition at line 80 of file le_specs.h.
#define F_SOURCE_LIST 0x20 |
Definition at line 81 of file le_specs.h.
#define F_SOURCE_TYPE_MASK 0xF |
Definition at line 79 of file le_specs.h.
#define F_TARGET_ADD32 0x20 |
Definition at line 99 of file le_specs.h.
#define F_TARGET_ADDITIVE 0x4 |
Definition at line 96 of file le_specs.h.
#define F_TARGET_CHAIN 0x8 |
Definition at line 97 of file le_specs.h.
#define F_TARGET_OFF32 0x10 |
Definition at line 98 of file le_specs.h.
#define F_TARGET_ORD16 0x40 |
Definition at line 100 of file le_specs.h.
#define F_TARGET_ORD8 0x80 |
Definition at line 101 of file le_specs.h.
#define F_TARGET_TYPE_MASK 0x3 |
Definition at line 95 of file le_specs.h.
#define M_EXTERNAL_FIXUP 1 << 5 |
Definition at line 158 of file le_specs.h.
#define M_INTERNAL_FIXUP 1 << 4 |
Definition at line 157 of file le_specs.h.
#define M_MP_UNSAFE 1 << 19 |
Definition at line 169 of file le_specs.h.
#define M_NOT_LOADABLE 1 << 13 |
Definition at line 162 of file le_specs.h.
#define M_PM_WINDOWING_COMPAT 1 << 9 |
Definition at line 160 of file le_specs.h.
#define M_PM_WINDOWING_INCOMP 1 << 8 |
Definition at line 159 of file le_specs.h.
#define M_PP_LIB_INIT 1 << 2 |
Definition at line 155 of file le_specs.h.
#define M_PP_LIB_TERM 1 << 30 |
Definition at line 170 of file le_specs.h.
#define M_SYS_DLL 1 << 3 |
Definition at line 156 of file le_specs.h.
#define M_TYPE_DLL 0x08000 |
Definition at line 165 of file le_specs.h.
#define M_TYPE_EXE 0 |
Definition at line 164 of file le_specs.h.
#define M_TYPE_MASK 0x38000 |
Definition at line 163 of file le_specs.h.
#define M_TYPE_PDD 0x20000 |
Definition at line 167 of file le_specs.h.
#define M_TYPE_PM_DLL 0x10000 |
Definition at line 166 of file le_specs.h.
#define M_TYPE_VDD 0x28000 |
Definition at line 168 of file le_specs.h.
#define M_USES_PM_WINDOWING M_PM_WINDOWING_INCOMP | M_PM_WINDOWING_COMPAT |
Definition at line 161 of file le_specs.h.
#define O_ALIASED 1 << 12 |
Definition at line 128 of file le_specs.h.
#define O_BIG_BIT 1 << 13 |
Definition at line 129 of file le_specs.h.
#define O_CODE 1 << 14 |
Definition at line 130 of file le_specs.h.
#define O_CONTIGUOUS O_RESIDENT | O_ZEROED |
Definition at line 125 of file le_specs.h.
#define O_DISCARTABLE 1 << 4 |
Definition at line 119 of file le_specs.h.
#define O_EXECUTABLE 1 << 2 |
Definition at line 117 of file le_specs.h.
#define O_INVALID 1 << 7 |
Definition at line 122 of file le_specs.h.
#define O_IO_PRIV 1 << 15 |
Definition at line 131 of file le_specs.h.
#define O_LOCKABLE 1 << 10 |
Definition at line 126 of file le_specs.h.
#define O_PRELOAD 1 << 6 |
Definition at line 121 of file le_specs.h.
#define O_READABLE 1 |
Definition at line 115 of file le_specs.h.
#define O_RESERVED 1 << 11 |
Definition at line 127 of file le_specs.h.
#define O_RESIDENT 1 << 9 |
Definition at line 124 of file le_specs.h.
#define O_RESOURCE 1 << 3 |
Definition at line 118 of file le_specs.h.
#define O_SHARED 1 << 5 |
Definition at line 120 of file le_specs.h.
#define O_WRITABLE 1 << 1 |
Definition at line 116 of file le_specs.h.
#define O_ZEROED 1 << 8 |
Definition at line 123 of file le_specs.h.
#define P_COMPRESSED 5 |
Definition at line 147 of file le_specs.h.
#define P_INVALID 2 |
Definition at line 144 of file le_specs.h.
#define P_ITERATED 1 |
Definition at line 143 of file le_specs.h.
#define P_LEGAL 0 |
Definition at line 142 of file le_specs.h.
#define P_RANGE 4 |
Definition at line 146 of file le_specs.h.
#define P_ZEROED 3 |
Definition at line 145 of file le_specs.h.
typedef struct LE_entry_bundle_header_s LE_entry_bundle_header |
typedef struct LE_fixup_record_header_s LE_fixup_record_header |
typedef struct LE_image_header_s LE_image_header |
typedef struct LE_object_entry_s LE_object_entry |
typedef struct LE_object_page_entry_s LE_object_page_entry |
enum LE_entry_bundle_type |
enum LE_fixup_record_type |
enum LE_fixup_source_type |
Enumerator | |
---|---|
BYTEFIXUP | |
UNDEFINED1 | |
SELECTOR16 | |
POINTER32 | |
UNDEFINED2 | |
OFFSET16 | |
POINTER48 | |
OFFSET32 | |
SELFOFFSET32 |
Definition at line 83 of file le_specs.h.
enum LE_resource_type |
Definition at line 16 of file le_specs.h.
RZ_PACKED | ( | typedef union LE_entry_bundle_entry_u { RZ_PACKED(struct { ut8 flags;ut16 offset;}) entry_16;RZ_PACKED(struct { ut8 flags;ut16 offset;ut16 callgate_sel;}) callgate;RZ_PACKED(struct { ut8 flags;ut32 offset;}) entry_32;RZ_PACKED(struct { ut8 flags;ut16 import_ord;ut32 offset;}) forwarder;} | ) |
References flags.