From: Christoph Egger Date: Tue, 27 May 2014 11:20:52 +0000 (+0200) Subject: Downgrade outputs to 'DEBUG' X-Git-Tag: v0.1~203 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=30ce0f02e529603965d15a3afa71c4612dd40c4a;p=frida%2Ffrida.git Downgrade outputs to 'DEBUG' --- diff --git a/src/disassembler/llvm/LLVMDisassembler.cxx b/src/disassembler/llvm/LLVMDisassembler.cxx index e60e0c2..e157075 100644 --- a/src/disassembler/llvm/LLVMDisassembler.cxx +++ b/src/disassembler/llvm/LLVMDisassembler.cxx @@ -144,7 +144,7 @@ void LLVMDisassembler::disassemble() { LLVMFunction * current_function = remaining_functions.top(); remaining_functions.pop(); - LOG4CXX_INFO(logger, "Handling function " << current_function->getName()); + LOG4CXX_DEBUG(logger, "Handling function " << current_function->getName()); // if ("_start" != current_function->getName()) // continue; @@ -155,7 +155,7 @@ void LLVMDisassembler::disassemble() { LLVMBasicBlock * current_block = remaining_blocks.top(); remaining_blocks.pop(); - LOG4CXX_INFO(logger, "Handling Block starting at " << std::hex << current_block->getStartAddress()); + LOG4CXX_DEBUG(logger, "Handling Block starting at " << std::hex << current_block->getStartAddress()); uint64_t inst_size; uint64_t base_address; @@ -168,7 +168,6 @@ void LLVMDisassembler::disassemble() { if(llvm::MCDisassembler::Success == DisAsm->getInstruction(inst, inst_size, ref, current_address, nulls(), nulls())) { - LOG4CXX_DEBUG(logger, "Inst Size " << inst_size); uint8_t bytes[inst_size+2]; ref.readBytes(current_address, inst_size, bytes); @@ -209,13 +208,13 @@ void LLVMDisassembler::disassemble() { if (inst_size == 0 || MIA->isTerminator(inst) || MIA->isBranch(inst)) { current_block->setEndAddress(current_address + base_address); blocks.insert(std::make_pair(current_block->getStartAddress(), current_block)); - LOG4CXX_INFO(logger, "Finished Block at " << current_block->getEndAddress()); + LOG4CXX_DEBUG(logger, "Finished Block at " << current_block->getEndAddress()); break; } current_address += inst_size; } } - LOG4CXX_INFO(logger, "Finished function " << current_function->getName()); + LOG4CXX_DEBUG(logger, "Finished function " << current_function->getName()); } }