My Project
|
Extension for building an XML format capable Architecture. More...
#include <xml_arch.hh>
Public Member Functions | |
virtual Architecture * | buildArchitecture (const string &filename, const string &target, ostream *estream) |
Build an Architecture given a raw file or data. More... | |
virtual bool | isFileMatch (const string &filename) const |
Determine if this extension can handle this file. More... | |
virtual bool | isXmlMatch (Document *doc) const |
Determine is this extension can handle this XML document. More... | |
Public Member Functions inherited from ArchitectureCapability | |
const string & | getName (void) const |
Get the capability identifier. | |
virtual void | initialize (void) |
Do specialized initialization. More... | |
Public Member Functions inherited from CapabilityPoint | |
virtual | ~CapabilityPoint (void) |
Destructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ArchitectureCapability | |
static ArchitectureCapability * | findCapability (const string &filename) |
Find an extension to process a file. More... | |
static ArchitectureCapability * | findCapability (Document *doc) |
Find an extension to process an XML document. More... | |
static void | sortCapabilities (void) |
Sort extensions. More... | |
static uint4 | getMajorVersion (void) |
Get major decompiler version. | |
static uint4 | getMinorVersion (void) |
Get minor decompiler version. | |
Static Public Member Functions inherited from CapabilityPoint | |
static void | initializeAll (void) |
Finish initialization for all extension points. More... | |
Protected Member Functions inherited from CapabilityPoint | |
CapabilityPoint (void) | |
Construct extension capability exactly once. More... | |
Protected Attributes inherited from ArchitectureCapability | |
string | name |
Identifier for this capability. | |
Extension for building an XML format capable Architecture.
|
virtual |
Build an Architecture given a raw file or data.
This is implemented by each separate extension. The method is handed a filename and possibly external target information and must build the Architecture object, initializing all the major subcomponents, using just this info.
filename | is the path to the executable file to examine |
target | if non-empty is a language id string |
estream | is an output stream for error messages |
Implements ArchitectureCapability.
|
virtual |
Determine if this extension can handle this file.
filename | is the name of the file to examine |
Implements ArchitectureCapability.
|
virtual |
Determine is this extension can handle this XML document.
If a file to analyze is XML based, this method examines the XML parse to determine if this extension can understand the document
doc | is the parsed XML document |
Implements ArchitectureCapability.