aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-01-20 00:11:24 +0000
committerbloodstalker <thabogre@gmail.com>2018-01-20 00:11:24 +0000
commit6fb05b832ff4937572e75ca2ecd9efc84de910ea (patch)
tree12141a2f09de22448e742009325fe039419ac602 /bruiser/bruiser.h
parentupdate (diff)
downloadmutator-6fb05b832ff4937572e75ca2ecd9efc84de910ea.tar.gz
mutator-6fb05b832ff4937572e75ca2ecd9efc84de910ea.zip
update
Diffstat (limited to 'bruiser/bruiser.h')
-rw-r--r--bruiser/bruiser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index 0dce545..ed7fe85 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -153,7 +153,11 @@ help CMDHelp[] = {
{"objload()", "objload(\"main\", \"../bfd/test/test.so\")", "load the compiled functions into bruiser", "string", "success or failure"},
{"listObjects()", "listObjects(\"function\")", "lists the loaded objects of the given type", "string", "success or failure"},
{"xobjwrapper()", "xobjwrapper(\"function\")", "call an xobject", "", "success or failure"},
- {"xobjregister", "xobjregister(code_table, registration_name)", "registers an xobject as a callable function from lua", "", "pointer to the function"}
+ {"xobjregister", "xobjregister(code_table, registration_name)", "registers an xobject as a callable function from lua", "", "pointer to the function"},
+ {"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", "", ""}
};
/**********************************************************************************************************************/
/**