aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKees Cook <kees@kernel.org>2025-03-11 17:04:40 -0700
committerKees Cook <kees@kernel.org>2025-03-12 13:24:01 -0700
commit6ee149f61bcce39692f0335a01e99355d4cec8da (patch)
treeb317902f423708bf644ae373b4254970361aded1 /scripts/generate_rust_analyzer.py
parentkunit/fortify: Expand testing of __compiletime_strlen() (diff)
downloadwireguard-linux-6ee149f61bcce39692f0335a01e99355d4cec8da.tar.xz
wireguard-linux-6ee149f61bcce39692f0335a01e99355d4cec8da.zip
kunit/fortify: Replace "volatile" with OPTIMIZER_HIDE_VAR()
It does seem that using "volatile" isn't going to be sane compared to using OPTIMIZER_HIDE_VAR() going forward. Some strange interactions[1] with the sanitizers have been observed in the self-test code, so replace the logic. Reported-by: Nathan Chancellor <nathan@kernel.org> Closes: https://github.com/ClangBuiltLinux/linux/issues/2075 [1] Link: https://lore.kernel.org/r/20250312000439.work.112-kees@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions