HomeFreeBSD

Teach the readelf about arm64 gnu properties

Description

Teach the readelf about arm64 gnu properties

On arm64 binaries can be tagged as using BTI or PAC. Add support to
decode these to the elftoolchain readelf.

To simplify the code use a table based method to find the flag
description table.

Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32315

(cherry picked from commit aacbf3fb8482226fcdf6a19af1011f9d65c20f2a)

Details

Provenance
andrewAuthored on Sep 17 2021, 3:54 PM
Reviewer
emaste
Differential Revision
D32315: Teach the readelf about arm64 gnu properties
Parents
rG39dbb494404f: Only demote when needed in the arm64 pmap_change_props_locked
Branches
Unknown
Tags
Unknown