1. When the Clang compiler turns on "-fsanitize=kernel-address", inlining, global variables, and stack detection are enabled by default and must be turned off manually. 2. -mllvm is the parameter passing method of Clang, and --param is the parameter passing method of GCC After the modification, KASan compilation and operation will be supported for Clang 18 and above Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| Kconfig | ||