[LLVMbugs] [Bug 13174] New: address sanitizer is not working for attached simple program

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 22 07:24:27 PDT 2012


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

             Bug #: 13174
           Summary: address sanitizer is not working for attached simple
                    program
           Product: new-bugs
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: assie181 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


/* clang -faddress-sanitizer test.c 
 * ./a.out # passes */

#include <stdio.h>

int main()
{
    char arr[4];
    arr[100] = 1;

    return 0;
}


This program compiles and runs successfully with no complaints from the address
sanitizer.

$ clang --version
clang version 3.1 (branches/release_31)
Target: x86_64-unknown-linux-gnu
Thread model: posix

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list