aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-05-20 20:51:17 +0000
committerbloodstalker <thabogre@gmail.com>2018-05-20 20:51:17 +0000
commit105bc30b01d01d08e1b87c2f07cc7fc737811563 (patch)
tree9572084e59be03dac5f9c844e50e362d5382ec16 /bruiser/bruiser.h
parentfixes #33. fixed #34. python interpreter should clean up after itself properl... (diff)
downloadmutator-105bc30b01d01d08e1b87c2f07cc7fc737811563.tar.gz
mutator-105bc30b01d01d08e1b87c2f07cc7fc737811563.zip
wip:added a wasm backend. i need to setup an interface with the main c++ code. added some commands to bruiser for managing xobj memories
Diffstat (limited to '')
-rw-r--r--bruiser/bruiser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index cda065b..72ea366 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -161,7 +161,10 @@ help CMDHelp[] = {
{"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"},
- {"ramdump", "ramdump(pid)", "dumps the ram", "", "ram contents"}
+ {"ramdump", "ramdump(pid)", "dumps the ram", "", "ram contents"},
+ {"xsize", "xsize()", "returns the number of currently registered xobjs", "", "nothing"},
+ {"xclear", "xclear()", "deallocates all xobjs, freeing memory", "", "nothing"},
+ {"xmemusage", "xmemusage()", "returns how much memory the xobjcts are occupying", "", "total memory used by xobjects"}
};
/**********************************************************************************************************************/
/**