rust-lang / rust-lang/rust

Tracking Issue for AArch64 MTE memory tagging intrinsics

Open
#129,010 21 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-tracking-issue F-stdarch_aarch64_mte T-libs
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

View all comments

Feature gate: #![feature(stdarch_aarch64_mte)]

This is a tracking issue for AArch64 MTE memory tagging intrinsics.

Public API
// core::arch::aarch64

pub unsafe fn __arm_mte_create_random_tag<T>(src: *const T, mask: u64) -> *const T;
pub unsafe fn __arm_mte_increment_tag<const OFFSET: i64, T>(src: *const T) -> *const T;
pub unsafe fn __arm_mte_exclude_tag<T>(src: *const T, excluded: u64) -> u64;
pub unsafe fn __arm_mte_set_tag<T>(tag_address: *const T);
pub unsafe fn __arm_mte_get_tag<T>(address: *const T) -> *const T;
pub unsafe fn __arm_mte_ptrdiff<T, U>(a: *const T, b: *const U) -> i64;
Steps / History
Unresolved Questions
  • None yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the implementation linked in rust-lang/stdarch PR 1627 and the listed core::arch::aarch64 API under the stdarch_aarch64_mte feature gate. The tracking issue shows implementation complete but is still awaiting the final comment period and stabilization PR; unresolved questions must be addressed before those steps can finish.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.