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;
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;
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);
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());
}
}