commit | 563b710ddc13810bd89fc17f057f4f7f8479e744 | [log] [tgz] |
---|---|---|
author | Gabor Kertesz <gabor.kertesz@arm.com> | Wed Apr 08 10:55:23 2020 +0100 |
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | Wed Apr 08 13:21:42 2020 +0100 |
tree | 11bd1fa189d8f1aeb0bdce57a531a3f5426716f6 | |
parent | 6d09ce9f98d067f7509dc89109ffa58aa56cb2dd [diff] |
ARMv8.5 MTE: Add MTE compatible version of strchrnul. Reading outside the range of the string is only allowed within 16 byte aligned granules when MTE is enabled. This implementation is based on string/aarch64/strchr-mte.S and string/aarch64/strchrnul.S Testing done: optimized-routines/string/test/strchrnul.c Booted nanodroid with MTE enabled. bionic string tests with MTE enabled. Big endian with Qemu: qemu-aarch64_be