38 #include "debug/Loader.hh"
57 size_t _len, uint8_t *_data,
59 :
ObjectFile(_filename, _len, _data, _arch, _opSys)
77 DPRINTFR(Loader,
"text: 0x%x %d\ndata: 0x%x %d\nbss: 0x%x %d\n",
static ObjectFile * tryFile(const std::string &fname, size_t len, uint8_t *data)
virtual bool loadLocalSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addr_mask=maxAddr)
Funky Alpha 64-bit a.out header used for PAL code.
uint64_t dsize
data segment size
uint64_t tsize
text segment size
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint64_t bsize
bss segment size
virtual bool loadGlobalSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addr_mask=maxAddr)
virtual bool loadAllSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addr_mask=maxAddr)
uint64_t entry
entry point
AoutObject(const std::string &_filename, size_t _len, uint8_t *_data, Arch _arch, OpSys _opSys)