UnivesalDisassembler(2003)

Table Class Reference

Table with 256 items (TableItem). Item is indexed by a byte in data section. More...

#include <instrset.h>

Inheritance diagram for Table:
AbstractTable

List of all members.

Public Member Functions

 Table (Tables *t=NULL, Variables *v=NULL)
virtual ~Table ()
TableItemAdd (unsigned mask, unsigned tag, string value, string length)
string Decode (Section &data, Address addr, unsigned &size)
 Decode actual byte. input: data and address, output: decoded string and size of decoded data.
void Reset ()
 Resets all items' length.

Public Attributes

Tablestables
Variablesvariables

Detailed Description

Table with 256 items (TableItem). Item is indexed by a byte in data section.

Definition at line 210 of file instrset.h.


Constructor & Destructor Documentation

Table::Table ( Tables t = NULL,
Variables v = NULL 
)

Definition at line 469 of file instrset.cc.

References tables, and variables.

Table::~Table ( ) [virtual]

Definition at line 477 of file instrset.cc.


Member Function Documentation

TableItem * Table::Add ( unsigned  mask,
unsigned  tag,
string  value,
string  length 
)

Definition at line 490 of file instrset.cc.

References tables, and variables.

Referenced by Parser::Parse().

string Table::Decode ( Section data,
Address  addr,
unsigned &  size 
) [virtual]

Decode actual byte. input: data and address, output: decoded string and size of decoded data.

Reimplemented from AbstractTable.

Definition at line 510 of file instrset.cc.

References TableItem::Decode(), and uint2hex().

void Table::Reset ( ) [virtual]

Resets all items' length.

Reimplemented from AbstractTable.

Definition at line 520 of file instrset.cc.


Member Data Documentation

Definition at line 213 of file instrset.h.

Referenced by Add(), and Table().

Definition at line 214 of file instrset.h.

Referenced by Add(), and Table().


The documentation for this class was generated from the following files: