GP-3019 Detect flow of NaN into floating-point comparison

This commit is contained in:
caheckman 2023-07-21 18:26:22 +00:00
parent 285c90f1c5
commit f61367bf19
13 changed files with 320 additions and 13 deletions

View file

@ -177,6 +177,8 @@ public:
bool readonlypropagate; ///< true if readonly values should be treated as constants
bool infer_pointers; ///< True if we should infer pointers from constants that are likely addresses
bool analyze_for_loops; ///< True if we should attempt conversion of \e whiledo loops to \e for loops
bool nan_ignore_all; ///< True if we should ignore NaN operations, i.e. nan() always returns false
bool nan_ignore_compare; ///< True if we should ignore NaN operations protecting floating-point comparisons
vector<AddrSpace *> inferPtrSpaces; ///< Set of address spaces in which a pointer constant is inferable
int4 funcptr_align; ///< How many bits of alignment a function ptr has
uint4 flowoptions; ///< options passed to flow following engine