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

            Bug ID: 16362
           Summary: ASan: Method to bypass memcpy-param-overlap and other
                    string function checks
           Product: compiler-rt
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

memmove == memcpy on Darwin, so calls to memmove with overlapping ranges are
flagged as errors, even though it is not technically “undefined” behavior, it’s
just unadvertised.

It would be nice to have a way to bypass specific string functions at runtime
rather than turn off a whole class of checks, especially on Darwin, where
memcpy is implemented as memmove.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to