|
| InjectPayloadCallfixup (const string &sourceName) |
|
virtual void | restoreXml (const Element *el) |
| Restore this payload from an XML stream. More...
|
|
| InjectPayloadSleigh (const string &src, const string &nm, int4 tp) |
|
virtual void | inject (InjectContext &context, PcodeEmit &emit) const |
|
virtual void | printTemplate (ostream &s) const |
| Print the p-code ops of the injection to a stream (for debugging)
|
|
virtual string | getSource (void) const |
| Return a string describing the source of the injection (.cspec, prototype model, etc.)
|
|
|
enum | { CALLFIXUP_TYPE = 1,
CALLOTHERFIXUP_TYPE = 2,
CALLMECHANISM_TYPE = 3,
EXECUTABLEPCODE_TYPE = 4
} |
|
static void | checkParameterRestrictions (InjectContextSleigh &con, const vector< InjectParameter > &inputlist, const vector< InjectParameter > &output, const string &source) |
|
static void | setupParameters (InjectContextSleigh &con, ParserWalkerChange &walker, const vector< InjectParameter > &inputlist, const vector< InjectParameter > &output, const string &source) |
|
void | orderParameters (void) |
| Assign an index to parameters. More...
|
|
static void | readParameter (const Element *el, string &name, uint4 &size) |
| Read in an <input> or <output> XML tag describing an injection parameter. More...
|
|
string | name |
| Formal name of the payload.
|
|
int4 | type |
| Type of this payload: CALLFIXUP_TYPE, CALLOTHERFIXUP_TYPE, etc.
|
|
bool | dynamic |
| True if the injection is generated dynamically.
|
|
bool | incidentalCopy |
| True if injected COPYs are considered incidental.
|
|
int4 | paramshift |
| Number of parameters shifted in the original call.
|
|
vector< InjectParameter > | inputlist |
| List of input parameters to this payload.
|
|
vector< InjectParameter > | output |
| List of output parameters.
|
|
◆ restoreXml()
void InjectPayloadCallfixup::restoreXml |
( |
const Element * |
el | ) |
|
|
virtual |
Restore this payload from an XML stream.
The base class version of this method restores from a <pcode> tag. Derived classes may restore from a parent tag and then invoke the base class method.
- Parameters
-
Reimplemented from InjectPayloadSleigh.
The documentation for this class was generated from the following files: