elf-edit icon indicating copy to clipboard operation
elf-edit copied to clipboard

Error parsing. Program header outside file.

Open wmzart opened this issue 1 year ago • 0 comments

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

wmzart avatar Jul 17 '24 11:07 wmzart