aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-03 19:23:02 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-03 19:23:02 +0000
commite80aac0fea58922d15dd7fb5578cb38986bee1d6 (patch)
treee92df227d8233e1775a45ebdb5ba46fab8f1836a /bruiser
parentadded a comment about the fact that this file is basically lua.c (diff)
downloadmutator-e80aac0fea58922d15dd7fb5578cb38986bee1d6.tar.gz
mutator-e80aac0fea58922d15dd7fb5578cb38986bee1d6.zip
added some more lua scripts. theyre mainly used for testing
Diffstat (limited to '')
-rw-r--r--bruiser/lua-scripts/list.lua14
-rw-r--r--bruiser/lua-scripts/test4.lua4
2 files changed, 18 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/list.lua b/bruiser/lua-scripts/list.lua
new file mode 100644
index 0000000..d23ef04
--- /dev/null
+++ b/bruiser/lua-scripts/list.lua
@@ -0,0 +1,14 @@
+in_command = io.read()
+if in_command == "list funcs" then
+ clangreturn = Funcs()
+elseif in_command == "list vars" then
+ clangreturn = Vars()
+elseif in_command == "list structs" then
+ clangreturn = Structs()
+elseif in_command == "list arrays" then
+ clangreturn = Arrayss()
+elseif in_command == "list classes" then
+ clangreturn = Classes()
+elseif in_command == "list unions" then
+ clangreturn = Unions()
+end
diff --git a/bruiser/lua-scripts/test4.lua b/bruiser/lua-scripts/test4.lua
new file mode 100644
index 0000000..6d0db5b
--- /dev/null
+++ b/bruiser/lua-scripts/test4.lua
@@ -0,0 +1,4 @@
+--print("yolo")
+--bubu()
+--Funcs()
+Vars()