GP-4688 Tighter checks on NaN expression truncation

This commit is contained in:
caheckman 2024-06-14 00:55:25 +00:00
parent 0a3f1bad3f
commit b650848848
2 changed files with 44 additions and 24 deletions

View file

@ -1550,6 +1550,7 @@ public:
class RuleIgnoreNan : public Rule {
static bool checkBackForCompare(Varnode *floatVar,Varnode *root);
static bool isAnotherNan(Varnode *vn);
static Varnode *testForComparison(Varnode *floatVar,PcodeOp *op,int4 slot,OpCode matchCode,int4 &count,Funcdata &data);
public:
RuleIgnoreNan(const string &g) : Rule( g, 0, "ignorenan") {} ///< Constructor