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
F156522042: D20548.diff
Thu, May 14, 9:30 AM
Unknown Object (File)
Sat, May 9, 11:01 PM
Unknown Object (File)
Fri, May 8, 8:10 PM
Unknown Object (File)
Sun, May 3, 12:19 PM
Unknown Object (File)
Sun, May 3, 8:15 AM
Unknown Object (File)
Sun, May 3, 4:03 AM
Unknown Object (File)
Sat, May 2, 10:32 PM
Unknown Object (File)
Fri, May 1, 11:30 PM
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 24743
Build 23504: arc lint + arc unit