|
Ghidra 11.4.2
Ghidra internal decompiler documentation.
|
An Architecture that loads executables using an XML format. More...
#include <xml_arch.hh>
Public Member Functions | |
| virtual void | encode (Encoder &encoder) const |
| virtual void | restoreXml (DocumentStorage &store) |
| XmlArchitecture (const string &fname, const string &targ, ostream *estream) | |
| Constructor. | |
Private Member Functions | |
| virtual void | buildLoader (DocumentStorage &store) |
| virtual void | postSpecFile (void) |
| Read in image information (which uses translator) | |
Private Attributes | |
| long | adjustvma |
| The amount to adjust the virtual memory address. | |
An Architecture that loads executables using an XML format.
| ghidra::XmlArchitecture::XmlArchitecture | ( | const string & | fname, |
| const string & | targ, | ||
| ostream * | estream | ||
| ) |
This just wraps the base constructor
| fname | is the path to the executable file (containing XML) |
| targ | is the (optional) language id |
| estream | is the stream to use for the error console |
References adjustvma.
|
virtual |
Prepend extra stuff to specify binary file and spec
| encoder | is the stream encoder |
References adjustvma, ghidra::Encoder::closeElement(), ghidra::Encoder::openElement(), and ghidra::Encoder::writeUnsignedInteger().