]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Teach the readelf about arm64 gnu properties
authorAndrew Turner <andrew@FreeBSD.org>
Fri, 17 Sep 2021 15:54:31 +0000 (15:54 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 11 Oct 2021 09:39:49 +0000 (10:39 +0100)
commitaacbf3fb8482226fcdf6a19af1011f9d65c20f2a
treec08dc5f6f100eaec00d00c1d4d54783bb62eb514
parenta90ebeb5feea63c9d8377cbc74e0442156a0ed15
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
contrib/elftoolchain/readelf/readelf.c