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

            Bug ID: 34738
           Summary: Memory sanitizer false positive when calling statx
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: l...@bobbyperu.info
                CC: llvm-bugs@lists.llvm.org

statx() is a new syscall, you'll need Linux 4.11 at least

See attached testcase

$ clang -fsanitize=memory a.cpp 
$ ./a.out 
==29565==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x55a58b5b7775 in main (/data/secured/home/serj/a.out+0x93775)
    #1 0x7fa5e39a3f69 in __libc_start_main (/usr/lib/libc.so.6+0x20f69)
    #2 0x55a58b53e369 in _start (/data/secured/home/serj/a.out+0x1a369)

SUMMARY: MemorySanitizer: use-of-uninitialized-value

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to