diff options
author | bloodstalker <thabogre@gmail.com> | 2018-09-30 14:59:30 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-09-30 14:59:30 +0000 |
commit | ce424e6d92d77e0000b1f6b7cc93c20062cc720b (patch) | |
tree | c33a9f123b03f5c1770b1283924af8dfb2e174a7 /bruiser/bruiser.cpp | |
parent | with a few minor tweaks, you can build m0, obfuscator and bruiser with llvm 8... (diff) | |
download | mutator-ce424e6d92d77e0000b1f6b7cc93c20062cc720b.tar.gz mutator-ce424e6d92d77e0000b1f6b7cc93c20062cc720b.zip |
some more fixes, mainly for tablegen and fualtreiber, will check later to make sure everything is working correctly
Diffstat (limited to '')
-rw-r--r-- | bruiser/bruiser.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp index 726f963..048dc54 100644 --- a/bruiser/bruiser.cpp +++ b/bruiser/bruiser.cpp @@ -1546,8 +1546,8 @@ class LuaWrapper { int j = 0; printf("offset:\n"); while(1) { - printf("%02x ", lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j]); - if (lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j] == 11) { + printf("%02x ", (unsigned char)lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j]); + if (lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j] == 11U) { break; } j++; @@ -2209,6 +2209,7 @@ class RunLoop { /*cli execution loop*/ while((command = linenoise(">>>")) != NULL) { + //FIXME-if the current command is the same as last command skip adding to history linenoiseHistoryAdd(command); linenoiseHistorySave(SHELL_HISTORY_FILE.c_str()); le.RunChunk(command); |