zsh-workers
 help / color / mirror / code / Atom feed
* [PATCH] Update sanitizer list to GCC 12
@ 2022-12-17 14:45 Shohei YOSHIDA
  0 siblings, 0 replies; only message in thread
From: Shohei YOSHIDA @ 2022-12-17 14:45 UTC (permalink / raw)
  To: zsh-workers; +Cc: Shohei YOSHIDA

Add following sanitizers

- bounds-strict
- hwaddress
- kernel-address
- kernel-hwaddress
- leak
- pointer-compare
- pointer-subtract
- shadow-call-stack
- shift-base
- shift-exponent
- thread
- undefined

And sort the list in alphabetical order
---
 Reference
 - https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html

 Completion/Unix/Command/_gcc | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc
index ac0e8fda3..f10000391 100644
--- a/Completion/Unix/Command/_gcc
+++ b/Completion/Unix/Command/_gcc
@@ -1318,11 +1318,13 @@ fi
 
 local -a sanitizers
 sanitizers=(
-  address alignment bool bounds enum float-cast-overflow float-divide-by-zero
-  integer-divide-by-zero memory nonnull-attribute null nullability-arg
-  nullability-assign nullability-return object-size pointer-overflow return
-  unsigned-integer-overflow returns-nonnull-attribute shift signed-integer-overflow
-  unreachable vla-bound vptr
+  address alignment bool bounds bounds-strict enum builtin float-cast-overflow
+  float-divide-by-zero hwaddress integer-divide-by-zero kernel-address
+  kernel-hwaddress leak memory nonnull-attribute null nullability-arg nullability-assign
+  nullability-return object-size pointer-compare pointer-overflow pointer-subtract return
+  returns-nonnull-attribute shadow-call-stack shift shift-base shift-exponent
+  signed-integer-overflow thread undefined unsigned-integer-overflow unreachable
+  vla-bound vptr
 )
 
 local -a languages
-- 
2.37.2



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-17 14:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-17 14:45 [PATCH] Update sanitizer list to GCC 12 Shohei YOSHIDA

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).