aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/lua-scripts/df-demo.lua
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-04-15 10:48:12 +0000
committerbloodstalker <thabogre@gmail.com>2018-04-15 10:48:12 +0000
commitd16b1a11c222842ec079580ef23291d2562396c2 (patch)
tree21edaff81050bbd70a91a6ebfe64022b3f184359 /bruiser/lua-scripts/df-demo.lua
parentadded some more cli options to load.py. added a new test file for bruiser to ... (diff)
downloadmutator-d16b1a11c222842ec079580ef23291d2562396c2.tar.gz
mutator-d16b1a11c222842ec079580ef23291d2562396c2.zip
fixed #29
Diffstat (limited to 'bruiser/lua-scripts/df-demo.lua')
-rw-r--r--bruiser/lua-scripts/df-demo.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/bruiser/lua-scripts/df-demo.lua b/bruiser/lua-scripts/df-demo.lua
index 35a6b7a..d393988 100644
--- a/bruiser/lua-scripts/df-demo.lua
+++ b/bruiser/lua-scripts/df-demo.lua
@@ -26,11 +26,13 @@ function pretty_dump()
end
function jmp_table_test()
+ io.write(colors("%{cyan}".."lua:getting text section...\n"))
local text_section = xobj.getTextSection(df_exe)
+ io.write(colors("%{green}".."lua:got text section.\n"))
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()
- io.write("lua:calling getjmptable\n")
+ io.write(colors("%{cyan}".."lua:calling getjmptable\n"))
head = getjmptable(#text_section, text_section)
while head:inext() ~= nil do