[LLVMbugs] [Bug 20164] New: [PATCH] Adding type-string based blacklist for sanitizers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 30 10:04:56 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20164

            Bug ID: 20164
           Summary: [PATCH] Adding type-string based blacklist for
                    sanitizers
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: byoungyoung at chromium.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12719
  --> http://llvm.org/bugs/attachment.cgi?id=12719&action=edit
source code diff

Hi all,

I'm working on applying Undefined Sanitizer's vptr, and found that existing
blacklisting methods (source file names or function names) do not fit well to
handle false positive cases in the UBsan case.

Thus, we have added type-string based blacklisting. Please note that this
blacklisting is not based on any LLVM internal types (e.g., Module/Function),
but simply based on generic "string" types. This is because UBsan instruments
in the Clang's CodeGen phase and unrolls type information into the "string"
from Clang specific QualType, which is not visible for LLVM.

Cheers!
Byoungyoung

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140630/ee3b2a7a/attachment.html>


More information about the llvm-bugs mailing list