diff options
Diffstat (limited to 'bruiser/lua-scripts/asmtest.lua')
-rw-r--r-- | bruiser/lua-scripts/asmtest.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bruiser/lua-scripts/asmtest.lua b/bruiser/lua-scripts/asmtest.lua index d7c0583..f5809d8 100644 --- a/bruiser/lua-scripts/asmtest.lua +++ b/bruiser/lua-scripts/asmtest.lua @@ -5,13 +5,13 @@ asmrw = require("asmrw") function test() local elf_exe = "../bfd/test/test" local text_section = xobj.getTextSection(elf_exe) - local head = jmp_s_t() + -- local head = jmp_s_t() -- 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() - head = getjmptable(#text_section, text_section) + local head = getjmptable(#text_section, text_section) while head:inext() ~= nil do - head:dump("entry") + --head:dump("entry") io.write("type:", head:type(), "\tlocation:", "0x"..string.format("%x", head:location())) print() head = head:inext() |