From 771f6918224d136619d3c5d526e339f3f38bbbef Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Tue, 3 Jun 2014 16:51:07 +0200 Subject: [PATCH] Add more logging output --- src/disassembler/llvm/LLVMDisassembler.cxx | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.39.5