You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
size_t phdr_size = eh.e_phnum * sizeof(Elf_Phdr);
if (phdr_size > info->phdr_size)
I would appreciate if somebody has input as to what this indicates.
The text was updated successfully, but these errors were encountered:
staticlongphdrs[128]; // avoid large stack allocation
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.
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: