GP-5863 Check for input intersection before creating unreferenced param

This commit is contained in:
caheckman 2025-07-23 17:31:18 +00:00
parent e355d86144
commit cc0203307d
5 changed files with 43 additions and 5 deletions

View file

@ -309,6 +309,13 @@ public:
/// \return the matching Varnode or NULL
Varnode *findCoveringInput(int4 s,const Address &loc) const { return vbank.findCoveringInput(s,loc); }
/// \brief Check if an input Varnode exists that overlaps the given range
///
/// \param s is the size of the range in bytes
/// \param loc is the starting address of the given range
/// \return \b true if there is an input Varnode that overlaps the range
bool hasInputIntersection(int4 s,const Address &loc) const { return vbank.hasInputIntersection(s, loc); }
/// \brief Find the input Varnode with the given size and storage address
///
/// \param s is the size in bytes