[llvm-bugs] [Bug 37316] New: [CFI] LLVM should die (and doesn't) when implicit CFI blacklist file cannot be found.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 2 09:43:22 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37316

            Bug ID: 37316
           Summary: [CFI] LLVM should die (and doesn't) when implicit CFI
                    blacklist file cannot be found.
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: cmtice at google.com
                CC: llvm-bugs at lists.llvm.org

The CFI blacklist file, /usr/lib/clang/<version>/share/cfi_blacklist.txt is
necessary for correct code generation.  Although it can be specified with the
-fsaniter-blacklist option, it usually is just used implicitly, without that
option.  If CFI is enabled and that file is missing, LLVM should die (but it
does not).  This is bad as it can lead to generated binaries that fail with CFI
checks that are already known to be bad (blacklisted).

-- 
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/20180502/f6d685fd/attachment-0001.html>


More information about the llvm-bugs mailing list