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
F153630948: D20548.id58363.diff
Wed, Apr 22, 12:05 PM
Unknown Object (File)
Wed, Apr 22, 6:22 AM
Unknown Object (File)
Tue, Apr 21, 12:06 PM
Unknown Object (File)
Sun, Apr 19, 10:00 PM
Unknown Object (File)
Sun, Apr 19, 5:29 PM
Unknown Object (File)
Sun, Apr 19, 5:29 PM
Unknown Object (File)
Sun, Apr 19, 1:43 PM
Unknown Object (File)
Sat, Apr 11, 1:01 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

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