summaryrefslogtreecommitdiffstats
path: root/llvm/utils/emacs
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-07-15 20:02:23 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2019-07-15 20:02:23 +0000
commitc5e7f5624966aa4a83869ca4fceb4d7b96a22d34 (patch)
tree8fde967efeea234ab6d74997c2748690f92c0949 /llvm/utils/emacs
parentc5d7b0c4547263fd859e0c7be535575858fd312a (diff)
downloadbcm5719-llvm-c5e7f5624966aa4a83869ca4fceb4d7b96a22d34.tar.gz
bcm5719-llvm-c5e7f5624966aa4a83869ca4fceb4d7b96a22d34.zip
ARM MTE stack sanitizer.
Add "memtag" sanitizer that detects and mitigates stack memory issues using armv8.5 Memory Tagging Extension. It is similar in principle to HWASan, which is a software implementation of the same idea, but there are enough differencies to warrant a new sanitizer type IMHO. It is also expected to have very different performance properties. The new sanitizer does not have a runtime library (it may grow one later, along with a "debugging" mode). Similar to SafeStack and StackProtector, the instrumentation pass (in a follow up change) will be inserted in all cases, but will only affect functions marked with the new sanitize_memtag attribute. Reviewers: pcc, hctim, vitalybuka, ostannard Subscribers: srhines, mehdi_amini, javed.absar, kristof.beyls, hiraditya, cryptoad, steven_wu, dexonsmith, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D64169 llvm-svn: 366123
Diffstat (limited to 'llvm/utils/emacs')
-rw-r--r--llvm/utils/emacs/llvm-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/emacs/llvm-mode.el b/llvm/utils/emacs/llvm-mode.el
index c4a1b1f02bf..73b02763d01 100644
--- a/llvm/utils/emacs/llvm-mode.el
+++ b/llvm/utils/emacs/llvm-mode.el
@@ -26,7 +26,7 @@
"inaccessiblemem_or_argmemonly" "inlinehint" "jumptable" "minsize" "naked" "nobuiltin"
"noduplicate" "noimplicitfloat" "noinline" "nonlazybind" "noredzone" "noreturn"
"norecurse" "nounwind" "optnone" "optsize" "readnone" "readonly" "returns_twice"
- "speculatable" "ssp" "sspreq" "sspstrong" "safestack" "sanitize_address" "sanitize_hwaddress"
+ "speculatable" "ssp" "sspreq" "sspstrong" "safestack" "sanitize_address" "sanitize_hwaddress" "sanitize_memtag"
"sanitize_thread" "sanitize_memory" "strictfp" "uwtable" "writeonly" "immarg") 'symbols) . font-lock-constant-face)
;; Variables
'("%[-a-zA-Z$._][-a-zA-Z$._0-9]*" . font-lock-variable-name-face)
OpenPOWER on IntegriCloud