Ghidra Decompiler Analysis Engine
Public Member Functions | List of all members
VolatileWriteOp Class Reference

An operation that writes to volatile memory. More...

#include <userop.hh>

Inheritance diagram for VolatileWriteOp:
Inheritance graph
[legend]
Collaboration diagram for VolatileWriteOp:
Collaboration graph
[legend]

Public Member Functions

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...
 

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.
 
Architectureglb
 Architecture owning the user defined op.
 

Detailed Description

An operation that writes to volatile memory.

This CALLOTHER p-code operation takes as its input parameters:

Member Function Documentation

◆ getOperatorName()

string VolatileWriteOp::getOperatorName ( const PcodeOp op) const
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

Parameters
opis the operation (in context) where a symbol is needed
Returns
the symbol as a string

Reimplemented from UserPcodeOp.

◆ restoreXml()

void VolatileWriteOp::restoreXml ( const Element el)
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.

Parameters
elis the root XML element describing the op

Implements UserPcodeOp.


The documentation for this class was generated from the following files: