mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-4688 Tighter checks on NaN expression truncation
This commit is contained in:
parent
0a3f1bad3f
commit
b650848848
2 changed files with 44 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue