diff options
Diffstat (limited to '')
-rw-r--r-- | bruiser/bruiser.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h index 7d32da9..cdb5141 100644 --- a/bruiser/bruiser.h +++ b/bruiser/bruiser.h @@ -72,6 +72,27 @@ namespace bruiser enum class M0_ERR {M0_ERROR_CODES}; #undef X /**********************************************************************************************************************/ +struct help +{ + std::string name; + std::string proto; + std::string descr; + std::string protoprefix; + std::string retval; +}; + +help CMDHelp[] ={ + {"help", "", "display general help", "", ""}, + {"quit", "", "quit bruiser", "", ""}, + {"exit", "", "quit bruiser", "", ""}, + {"m0", "", "bruiser reads the report generated by mutator-lvl0", "", ""}, + {"hijack", "hijack main", "runs a specific matcher that replaces the main with a new main", "", ""}, + {"clear", "", "clears the terminal", "", ""}, + {"shell", "", "opens up a bash shell inside bruiser", "", ""}, + {"history", "", "prints bruiser's history", "", ""}, + {"!", "", "prints the command from history", "", ""} +}; +/**********************************************************************************************************************/ /** * @brief This class handles the logging for bruiser. */ @@ -169,7 +190,11 @@ class SearchM0 void Debug(void) { + if (!RootPointer->NoChildren()) + { + const XMLElement* XMLE [[maybe_unused]] = RootPointer->FirstChildElement(); + } } private: |