llvm-project
6701b666
- [Object][ELF] Fix section header zero check
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
69 days ago
[Object][ELF] Fix section header zero check The PN_XUM is a necessary condition for reading shdr0 regardless of the value of e_shoff. Without this, readShdrZero falsely returns the garbage value in ELF header instead of emitting warning.
References
#165278 - [llvm-readobj, ELF] Support reading binary with more than PN_XNUM segments.
Author
aokblast
Committer
aokblast
Parents
0e1cc613
Loading