[PATCH] D126269: [ASan] Skip pointer comparison and subtraction inserted by another instrumentation.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 23 22:45:01 PDT 2022


vitalybuka added a comment.

We need a test here as well



================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:2743
     for (auto &Inst : BB) {
       if (LooksLikeCodeInBug11395(&Inst)) return false;
       SmallVector<InterestingMemoryOperand, 1> InterestingOperands;
----------------
Shouldn't we skip any instruction with nosanitize?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126269/new/

https://reviews.llvm.org/D126269



More information about the llvm-commits mailing list