]> git.siccegge.de Git - frida/frida.git/commitdiff
Add more logging output
authorChristoph Egger <siccegge@cs.fau.de>
Tue, 3 Jun 2014 14:51:07 +0000 (16:51 +0200)
committerChristoph Egger <siccegge@cs.fau.de>
Tue, 3 Jun 2014 14:51:07 +0000 (16:51 +0200)
src/disassembler/llvm/LLVMDisassembler.cxx

index 7980a9e1377a315dd97fbe1fb945b64edf8ead8e..e96f0baae1cc32c271b344cc822e53612d177dba 100644 (file)
@@ -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;
                }