Skip to content

Commit

Permalink
Don't assign the SH string table to the SYM string table
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffman committed Apr 8, 2017
1 parent 770365d commit dcb506e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Core/ELF/ElfFile.cpp
Expand Up @@ -411,7 +411,10 @@ bool ElfFile::load(ByteArray& data, bool sort)
symTab = section;
break;
case SHT_STRTAB:
strTab = section;
if (i != fileHeader.e_shstrndx)
{
strTab = section;
}
break;
}

Expand Down

0 comments on commit dcb506e

Please sign in to comment.