Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#15614 closed bug (fixed)

Can't load executable without section header

Reported by: X512 Owned by: nobody
Priority: normal Milestone: R1/beta2
Component: System/runtime_loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev53693.

When attemting to load executable without section header (processed by sstrip for example) loading fails with B_NOT_AN_EXECUTABLE error. Section header is not required for normal program operation, it is only used for debugging and manipulations with executable file. Closed source programs would not use section header to pervent reverse engeneering. Some ELF linkers do not produce section header. Executables without section header is also smaller.

Change History (4)

comment:2 by X512, 4 years ago

Fix was merged. Issue fixed.

comment:3 by waddlesplash, 4 years ago

Resolution: fixed
Status: newclosed

Thanks for the patch!

comment:4 by nielx, 4 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.