gem5
v20.1.0.0
|
#include <object_file.hh>
Public Member Functions | |
virtual | ~ObjectFile () |
virtual ObjectFile * | getInterpreter () 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 SymbolTable & | symtab () 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 |
Definition at line 70 of file object_file.hh.
|
protected |
Definition at line 39 of file object_file.cc.
|
inlinevirtual |
Definition at line 81 of file object_file.hh.
|
inlinevirtual |
Reimplemented in Loader::ElfObject.
Definition at line 95 of file object_file.hh.
Referenced by Process::getBias().
|
inline |
Definition at line 108 of file object_file.hh.
References entry.
Referenced by MipsProcess::argsInit(), RiscvProcess::argsInit(), PowerProcess::argsInit(), SparcProcess::argsInit(), ArmProcess::argsInit(), X86ISA::X86Process::argsInit(), RiscvISA::BareMetal::BareMetal(), ArmISA::FsWorkload::FsWorkload(), KernelWorkload::getEntry(), ArmISA::FsWorkload::getEntry(), Process::getStartPC(), X86ISA::FsWorkload::initState(), KernelWorkload::initState(), and ArmISA::FsWorkload::initState().
|
inline |
Definition at line 99 of file object_file.hh.
References arch.
Referenced by RiscvISA::BareMetal::getArch(), KernelWorkload::getArch(), ArmISA::FsWorkload::getArch(), ArmISA::FsWorkload::getBootLoader(), and X86ISA::FsWorkload::initState().
|
inlinevirtual |
Reimplemented in Loader::ElfObject.
Definition at line 83 of file object_file.hh.
Referenced by Process::getInterpreter(), Process::init(), and Process::updateBias().
|
inline |
Definition at line 100 of file object_file.hh.
References opSys.
Referenced by ArmProcess::argsInit().
|
inlinevirtual |
Reimplemented in Loader::ElfObject.
Definition at line 97 of file object_file.hh.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in Loader::ElfObject.
Definition at line 84 of file object_file.hh.
|
inline |
Definition at line 102 of file object_file.hh.
References _symtab.
Referenced by RiscvISA::BareMetal::BareMetal(), Loader::ElfObject::ElfObject(), ArmISA::FsWorkload::FsWorkload(), ArmISA::FsFreebsd::initState(), ArmISA::FsLinux::initState(), KernelWorkload::KernelWorkload(), and Process::Process().
|
inlinevirtual |
|
protected |
Definition at line 76 of file object_file.hh.
Referenced by Loader::ElfObject::ElfObject(), and symtab().
|
protected |
Definition at line 73 of file object_file.hh.
Referenced by Loader::ElfObject::determineArch(), and getArch().
|
protected |
Definition at line 105 of file object_file.hh.
Referenced by Loader::ElfObject::ElfObject(), entryPoint(), and Loader::ElfObject::updateBias().
|
protected |
Definition at line 74 of file object_file.hh.
Referenced by Loader::ElfObject::determineOpSys(), and getOpSys().