[LLVMbugs] [Bug 16362] New: ASan: Method to bypass memcpy-param-overlap and other string function checks

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 18 10:56:10 PDT 2013


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: unassignedbugs at nondot.org
          Reporter: dfarler at apple.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130618/fe4d34f7/attachment.html>


More information about the llvm-bugs mailing list