[LLVMbugs] [Bug 12863] New: scan-build failures on bind 9.9.0

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 17 11:27:40 PDT 2012


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

             Bug #: 12863
           Summary: scan-build failures on bind 9.9.0
           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
    Classification: Unclassified


When im running scan-build on bind 9.9.0 (using clang 3.2 trunk 156903), and
get a lot of the type of errors listed below.

Because there are a lot of these failures and it might just turn out to be the
same issue for all, im a bit reluctant to add them all to this bug report. But
the entire generated report inlcusing failures, preprocessed files etc. can be
found here : 

http://lbalbalba.x90x.net/ccc-analyzer/clang%20v3.2%20trunk%20rev.%20156903/scan-build-bind-9.9.0/


/usr/local/bin/ccc-analyzer  -I/usr/local/src/bind/bind-9.9.0 -I./include
-I/usr/local/src/bind/bind-9.9.0/lib/isc/include -I../../lib/isc
-I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/nothreads/include -I../../lib/isc/x86_32/include
-I/usr/local/src/bind/bind-9.9.0/lib/isccc/include -I../../lib/isccc/include
-I/usr/local/src/bind/bind-9.9.0/lib/isccfg/include -I../../lib/isccfg/include
-I/usr/local/src/bind/bind-9.9.0/lib/dns/include -I../../lib/dns/include
-I/usr/local/src/bind/bind-9.9.0/lib/bind9/include -I../../lib/bind9/include   
-D_GNU_SOURCE -g -O2 -I/usr/include/libxml2  -W -Wall -Wmissing-prototypes
-Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing  -c
./ddns-confgen.c
0  clang 0x09b4733b
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple i386-pc-linux-gnu
-analyze -disable-free -main-file-name ddns-confgen.c -analyzer-store=region
-analyzer-opt-analyze-nested-blocks -analyzer-eagerly-assume
-analyzer-ipa=inlining -analyzer-checker=core -analyzer-checker=unix
-analyzer-checker=deadcode
-analyzer-checker=security.insecureAPI.UncheckedReturn
-analyzer-checker=security.insecureAPI.getpw
-analyzer-checker=security.insecureAPI.gets
-analyzer-checker=security.insecureAPI.mktemp
-analyzer-checker=security.insecureAPI.mkstemp
-analyzer-checker=security.insecureAPI.vfork -analyzer-output plist -w
-mrelocation-model static -mdisable-fp-elim -fmath-errno -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.2 -D
_GNU_SOURCE -I /usr/local/src/bind/bind-9.9.0 -I ./include -I
/usr/local/src/bind/bind-9.9.0/lib/isc/include -I ../../lib/isc -I
../../lib/isc/include -I ../../lib/isc/unix/include -I
../../lib/isc/nothreads/include -I ../../lib/isc/x86_32/include -I
/usr/local/src/bind/bind-9.9.0/lib/isccc/include -I ../../lib/isccc/include -I
/usr/local/src/bind/bind-9.9.0/lib/isccfg/include -I ../../lib/isccfg/include
-I /usr/local/src/bind/bind-9.9.0/lib/dns/include -I ../../lib/dns/include -I
/usr/local/src/bind/bind-9.9.0/lib/bind9/include -I ../../lib/bind9/include -I
/usr/include/libxml2 -fmodule-cache-path /var/tmp/clang-module-cache
-internal-isystem /usr/local/include -internal-isystem
/usr/local/bin/../lib/clang/3.2/include -internal-externc-isystem /include
-internal-externc-isystem /usr/include -fdebug-compilation-dir
/usr/local/src/bind/bind-9.9.0/bin/confgen -ferror-limit 19 -fmessage-length 0
-mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak
-fobjc-fragile-abi -fdiagnostics-show-option -analyzer-output=html -o
/tmp/scan-build-2012-05-17-1 -x c ./ddns-confgen.c
1.      <eof> parser at end of file
2.      ./ddns-confgen.c:85:33
<Spelling=/usr/local/src/bind/bind-9.9.0/lib/isc/include/isc/boolean.h:27:19>:
Error evaluating statement
3.      ./ddns-confgen.c:85:33
<Spelling=/usr/local/src/bind/bind-9.9.0/lib/isc/include/isc/boolean.h:27:19>:
Error evaluating statement

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