mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
RuleDoubleArithShift
This commit is contained in:
parent
a3ea66e4db
commit
1731903056
3 changed files with 45 additions and 0 deletions
|
@ -345,6 +345,16 @@ public:
|
|||
virtual void getOpList(vector<uint4> &oplist) const;
|
||||
virtual int4 applyOp(PcodeOp *op,Funcdata &data);
|
||||
};
|
||||
class RuleDoubleArithShift : public Rule {
|
||||
public:
|
||||
RuleDoubleArithShift(const string &g) : Rule(g, 0, "doublearithshift") {} ///< Constructor
|
||||
virtual Rule *clone(const ActionGroupList &grouplist) const {
|
||||
if (!grouplist.contains(getGroup())) return (Rule *)0;
|
||||
return new RuleDoubleArithShift(getGroup());
|
||||
}
|
||||
virtual void getOpList(vector<uint4> &oplist) const;
|
||||
virtual int4 applyOp(PcodeOp *op,Funcdata &data);
|
||||
};
|
||||
class RuleConcatShift : public Rule {
|
||||
public:
|
||||
RuleConcatShift(const string &g) : Rule(g, 0, "concatshift") {} ///< Constructor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue