Skip to content

Ghidra is a software reverse engineering (SRE) framework

GP-2961 Clear calculated flags on restart

caheckman0ee824f01784
diff --git a/Ghidra/Features/Decompiler/src/decompile/cpp/database.cc b/Ghidra/Features/Decompiler/src/decompile/cpp/database.cc
index 17127fe230..eaf2c498da 100644
--- a/Ghidra/Features/Decompiler/src/decompile/cpp/database.cc
+++ b/Ghidra/Features/Decompiler/src/decompile/cpp/database.cc
@@ -2043,6 +2043,7 @@ void ScopeInternal::clearUnlocked(void)
renameSymbol(sym,buildUndefinedName());
}
}
+ clearAttribute(sym, Varnode::nolocalalias); // Clear any calculated attributes
if (sym->isSizeTypeLocked())
resetSizeLockType(sym);
}