Ghidra Decompiler Analysis Engine
|
Go to the documentation of this file.
19 #ifndef __LOADIMAGE_XML__
20 #define __LOADIMAGE_XML__
32 set<Address> readonlyset;
33 map<Address,vector<uint1> > chunk;
34 map<Address,string> addrtosymbol;
35 mutable map<Address,string>::const_iterator cursymbol;
virtual void loadFill(uint1 *ptr, int4 size, const Address &addr)
Get data from the LoadImage.
Definition: loadimage_xml.cc:192
virtual string getArchType(void) const
Get a string indicating the architecture type.
Definition: loadimage_xml.hh:47
Classes and API for accessing a binary load image.
void clear(void)
Clear out all the caches.
Definition: loadimage_xml.cc:134
void saveXml(ostream &s) const
Save the image back out to an XML stream.
Definition: loadimage_xml.cc:35
An XML element. A node in the DOM tree.
Definition: xml.hh:150
An interface into a particular binary executable image.
Definition: loadimage.hh:71
virtual void openSymbols(void) const
Prepare to read symbols.
Definition: loadimage_xml.cc:230
A disjoint set of Ranges, possibly across multiple address spaces.
Definition: address.hh:203
A record indicating a function symbol.
Definition: loadimage.hh:36
LoadImageXml(const string &f, const Element *el)
Constructor.
Definition: loadimage_xml.cc:21
A low-level machine address for labelling bytes and data.
Definition: address.hh:46
virtual void adjustVma(long adjust)
Adjust load addresses with a global offset.
Definition: loadimage_xml.cc:262
virtual void getReadonly(RangeList &list) const
Return list of readonly address ranges.
Definition: loadimage_xml.cc:246
Implementation of the LoadImage interface using underlying data stored in an XML format.
Definition: loadimage_xml.hh:28
virtual bool getNextSymbol(LoadImageFunc &record) const
Get the next symbol record.
Definition: loadimage_xml.cc:236
void open(const AddrSpaceManager *m)
Read XML tags into the containers.
Definition: loadimage_xml.cc:67
A manager for different address spaces.
Definition: translate.hh:218