aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/asmtest.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bruiser/lua-scripts/asmtest.lua10
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()