Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

lestruct.h File Reference

#include "global.h"

Go to the source code of this file.

Classes

struct  ht_le_objmap
struct  ht_le_pagemap
struct  LE_ENTRYPOINT16
struct  LE_ENTRYPOINT32
struct  LE_ENTRYPOINT_BUNDLE
struct  LE_FIXUP
struct  LE_FIXUP_INTERNAL16
struct  LE_FIXUP_INTERNAL32
struct  LE_HEADER
struct  LE_OBJECT
struct  LE_PAGE_MAP_ENTRY
struct  LE_VXD_DESCRIPTOR

Defines

#define LE_CPU_286   0x01
#define LE_CPU_386   0x02
#define LE_CPU_486   0x03
#define LE_CPU_586   0x04
#define LE_CPU_N10   0x20
#define LE_CPU_N11   0x21
#define LE_CPU_R2000   0x40
#define LE_CPU_R6000   0x41
#define LE_CPU_R4000   0x42
#define LE_OS_OS2   0x01
#define LE_OS_WIN   0x02
#define LE_OS_DOS4   0x03
#define LE_OS_WIN386   0x04
#define LE_MAGIC0   'L'
#define LE_MAGIC1   'E'
#define LE_SIZEOF_HEADER   196
#define LE_MODULE_FLAG_INIT_PER_PROCESS   (1<<2)
#define LE_MODULE_FLAG_NO_EXT_FIXUP   (1<<4)
#define LE_MODULE_FLAG_NO_INT_FIXUP   (1<<5)
#define LE_MODULE_FLAG_WINDOWING_MASK   (7<<8)
#define LE_MODULE_FLAG_NOT_LOADABLE   (1<<13)
#define LE_MODULE_FLAG_LIBRARY   (1<<15)
#define LE_OBJECT_FLAG_READABLE   (1<<0)
#define LE_OBJECT_FLAG_WRITEABLE   (1<<1)
#define LE_OBJECT_FLAG_EXECUTABLE   (1<<2)
#define LE_OBJECT_FLAG_RESOURCE   (1<<3)
#define LE_OBJECT_FLAG_DISCARDABLE   (1<<4)
#define LE_OBJECT_FLAG_SHARED   (1<<5)
#define LE_OBJECT_FLAG_PRELOADED   (1<<6)
#define LE_OBJECT_FLAG_INVALID   (1<<7)
#define LE_OBJECT_FLAG_USE32   (1<<13)
#define LE_SIZEOF_OBJECT   24
#define LE_ENTRYPOINT_BUNDLE_VALID   (1<<0)
#define LE_ENTRYPOINT_BUNDLE_32BIT   (1<<1)
#define LE_ENTRYPOINT_EXPORTED   (1<<0)
#define LE_ENTRYPOINT_SHARED   (1<<1)
#define LE_FIXUP_ADDR_TYPE_MASK   (15<<0)
#define LE_FIXUP_ADDR_TYPE_0_8   0
#define LE_FIXUP_ADDR_TYPE_16_0   2
#define LE_FIXUP_ADDR_TYPE_16_16   3
#define LE_FIXUP_ADDR_TYPE_0_16   5
#define LE_FIXUP_ADDR_TYPE_16_32   6
#define LE_FIXUP_ADDR_TYPE_0_32   7
#define LE_FIXUP_ADDR_TYPE_REL32   8
#define LE_FIXUP_ADDR_16_16   (1<<4)
#define LE_FIXUP_ADDR_MULTIPLE   (1<<5)
#define LE_FIXUP_RELOC_TYPE_MASK   (3<<0)
#define LE_FIXUP_RELOC_TYPE_INTERNAL   0
#define LE_FIXUP_RELOC_TYPE_IMPORT_ORD   1
#define LE_FIXUP_RELOC_TYPE_IMPORT_NAME   2
#define LE_FIXUP_RELOC_TYPE_OSFIXUP   3
#define LE_FIXUP_RELOC_ADDITIVE   (1<<2)
#define LE_FIXUP_RELOC_TARGET32   (1<<4)
#define LE_FIXUP_RELOC_ADDITIVE32   (1<<5)
#define LE_FIXUP_RELOC_ORDINAL16   (1<<6)
#define LE_FIXUP_RELOC_IORD8   (1<<7)

