Commit Graph

3 Commits

Author SHA1 Message Date
Dmitry Muhomor
ffec888bae mte: rename arm_mte_store_tags_and_clear() to arm_mte_tag_and_clear_mem() 2023-10-30 12:27:47 +02:00
Dmitry Muhomor
c5ad7ecedc mte: add licensing info for code that was copied from scudo 2023-10-29 09:49:22 +02:00
Dmitry Muhomor
52fcaf55d6 add support for Arm MTE memory tagging
- tag slab allocations with [1..14] tags
- tag freed slab allocations with the "15" tag value to detect accesses to freed slab memory
- when generating tag value for a slab slot, always exclude most recent tag value for that slot
(to make use-after-free detection more reliable) and most recent tag values of its immediate
neighbors (to detect linear overflows and underflows)
2023-10-28 21:05:22 +03:00