Fix handling of strtab in a code path in the elf code
This commit is contained in:
parent
457bc4b8a1
commit
8f2193f35a
@ -161,7 +161,7 @@ namespace detail {
|
||||
std::vector<symbol_entry> 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 : "<strtab error>",
|
||||
entry.st_shndx,
|
||||
entry.st_value,
|
||||
entry.st_size
|
||||
|
||||
Loading…
Reference in New Issue
Block a user