Object Class Reference

#include <Object-coff.h>

Public Member Functions

 Object (const Object &)
 Object (const string, const Address baseAddr, void(*)(const char *)=log_msg)
 Object (const fDescriptor &desc, void(*)(const char *)=log_msg)
virtual ~Object ()
Objectoperator= (const Object &)
bool isDynamic ()
string & GetFile ()
bool isEEL () const
const char * interpreter_name () const

Private Member Functions

void load_object (bool sharedLib)
void get_relocation_entries (LDFILE *ldptr, int num)

Private Attributes

bool dynamicallyLinked
LDFILE * ldptr
filehdr fhdr
bool did_open

Detailed Description

Definition at line 98 of file Object-coff.h.


Constructor & Destructor Documentation

Object::Object ( const Object obj  ) 

Definition at line 710 of file Object-coff.C.

References load_object().

Object::Object ( const string  fileName,
const Address  baseAddr,
void(*)(const char *)  err_func = log_msg 
)

Definition at line 649 of file Object-coff.C.

References load_object().

Object::Object ( const fDescriptor &  desc,
void(*)(const char *)  err_func = log_msg 
)

Definition at line 657 of file Object-coff.C.

References did_open, fhdr, ldptr, load_object(), and log_perror().

Object::~Object (  )  [inline, virtual]

Definition at line 126 of file Object-coff.h.


Member Function Documentation

void Object::get_relocation_entries ( LDFILE *  ldptr,
int  num 
) [private]
string& Object::GetFile (  )  [inline]

Definition at line 111 of file Object-coff.h.

const char* Object::interpreter_name (  )  const [inline]

Definition at line 114 of file Object-coff.h.

bool Object::isDynamic (  )  [inline]

Definition at line 110 of file Object-coff.h.

References dynamicallyLinked.

bool Object::isEEL (  )  const [inline]

Definition at line 113 of file Object-coff.h.

void Object::load_object ( bool  sharedLib  )  [private]
Object & Object::operator= ( const Object obj  )  [inline]

Definition at line 131 of file Object-coff.h.


Field Documentation

bool Object::did_open [private]

Definition at line 122 of file Object-coff.h.

Referenced by load_object(), and Object().

bool Object::dynamicallyLinked [private]

Definition at line 119 of file Object-coff.h.

Referenced by isDynamic(), and load_object().

filehdr Object::fhdr [private]

Definition at line 121 of file Object-coff.h.

Referenced by load_object(), and Object().

LDFILE* Object::ldptr [private]

Definition at line 120 of file Object-coff.h.

Referenced by load_object(), and Object().


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 12 Jul 2013 for SymtabAPI by  doxygen 1.6.1