diff --git a/src/binary/elf.cpp b/src/binary/elf.cpp index 924bbad..17c13cb 100644 --- a/src/binary/elf.cpp +++ b/src/binary/elf.cpp @@ -161,7 +161,7 @@ namespace detail { std::vector res; for(const auto& entry : info.entries) { res.push_back({ - strtab.unwrap().data() + entry.st_name, + strtab.has_value() ? strtab.unwrap().data() + entry.st_name : "", entry.st_shndx, entry.st_value, entry.st_size