aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts
diff options
context:
space:
mode:
authorduneroadrunner <duneroadrunner@gmail.com>2017-06-24 12:28:12 +0000
committerduneroadrunner <duneroadrunner@gmail.com>2017-06-24 12:28:12 +0000
commit6db679ca4b60add207688597e4b3a81dc3d7bb12 (patch)
treec86c6cde5c095f6dc87c19c77a4c9fcb59b15e97 /bruiser/lua-scripts
parentjust added support for the case where pointers are used as range (diff)
parentadded a new command, fixed an old one (diff)
downloadmutator-6db679ca4b60add207688597e4b3a81dc3d7bb12.tar.gz
mutator-6db679ca4b60add207688597e4b3a81dc3d7bb12.zip
Merge branch 'master' of https://github.com/bloodstalker/mutator.git
Diffstat (limited to '')
-rw-r--r--bruiser/lua-scripts/mutation-example.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/mutation-example.lua b/bruiser/lua-scripts/mutation-example.lua
new file mode 100644
index 0000000..b863b71
--- /dev/null
+++ b/bruiser/lua-scripts/mutation-example.lua
@@ -0,0 +1,9 @@
+setmakepath("../test/bruisertest")
+make("clean")
+text = hijackmain()
+file = io.open("../test/bruisertest/mutatant.cpp", "w")
+print("------------------------------------------------------------------")
+print(text)
+print("------------------------------------------------------------------")
+file:write(a)
+file:close()