Page MenuHomeFreeBSD

Teach readelf about some OpenBSD ELF program headers
ClosedPublic

Authored by csjp on Jun 7 2019, 2:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 3, 7:28 AM
Unknown Object (File)
Mon, Aug 3, 5:50 AM
Unknown Object (File)
Mon, Aug 3, 3:07 AM
Unknown Object (File)
Sun, Aug 2, 1:57 AM
Unknown Object (File)
Sat, Aug 1, 12:40 AM
Unknown Object (File)
Thu, Jul 30, 12:30 PM
Unknown Object (File)
Mon, Jul 27, 5:25 AM
Unknown Object (File)
Mon, Jul 27, 1:01 AM
Subscribers
None

Details

Summary
  • Add constants for OpenBSD wxneeded, bootdata and randomize to the FreeBSD elf_common.h file. This is the file that gets used by the elftoolchain library.
  • Update readelf and elfdump utilities to decode these program headers if they are encountered.

Note: FreeBSD has it's own version of elfdump, which will be updated in
a subsequent commit. I am adding it here anyway because this diff is
going to be submitted upstream.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24742
Build 23503: arc lint + arc unit