dislabel Class Reference

#include <dislabel.h>

List of all members.

Public Member Functions

virtual ~dislabel ()
 dislabel (const rcstring &prefix)
void add (unsigned addr)
rcstring get_name (unsigned addr) const

Private Member Functions

 dislabel ()
 dislabel (const dislabel &)
dislabeloperator= (const dislabel &)

Private Attributes

rcstring prefix
symtab< rcstringname_from_address


Detailed Description

The dislabel class is used to represent the set of labels for a procedure being disassembled.

The implementation currently uses a simple list, giving many operations an O(n) behaviour. But since UCSD programs tend to be small, this is not seen as a serious problem.

Definition at line 34 of file dislabel.h.


Constructor & Destructor Documentation

virtual dislabel::~dislabel (  )  [virtual]

The destructor.

dislabel::dislabel ( const rcstring prefix  ) 

The constructor.

dislabel::dislabel (  )  [private]

The default constructor.

dislabel::dislabel ( const dislabel  )  [private]

The copy constructor.


Member Function Documentation

void dislabel::add ( unsigned  addr  ) 

rcstring dislabel::get_name ( unsigned  addr  )  const

dislabel& dislabel::operator= ( const dislabel  )  [private]

The assignment operator.


Member Data Documentation

rcstring dislabel::prefix [private]

Definition at line 52 of file dislabel.h.

symtab<rcstring> dislabel::name_from_address [private]

Definition at line 53 of file dislabel.h.


The documentation for this class was generated from the following file:
Generated on Sun Feb 25 01:27:11 2007 for UCSDp-SystemCrossCompiler by  doxygen 1.5.1