aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'bruiser/lua-scripts')
-rw-r--r--bruiser/lua-scripts/asmtest.lua6
-rw-r--r--bruiser/lua-scripts/demo2.lua8
2 files changed, 13 insertions, 1 deletions
diff --git a/bruiser/lua-scripts/asmtest.lua b/bruiser/lua-scripts/asmtest.lua
new file mode 100644
index 0000000..529b7a7
--- /dev/null
+++ b/bruiser/lua-scripts/asmtest.lua
@@ -0,0 +1,6 @@
+function test()
+ print("running asmtest.lua")
+ for k,v in pairs(jmp_s_t) do print(k,v) end
+end
+
+test()
diff --git a/bruiser/lua-scripts/demo2.lua b/bruiser/lua-scripts/demo2.lua
index c8de8aa..03d6089 100644
--- a/bruiser/lua-scripts/demo2.lua
+++ b/bruiser/lua-scripts/demo2.lua
@@ -55,7 +55,13 @@ function asm_rewriter()
freejmptable(haed)
end
+function jmp_t_test()
+ for k,v in pairs(jmp_s_t) do print(k,v) end
+ local t = jmp_s_t.new()
+end
+
--main()
--pretty_dump()
--test()
-asm_rewriter()
+--asm_rewriter()
+jmp_t_test()