#include <out.h>
Inheritance diagram for AnalyserOutput:
Public Member Functions | |
void | init (Analyser *analy) |
virtual void | done () |
virtual void | beginAddr () |
virtual void | beginLine () |
virtual void | changeConfig () |
virtual int | elementLength (const char *s) |
virtual void | endAddr () |
virtual void | endLine () |
virtual char * | externalLink (char *s, int type1, int type2, int type3, int type4, void *special) |
virtual void | footer () |
void | generateAddr (Address *Addr, OutAddr *oa) |
int | generateFile (Address *from, Address *to) |
virtual ht_stream * | getGenerateStream () |
void | generatePage (Address *from, int lines) |
OutAddr * | getAddr (Address *Addr) |
OutLine * | getLine (Address *Addr, int line) |
bool | getLineString (char *buf, int maxlen, Address *Addr, int line) |
bool | getLineByteLength (int &len, Address *Addr, int line) |
int | getLineCount (Address *Addr) |
int | getAddrByteLength (Address *Addr) |
virtual void | header () |
void | invalidateCache () |
virtual char * | link (char *s, Address *Addr) |
int | nextLine (Address *&Addr, int &line, int n, Address *max) |
int | prevLine (Address *&Addr, int &line, int n, Address *min) |
virtual void | putElement (int element_type, const char *element) |
void | reset () |
void | write (const char *s) |
void | write (const char *s, int n) |
Public Attributes | |
Analyser * | analy |
Address * | addr |
int | line |
Location * | cur_addr |
OutAddr * | cur_out_addr |
int | bytes_line |
int | bytes_addr |
ht_dtree * | out_addrs |
byte * | work_buffer_start |
byte * | work_buffer |
byte * | temp_buffer |
UINT | current_time |
int | size |
int | dis_style |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 139 of file out.cc. References bytes_addr, and line. Referenced by AnalyserTxtOutput::beginAddr(), AnalyserHTOutput::beginAddr(), and generateAddr(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 145 of file out.cc. References bytes_line, work_buffer, and work_buffer_start. Referenced by AnalyserTxtOutput::beginLine(), AnalyserHTOutput::beginLine(), and generateAddr(). |
|
Reimplemented in AnalyserHTOutput. Definition at line 151 of file out.cc. Referenced by init(), and ht_aviewer::reloadpalette(). |
|
Reimplemented from Object. Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 130 of file out.cc. References addr, ht_stree::destroy(), out_addrs, temp_buffer, and work_buffer_start. Referenced by AnalyserTxtOutput::done(), AnalyserHTOutput::done(), ht_analy_sub::done(), and ht_aviewer::generateOutputDialog(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 155 of file out.cc. Referenced by write(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 160 of file out.cc. Referenced by AnalyserTxtOutput::endAddr(), AnalyserHTOutput::endAddr(), and generateAddr(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 164 of file out.cc. References OutAddr::appendLine(), bytes_addr, bytes_line, cur_out_addr, line, work_buffer, and work_buffer_start. Referenced by AnalyserTxtOutput::endLine(), AnalyserHTOutput::endLine(), and generateAddr(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 618 of file out.cc. References temp_buffer. Referenced by generateAddr(). |
|
Reimplemented in AnalyserTxtOutput. Definition at line 171 of file out.cc. Referenced by generateFile(). |
|
|
Definition at line 487 of file out.cc. References Analyser::active, Address::add(), analy, Address::compareTo(), footer(), getGenerateStream(), getLineByteLength(), getLineString(), header(), Address::isValid(), len, line, OUTPUT_GENERATE_ERR_ANALYSER_NOT_FINISHED, OUTPUT_GENERATE_ERR_INVAL, OUTPUT_GENERATE_ERR_OK, OUTPUT_GENERATE_ERR_STREAM, UINT, and ht_stream::write(). Referenced by ht_aviewer::generateOutputDialog(). |
|
|
|
Definition at line 523 of file out.cc. References addr, assert, Address::compareTo(), ht_dtree::count(), cur_out_addr, current_time, DPRINTF, DUP_ADDR, generateAddr(), ht_stree::get(), ht_dtree::insert(), Address::isValid(), out_addrs, reset(), Address::stringify(), OutAddr::time, and OutAddr::updateTime(). Referenced by getAddrByteLength(), getLine(), and getLineCount(). |
|
Definition at line 602 of file out.cc. References OutAddr::bytes, and getAddr(). Referenced by prevLine(). |
|
Reimplemented in AnalyserTxtOutput. Definition at line 482 of file out.cc. References NULL. Referenced by generateFile(). |
|
Definition at line 565 of file out.cc. References getAddr(), and OutAddr::getLine(). Referenced by getLineByteLength(), and getLineString(). |
|
Definition at line 586 of file out.cc. References OutLine::bytes, getLine(), and len. Referenced by generateFile(), nextLine(), and prevLine(). |
|
Definition at line 597 of file out.cc. References ht_clist::count(), getAddr(), and OutAddr::lines. Referenced by prevLine(). |
|
Definition at line 570 of file out.cc. References buf, getLine(), len, MIN, OutLine::text, and OutLine::textlen. Referenced by generateFile(), and ht_analy_sub::getline(). |
|
Reimplemented in AnalyserTxtOutput. Definition at line 607 of file out.cc. Referenced by generateFile(). |
|
Reimplemented in AnalyserHTOutput. Definition at line 111 of file out.cc. References addr, analy, byte, bytes_addr, bytes_line, changeConfig(), compare_keys_addresses_delinear(), cur_addr, cur_out_addr, current_time, dis_style, DIS_STYLE_HEX_ASMSTYLE, DIS_STYLE_HEX_NOZEROPAD, DIS_STYLE_HIGHLIGHT, ht_dtree::init(), malloc(), NULL, out_addrs, size, temp_buffer, work_buffer, work_buffer_start, WORKBUF_LEN, and X86DIS_STYLE_OPTIMIZE_ADDR. |
|
Definition at line 624 of file out.cc. References current_time, DPRINTF, and reset(). Referenced by ht_le_aviewer::func(), ht_aviewer::handlemsg(), ht_aviewer::idle(), ht_aviewer::searchForXRefs(), ht_analy_sub::setAnalyser(), ht_aviewer::showComments(), and ht_aviewer::showXRefs(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 612 of file out.cc. References temp_buffer. Referenced by generateAddr(). |
|
Definition at line 634 of file out.cc. References Address::add(), Address::compareTo(), getLineByteLength(), and len. Referenced by ht_analy_sub::next_line_id(). |
|
Definition at line 652 of file out.cc. References Address::add(), Location::addr, analy, assert, Address::compareTo(), Analyser::disasm, DPRINTF2, DUP_ADDR, Analyser::enumLocationsReverse(), getAddrByteLength(), getLineByteLength(), getLineCount(), Disassembler::getOpcodeMetrics(), len, and min. Referenced by ht_analy_sub::prev_line_id(). |
|
Reimplemented in AnalyserHTOutput, and AnalyserTxtOutput. Definition at line 830 of file out.cc. References write(). Referenced by generateAddr(). |
|
Definition at line 835 of file out.cc. References addr, cur_out_addr, ht_stree::empty(), NULL, and out_addrs. Referenced by getAddr(), and invalidateCache(). |
|
Definition at line 851 of file out.cc. References MIN, work_buffer, work_buffer_start, and WORKBUF_LEN. |
|
Definition at line 843 of file out.cc. References elementLength(), len, MIN, work_buffer, work_buffer_start, and WORKBUF_LEN. Referenced by AnalyserTxtOutput::beginLine(), AnalyserHTOutput::beginLine(), AnalyserTxtOutput::endLine(), generateAddr(), AnalyserTxtOutput::putElement(), AnalyserHTOutput::putElement(), and putElement(). |
|
Definition at line 82 of file out.h. Referenced by done(), generateAddr(), getAddr(), init(), and reset(). |
|
Definition at line 81 of file out.h. Referenced by generateAddr(), generateFile(), init(), prevLine(), and ht_analy_sub::setAnalyser(). |
|
Definition at line 87 of file out.h. Referenced by beginAddr(), endLine(), and init(). |
|
Definition at line 86 of file out.h. Referenced by beginLine(), endLine(), generateAddr(), and init(). |
|
Definition at line 84 of file out.h. Referenced by generateAddr(), and init(). |
|
Definition at line 85 of file out.h. Referenced by endLine(), generateAddr(), getAddr(), init(), and reset(). |
|
Definition at line 96 of file out.h. Referenced by getAddr(), init(), and invalidateCache(). |
|
Definition at line 99 of file out.h. Referenced by generateAddr(), and init(). |
|
Definition at line 83 of file out.h. Referenced by beginAddr(), endLine(), and generateFile(). |
|
|
|
Definition at line 97 of file out.h. Referenced by init(). |
|
Definition at line 94 of file out.h. Referenced by done(), externalLink(), init(), and link(). |
|
Definition at line 92 of file out.h. Referenced by beginLine(), endLine(), init(), and write(). |
|
Definition at line 91 of file out.h. Referenced by beginLine(), done(), endLine(), init(), and write(). |