mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-3019 Detect flow of NaN into floating-point comparison
This commit is contained in:
parent
285c90f1c5
commit
f61367bf19
13 changed files with 320 additions and 13 deletions
|
@ -65,6 +65,7 @@ extern ElementId ELEM_STRUCTALIGN; ///< Marshaling element \<structalign>
|
|||
extern ElementId ELEM_TOGGLERULE; ///< Marshaling element \<togglerule>
|
||||
extern ElementId ELEM_WARNING; ///< Marshaling element \<warning>
|
||||
extern ElementId ELEM_JUMPTABLEMAX; ///< Marshaling element \<jumptablemax>
|
||||
extern ElementId ELEM_NANIGNORE; ///< Marshaling element \<nanignore>
|
||||
|
||||
/// \brief Base class for options classes that affect the configuration of the Architecture object
|
||||
///
|
||||
|
@ -343,5 +344,11 @@ public:
|
|||
virtual string apply(Architecture *glb,const string &p1,const string &p2,const string &p3) const;
|
||||
};
|
||||
|
||||
class OptionNanIgnore : public ArchOption {
|
||||
public:
|
||||
OptionNanIgnore(void) { name = "nanignore"; } ///< Constructor
|
||||
virtual string apply(Architecture *glb,const string &p1,const string &p2,const string &p3) const;
|
||||
};
|
||||
|
||||
} // End namespace ghidra
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue