Skip to content

Commit d977464

Browse files
committed
Rephrase paragraph about ARM MTE
1 parent 28df283 commit d977464

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/doc/rustc/src/exploit-mitigations.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,12 @@ elements, invalid pointers, invalid sizes, double/multiple “frees” of the
363363
same memory allocated, and many corner cases of these. These checks are
364364
implementation specific, and vary per allocator.
365365

366-
Newer ARM-based processors will provide hardware assistance (i.e., [ARM
367-
Memory Tagging Extension
368-
[MTE]](https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/enhancing-memory-safety))
369-
to detect memory safety violations by tagging memory allocations, and
370-
automatically checking that the correct tag is used on every memory access.
366+
[ARM Memory Tagging Extension
367+
(MTE)](https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/enhancing-memory-safety),
368+
when available, will provide hardware assistance for a probabilistic
369+
mitigation to detect memory safety violations by tagging memory allocations,
370+
and automatically checking that the correct tag is used on every memory
371+
access.
371372

372373
Rust’s default allocator has historically been
373374
[jemalloc](http://jemalloc.net/), and it has long been the cause of issues

0 commit comments

Comments
 (0)