-
Notifications
You must be signed in to change notification settings - Fork 0
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-dt-hash ELF: symbol lookup via DT_HASH #1
Comments
Comments from Disqus:
I never answered this in Disqus, so:
|
I checked my own implementation of the ELF hash, and the first 4 example hashes are correct, but the table is not correct:
|
Thank you for noticing! I've fixed it. |
I think procedure for walking "getspen" is wrong. The comment says "chain continues at 5" but next line shows lookup in symbols[4], same goes with next step in chain - comment says we continue at 7 but lookup happens at symbols[8]. |
https://flapenguin.me/elf-dt-hash
The text was updated successfully, but these errors were encountered: