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

ht_analy_sub Class Reference

#include <htanaly.h>

Inheritance diagram for ht_analy_sub:

ht_sub Object List of all members.

Public Member Functions

void init (ht_streamfile *file, ht_aviewer *A, Analyser *analyser, Address *Lowestaddress, Address *Highestaddress)
virtual void done ()
virtual bool convert_ofs_to_id (const FILEOFS offset, LINE_ID *line_id)
virtual bool closest_line_id (LINE_ID *line_id)
virtual void first_line_id (LINE_ID *line_id)
virtual bool getline (char *line, const LINE_ID line_id)
virtual void last_line_id (LINE_ID *line_id)
virtual int next_line_id (LINE_ID *line_id, int n)
virtual int prev_line_id (LINE_ID *line_id, int n)
void setAnalyser (Analyser *Analy)
virtual ht_search_resultsearch (ht_search_request *search, FILEOFS start, FILEOFS end)

Public Attributes

Analyseranaly
Addresslowestaddress
Addresshighestaddress
AnalyserOutputoutput
ht_avieweraviewer

Member Function Documentation

bool ht_analy_sub::closest_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 2005 of file htanaly.cc.

References first_line_id(), next_line_id(), and prev_line_id().

bool ht_analy_sub::convert_ofs_to_id const FILEOFS  offset,
LINE_ID line_id
[virtual]
 

Reimplemented from ht_sub.

Definition at line 2015 of file htanaly.cc.

References FILEOFS, uformat_viewer_pos::line_id, ht_format_viewer::offset_to_pos(), and viewer_pos::u.

void ht_analy_sub::done  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 1996 of file htanaly.cc.

References ht_sub::done(), AnalyserOutput::done(), highestaddress, lowestaddress, and output.

void ht_analy_sub::first_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 2023 of file htanaly.cc.

References byte, clear_line_id(), LINE_ID::id2, lowestaddress, and Address::putIntoArray().

Referenced by closest_line_id().

bool ht_analy_sub::getline char *  line,
const LINE_ID  line_id
[virtual]
 

Reimplemented from ht_sub.

Definition at line 2029 of file htanaly.cc.

References analy, byte, Analyser::createAddress(), Address::getFromArray(), AnalyserOutput::getLineString(), LINE_ID::id1, LINE_ID::id2, and output.

void ht_analy_sub::init ht_streamfile file,
ht_aviewer A,
Analyser analyser,
Address Lowestaddress,
Address Highestaddress
 

Definition at line 1985 of file htanaly.cc.

References A, analy, Object::duplicate(), file, highestaddress, Object::init(), lowestaddress, and output.

Referenced by htclassimage_init(), and htpefimage_init().

void ht_analy_sub::last_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 2039 of file htanaly.cc.

References byte, clear_line_id(), highestaddress, LINE_ID::id2, and Address::putIntoArray().

int ht_analy_sub::next_line_id LINE_ID line_id,
int  n
[virtual]
 

Reimplemented from ht_sub.

Definition at line 2045 of file htanaly.cc.

References analy, byte, Analyser::createAddress(), Address::getFromArray(), highestaddress, LINE_ID::id1, LINE_ID::id2, AnalyserOutput::nextLine(), output, and Address::putIntoArray().

Referenced by closest_line_id().

int ht_analy_sub::prev_line_id LINE_ID line_id,
int  n
[virtual]
 

Reimplemented from ht_sub.

Definition at line 2060 of file htanaly.cc.

References analy, byte, Analyser::createAddress(), Address::getFromArray(), LINE_ID::id1, LINE_ID::id2, lowestaddress, output, AnalyserOutput::prevLine(), and Address::putIntoArray().

Referenced by closest_line_id().

ht_search_result * ht_analy_sub::search ht_search_request search,
FILEOFS  start,
FILEOFS  end
[virtual]
 

Reimplemented from ht_sub.

Definition at line 2075 of file htanaly.cc.

References Address::add(), analy, assert, ht_aviewer::convertAddressToViewerPos(), Object::duplicate(), dword, area_s::end, FILEOFS, Area::findNext(), Area::getArea(), Analyser::initialized, linear_bin_search(), linear_expr_search(), NULL, ht_aviewer::pos_to_offset(), SC_PHYSICAL, ht_search_request::search_class, ST_EXPR, ST_FXBIN, area_s::start, and ht_search_request::type.

void ht_analy_sub::setAnalyser Analyser Analy  ) 
 

Definition at line 2106 of file htanaly.cc.

References AnalyserOutput::analy, analy, AnalyserOutput::invalidateCache(), and output.

Referenced by ht_xbe_aviewer::setAnalyser(), ht_pe_aviewer::setAnalyser(), ht_pef_aviewer::setAnalyser(), ht_ne_aviewer::setAnalyser(), ht_macho_aviewer::setAnalyser(), ht_le_aviewer::setAnalyser(), ht_flt_aviewer::setAnalyser(), ht_elf_aviewer::setAnalyser(), ht_coff_aviewer::setAnalyser(), and ht_class_aviewer::setAnalyser().


Member Data Documentation

Analyser* ht_analy_sub::analy
 

Definition at line 161 of file htanaly.h.

Referenced by getline(), init(), next_line_id(), prev_line_id(), search(), and setAnalyser().

ht_aviewer* ht_analy_sub::aviewer
 

Definition at line 164 of file htanaly.h.

Address * ht_analy_sub::highestaddress
 

Definition at line 162 of file htanaly.h.

Referenced by done(), init(), last_line_id(), next_line_id(), and ht_aviewer::searchForXRefs().

Address* ht_analy_sub::lowestaddress
 

Definition at line 162 of file htanaly.h.

Referenced by done(), first_line_id(), init(), prev_line_id(), and ht_aviewer::searchForXRefs().

AnalyserOutput* ht_analy_sub::output
 

Definition at line 163 of file htanaly.h.

Referenced by done(), ht_le_aviewer::func(), getline(), ht_aviewer::handlemsg(), ht_aviewer::idle(), init(), next_line_id(), prev_line_id(), ht_aviewer::reloadpalette(), ht_aviewer::searchForXRefs(), setAnalyser(), ht_aviewer::showComments(), and ht_aviewer::showXRefs().


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