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 adjustVma(long adjust)
Adjust load addresses with a global offset.
Definition: loadimage_xml.cc:262
A record indicating a function symbol.
Definition: loadimage.hh:36
virtual string getArchType(void) const
Get a string indicating the architecture type.
Definition: loadimage_xml.hh:47
A manager for different address spaces.
Definition: translate.hh:218
virtual void getReadonly(RangeList &list) const
Return list of readonly address ranges.
Definition: loadimage_xml.cc:246
An interface into a particular binary executable image.
Definition: loadimage.hh:71
virtual void loadFill(uint1 *ptr, int4 size, const Address &addr)
Get data from the LoadImage.
Definition: loadimage_xml.cc:192
Implementation of the LoadImage interface using underlying data stored in an XML format.
Definition: loadimage_xml.hh:28
void open(const AddrSpaceManager *m)
Read XML tags into the containers.
Definition: loadimage_xml.cc:67
virtual bool getNextSymbol(LoadImageFunc &record) const
Get the next symbol record.
Definition: loadimage_xml.cc:236
A disjoint set of Ranges, possibly across multiple address spaces.
Definition: address.hh:203
A low-level machine address for labelling bytes and data.
Definition: address.hh:46
virtual void openSymbols(void) const
Prepare to read symbols.
Definition: loadimage_xml.cc:230
An XML element. A node in the DOM tree.
Definition: xml.hh:150
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
LoadImageXml(const string &f, const Element *el)
Constructor.
Definition: loadimage_xml.cc:21
Classes and API for accessing a binary load image.