Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I know if my system can demonstrate MTE?
MTE is implemented in Armv8.5-A and Armv9-A processors. Verify that you’re using an AArch64 Linux system with hardware that supports MTE. Otherwise, the example might not show tagging-related behavior.
What result should I expect when running the example program?
Expect behavior that illustrates MTE catching memory safety issues, such as a fault or diagnostic triggered by an invalid access. The outcome should align with the bug the program intentionally exercises.
Can I run the example without MTE hardware?
Yes. Install qemu-user and run the example with qemu-aarch64 ./mte-example. This lets you exercise MTE behavior when the processor doesn’t implement MTE.
What should I check if the program runs without showing any MTE effects?
Confirm you’re on AArch64 Linux and that the processor implements MTE (Armv8.5-A or Armv9-A). If the processor lacks MTE support, install qemu-user and run qemu-aarch64 ./mte-example to exercise the MTE behavior through emulation.
What invalid memory access does the example demonstrate?
The example writes beyond a 16-byte allocation granule at offset 0x10. MTE detects the tag mismatch and should generate an exception.

Share

Tell others about this Learning Path.

Return to Mobile, Graphics, and Gaming