aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2023-02-15 09:37:59 +0100
committerMartin Liska <mliska@suse.cz>2023-02-15 09:37:59 +0100
commit545c9f8b78bae8ed542e7da4ed537edeb7485c30 (patch)
tree7296aa7df546aec2ad98ece371693b671dce1d37 /gcc/doc
parent1e7a87dc196ce750caa88f5d207bc4728455cca4 (diff)
downloadgcc-545c9f8b78bae8ed542e7da4ed537edeb7485c30.zip
gcc-545c9f8b78bae8ed542e7da4ed537edeb7485c30.tar.gz
gcc-545c9f8b78bae8ed542e7da4ed537edeb7485c30.tar.bz2
docs: document new --param=asan-kernel-mem-intrinsic-prefix
gcc/ChangeLog: * doc/invoke.texi: Document --param=asan-kernel-mem-intrinsic-prefix.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 26de582..0a43720 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -15809,6 +15809,10 @@ is greater or equal to this number, use callbacks instead of inline checks.
E.g. to disable inline code use
@option{--param asan-instrumentation-with-call-threshold=0}.
+@item asan-kernel-mem-intrinsic-prefix
+Prefix calls to memcpy, memset and memmove with __asan_ or __hwasan_
+for -fsanitize=kernel-address or -fsanitize=kernel-hwaddress.
+
@item hwasan-instrument-stack
Enable hwasan instrumentation of statically sized stack-allocated variables.
This kind of instrumentation is enabled by default when using