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
F146745779: D20548.id58345.diff
Thu, Mar 5, 6:01 AM
F146691510: D20548.id58347.diff
Wed, Mar 4, 6:27 PM
F146691405: D20548.id58345.diff
Wed, Mar 4, 6:26 PM
F146691381: D20548.id58345.diff
Wed, Mar 4, 6:26 PM
Unknown Object (File)
Sun, Mar 1, 11:30 PM
Unknown Object (File)
Fri, Feb 27, 11:27 PM
Unknown Object (File)
Fri, Feb 27, 11:26 AM
Unknown Object (File)
Fri, Feb 27, 6:50 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable