mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-4859 RuleOrCompare
This commit is contained in:
parent
2ef83410be
commit
a31c4033a8
8 changed files with 141 additions and 234 deletions
|
@ -1598,17 +1598,6 @@ public:
|
|||
static Varnode *getBooleanResult(Varnode *vn,int4 bitPos,int4 &constRes);
|
||||
};
|
||||
|
||||
class RuleOrMultiBool : public Rule {
|
||||
public:
|
||||
RuleOrMultiBool(const string &g) : Rule( g, 0, "ormultibool") {} ///< Constructor
|
||||
virtual Rule *clone(const ActionGroupList &grouplist) const {
|
||||
if (!grouplist.contains(getGroup())) return (Rule *)0;
|
||||
return new RuleOrMultiBool(getGroup());
|
||||
}
|
||||
virtual void getOpList(vector<uint4> &oplist) const;
|
||||
virtual int4 applyOp(PcodeOp *op,Funcdata &data);
|
||||
};
|
||||
|
||||
class RulePiecePathology : public Rule {
|
||||
static bool isPathology(Varnode *vn,Funcdata &data);
|
||||
static int4 tracePathologyForward(PcodeOp *op,Funcdata &data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue