gem5
v19.0.0.0
|
#include <aout_object.hh>
Public Member Functions | |
AoutObject (ImageFileDataPtr ifd) | |
MemoryImage | buildImage () const override |
![]() | |
virtual | ~ObjectFile () |
virtual bool | loadAllSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr) |
virtual bool | loadGlobalSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr) |
virtual bool | loadLocalSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr) |
virtual bool | loadWeakSymbols (SymbolTable *symtab, Addr base=0, Addr offset=0, Addr mask=MaxAddr) |
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 |
Addr | entryPoint () const |
Protected Attributes | |
const aout_exechdr * | execHdr |
![]() | |
Arch | arch = UnknownArch |
OpSys | opSys = UnknownOpSys |
Addr | entry = 0 |
![]() | |
ImageFileDataPtr | imageData |
Additional Inherited Members | |
![]() | |
enum | Arch { UnknownArch, Alpha, SPARC64, SPARC32, Mips, X86_64, I386, Arm64, Arm, Thumb, Power, Riscv64, Riscv32 } |
enum | OpSys { UnknownOpSys, Tru64, Linux, Solaris, LinuxArmOABI, FreeBSD } |
![]() | |
ObjectFile (ImageFileDataPtr ifd) | |
![]() | |
ImageFile (ImageFileDataPtr data) | |
virtual | ~ImageFile () |
Definition at line 39 of file aout_object.hh.
AoutObject::AoutObject | ( | ImageFileDataPtr | ifd | ) |
Definition at line 59 of file aout_object.cc.
References ObjectFile::Alpha, ObjectFile::arch, aout_exechdr::entry, ObjectFile::entry, execHdr, and ImageFile::imageData.
|
overridevirtual |
Implements ImageFile.
Definition at line 69 of file aout_object.cc.
References aout_exechdr::bsize, DPRINTFR, aout_exechdr::dsize, execHdr, ImageFile::imageData, M5_VAR_USED, N_BSSADDR, N_DATADDR, N_DATOFF, N_TXTADDR, N_TXTOFF, X86ISA::seg, and aout_exechdr::tsize.
|
protected |
Definition at line 42 of file aout_object.hh.
Referenced by AoutObject(), and buildImage().