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

AddressFlat64 Class Reference

#include <analy.h>

Inheritance diagram for AddressFlat64:

Address Object List of all members.

Public Member Functions

 AddressFlat64 ()
 AddressFlat64 (qword a)
virtual bool add (int offset)
virtual int byteSize ()
virtual int compareTo (const Object *obj) const
virtual int compareDelinear (Address *to)
virtual void getFromArray (const byte *array)
virtual void getFromCPUAddress (CPU_ADDR *ca)
virtual bool difference (int &result, Address *to)
virtual Objectduplicate ()
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

qword addr

Constructor & Destructor Documentation

AddressFlat64::AddressFlat64  ) 
 

Definition at line 256 of file analy.cc.

Referenced by duplicate().

AddressFlat64::AddressFlat64 qword  a  ) 
 

Definition at line 260 of file analy.cc.

References addr.


Member Function Documentation

bool AddressFlat64::add int  offset  )  [virtual]
 

Implements Address.

Definition at line 265 of file analy.cc.

References addr.

int AddressFlat64::byteSize  )  [virtual]
 

Implements Address.

Definition at line 284 of file analy.cc.

int AddressFlat64::compareDelinear Address to  )  [virtual]
 

Reimplemented from Address.

Definition at line 295 of file analy.cc.

References addr, assert, delinearize(), Object::object_id(), object_id(), qword, and qword_cmp().

int AddressFlat64::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 289 of file analy.cc.

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

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

Implements Address.

Definition at line 306 of file analy.cc.

References addr, dword, Object::object_id(), object_id(), and qword.

Object * AddressFlat64::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 318 of file analy.cc.

References addr, and AddressFlat64().

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

Implements Address.

Definition at line 323 of file analy.cc.

References addr, dword, and UNALIGNED_MOVE.

void AddressFlat64::getFromCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 330 of file analy.cc.

References addr, and CPU_ADDR::flat64.

int AddressFlat64::load ht_object_stream st  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 335 of file analy.cc.

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

OBJECT_ID AddressFlat64::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 342 of file analy.cc.

References ATOM_ADDRESS_FLAT_64.

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

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

Implements Address.

Definition at line 347 of file analy.cc.

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

Implements Address.

Definition at line 352 of file analy.cc.

References addr, dword, and UNALIGNED_MOVE.

void AddressFlat64::putIntoCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 358 of file analy.cc.

References addr, and CPU_ADDR::flat64.

void AddressFlat64::store ht_object_stream st  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 363 of file analy.cc.

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

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

Implements Address.

Definition at line 369 of file analy.cc.

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

int AddressFlat64::stringSize  )  [virtual]
 

Implements Address.

Definition at line 384 of file analy.cc.


Member Data Documentation

qword AddressFlat64::addr
 

Definition at line 111 of file analy.h.

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