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

ht_pe Class Reference

#include <htpe.h>

Inheritance diagram for ht_pe:

ht_format_group ht_format_viewer ht_viewer ht_view Object List of all members.

Public Member Functions

void init (bounds *b, ht_streamfile *file, format_viewer_if **ifs, ht_format_group *format_group, FILEOFS header_ofs)
virtual void done ()
virtual void loc_enum_start ()
virtual bool loc_enum_next (ht_format_loc *loc)

Protected Attributes

bool loc_enum

Member Function Documentation

void ht_pe::done  )  [virtual]
 

Reimplemented from ht_format_group.

Definition at line 165 of file htpe.cc.

References ht_clist::destroy(), ht_pe_shared_data::dimports, ht_format_group::done(), ht_pe_shared_data::exports, ht_pe_import::funcs, ht_pe_export::funcs, ht_pe_shared_data::imports, ht_pe_import::libs, pe_section_headers::sections, and ht_pe_shared_data::sections.

void ht_pe::init bounds *  b,
ht_streamfile file,
format_viewer_if **  ifs,
ht_format_group format_group,
FILEOFS  header_ofs
 

Definition at line 71 of file htpe.cc.

References COFF_HEADER_struct, COFF_OPTIONAL_HEADER32_struct, COFF_OPTIONAL_HEADER64_struct, COFF_OPTMAGIC_PE32, COFF_OPTMAGIC_PE64, COFF_SECTION_HEADER_struct, create_host_int(), create_host_struct(), DESC_PE, file, FILEOFS, ht_pe_shared_data::header_ofs, Object::init(), ht_format_group::init_ifs(), little_endian, LOG, malloc(), NULL, PE_DATA_DIRECTORY_struct, PE_NUMBEROF_DIRECTORY_ENTRIES, PE_OPTIONAL_HEADER32_NT_struct, PE_OPTIONAL_HEADER64_NT_struct, UINT, VIEW_DEBUG_NAME, VO_BROWSABLE, VO_RESIZE, and VO_SELECTABLE.

bool ht_pe::loc_enum_next ht_format_loc loc  )  [virtual]
 

Reimplemented from ht_format_viewer.

Definition at line 208 of file htpe.cc.

References ht_pe_shared_data::coffheader, FILEOFS, ht_pe_shared_data::header_ofs, ht_format_loc::length, loc_enum, MAX, ht_format_loc::name, ht_pe_shared_data::pe32, pe_rva_to_ofs(), pe_section_headers::section_count, pe_section_headers::sections, ht_pe_shared_data::sections, ht_format_loc::start, and UINT.

void ht_pe::loc_enum_start  )  [virtual]
 

Reimplemented from ht_format_viewer.

Definition at line 196 of file htpe.cc.


Member Data Documentation

bool ht_pe::loc_enum [protected]
 

Definition at line 99 of file htpe.h.

Referenced by loc_enum_next().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:01 2004 by doxygen 1.3.5