Ghidra is a software reverse engineering (SRE) framework
Merge remote-tracking branch 'origin/GP-2845_PartialMerging'
Ryan Kurtza04f7fbb03e4
diff --cc Ghidra/Features/Decompiler/src/decompile/cpp/variable.hhindex 21e5479190,ad89b4d64c..f8fb0e4335--- a/Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/variable.hh@@@ -82,17 -144,21 +144,22 @@@ privatebool hasCopyIn1(void) const { return ((highflags©_in1)!=0); } ///< Is there at least one COPY into \b thisbool hasCopyIn2(void) const { return ((highflags©_in2)!=0); } ///< Is there at least two COPYs into \b thisvoid remove(Varnode *vn); ///< Remove a member Varnode from \b this- void merge(HighVariable *tv2,bool isspeculative); ///< Merge another HighVariable into \b this+ void mergeInternal(HighVariable *tv2,bool isspeculative); ///< Merge another HighVariable into \b this+ void merge(HighVariable *tv2,bool isspeculative); ///< Merge with another HighVariable taking into account groupsvoid setSymbol(Varnode *vn) const; ///< Update Symbol information for \b this from the given member Varnodevoid setSymbolReference(Symbol *sym,int4 off); ///< Attach a reference to a Symbol to \b this+ void transferPiece(HighVariable *tv2); ///< Transfer ownership of another's VariablePiece to \b thisvoid flagsDirty(void) const { highflags |= flagsdirty | namerepdirty; } ///< Mark the boolean properties as \e dirty- void coverDirty(void) const { highflags |= coverdirty; } ///< Mark the cover as \e dirty+ void coverDirty(void) const; ///< Mark the cover as \e dirtyvoid typeDirty(void) const { highflags |= typedirty; } ///< Mark the data-type as \e dirty+ void symbolDirty(void) const { highflags |= symboldirty; } ///< Mark the symbol as \e dirtyvoid setUnmerged(void) const { highflags |= unmerged; } ///< Mark \b this as having merge problems+ bool isCoverDirty(void) const; ///< Is the cover returned by getCover() up-to-datepublic:HighVariable(Varnode *vn); ///< Construct a HighVariable with a single member Varnode+ ~HighVariable(void); ///< DestructorDatatype *getType(void) const { updateType(); return type; } ///< Get the data-type+ const Cover &getCover(void) const; ///< Get cover data for \b this variableSymbol *getSymbol(void) const { updateSymbol(); return symbol; } ///< Get the Symbol associated with \b this or nullSymbolEntry *getSymbolEntry(void) const; /// Get the SymbolEntry mapping to \b this or nullint4 getSymbolOffset(void) const { return symboloffset; } ///< Get the Symbol offset associated with \b this