mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-5863 Check for input intersection before creating unreferenced param
This commit is contained in:
parent
e355d86144
commit
cc0203307d
5 changed files with 43 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue