From: Christoph Egger Date: Tue, 3 Jun 2014 14:51:07 +0000 (+0200) Subject: Add more logging output X-Git-Tag: v0.1~177 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=771f6918224d136619d3c5d526e339f3f38bbbef;p=frida%2Ffrida.git Add more logging output --- diff --git a/src/disassembler/llvm/LLVMDisassembler.cxx b/src/disassembler/llvm/LLVMDisassembler.cxx index 7980a9e..e96f0ba 100644 --- a/src/disassembler/llvm/LLVMDisassembler.cxx +++ b/src/disassembler/llvm/LLVMDisassembler.cxx @@ -324,6 +324,7 @@ void LLVMDisassembler::printEachInstruction(uint64_t start, uint64_t end, IP->printInst(&inst, s, ""); fun(bytes, inst_size, s.str()); } else { + LOG4CXX_WARN(logger, "Invalid byte at" << std::hex << current_address + base_address); fun(NULL, 0, "Invalid Byte"); inst_size = 1; }