Ghidra Decompiler Analysis Engine
|
19 #ifndef __LOADIMAGE_BFD__
20 #define __LOADIMAGE_BFD__
42 mutable asymbol **symbol_table;
43 mutable long number_of_symbols;
44 mutable long cursymbol;
45 mutable asection *secinfoptr;
46 asection *findSection(uintb offset,uintb &ssize)
const;
47 void advanceToNextSymbol(
void)
const;
50 void attachToSpace(
AddrSpace *
id) { spaceid = id; }
53 void getImportTable(vector<ImportRecord> &irec) {
throw LowlevelError(
"Not implemented"); }
virtual void loadFill(uint1 *ptr, int4 size, const Address &addr)
Get data from the LoadImage.
Definition: loadimage_bfd.cc:122
A region where processor data is stored.
Definition: space.hh:73
Definition: loadimage_bfd.hh:25
The lowest level error generated by the decompiler.
Definition: error.hh:44
Classes and API for accessing a binary load image.
Definition: loadimage_bfd.hh:33
virtual void openSymbols(void) const
Prepare to read symbols.
Definition: loadimage_bfd.cc:192
An interface into a particular binary executable image.
Definition: loadimage.hh:71
virtual string getArchType(void) const
Get a string indicating the architecture type.
Definition: loadimage_bfd.cc:49
A disjoint set of Ranges, possibly across multiple address spaces.
Definition: address.hh:203
A record indicating a function symbol.
Definition: loadimage.hh:36
A low-level machine address for labelling bytes and data.
Definition: address.hh:46
virtual void getReadonly(RangeList &list) const
Return list of readonly address ranges.
Definition: loadimage_bfd.cc:284
A record describing a section bytes in the executable.
Definition: loadimage.hh:44
virtual void openSectionInfo(void) const
Prepare to read section info.
Definition: loadimage_bfd.cc:239
virtual bool getNextSection(LoadImageSection &sec) const
Get info on the next section.
Definition: loadimage_bfd.cc:251
virtual void adjustVma(long adjust)
Adjust load addresses with a global offset.
Definition: loadimage_bfd.cc:61
virtual bool getNextSymbol(LoadImageFunc &record) const
Get the next symbol record.
Definition: loadimage_bfd.cc:225
virtual void closeSymbols(void) const
Stop reading symbols.
Definition: loadimage_bfd.cc:274
virtual void closeSectionInfo(void) const
Stop reading section info.
Definition: loadimage_bfd.cc:245