decompiler
1.0.0
|
An operation that writes to volatile memory. More...
#include <userop.hh>
Public Member Functions | |
VolatileWriteOp (Architecture *g, const string &nm, int4 ind) | |
Constructor. | |
virtual string | getOperatorName (const PcodeOp *op) const |
Get the symbol representing this operation in decompiled code. More... | |
virtual void | restoreXml (const Element *el) |
Restore the detailed description from an XML stream. More... | |
Public Member Functions inherited from VolatileOp | |
VolatileOp (Architecture *g, const string &nm, int4 ind) | |
Constructor. | |
Public Member Functions inherited from UserPcodeOp | |
UserPcodeOp (Architecture *g, const string &nm, int4 ind) | |
Construct from name and index. | |
const string & | getName (void) const |
Get the low-level name of the p-code op. | |
int4 | getIndex (void) const |
Get the constant id of the op. | |
virtual | ~UserPcodeOp (void) |
Destructor. | |
Additional Inherited Members | |
Static Protected Member Functions inherited from VolatileOp | |
static string | appendSize (const string &base, int4 size) |
Append a suffix to a string encoding a specific size. More... | |
Protected Attributes inherited from UserPcodeOp | |
string | name |
Low-level name of p-code operator. | |
int4 | useropindex |
Index passed in the CALLOTHER op. | |
Architecture * | glb |
Architecture owning the user defined op. | |
An operation that writes to volatile memory.
This CALLOTHER p-code operation takes as its input parameters:
|
virtual |
Get the symbol representing this operation in decompiled code.
This will return the symbol formally displayed in source code, which can be tailored more than the low-level name
op | is the operation (in context) where a symbol is needed |
Reimplemented from UserPcodeOp.
References VolatileOp::appendSize(), PcodeOp::getIn(), Varnode::getSize(), UserPcodeOp::name, and PcodeOp::numInput().
|
virtual |
Restore the detailed description from an XML stream.
The details of how a user defined operation behaves can be dynamically configured from an XML tag.
el | is the root XML element describing the op |
Implements UserPcodeOp.
References UserPcodeOp::name.
Referenced by UserOpManage::parseVolatile().