Ghidra Decompiler Analysis Engine
|
Go to the documentation of this file.
18 #ifndef __CPUI_PCODERAW__
19 #define __CPUI_PCODERAW__
98 vector<VarnodeData *> in;
void setOutput(VarnodeData *o)
Set the output varnode for this op.
Definition: pcoderaw.hh:174
A region where processor data is stored.
Definition: space.hh:73
void setBehavior(OpBehavior *be)
Set the opcode for this op.
Definition: pcoderaw.hh:117
int4 numInput(void) const
Get the number of input varnodes to this op.
Definition: pcoderaw.hh:206
AddrSpace * space
The address space.
Definition: pcoderaw.hh:34
void setSeqNum(const Address &a, uintm b)
Set the sequence number.
Definition: pcoderaw.hh:147
A class for uniquely labelling and comparing PcodeOps.
Definition: address.hh:111
Address getAddr(void) const
Get the location of the varnode as an address.
Definition: pcoderaw.hh:85
OpCode getOpcode(void) const
Get the opcode for this op.
Definition: pcoderaw.hh:135
bool contains(const VarnodeData &op2) const
Does this container another given VarnodeData.
Definition: pcoderaw.cc:48
const SeqNum & getSeqNum(void) const
Retrieve the sequence number.
Definition: pcoderaw.hh:157
VarnodeData * getInput(int4 i) const
Get the i-th input varnode for this op.
Definition: pcoderaw.hh:217
bool operator!=(const VarnodeData &op2) const
Compare for inequality.
Definition: pcoderaw.hh:76
Class encapsulating the action/behavior of specific pcode opcodes.
Definition: opbehavior.hh:42
An XML element. A node in the DOM tree.
Definition: xml.hh:150
Classes for describing the behavior of individual p-code operations.
bool operator==(const VarnodeData &op2) const
Compare for equality.
Definition: pcoderaw.hh:66
VarnodeData * getOutput(void) const
Retrieve the output varnode for this op.
Definition: pcoderaw.hh:182
bool operator<(const VarnodeData &op2) const
An ordering for VarnodeData.
Definition: pcoderaw.hh:56
uintb offset
The offset within the space.
Definition: pcoderaw.hh:35
uint4 size
The number of bytes in the location.
Definition: pcoderaw.hh:36
const Address & getAddr(void) const
Get address of this operation.
Definition: pcoderaw.hh:166
const Address & getAddr(void) const
Get the address portion of a sequence number.
Definition: address.hh:126
void clearInputs(void)
Remove all input varnodes to this op.
Definition: pcoderaw.hh:199
A low-level machine address for labelling bytes and data.
Definition: address.hh:46
int4 getIndex(void) const
Get the integer identifier.
Definition: space.hh:319
OpCode getOpcode(void) const
Get the opcode for this pcode operation.
Definition: opbehavior.hh:103
OpCode
The op-code defining a specific p-code operation (PcodeOp)
Definition: opcodes.hh:35
OpBehavior * getBehavior(void) const
Retrieve the behavior for this op.
Definition: pcoderaw.hh:126
A low-level representation of a single pcode operation.
Definition: pcoderaw.hh:94
Classes for specifying addresses and other low-level constants.
Data defining a specific memory location.
Definition: pcoderaw.hh:33
void addInput(VarnodeData *i)
Add an additional input varnode to this op.
Definition: pcoderaw.hh:191
A manager for different address spaces.
Definition: translate.hh:218
void restoreXml(const Element *el, const AddrSpaceManager *manage)
Recover this object from an XML tag.
Definition: pcoderaw.cc:22