#include <htne.h>
Inheritance diagram for ht_ne:
Public Member Functions | |
void | init (bounds *b, ht_streamfile *file, format_viewer_if **ifs, ht_format_group *format_group, FILEOFS h) |
virtual void | done () |
virtual void | loc_enum_start () |
virtual bool | loc_enum_next (ht_format_loc *loc) |
Protected Member Functions | |
bool | create_fake_segment () |
bool | relocate (ht_reloc_file *rf) |
bool | relocate_single (ht_reloc_file *rf, UINT seg, FILEOFS ofs, UINT type, UINT flags, word value_seg, word value_ofs) |
Protected Attributes | |
bool | loc_enum |
|
Definition at line 245 of file htne.cc. References NE_HEADER::cseg, ht_ne_shared_data::fake_segment, ht_ne_shared_data::hdr, malloc(), NE_DATA, ne_segment_headers::segment_count, ne_segment_headers::segments, ht_ne_shared_data::segments, and UINT. Referenced by relocate(). |
|
Reimplemented from ht_format_group. Definition at line 195 of file htne.cc. References ht_tree::destroy(), ht_list::destroy(), ht_format_group::done(), ht_ne_shared_data::entrypoints, ht_ne_shared_data::imports, ht_ne_shared_data::modnames, ht_ne_shared_data::modnames_count, ne_segment_headers::segments, ht_ne_shared_data::segments, and UINT. |
|
|
Reimplemented from ht_format_viewer. Definition at line 229 of file htne.cc. References ht_streamfile::get_size(), ht_ne_shared_data::hdr_ofs, ht_format_loc::length, loc_enum, ht_format_loc::name, and ht_format_loc::start. |
|
Reimplemented from ht_format_viewer. |
|
|
Definition at line 343 of file htne.cc. References buf, create_host_int(), FILEOFS, ht_reloc_file::insert_reloc(), little_endian, NE_addr_to_ofs(), NE_MAKE_ADDR, NE_RF_ADD, NE_RT_MASK, NE_RT_OFS16, NE_RT_OFS32, NE_RT_OFS8, NE_RT_PTR32, NE_RT_PTR48, NE_RT_SEG16, NEAddress, ht_stream::read(), ht_streamfile::seek(), UINT, and word. Referenced by relocate(). |
|
Definition at line 89 of file htne.h. Referenced by loc_enum_next(). |