Skip to content

Error parsing. Program header outside file. #12

@wmzart

Description

@wmzart

Running the current version with cargo run command on an ELF 32-bit LSB executable (ARM, EABI5 version 1 (SYSV), dynamically linked) binary works partially, but throws as well the following error at the bottom

Error parsing. Program header outside file.

See the image:

Screenshot from 2024-07-17 13-31-04

The exact command:

cargo run creator3-arm_V1.4.0

The file:

creator3-arm_V1.4.0.zip

It looks like the parses is unable to calculate the real offset from the virtual address.

See more described here:
https://stackoverflow.com/questions/71366471/calculate-the-entry-point-of-an-elf-file-as-a-physical-address-offset-from-0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions