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 loader doesn't handle e_phnum correctly (from epiphany-libs) #24

Open
aolofsson opened this issue Jul 25, 2014 · 0 comments
Open

ELF loader doesn't handle e_phnum correctly (from epiphany-libs) #24

aolofsson opened this issue Jul 25, 2014 · 0 comments

Comments

@aolofsson
Copy link
Member

If e_phnum equals PN_XNUM, the program should seek to the first section header, read its sh_info field, and use that as the actual, 32-bit e_phnum value.

Documented here: http://linux.die.net/man/5/elf

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