#include "htobj.h"
#include "formats.h"
#include "relfile.h"
#include "nestruct.h"
Go to the source code of this file.
Classes | |
class | ht_ne |
class | ht_ne_entrypoint |
class | ht_ne_reloc_entry |
class | ht_ne_reloc_file |
struct | ht_ne_shared_data |
class | ne_import_rec |
struct | ne_segment_headers |
Defines | |
#define | DESC_NE "ne - win16,os2 new exe" |
#define | DESC_NE_HEADER "ne/header" |
#define | DESC_NE_SEGMENTS "ne/segments" |
#define | DESC_NE_IMPORTS "ne/imports" |
#define | DESC_NE_ENTRYPOINTS "ne/entrypoints" |
#define | DESC_NE_NAMES "ne/names" |
#define | DESC_NE_IMAGE "ne/image" |
#define | ATOM_NE_FLAGS 0x4e450000 |
#define | ATOM_NE_FLAGS_STR "4e450000" |
#define | ATOM_NE_OS 0x4e450001 |
#define | ATOM_NE_OS_STR "4e450001" |
#define | ATOM_NE_SEGFLAGS 0x4e450002 |
#define | ATOM_NE_SEGFLAGS_STR "4e450002" |
#define | ATOM_NE_ENTFLAGS 0x4e450003 |
#define | ATOM_NE_ENTFLAGS_STR "4e450003" |
#define | NEAddress dword |
#define | NE_MAKE_ADDR(seg, ofs) ((seg)*0x10000+(ofs)) |
#define | NE_ADDR_SEG(a) ((a)>>16) |
#define | NE_ADDR_OFS(a) ((a)&0xffff) |
Functions | |
FILEOFS | NE_get_seg_ofs (ht_ne_shared_data *NE_shared, UINT i) |
dword | NE_get_seg_addr (ht_ne_shared_data *NE_shared, UINT i) |
UINT | NE_get_seg_psize (ht_ne_shared_data *NE_shared, UINT i) |
UINT | NE_get_seg_vsize (ht_ne_shared_data *NE_shared, UINT i) |
bool | NE_addr_to_segment (ht_ne_shared_data *NE_shared, dword Addr, int *segment) |
bool | NE_addr_is_physical (ht_ne_shared_data *NE_shared, dword Addr) |
bool | NE_addr_to_ofs (ht_ne_shared_data *NE_shared, dword Addr, FILEOFS *ofs) |
bool | NE_ofs_to_addr (ht_ne_shared_data *NE_shared, FILEOFS ofs, dword *Addr) |
Variables | |
format_viewer_if | htne_if |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 30 of file htne.h. Referenced by ht_ne::init(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 167 of file htne.h. Referenced by NEAnalyser::beginAnalysis(), and NEAnalyser::fileofsToAddress(). |
|
Definition at line 166 of file htne.h. Referenced by NEAnalyser::beginAnalysis(), and NEAnalyser::fileofsToAddress(). |
|
Definition at line 165 of file htne.h. Referenced by NEAnalyser::beginAnalysis(), NEAnalyser::convertAddressToNEAddress(), NE_get_seg_addr(), and ht_ne::relocate_single(). |
|
Definition at line 164 of file htne.h. Referenced by NEAnalyser::addressToFileofs(), NEAnalyser::beginAnalysis(), NEAnalyser::fileofsToAddress(), NEAnalyser::getSegmentNameByAddress(), NE_addr_is_physical(), NE_addr_to_ofs(), NE_addr_to_segment(), NE_get_seg_addr(), ht_ne::relocate_single(), and NEAnalyser::validAddress(). |
|
Referenced by NEAnalyser::validAddress(). |
|
Referenced by NEAnalyser::addressToFileofs(), and ht_ne::relocate_single(). |
|
Referenced by NEAnalyser::getSegmentNameByAddress(), and NEAnalyser::validAddress(). |
|
Definition at line 460 of file htne.cc. References NE_MAKE_ADDR, NEAddress, and UINT. Referenced by NEAnalyser::beginAnalysis(), NE_addr_is_physical(), NE_addr_to_ofs(), NE_addr_to_segment(), and NE_ofs_to_addr(). |
|
Definition at line 455 of file htne.cc. References NE_HEADER::align, FILEOFS, ht_ne_shared_data::hdr, ne_segment_headers::segments, ht_ne_shared_data::segments, and UINT. Referenced by NEAnalyser::beginAnalysis(), NE_addr_to_ofs(), NE_ofs_to_addr(), and ht_ne::relocate(). |
|
Definition at line 465 of file htne.cc. References ne_segment_headers::segments, ht_ne_shared_data::segments, and UINT. Referenced by NEAnalyser::beginAnalysis(), NE_addr_is_physical(), NE_addr_to_ofs(), NE_addr_to_segment(), NE_ofs_to_addr(), and ht_ne::relocate(). |
|
Definition at line 472 of file htne.cc. References ne_segment_headers::segments, ht_ne_shared_data::segments, and UINT. Referenced by NEAnalyser::beginAnalysis(), NE_addr_is_physical(), NE_addr_to_ofs(), and NE_addr_to_segment(). |
|
Referenced by NEAnalyser::fileofsToAddress(). |
|
|