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
F167581876: D20548.id58345.diff
Sat, Aug 22, 9:00 PM
F167581757: D20548.diff
Sat, Aug 22, 8:59 PM
Unknown Object (File)
Thu, Aug 20, 4:24 PM
Unknown Object (File)
Mon, Aug 17, 3:47 AM
Unknown Object (File)
Sat, Aug 15, 2:28 AM
Unknown Object (File)
Sat, Aug 8, 5:58 PM
Unknown Object (File)
Sat, Aug 8, 4:55 PM
Unknown Object (File)
Sat, Aug 8, 11:57 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