GP-3276 Put all C++ classes in ghidra namespace

This commit is contained in:
caheckman 2023-03-30 15:35:19 -04:00
parent ca9a56b5f4
commit fe137f20f3
217 changed files with 1635 additions and 554 deletions

View file

@ -23,9 +23,12 @@
#endif
#ifdef __REMOTE_SOCKET__
#include "ifacedecomp.hh"
#endif
namespace ghidra {
#ifdef __REMOTE_SOCKET__
static IfaceStatus *ghidra_dcp = (IfaceStatus *)0;
static RemoteSocket *remote = (RemoteSocket *)0;
@ -502,9 +505,13 @@ void GhidraDecompCapability::initialize(void)
commandmap["setOptions"] = new SetOptions();
}
} // End namespace ghidra
int main(int argc,char **argv)
{
using namespace ghidra;
signal(SIGSEGV, &ArchitectureGhidra::segvHandler); // Exit on SEGV errors
#ifdef _WINDOWS
// Force i/o streams to be in binary mode
@ -520,4 +527,3 @@ int main(int argc,char **argv)
}
GhidraCapability::shutDown();
}