[FFmpeg-devel] arm64: Add Armv8.3-A PAC support to assembly files

Andre Kempe Andre.Kempe at arm.com
Wed Feb 9 17:27:35 EET 2022


Hi everyone,

This patch adds signing and validation of LinkRegister when storing to and
Loading from stack using Pointer Authentication Codes (PACs).

PAC support is turned on or off at compile time based on the presence of
the __ARM_FEATURE_PAC_DEFAULT feature macro. Without PAC enabled
at compile time, no additional instruction will be emitted at all.

A binary compiled with PAC support can be executed on processors
without PAC support because the instructions are defined in NOP space.

Regression tested in in a PAC-enabled environment - no issues. Could
someone please have a look and give feedback?

Thanks + Best Regards,
André

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm64-Add-Armv8.3-A-PAC-support-to-assembly-files.patch
Type: application/octet-stream
Size: 9829 bytes
Desc: arm64-Add-Armv8.3-A-PAC-support-to-assembly-files.patch
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220209/db47f6df/attachment.obj>


More information about the ffmpeg-devel mailing list