Ghidra Decompiler Analysis Engine
Public Types | Public Member Functions | Friends | List of all members
OperandSymbol Class Reference
Inheritance diagram for OperandSymbol:
Inheritance graph
[legend]
Collaboration diagram for OperandSymbol:
Collaboration graph
[legend]

Public Types

enum  { code_address =1, offset_irrel =2, variable_len =4, marked =8 }
 
- Public Types inherited from SleighSymbol
enum  symbol_type {
  space_symbol, token_symbol, userop_symbol, value_symbol,
  valuemap_symbol, name_symbol, varnode_symbol, varnodelist_symbol,
  operand_symbol, start_symbol, end_symbol, subtable_symbol,
  macro_symbol, section_symbol, bitrange_symbol, context_symbol,
  epsilon_symbol, label_symbol, dummy_symbol
}
 

Public Member Functions

 OperandSymbol (const string &nm, int4 index, Constructor *ct)
 
uint4 getRelativeOffset (void) const
 
int4 getOffsetBase (void) const
 
int4 getMinimumLength (void) const
 
PatternExpressiongetDefiningExpression (void) const
 
TripleSymbolgetDefiningSymbol (void) const
 
int4 getIndex (void) const
 
void defineOperand (PatternExpression *pe)
 
void defineOperand (TripleSymbol *tri)
 
void setCodeAddress (void)
 
bool isCodeAddress (void) const
 
void setOffsetIrrelevant (void)
 
bool isOffsetIrrelevant (void) const
 
void setMark (void)
 
void clearMark (void)
 
bool isMarked (void) const
 
virtual VarnodeTplgetVarnode (void) const
 
virtual PatternExpressiongetPatternExpression (void) const
 
virtual void getFixedHandle (FixedHandle &hnd, ParserWalker &walker) const
 
virtual int4 getSize (void) const
 
virtual void print (ostream &s, ParserWalker &walker) const
 
virtual void collectLocalValues (vector< uintb > &results) const
 
virtual symbol_type getType (void) const
 
virtual void saveXml (ostream &s) const
 
virtual void saveXmlHeader (ostream &s) const
 
virtual void restoreXml (const Element *el, SleighBase *trans)
 
- Public Member Functions inherited from SpecificSymbol
 SpecificSymbol (const string &nm)
 
- Public Member Functions inherited from TripleSymbol
 TripleSymbol (const string &nm)
 
virtual Constructorresolve (ParserWalker &walker)
 
- Public Member Functions inherited from SleighSymbol
 SleighSymbol (const string &nm)
 
const string & getName (void) const
 
uintm getId (void) const
 
void restoreXmlHeader (const Element *el)
 

Friends

class Constructor
 
class OperandEquation
 

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