aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/bruiser.h
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-12-31 19:25:40 +0000
committerbloodstalker <thabogre@gmail.com>2017-12-31 19:25:40 +0000
commitd2bff8aa39c98c4ebc904b836dcffbea3f7045bb (patch)
treeeee4c48bc69314cb90518a05f553e8eea9c17e8c /bruiser/bruiser.h
parentbruiser gets the function code and name from bfd now. besides that minor chan... (diff)
downloadmutator-d2bff8aa39c98c4ebc904b836dcffbea3f7045bb.tar.gz
mutator-d2bff8aa39c98c4ebc904b836dcffbea3f7045bb.zip
wip
Diffstat (limited to '')
-rw-r--r--bruiser/bruiser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/bruiser/bruiser.h b/bruiser/bruiser.h
index 3cd8eaa..3b4513c 100644
--- a/bruiser/bruiser.h
+++ b/bruiser/bruiser.h
@@ -47,6 +47,9 @@ namespace bruiser
/**********************************************************************************************************************/
const char* M0REP = "../test/misrareport.xml";
/**********************************************************************************************************************/
+#define JOIN2(x1, x2) x1##x2
+#define JOIN3(x1, x2, x3) x1##x2##x3
+
#define RED "\033[1;31m"
#define CYAN "\033[1;36m"
#define GREEN "\033[1;32m"
@@ -145,7 +148,8 @@ help CMDHelp[] = {
{"changedirectory()", "changedirectory()", "changes bruiser's working directory. only use it when you know what you are doing.", "destination directory, [string]", "return value"},
{"pwd()", "pwd()", "pwd", "", ""},
{"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"}
+ {"listObjects()", "listObjects(\"function\")", "lists the loaded objects of the given type", "string", "success or failure"},
+ {"xobjwrapper()", "xobjwrapper(\"function\")", "call an xobject", "", "success or failure"}
};
/**********************************************************************************************************************/
/**