aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/list.lua
diff options
context:
space:
mode:
authoruser1 <user1@ubuntu>2017-06-06 00:58:47 +0000
committeruser1 <user1@ubuntu>2017-06-06 00:58:47 +0000
commit84d3355e7b9f9d67e18825c9895b001cd3ee2947 (patch)
tree3c100baa7b5d14b71bf814a1d286b4e633b8fdd6 /bruiser/lua-scripts/list.lua
parentchanged "Assignment Target Constrains Address of Array Subscript Expr" (diff)
parentmoved the other commands into lua now, so they are working again (diff)
downloadmutator-84d3355e7b9f9d67e18825c9895b001cd3ee2947.tar.gz
mutator-84d3355e7b9f9d67e18825c9895b001cd3ee2947.zip
Merge branch 'master' of https://github.com/bloodstalker/mutator.git
Diffstat (limited to '')
-rw-r--r--bruiser/lua-scripts/list.lua14
1 files changed, 14 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