31 #ifndef __DTB_OBJECT_HH__
32 #define __DTB_OBJECT_HH__
44 DtbObject(
const std::string &_filename,
size_t _len, uint8_t *_data,
87 #endif //__DTB_OBJECT_HH__
bool loadAllSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addrMask=maxAddr)
DtbObject(const std::string &_filename, size_t _len, uint8_t *_data, Arch _arch, OpSys _opSys)
bool fileDataMmapped
Bool marking if this dtb file has replaced the original read in DTB file with a new modified buffer...
Addr findReleaseAddr()
Parse the DTB file enough to find the provided release address and return it.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
bool addBootCmdLine(const char *_args, size_t len)
Adds the passed in Command Line options for the kernel to the proper location in the device tree...
static ObjectFile * tryFile(const std::string &fname, size_t len, uint8_t *data)
Static function that tries to load file as a flattened device tree blob.
bool loadLocalSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addrMask=maxAddr)
static const Addr maxAddr
bool loadGlobalSymbols(SymbolTable *symtab, Addr base=0, Addr offset=0, Addr addrMask=maxAddr)