Files
rust/src/test/codegen
Matthias Krüger 0bb72a2c66 Rollup merge of #91675 - ivanloz:memtagsan, r=nagisa
Add MemTagSanitizer Support

Add support for the LLVM [MemTagSanitizer](https://llvm.org/docs/MemTagSanitizer.html).

On hardware which supports it (see caveats below), the MemTagSanitizer can catch bugs similar to AddressSanitizer and HardwareAddressSanitizer, but with lower overhead.

On a tag mismatch, a SIGSEGV is signaled with code SEGV_MTESERR / SEGV_MTEAERR.

# Usage

`-Zsanitizer=memtag -C target-feature="+mte"`

# Comments/Caveats

* MemTagSanitizer is only supported on AArch64 targets with hardware support
* Requires `-C target-feature="+mte"`
* LLVM MemTagSanitizer currently only performs stack tagging.

# TODO

* Tests
* Example
2022-02-18 23:23:03 +01:00
..
2021-10-14 07:35:35 +00:00
2021-12-12 11:20:03 +00:00
2021-12-12 11:20:03 +00:00
2021-12-01 15:56:59 +00:00
2021-03-14 01:46:00 +09:00
2021-12-12 11:20:03 +00:00
2020-10-01 16:02:32 +02:00
2021-12-09 14:04:15 +01:00
2021-08-03 07:59:59 -07:00
2022-01-17 16:20:46 +01:00