aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-03-01 14:37:53 +0000
committerbloodstalker <thabogre@gmail.com>2018-03-01 14:37:53 +0000
commitb72238e4056bc8f28c53f42f186bd385cc81ba12 (patch)
tree5821add9b2d785f09b4f4e1c8b62a17e6a713769 /bruiser/bruiser.h
parentbruiser will now run a lua script before startup so now you can easily use yo... (diff)
downloadmutator-b72238e4056bc8f28c53f42f186bd385cc81ba12.tar.gz
mutator-b72238e4056bc8f28c53f42f186bd385cc81ba12.zip
wip-the asm rewriter module plus the assembly jump table lua module implementation
Diffstat (limited to 'bruiser/bruiser.h')
-rw-r--r--bruiser/bruiser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index 616f2c8..584d652 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -157,7 +157,10 @@ help CMDHelp[] = {
{"xcall", "xcall(index, num_args)", "call xobj with the given index in to the xobj vector with the given number of args", "", "returns the xobj call result"},
{"xobjlist", "xobjlist()", "return a table containing xobj pointers and names. names are keys, values are the pointers.", "", "table of pairs"},
{"xallocglobal", "xallocglobal(index)", "allocate a global value with index index", "", ""},
- {"xallocallglobals", "xallocallglobals()", "allocate all globals", "", ""}
+ {"xallocallglobals", "xallocallglobals()", "allocate all globals", "", ""},
+ {"getjmptable", "getjmptable(size, code)", "get a table of all jumps", "", "returns a pointer to the head of the jump table linked-list as lightuserdata"},
+ {"freejmptable", "freejmptable(head)", "free the jmp table linked-list", "", "nothing"},
+ {"dumpjmptable", "dumpjmptable(head)", "dumps the jmp table linked-list", "", "nothing"}
};
/**********************************************************************************************************************/
/**