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

AddressX86_1616 Class Reference

#include <analy_x86.h>

Inheritance diagram for AddressX86_1616:

Address Object List of all members.

Public Member Functions

 AddressX86_1616 ()
 AddressX86_1616 (word seg, word addr)
virtual bool add (int offset)
virtual int byteSize ()
virtual int compareTo (const Object *obj) const
virtual int compareDelinear (Address *to)
virtual bool difference (int &result, Address *to)
virtual Objectduplicate ()
virtual void getFromArray (const byte *array)
virtual void getFromCPUAddress (CPU_ADDR *ca)
virtual int load (ht_object_stream *s)
virtual OBJECT_ID object_id () const
virtual int parseString (const char *s, int length, Analyser *a)
virtual void putIntoArray (byte *array)
virtual void putIntoCPUAddress (CPU_ADDR *ca)
virtual void store (ht_object_stream *s)
virtual int stringify (char *s, int max_length, int format)
virtual int stringSize ()

Public Attributes

word seg
word addr

Constructor & Destructor Documentation

AddressX86_1616::AddressX86_1616  ) 
 

Definition at line 291 of file analy_x86.cc.

Referenced by duplicate().

AddressX86_1616::AddressX86_1616 word  seg,
word  addr
 

Definition at line 295 of file analy_x86.cc.

References addr, and seg.


Member Function Documentation

bool AddressX86_1616::add int  offset  )  [virtual]
 

Implements Address.

Definition at line 301 of file analy_x86.cc.

References addr.

int AddressX86_1616::byteSize  )  [virtual]
 

Implements Address.

Definition at line 313 of file analy_x86.cc.

int AddressX86_1616::compareDelinear Address to  )  [virtual]
 

Reimplemented from Address.

Definition at line 328 of file analy_x86.cc.

References addr, assert, delinearize(), dword, Object::object_id(), object_id(), and seg.

int AddressX86_1616::compareTo const Object obj  )  const [virtual]
 

Standard Object comparator.

Parameters:
obj object to compare to
Returns:
0 for equality, negative number if |this<obj| and positive number if |this>obj|

Implements Address.

Definition at line 318 of file analy_x86.cc.

References addr, assert, Object::object_id(), object_id(), and seg.

bool AddressX86_1616::difference int &  result,
Address to
[virtual]
 

Implements Address.

Definition at line 342 of file analy_x86.cc.

References addr, Object::object_id(), object_id(), and seg.

Object * AddressX86_1616::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 352 of file analy_x86.cc.

References addr, AddressX86_1616(), and seg.

void AddressX86_1616::getFromArray const byte *  array  )  [virtual]
 

Implements Address.

Definition at line 357 of file analy_x86.cc.

References addr, seg, UNALIGNED_MOVE, and word.

void AddressX86_1616::getFromCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 363 of file analy_x86.cc.

References addr, CPU_ADDR::addr32, and seg.

int AddressX86_1616::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 369 of file analy_x86.cc.

References addr, ht_layer_stream::get_error(), ht_object_stream::getIntHex(), NULL, and seg.

OBJECT_ID AddressX86_1616::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 376 of file analy_x86.cc.

References ATOM_ADDRESS_X86_1616.

Referenced by compareDelinear(), compareTo(), and difference().

int AddressX86_1616::parseString const char *  s,
int  length,
Analyser a
[virtual]
 

Implements Address.

Definition at line 381 of file analy_x86.cc.

void AddressX86_1616::putIntoArray byte *  array  )  [virtual]
 

Implements Address.

Definition at line 386 of file analy_x86.cc.

References addr, seg, UNALIGNED_MOVE, and word.

void AddressX86_1616::putIntoCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 392 of file analy_x86.cc.

References addr, CPU_ADDR::addr32, and seg.

void AddressX86_1616::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 398 of file analy_x86.cc.

References addr, NULL, ht_object_stream::putIntHex(), and seg.

int AddressX86_1616::stringify char *  s,
int  max_length,
int  format
[virtual]
 

Implements Address.

Definition at line 404 of file analy_x86.cc.

References addr, ADDRESS_STRING_FORMAT_ADD_0X, ADDRESS_STRING_FORMAT_ADD_H, ht_snprintf(), and seg.

int AddressX86_1616::stringSize  )  [virtual]
 

Implements Address.

Definition at line 421 of file analy_x86.cc.


Member Data Documentation

word AddressX86_1616::addr
 

Definition at line 52 of file analy_x86.h.

Referenced by add(), AddressX86_1616(), compareDelinear(), compareTo(), difference(), duplicate(), getFromArray(), getFromCPUAddress(), load(), putIntoArray(), putIntoCPUAddress(), store(), and stringify().

word AddressX86_1616::seg
 

Definition at line 51 of file analy_x86.h.

Referenced by AddressX86_1616(), compareDelinear(), compareTo(), difference(), duplicate(), getFromArray(), getFromCPUAddress(), load(), putIntoArray(), putIntoCPUAddress(), store(), and stringify().


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