Extension point for building a GNU BFD capable Architecture.
More...
#include <bfd_arch.hh>
|
| virtual Architecture * | buildArchitecture (const string &filename, const string &target, ostream *estream) |
| | Build an Architecture given a raw file or data.
|
| |
| virtual bool | isFileMatch (const string &filename) const |
| | Determine if this extension can handle this file.
|
| |
| virtual bool | isXmlMatch (Document *doc) const |
| | Determine is this extension can handle this XML document.
|
| |
|
const string & | getName (void) const |
| | Get the capability identifier.
|
| |
| virtual void | initialize (void) |
| | Do specialized initialization.
|
| |
|
virtual | ~CapabilityPoint (void) |
| | Destructor.
|
| |
Extension point for building a GNU BFD capable Architecture.
◆ buildArchitecture()
| Architecture * ghidra::BfdArchitectureCapability::buildArchitecture |
( |
const string & |
filename, |
|
|
const string & |
target, |
|
|
ostream * |
estream |
|
) |
| |
|
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.
- Parameters
-
| 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 ghidra::ArchitectureCapability.
◆ isFileMatch()
| bool ghidra::BfdArchitectureCapability::isFileMatch |
( |
const string & |
filename | ) |
const |
|
virtual |
Determine if this extension can handle this file.
- Parameters
-
| filename | is the name of the file to examine |
- Returns
- true is this extension is suitable for analyzing the file
Implements ghidra::ArchitectureCapability.
◆ isXmlMatch()
| bool ghidra::BfdArchitectureCapability::isXmlMatch |
( |
Document * |
doc | ) |
const |
|
virtual |
The documentation for this class was generated from the following files: