diff options
author | bloodstalker <thabogre@gmail.com> | 2018-03-02 20:40:16 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-03-02 20:40:16 +0000 |
commit | 75fb62903425f19d0519c45a4c9ec7dc5f986f59 (patch) | |
tree | 0f748b8f446c803db9c4ee177d88ae2eba2a4b26 /bruiser/lua-scripts | |
parent | some fixes for the jump table lua module (diff) | |
download | mutator-75fb62903425f19d0519c45a4c9ec7dc5f986f59.tar.gz mutator-75fb62903425f19d0519c45a4c9ec7dc5f986f59.zip |
the skeletion code for the jump table struct is now working
Diffstat (limited to '')
-rw-r--r-- | bruiser/lua-scripts/asmtest.lua | 6 | ||||
-rw-r--r-- | bruiser/lua-scripts/demo2.lua | 8 |
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() |