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

ht_disasm_sub Class Reference

#include <htdisasm.h>

Inheritance diagram for ht_disasm_sub:

ht_linear_sub ht_sub Object List of all members.

Public Member Functions

void init (ht_streamfile *file, FILEOFS ofs, int size, Disassembler *disasm, bool own_disasm, int display_style)
virtual void done ()
virtual bool convert_ofs_to_id (const FILEOFS offset, LINE_ID *line_id)
virtual bool convert_id_to_ofs (const LINE_ID line_id, FILEOFS *offset)
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)

Member Function Documentation

bool ht_disasm_sub::convert_id_to_ofs const LINE_ID  line_id,
FILEOFS offset
[virtual]
 

Reimplemented from ht_sub.

Definition at line 398 of file htdisasm.cc.

References FILEOFS, and LINE_ID::id1.

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

Reimplemented from ht_sub.

Definition at line 388 of file htdisasm.cc.

References FILEOFS, LINE_ID::id1, and LINE_ID::id2.

void ht_disasm_sub::done  )  [virtual]
 

Reimplemented from ht_linear_sub.

Definition at line 380 of file htdisasm.cc.

References ht_linear_sub::done().

void ht_disasm_sub::first_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 464 of file htdisasm.cc.

References clear_line_id(), and LINE_ID::id1.

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

Reimplemented from ht_sub.

Definition at line 424 of file htdisasm.cc.

References CPU_ADDR::addr32, addr_sym_func, addr_sym_func_context, buf, byte, Disassembler::decode(), dis_insn, dword, Disassembler::getSize(), LINE_ID::id1, LINE_ID::id2, MIN, mkhexd(), NULL, ht_stream::read(), ht_streamfile::seek(), Disassembler::str(), tag_make_edit_byte(), and tag_strcpy().

void ht_disasm_sub::init ht_streamfile file,
FILEOFS  ofs,
int  size,
Disassembler disasm,
bool  own_disasm,
int  display_style
 

Definition at line 372 of file htdisasm.cc.

References FILEOFS, Object::init(), and size.

Referenced by htdisasm_init().

void ht_disasm_sub::last_line_id LINE_ID line_id  )  [virtual]
 

Reimplemented from ht_sub.

Definition at line 470 of file htdisasm.cc.

References clear_line_id(), and LINE_ID::id1.

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

Reimplemented from ht_sub.

Definition at line 533 of file htdisasm.cc.

References CPU_ADDR::addr32, buf, Disassembler::decode(), dis_insn, dword, Disassembler::getSize(), LINE_ID::id1, LINE_ID::id2, MIN, ht_stream::read(), ht_streamfile::seek(), and UINT.

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

Reimplemented from ht_sub.

Definition at line 476 of file htdisasm.cc.

References CPU_ADDR::addr32, buf, Disassembler::decode(), dis_insn, dword, Disassembler::getOpcodeMetrics(), Disassembler::getSize(), LINE_ID::id1, LINE_ID::id2, ht_stream::read(), and ht_streamfile::seek().


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