Variables

byte LE_HEADER_struct []
byte LE_FIXUP_struct []
byte LE_ENTRYPOINT16_struct []
byte LE_ENTRYPOINT32_struct []
byte LE_VXD_DESCRIPTOR_struct []
byte LE_FIXUP_INTERNAL_struct []
byte LE_OBJECT_HEADER_struct []
byte LE_PAGE_MAP_ENTRY_struct []
byte LE_FIXUP_INTERNAL16_struct []
byte LE_FIXUP_INTERNAL32_struct []


Define Documentation

#define LE_CPU_286   0x01
 

Definition at line 26 of file lestruct.h.

#define LE_CPU_386   0x02
 

Definition at line 27 of file lestruct.h.

#define LE_CPU_486   0x03
 

Definition at line 28 of file lestruct.h.

#define LE_CPU_586   0x04
 

Definition at line 29 of file lestruct.h.

#define LE_CPU_N10   0x20
 

Definition at line 30 of file lestruct.h.

#define LE_CPU_N11   0x21
 

Definition at line 31 of file lestruct.h.

#define LE_CPU_R2000   0x40
 

Definition at line 32 of file lestruct.h.

#define LE_CPU_R4000   0x42
 

Definition at line 34 of file lestruct.h.

#define LE_CPU_R6000   0x41
 

Definition at line 33 of file lestruct.h.

#define LE_ENTRYPOINT_BUNDLE_32BIT   (1<<1)
 

Definition at line 187 of file lestruct.h.

Referenced by ht_le::check_vxd().

#define LE_ENTRYPOINT_BUNDLE_VALID   (1<<0)
 

Definition at line 186 of file lestruct.h.

Referenced by ht_le::check_vxd().

#define LE_ENTRYPOINT_EXPORTED   (1<<0)
 

Definition at line 195 of file lestruct.h.

Referenced by ht_le::check_vxd().

#define LE_ENTRYPOINT_SHARED   (1<<1)
 

Definition at line 196 of file lestruct.h.

#define LE_FIXUP_ADDR_16_16   (1<<4)
 

Definition at line 220 of file lestruct.h.

#define LE_FIXUP_ADDR_MULTIPLE   (1<<5)
 

Definition at line 221 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_FIXUP_ADDR_TYPE_0_16   5
 

Definition at line 216 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_0_32   7
 

Definition at line 218 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_0_8   0
 

Definition at line 213 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_16_0   2
 

Definition at line 214 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_16_16   3
 

Definition at line 215 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_16_32   6
 

Definition at line 217 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_MASK   (15<<0)
 

Definition at line 212 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_ADDR_TYPE_REL32   8
 

Definition at line 219 of file lestruct.h.

Referenced by ht_le::do_fixups(), and ht_le_reloc_file::reloc_apply().

#define LE_FIXUP_RELOC_ADDITIVE   (1<<2)
 

Definition at line 228 of file lestruct.h.

#define LE_FIXUP_RELOC_ADDITIVE32   (1<<5)
 

Definition at line 230 of file lestruct.h.

#define LE_FIXUP_RELOC_IORD8   (1<<7)
 

Definition at line 232 of file lestruct.h.

#define LE_FIXUP_RELOC_ORDINAL16   (1<<6)
 

Definition at line 231 of file lestruct.h.

#define LE_FIXUP_RELOC_TARGET32   (1<<4)
 

Definition at line 229 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_FIXUP_RELOC_TYPE_IMPORT_NAME   2
 

Definition at line 226 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_FIXUP_RELOC_TYPE_IMPORT_ORD   1
 

Definition at line 225 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_FIXUP_RELOC_TYPE_INTERNAL   0
 

Definition at line 224 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_FIXUP_RELOC_TYPE_MASK   (3<<0)
 

Definition at line 223 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_FIXUP_RELOC_TYPE_OSFIXUP   3
 

Definition at line 227 of file lestruct.h.

Referenced by ht_le::do_fixups().

#define LE_MAGIC0   'L'
 

Definition at line 41 of file lestruct.h.

#define LE_MAGIC1   'E'
 

Definition at line 42 of file lestruct.h.

