mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 10:19:23 +02:00
GP-2157 Marshaling refactor. Decompiler side.
This commit is contained in:
parent
672c1f11e2
commit
d8c10bf229
97 changed files with 5313 additions and 3733 deletions
|
@ -21,6 +21,11 @@
|
|||
|
||||
#include "loadimage.hh"
|
||||
|
||||
extern AttributeId ATTRIB_ARCH; ///< Marshaling attribute "arch"
|
||||
|
||||
extern ElementId ELEM_BINARYIMAGE; ///< Marshaling element \<binaryimage>
|
||||
extern ElementId ELEM_BYTECHUNK; ///< Marshaling element \<bytechunk>
|
||||
|
||||
/// \brief Implementation of the LoadImage interface using underlying data stored in an XML format
|
||||
///
|
||||
/// The image data is stored in an XML file in a \<binaryimage> file.
|
||||
|
@ -38,7 +43,7 @@ public:
|
|||
LoadImageXml(const string &f,const Element *el); ///< Constructor
|
||||
void open(const AddrSpaceManager *m); ///< Read XML tags into the containers
|
||||
void clear(void); ///< Clear out all the caches
|
||||
void saveXml(ostream &s) const; ///< Save the image back out to an XML stream
|
||||
void encode(Encoder &encoder) const; ///< Encode the image to a stream
|
||||
virtual ~LoadImageXml(void) { clear(); }
|
||||
virtual void loadFill(uint1 *ptr,int4 size,const Address &addr);
|
||||
virtual void openSymbols(void) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue