41#ifndef __BASE_LOADER_OBJECT_FILE_HH__
42#define __BASE_LOADER_OBJECT_FILE_HH__
53#include "enums/ByteOrder.hh"
115 panic(
"mapSize() should only be called on relocatable objects\n");
120 panic(
"updateBias() should only be called on relocatable objects\n");
Defines global host-dependent types: Counter, Tick, and (indirectly) {int,uint}{8,...
This class encapsulates the types, structures, constants, functions, and syscall-number mappings spec...
virtual Addr mapSize() const
virtual ObjectFile * getInterpreter() const
ObjectFile(ImageFileDataPtr ifd)
virtual void updateBias(Addr bias_addr)
ByteOrder getByteOrder() const
virtual Addr bias() const
const SymbolTable & symtab() const
virtual bool relocatable() const
#define panic(...)
This implements a cprintf based panic() function.
bool archIs64Bit(const loader::Arch arch)
Determine whether the loader::Arch is 64-bit or 32-bit.
const char * archToString(Arch arch)
ObjectFile * createObjectFile(const std::string &fname, bool raw)
const char * opSysToString(OpSys op_sys)
std::shared_ptr< ImageFileData > ImageFileDataPtr
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.