-
Notifications
You must be signed in to change notification settings - Fork 310
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
Debugging failures during elf loading #340
Comments
There's a data structure that holds the program headers and is statically sized: Line 231 in abadfdc
You could probably increase it without consequence. But I agree the error message could be clearer in this case, since this error is not about a malformed ELF, but about a pk constraint. |
If the size of the header is anyway discovered dynamically, why is the memory to store it not allocated dynamically? |
I agree that would be better, but it is not a priority--you're the first person to have raised this issue. If you submit a PR to that end, I'd be happy to review it. |
I will put it in the back burner. |
I am currently facing a fail during loading of an elf file, and I have a hard time understanding what the issue could be.
In general, slightly more explicit error messages would be nice, but for that one has to understand the code.
My error is thrown on that condition in pk/elf.c:
I would appreciate if somebody has input as to what this indicates.
The text was updated successfully, but these errors were encountered: