[LLVMbugs] [Bug 10942] New: clang/analyzer hangs when compiling php 5.3.8

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Sep 16 11:59:29 PDT 2011


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

           Summary: clang/analyzer hangs when compiling php 5.3.8
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
        AssignedTo: kremenek at apple.com
        ReportedBy: lbalbalba at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7281)
 --> (http://llvm.org/bugs/attachment.cgi?id=7281)
preprocessed file version of '/php-5.3.8/ext/date/lib/parse_date.c' 

When compiling and analyzing gcc 4.5.3 with clang/analyzer, it freezes at the
point: "ANALYZE: /usr/local/src/php/php-5.3.8/ext/date/lib/parse_date.c scan".

Full cmd is :
/usr/local/bin/clang -cc1 -triple i386-pc-linux-gnu -analyze -disable-free
-main-file-name parse_date.c -analyzer-store=region
-analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume
-analyzer-checker=core -analyzer-checker=deadcode -analyzer-checker=security
-analyzer-checker=unix -analyzer-output plist -w -mrelocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu pentium4
-target-linker-version 2.20.51.0.7 -momit-leaf-frame-pointer -resource-dir
/usr/local/bin/../lib/clang/3.0 -D PHP_ATOM_INC -I ext/date/lib -I ext/date/ -I
/usr/local/src/php/php-5.3.8/ext/date/ -I /usr/local/src/php/php-5.3.8/include
-I /usr/local/src/php/php-5.3.8/main -I /usr/local/src/php/php-5.3.8 -I
/usr/local/src/php/php-5.3.8/ext/date/lib -I
/usr/local/src/php/php-5.3.8/ext/ereg/regex -I /usr/include/libxml2 -I
/usr/local/src/php/php-5.3.8/ext/sqlite3/libsqlite -I
/usr/local/src/php/php-5.3.8/TSRM -I /usr/local/src/php/php-5.3.8/Zend -I
/usr/include -ferror-limit 19 -fmessage-length 0 -fdiagnostics-show-option
-analyzer-display-progress -analyzer-output=html -o /tmp/php/2011-09-16-1 -x c
/usr/local/src/php/php-5.3.8/ext/date/lib/parse_date.c


Used svn version is: clang version 3.0 (trunk 139148)

-- 
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