#define LE_MODULE_FLAG_INIT_PER_PROCESS   (1<<2)
 

Definition at line 119 of file lestruct.h.

#define LE_MODULE_FLAG_LIBRARY   (1<<15)
 

Definition at line 127 of file lestruct.h.

#define LE_MODULE_FLAG_NO_EXT_FIXUP   (1<<4)
 

Definition at line 121 of file lestruct.h.

#define LE_MODULE_FLAG_NO_INT_FIXUP   (1<<5)
 

Definition at line 122 of file lestruct.h.

#define LE_MODULE_FLAG_NOT_LOADABLE   (1<<13)
 

Definition at line 126 of file lestruct.h.

#define LE_MODULE_FLAG_WINDOWING_MASK   (7<<8)
 

Definition at line 124 of file lestruct.h.

#define LE_OBJECT_FLAG_DISCARDABLE   (1<<4)
 

Definition at line 158 of file lestruct.h.

#define LE_OBJECT_FLAG_EXECUTABLE   (1<<2)
 

Definition at line 156 of file lestruct.h.

Referenced by LEAnalyser::validAddress().

#define LE_OBJECT_FLAG_INVALID   (1<<7)
 

Definition at line 161 of file lestruct.h.

#define LE_OBJECT_FLAG_PRELOADED   (1<<6)
 

Definition at line 160 of file lestruct.h.

#define LE_OBJECT_FLAG_READABLE   (1<<0)
 

Definition at line 154 of file lestruct.h.

Referenced by LEAnalyser::validAddress().

#define LE_OBJECT_FLAG_RESOURCE   (1<<3)
 

Definition at line 157 of file lestruct.h.

#define LE_OBJECT_FLAG_SHARED   (1<<5)
 

Definition at line 159 of file lestruct.h.

#define LE_OBJECT_FLAG_USE32   (1<<13)
 

Definition at line 163 of file lestruct.h.

Referenced by LEAnalyser::beginAnalysis().

#define LE_OBJECT_FLAG_WRITEABLE   (1<<1)
 

Definition at line 155 of file lestruct.h.

Referenced by LEAnalyser::validAddress().

#define LE_OS_DOS4   0x03
 

Definition at line 38 of file lestruct.h.

#define LE_OS_OS2   0x01
 

Definition at line 36 of file lestruct.h.

#define LE_OS_WIN   0x02
 

Definition at line 37 of file lestruct.h.

#define LE_OS_WIN386   0x04
 

Definition at line 39 of file lestruct.h.

#define LE_SIZEOF_HEADER   196
 

Definition at line 44 of file lestruct.h.

#define LE_SIZEOF_OBJECT   24
 

Definition at line 165 of file lestruct.h.


Variable Documentation

byte LE_ENTRYPOINT16_struct[]
 

Definition at line 301 of file lestruct.h.

byte LE_ENTRYPOINT32_struct[]
 

Definition at line 302 of file lestruct.h.

Referenced by ht_le::check_vxd().

byte LE_FIXUP_INTERNAL16_struct[]
 

Definition at line 307 of file lestruct.h.

Referenced by ht_le::do_fixups().

byte LE_FIXUP_INTERNAL32_struct[]
 

Definition at line 308 of file lestruct.h.

Referenced by ht_le::do_fixups().

byte LE_FIXUP_INTERNAL_struct[]
 

Definition at line 304 of file lestruct.h.

byte LE_FIXUP_struct[]
 

Definition at line 300 of file lestruct.h.

Referenced by ht_le::do_fixups().

byte LE_HEADER_struct[]
 

Definition at line 299 of file lestruct.h.

Referenced by ht_le::init().

byte LE_OBJECT_HEADER_struct[]
 

Definition at line 305 of file lestruct.h.

Referenced by ht_le::read_objects().

byte LE_PAGE_MAP_ENTRY_struct[]
 

Definition at line 306 of file lestruct.h.

Referenced by ht_le::read_pagemap().

byte LE_VXD_DESCRIPTOR_struct[]
 

Definition at line 303 of file lestruct.h.

Referenced by ht_le::check_vxd().


Generated on Fri May 7 21:15:51 2004 by doxygen 1.3.5