From 69360b15987798dfbffbc4c5688d1a8108945ff1 Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Mon, 10 Sep 2018 18:31:59 +0430 Subject: begenning to integrate and test both the codegens. run git pull for faultreiber and tablegen. --- bruiser/lua-scripts/asmtest.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'bruiser/lua-scripts') 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() -- cgit v1.2.3