#include "core/InformationManager.hxx"
#include "core/Function.hxx"
#include "core/BasicBlock.hxx"
+#include <boost/algorithm/string.hpp>
#include <stack>
#include <algorithm>
stream << std::hex << (base_address + jmptarget);
ref = stream.str();
}
- result.push_back(Instruction(current_address + base_address, s.str(),
+ result.push_back(Instruction(current_address + base_address, boost::algorithm::trim_copy(s.str()),
std::vector<uint8_t>(bytes, bytes+inst_size), ref));
} else {
LOG4CXX_WARN(logger, "Invalid byte at" << std::hex << current_address + base_address);