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

Do not provide entry point offset in case it doesn't exist #962

Closed
metthal opened this issue Jun 6, 2021 · 0 comments · Fixed by #975
Closed

Do not provide entry point offset in case it doesn't exist #962

metthal opened this issue Jun 6, 2021 · 0 comments · Fixed by #975

Comments

@metthal
Copy link
Member

metthal commented Jun 6, 2021

In files like ba0b32b812b8bd25b1481f25e1ab37663611e87c73e9f15f6a9c442a97add916, entry point is set to section which is pure in-memory section and doesn't contain any data on disk. However we try to calculate entry point offset for sections like these while it doesn't make sense because reaching into a file at that offset doesn't lead to anything.

Please make it so that entry point address is first checked for the actual presence on the disk (using section headers) before it is calculated into offset and not provided in such case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants