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

AnalyDisassembler Class Reference

#include <analy.h>

Inheritance diagram for AnalyDisassembler:

Object AnalyAlphaDisassembler AnalyIA64Disassembler AnalyILDisassembler AnalyJavaDisassembler AnalyPPCDisassembler AnalyX86Disassembler List of all members.

Public Member Functions

 AnalyDisassembler ()
void init (Analyser *A)
int load (ht_object_stream *f)
virtual void done ()
virtual AddressbranchAddr (OPCODE *opcode, branch_enum_t branchtype, bool examine)=0
virtual void examineOpcode (OPCODE *opcode)=0
virtual void initDisasm ()
virtual branch_enum_t isBranch (OPCODE *opcode)=0
virtual void store (ht_object_stream *f)

Public Attributes

Analyseranaly
Disassemblerdisasm

Constructor & Destructor Documentation

AnalyDisassembler::AnalyDisassembler  ) 
 

Definition at line 2230 of file analy.cc.

References disasm, and NULL.


Member Function Documentation

virtual Address* AnalyDisassembler::branchAddr OPCODE *  opcode,
branch_enum_t  branchtype,
bool  examine
[pure virtual]
 

Implemented in AnalyAlphaDisassembler, AnalyIA64Disassembler, AnalyILDisassembler, AnalyJavaDisassembler, AnalyPPCDisassembler, and AnalyX86Disassembler.

Referenced by Analyser::doBranch().

void AnalyDisassembler::done  )  [virtual]
 

Reimplemented from Object.

Reimplemented in AnalyAlphaDisassembler, AnalyIA64Disassembler, AnalyILDisassembler, AnalyJavaDisassembler, AnalyPPCDisassembler, and AnalyX86Disassembler.

Definition at line 2255 of file analy.cc.

Referenced by AnalyX86Disassembler::done(), AnalyPPCDisassembler::done(), AnalyJavaDisassembler::done(), AnalyILDisassembler::done(), AnalyIA64Disassembler::done(), AnalyAlphaDisassembler::done(), and Analyser::done().

virtual void AnalyDisassembler::examineOpcode OPCODE *  opcode  )  [pure virtual]
 

Implemented in AnalyAlphaDisassembler, AnalyIA64Disassembler, AnalyILDisassembler, AnalyJavaDisassembler, AnalyPPCDisassembler, and AnalyX86Disassembler.

Referenced by Analyser::continueAnalysis().

void AnalyDisassembler::init Analyser A  ) 
 

Reimplemented in AnalyAlphaDisassembler, AnalyIA64Disassembler, and AnalyPPCDisassembler.

Definition at line 2238 of file analy.cc.

References A, and initDisasm().

void AnalyDisassembler::initDisasm  )  [virtual]
 

Definition at line 2262 of file analy.cc.

References disasm, and Analyser::setDisasm().

Referenced by init().

virtual branch_enum_t AnalyDisassembler::isBranch OPCODE *  opcode  )  [pure virtual]
 

Implemented in AnalyAlphaDisassembler, AnalyIA64Disassembler, AnalyILDisassembler, AnalyJavaDisassembler, AnalyPPCDisassembler, and AnalyX86Disassembler.

Referenced by Analyser::continueAnalysis(), and Analyser::doBranch().

int AnalyDisassembler::load ht_object_stream st  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Reimplemented in AnalyAlphaDisassembler, AnalyJavaDisassembler, and AnalyX86Disassembler.

Definition at line 2247 of file analy.cc.

References ht_layer_stream::get_error().

Referenced by AnalyX86Disassembler::load(), AnalyJavaDisassembler::load(), and AnalyAlphaDisassembler::load().

void AnalyDisassembler::store ht_object_stream f  )  [virtual]
 

stores object.

Reimplemented from Object.

Reimplemented in AnalyAlphaDisassembler, AnalyJavaDisassembler, and AnalyX86Disassembler.

Definition at line 2272 of file analy.cc.

Referenced by AnalyX86Disassembler::store(), AnalyJavaDisassembler::store(), and AnalyAlphaDisassembler::store().


Member Data Documentation

Analyser* AnalyDisassembler::analy
 

Definition at line 170 of file analy.h.

Referenced by Analyser::load().

Disassembler* AnalyDisassembler::disasm
 

Definition at line 171 of file analy.h.

Referenced by AnalyDisassembler(), initDisasm(), and Analyser::load().


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