diff options
author | bloodstalker <thabogre@gmail.com> | 2018-09-10 14:01:59 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-09-10 14:01:59 +0000 |
commit | 69360b15987798dfbffbc4c5688d1a8108945ff1 (patch) | |
tree | 8b69055cf9ca8b90c1cc47be9f63ac4a82d54d07 /bruiser/lua-scripts | |
parent | jmp_t_s now uses the new way of registering tables, the 5.3 way. bruiser is s... (diff) | |
download | mutator-69360b15987798dfbffbc4c5688d1a8108945ff1.tar.gz mutator-69360b15987798dfbffbc4c5688d1a8108945ff1.zip |
begenning to integrate and test both the codegens. run git pull for faultreiber and tablegen.
Diffstat (limited to 'bruiser/lua-scripts')
-rw-r--r-- | bruiser/lua-scripts/asmtest.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bruiser/lua-scripts/asmtest.lua b/bruiser/lua-scripts/asmtest.lua index f5809d8..e9f1598 100644 --- a/bruiser/lua-scripts/asmtest.lua +++ b/bruiser/lua-scripts/asmtest.lua @@ -9,6 +9,7 @@ function test() -- messes up the stack. I could fix it but not sure why i would want to keep this in --local head2 = jmp_s_t:new() local head = getjmptable(#text_section, text_section) + print(type(head)) while head:inext() ~= nil do --head:dump("entry") @@ -16,6 +17,15 @@ function test() print() head = head:inext() end + + local dummy = jmp_s_t + print(type(dummy)) + for k,v in pairs(dummy) do + if type(v) == "function" then + print(k,v ) + end + end + --print(dummy:location()) end test() |