[llvm] [HWASAN] Follow up for #83503 implement selective instrumentation (PR #83942)
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 02:43:25 PST 2024
================
@@ -1527,6 +1533,9 @@ void HWAddressSanitizer::sanitizeFunction(Function &F,
NumTotalFuncs++;
if (CSkipHotCode) {
+ if ((F.getGUID() % MaxRandomRate) < SkipInstRandomRate) {
----------------
dvyukov wrote:
Module::createRNG docs are unclear:
"The RNG can be seeded via -rng-seed=<uint64> and is salted with the ModuleID and the provided pass salt."
What is ModuleID? Does it change on code changes?
https://github.com/llvm/llvm-project/pull/83942
More information about the llvm-commits
mailing list