gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Loader::ObjectFile Class Reference

#include <object_file.hh>

Inheritance diagram for Loader::ObjectFile:
Loader::ImageFile Loader::ElfObject Loader::RawImage

Public Member Functions

virtual ~ObjectFile ()
 
virtual ObjectFilegetInterpreter () const
 
virtual bool relocatable () const
 
virtual Addr mapSize () const
 
virtual void updateBias (Addr bias_addr)
 
virtual Addr bias () const
 
virtual bool hasTLS ()
 
Arch getArch () const
 
OpSys getOpSys () const
 
const SymbolTablesymtab () const
 
Addr entryPoint () const
 
- Public Member Functions inherited from Loader::ImageFile
virtual MemoryImage buildImage () const =0
 

Protected Member Functions

 ObjectFile (ImageFileDataPtr ifd)
 
- Protected Member Functions inherited from Loader::ImageFile
 ImageFile (ImageFileDataPtr data)
 
virtual ~ImageFile ()
 

Protected Attributes

Arch arch = UnknownArch
 
OpSys opSys = UnknownOpSys
 
SymbolTable _symtab
 
Addr entry = 0
 
- Protected Attributes inherited from Loader::ImageFile
ImageFileDataPtr imageData
 

Detailed Description

Definition at line 70 of file object_file.hh.

Constructor & Destructor Documentation

◆ ObjectFile()

Loader::ObjectFile::ObjectFile ( ImageFileDataPtr  ifd)
protected

Definition at line 39 of file object_file.cc.

◆ ~ObjectFile()

virtual Loader::ObjectFile::~ObjectFile ( )
inlinevirtual

Definition at line 81 of file object_file.hh.

Member Function Documentation

◆ bias()

virtual Addr Loader::ObjectFile::bias ( ) const
inlinevirtual

Reimplemented in Loader::ElfObject.

Definition at line 95 of file object_file.hh.

Referenced by Process::getBias().

◆ entryPoint()

Addr Loader::ObjectFile::entryPoint ( ) const
inline

◆ getArch()

Arch Loader::ObjectFile::getArch ( ) const
inline

◆ getInterpreter()

virtual ObjectFile* Loader::ObjectFile::getInterpreter ( ) const
inlinevirtual

Reimplemented in Loader::ElfObject.

Definition at line 83 of file object_file.hh.

Referenced by Process::getInterpreter(), Process::init(), and Process::updateBias().

◆ getOpSys()

OpSys Loader::ObjectFile::getOpSys ( ) const
inline

Definition at line 100 of file object_file.hh.

References opSys.

Referenced by ArmProcess::argsInit().

◆ hasTLS()

virtual bool Loader::ObjectFile::hasTLS ( )
inlinevirtual

Reimplemented in Loader::ElfObject.

Definition at line 97 of file object_file.hh.

◆ mapSize()

virtual Addr Loader::ObjectFile::mapSize ( ) const
inlinevirtual

Reimplemented in Loader::ElfObject.

Definition at line 86 of file object_file.hh.

References panic.

◆ relocatable()

virtual bool Loader::ObjectFile::relocatable ( ) const
inlinevirtual

Reimplemented in Loader::ElfObject.

Definition at line 84 of file object_file.hh.

◆ symtab()

const SymbolTable& Loader::ObjectFile::symtab ( ) const
inline

◆ updateBias()

virtual void Loader::ObjectFile::updateBias ( Addr  bias_addr)
inlinevirtual

Reimplemented in Loader::ElfObject.

Definition at line 91 of file object_file.hh.

References panic.

Member Data Documentation

◆ _symtab

SymbolTable Loader::ObjectFile::_symtab
protected

Definition at line 76 of file object_file.hh.

Referenced by Loader::ElfObject::ElfObject(), and symtab().

◆ arch

Arch Loader::ObjectFile::arch = UnknownArch
protected

Definition at line 73 of file object_file.hh.

Referenced by Loader::ElfObject::determineArch(), and getArch().

◆ entry

Addr Loader::ObjectFile::entry = 0
protected

◆ opSys

OpSys Loader::ObjectFile::opSys = UnknownOpSys
protected

Definition at line 74 of file object_file.hh.

Referenced by Loader::ElfObject::determineOpSys(), and getOpSys().


The documentation for this class was generated from the following files:

Generated on Wed Sep 30 2020 14:03:06 for gem5 by doxygen 1.8.17