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

AddressX86Flat32 Class Reference

#include <analy_x86.h>

Inheritance diagram for AddressX86Flat32:

Address Object List of all members.

Public Member Functions

 AddressX86Flat32 ()
 AddressX86Flat32 (dword 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

dword addr

Constructor & Destructor Documentation

AddressX86Flat32::AddressX86Flat32  ) 
 

Definition at line 29 of file analy_x86.cc.

Referenced by duplicate().

AddressX86Flat32::AddressX86Flat32 dword  addr  ) 
 

Definition at line 33 of file analy_x86.cc.

References addr.


Member Function Documentation

bool AddressX86Flat32::add int  offset  )  [virtual]
 

Implements Address.

Definition at line 38 of file analy_x86.cc.

References addr.

int AddressX86Flat32::byteSize  )  [virtual]
 

Implements Address.

Definition at line 50 of file analy_x86.cc.

int AddressX86Flat32::compareDelinear Address to  )  [virtual]
 

Reimplemented from Address.

Definition at line 66 of file analy_x86.cc.

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

int AddressX86Flat32::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 55 of file analy_x86.cc.

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

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

Implements Address.

Definition at line 76 of file analy_x86.cc.

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

Object * AddressX86Flat32::duplicate  )  [virtual]
 

Standard Object duplicator.

Returns:
copy of object

Reimplemented from Object.

Definition at line 86 of file analy_x86.cc.

References addr, and AddressX86Flat32().

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

Implements Address.

Definition at line 91 of file analy_x86.cc.

References addr, dword, and UNALIGNED_MOVE.

void AddressX86Flat32::getFromCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 96 of file analy_x86.cc.

References addr, and CPU_ADDR::addr32.

int AddressX86Flat32::load ht_object_stream s  )  [virtual]
 

loads object from object stream.

Returns:
ht_stream errorcode

Reimplemented from Object.

Definition at line 101 of file analy_x86.cc.

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

OBJECT_ID AddressX86Flat32::object_id  )  const [virtual]
 

Returns:
unique object id.

Reimplemented from Object.

Definition at line 107 of file analy_x86.cc.

References ATOM_ADDRESS_X86_FLAT_32.

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

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

Implements Address.

Definition at line 112 of file analy_x86.cc.

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

Implements Address.

Definition at line 117 of file analy_x86.cc.

References addr, dword, and UNALIGNED_MOVE.

void AddressX86Flat32::putIntoCPUAddress CPU_ADDR ca  )  [virtual]
 

Implements Address.

Definition at line 122 of file analy_x86.cc.

References addr, and CPU_ADDR::addr32.

void AddressX86Flat32::store ht_object_stream s  )  [virtual]
 

stores object.

Reimplemented from Object.

Definition at line 127 of file analy_x86.cc.

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

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

Implements Address.

Definition at line 132 of file analy_x86.cc.

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

int AddressX86Flat32::stringSize  )  [virtual]
 

Implements Address.

Definition at line 147 of file analy_x86.cc.


Member Data Documentation

dword AddressX86Flat32::addr
 

Definition at line 28 of file analy_x86.h.

Referenced by add(), AddressX86Flat32(), 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:54 2004 by doxygen 1.3.5