// Assume all function symbols actually start a real function
for (auto x = symbols.begin(); x != symbols.end(); ++x) {
uint64_t result;
- bool contains;
SymbolRef::Type symbol_type;
#if defined(LLVM_35)
+ bool contains;
if (text_section.containsSymbol(x->second, contains) || !contains)
#elif defined(LLVM_36)
if (!text_section.containsSymbol(x->second))
it != end;
++it) {
if (it->getType() == 2) { // Function
- bool is_default;
+ bool is_default(false);
// TODO: Error handling
std::string symbolname = *(elffile->getSymbolName(it));
std::string symbolversion = *(elffile->getSymbolVersion(nullptr, &*it, is_default));