Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELF: Wrong string table used for symbol names #96

Closed
jeffman opened this issue Apr 8, 2017 · 1 comment
Closed

ELF: Wrong string table used for symbol names #96

jeffman opened this issue Apr 8, 2017 · 1 comment

Comments

@jeffman
Copy link
Contributor

jeffman commented Apr 8, 2017

When importing an object file: if the section header string table is stored after the symbol string table, then it will be used as the symbol string table as well. The symbol names will then be totally wrong and cause undefined symbol errors.

Somewhere around line 414 in ElfFile.cpp, there should be a check to see if the current section is the section header string table before assigning section to strTab.

@jeffman
Copy link
Contributor Author

jeffman commented Apr 22, 2017

Fixed by #97

@jeffman jeffman closed this as completed Apr 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant