Skip to content

memsz check disabled for elf64 but not for elf32 #27

Description

@defermelowie

Why is it that 5ec62e5 only disables this check for elf64 and not for elf32?

If I understand correctly from the elf specification this check should occur for PT_LOAD segments but not for other types.

For examle: PT_LOPROC does have filesz > memsz in an elf32-littleriscv compiled with the riscv-gnu-toolchain which is not against the specification in my understanding.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions