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

AddressX86_1632 Class Reference

#include <analy_x86.h>

Inheritance diagram for AddressX86_1632:

Address Object List of all members.

Public Member Functions

 AddressX86_1632 ()
 AddressX86_1632 (word seg, dword addr)
virtual bool add (int offset)
virtual int byteSize ()
virtual int compareTo (const Object *obj) const
virtual int compareDelinear (Address *obj)
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
dword addr

Constructor & Destructor Documentation

AddressX86_1632::AddressX86_1632  ) 
 

Definition at line 153 of file analy_x86.cc.

Referenced by duplicate().

AddressX86_1632::AddressX86_1632 word  seg,
dword  addr
 

Definition at line 157 of file analy_x86.cc.

References addr, and seg.


Member Function Documentation

bool AddressX86_1632::add int  offset  )  [virtual]
 

Implements Address.

Definition at line 163 of file analy_x86.cc.

References addr.

int AddressX86_1632::byteSize  )  [virtual]
 

Implements Address.

Definition at line 175 of file analy_x86.cc.

int AddressX86_1632::compareDelinear Address obj  )  [virtual]
 

Reimplemented from Address.

Definition at line 190 of file analy_x86.cc.

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

int AddressX86_1632::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 180 of file analy_x86.cc.

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

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

Implements Address.

Definition at line 204 of file analy_x86.cc.

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

Object * AddressX86_1632::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 214 of file analy_x86.cc.

References addr, AddressX86_1632(), and seg.

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

Implements Address.

Definition at line 219 of file analy_x86.cc.

References addr, dword, seg, UNALIGNED_MOVE, and word.

void AddressX86_1632::getFromCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 225 of file analy_x86.cc.

References addr, CPU_ADDR::addr32, and seg.

int AddressX86_1632::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 231 of file analy_x86.cc.

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

OBJECT_ID AddressX86_1632::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 238 of file analy_x86.cc.

References ATOM_ADDRESS_X86_1632.

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

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

Implements Address.

Definition at line 243 of file analy_x86.cc.

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

Implements Address.

Definition at line 248 of file analy_x86.cc.

References addr, dword, seg, UNALIGNED_MOVE, and word.

void AddressX86_1632::putIntoCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 254 of file analy_x86.cc.

References addr, CPU_ADDR::addr32, and seg.

void AddressX86_1632::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 260 of file analy_x86.cc.

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

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

Implements Address.

Definition at line 266 of file analy_x86.cc.

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

int AddressX86_1632::stringSize  )  [virtual]
 

Implements Address.

Definition at line 283 of file analy_x86.cc.


Member Data Documentation

dword AddressX86_1632::addr
 

Definition at line 77 of file analy_x86.h.

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

word AddressX86_1632::seg
 

Definition at line 76 of file analy_x86.h.

Referenced by AddressX86_1632(), 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