[all-commits] [llvm/llvm-project] c09e51: [msan][NFCI] Add arg_size() assertions (#125907)
Thurston Dang via All-commits
all-commits at lists.llvm.org
Wed Feb 5 16:24:58 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c09e51ae97795bac9284e345d02532cd2d0bc1e3
https://github.com/llvm/llvm-project/commit/c09e51ae97795bac9284e345d02532cd2d0bc1e3
Author: Thurston Dang <thurston at google.com>
Date: 2025-02-05 (Wed, 05 Feb 2025)
Changed paths:
M llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Log Message:
-----------
[msan][NFCI] Add arg_size() assertions (#125907)
This prevents the handlers from being called with blatantly inappropriate intrinsics.
Currently, if the handlers are called with an intrinsic that doesn't have enough arguments, it may abort; that is bad, but visible. The more insidious risk is that a handler is called with an intrinsic that has more arguments than expected; that will not visibly fail.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list