13 #define PROGRAM_NAME "utkscanor" 24 cout <<
"utkscanor.cpp : Instancing the UtkScanInterface" << endl;
28 cout <<
"utkscan.cpp : Setting the Program Name" << endl;
32 cout <<
"utkscan.cpp : Performing the setup routine" << endl;
42 extern "C" void drrsub_(uint32_t &iexist) {
47 }
catch (std::exception &e) {
49 cout <<
"Exception caught at Initialize:" << endl;
50 cout <<
"\t" << e.what() << endl;
57 cout <<
"\nCleaning up..\n";
void cleanup_()
Catch the exit call from scanor and clean up c++ objects CRT.
int GetNumberArguments(void)
bool Close()
Shutdown cleanly.
bool Setup(int argc, char *argv[])
Setup user options and initialize all required objects.
UtkScanInterface * scanner
void SetProgramName(const std::string &head_)
Set the header string used to prefix output messages.
Main Driver for event processing.
void drrmake_()
DAMM initialization call.
char ** GetArguments(void)
Returns an argv style array that can be used to pass to getopt and other similar functions.
Class derived from ScanInterface to handle UI for the scan.
void drrsub_(uint32_t &iexist)
Defines the main interface with the SCANOR library, the program essentially starts here...
static ScanorInterface * get()
virtual Unpacker * GetCore()
void endrr_()
DAMM declaration wrap-up call.
void startup_()
Begins setups the interface between SCANOR and the C++ and the Unpacker. It also handles the processi...
void SetUnpacker(Unpacker *a)
static DetectorDriver * get()