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

Public Member Functions

void ruleError (const char *s)
 
int4 numErrors (void) const
 
int4 getLineNo (void)
 
void setFullRule (ConstraintGroup *full)
 
ConstraintGroupgetRule (void)
 
ConstraintGroupreleaseRule (void)
 
const map< string, int4 > & getNameMap (void) const
 
int4 findIdentifier (string *nm)
 
ConstraintGroupnewOp (int4 id)
 
ConstraintGroupnewVarnode (int4 id)
 
ConstraintGroupnewConst (int4 id)
 
ConstraintGroupopCopy (ConstraintGroup *base, int4 opid)
 
ConstraintGroupopInput (ConstraintGroup *base, int8 *slot, int4 varid)
 
ConstraintGroupopInputAny (ConstraintGroup *base, int4 varid)
 
ConstraintGroupopInputConstVal (ConstraintGroup *base, int8 *slot, RHSConstant *rhs)
 
ConstraintGroupopOutput (ConstraintGroup *base, int4 varid)
 
ConstraintGroupvarCopy (ConstraintGroup *base, int4 varid)
 
ConstraintGroupvarConst (ConstraintGroup *base, RHSConstant *ex, RHSConstant *sz)
 
ConstraintGroupvarDef (ConstraintGroup *base, int4 opid)
 
ConstraintGroupvarDescend (ConstraintGroup *base, int4 opid)
 
ConstraintGroupvarUniqueDescend (ConstraintGroup *base, int4 opid)
 
ConstraintGroupopCodeConstraint (ConstraintGroup *base, vector< OpCode > *oplist)
 
ConstraintGroupopCompareConstraint (ConstraintGroup *base, int4 opid, OpCode opc)
 
ConstraintGroupvarCompareConstraint (ConstraintGroup *base, int4 varid, OpCode opc)
 
ConstraintGroupconstCompareConstraint (ConstraintGroup *base, int4 constid, OpCode opc)
 
ConstraintGroupconstNamedExpression (int4 id, RHSConstant *expr)
 
ConstraintGroupemptyGroup (void)
 
ConstraintGroupemptyOrGroup (void)
 
ConstraintGroupmergeGroups (ConstraintGroup *a, ConstraintGroup *b)
 
ConstraintGroupaddOr (ConstraintGroup *base, ConstraintGroup *newor)
 
ConstraintGroupopCreation (int4 newid, OpCode oc, bool iafter, int4 oldid)
 
ConstraintGroupnewUniqueOut (ConstraintGroup *base, int4 varid, int4 sz)
 
ConstraintGroupnewSetInput (ConstraintGroup *base, RHSConstant *slot, int4 varid)
 
ConstraintGroupnewSetInputConstVal (ConstraintGroup *base, RHSConstant *slot, RHSConstant *val, RHSConstant *sz)
 
ConstraintGroupremoveInput (ConstraintGroup *base, RHSConstant *slot)
 
ConstraintGroupnewSetOpcode (ConstraintGroup *base, OpCode opc)
 
ConstraintGroupbooleanConstraint (bool ist, RHSConstant *expr)
 
RHSConstantconstNamed (int4 id)
 
RHSConstantconstAbsolute (int8 *val)
 
RHSConstantconstBinaryExpression (RHSConstant *ex1, OpCode opc, RHSConstant *ex2)
 
RHSConstantconstVarnodeSize (int4 varindex)
 
RHSConstantdotIdentifier (int4 id, string *str)
 
int4 nextToken (void)
 
void setErrorStream (ostream &t)
 
void run (istream &s, bool debug)
 
void postProcess (void)
 
int4 postProcessRule (vector< OpCode > &opcodelist)
 

Static Public Member Functions

static ConstraintGroupbuildUnifyer (const string &rule, const vector< string > &idlist, vector< int4 > &res)
 

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