aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-05 17:14:42 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-05 17:14:42 +0000
commite57d3894b1023cf0b2d1f25cb9633b1a79b13763 (patch)
tree24fdce4052e8c96d3324dd3adeb920b61e628b49
parentnow the list commands output the results in as strings so they can be reused ... (diff)
downloadmutator-e57d3894b1023cf0b2d1f25cb9633b1a79b13763.tar.gz
mutator-e57d3894b1023cf0b2d1f25cb9633b1a79b13763.zip
fixed some commands
-rw-r--r--bruiser/bruiser-extra.h56
1 files changed, 34 insertions, 22 deletions
diff --git a/bruiser/bruiser-extra.h b/bruiser/bruiser-extra.h
index 0bc35ca..554b170 100644
--- a/bruiser/bruiser-extra.h
+++ b/bruiser/bruiser-extra.h
@@ -91,30 +91,21 @@ std::vector<std::string> BRUISR_COMMANDS =
std::vector<std::string> LUA_FUNCS =
{
- "help",
+ "help()",
"quit",
"exit",
- "list",
- "list vars",
- "list funcs",
- "list structs",
- "list classes",
- "list unions",
- "list records",
- "history",
- "shell",
- "version",
- "clear",
- "hijack",
- "hijack main",
- "m0",
+ "history()",
+ "version()",
+ "clear()",
+ "m0()",
"runlua",
- "Funcs",
- "Vars",
- "Arrays",
- "Structs",
- "Unions",
- "Classes",
+ "Funcs()",
+ "Vars()",
+ "Arrays()",
+ "Structs()",
+ "Unions()",
+ "Classes()",
+ "hijackmain()",
"_G",
"_VERSION",
"assert",
@@ -274,7 +265,28 @@ std::vector<std::string> LUA_FUNCS =
"LUA_INIT",
"LUA_INIT_5_3",
"LUA_PATH",
- "LUA_PATH_5_3"
+ "LUA_PATH_5_3",
+ "and",
+ "break",
+ "do",
+ "else",
+ "elseif",
+ "end",
+ "false",
+ "for",
+ "function",
+ "if",
+ "in",
+ "local",
+ "nil",
+ "not",
+ "or",
+ "repeat",
+ "return",
+ "then",
+ "true",
+ "until",
+ "while"
};
/**********************************************************************************************************************/
#endif