mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
Merge remote-tracking branch 'origin/GP-1284_TestFrameworkFixes'
This commit is contained in:
commit
af2d461d85
@ -123,7 +123,7 @@ TEST_NAMES=$(CORE) $(DECCORE) $(SLEIGH) $(EXTRA) test
|
||||
TEST_DEBUG=-D__TERMINAL__
|
||||
|
||||
GHIDRA_NAMES=$(CORE) $(DECCORE) $(GHIDRA)
|
||||
GHIDRA_NAMES_DBG=$(GHIDRA_NAMES) callgraph ifacedecomp ifaceterm interface
|
||||
GHIDRA_NAMES_DBG=$(GHIDRA_NAMES) callgraph ifacedecomp testfunction ifaceterm interface
|
||||
GHIDRA_DEBUG=-DCPUI_DEBUG
|
||||
GHIDRA_OPT=
|
||||
|
||||
|
@ -286,7 +286,6 @@ void Architecture::clearAnalysis(Funcdata *fd)
|
||||
fd->clear(); // Clear stuff internal to function
|
||||
// Clear out any analysis generated comments
|
||||
commentdb->clearType(fd->getAddress(),Comment::warning|Comment::warningheader);
|
||||
stringManager->clear();
|
||||
}
|
||||
|
||||
/// Symbols do not necessarily need to be available for the decompiler.
|
||||
|
@ -51,6 +51,11 @@ IfaceTerm::IfaceTerm(const string &prmpt,istream &is,ostream &os)
|
||||
IfaceTerm::~IfaceTerm(void)
|
||||
|
||||
{
|
||||
while(!inputstack.empty()) {
|
||||
delete sptr;
|
||||
sptr = inputstack.back();
|
||||
inputstack.pop_back();
|
||||
}
|
||||
#ifdef __TERMINAL__
|
||||
if (is_terminal) {
|
||||
tcsetattr(ifd,TCSANOW,&itty); // Restore original terminal settings
|
||||
|
@ -145,6 +145,7 @@ void IfaceStatus::pushScript(const string &filename,const string &newprompt)
|
||||
ifstream *s = new ifstream(filename.c_str());
|
||||
if (!*s)
|
||||
throw IfaceParseError("Unable to open script file");
|
||||
pushScript(s,newprompt);
|
||||
}
|
||||
|
||||
/// \brief Provide a new input stream to execute, with an associated command prompt
|
||||
|
Loading…
Reference in New Issue
Block a user