cppcheck analysis of clang_2.6-3.dsc
- ./tools/clang/lib/CodeGen/CGCall.h:64 [possible error] - Memory leak: CGFunctionInfo::Args
- ./tools/clang/lib/Rewrite/DeltaTree.cpp:72 [error] - Class DeltaTreeNode which is inherited by class DeltaTreeInteriorNode does not have a virtual destructor
- ./tools/clang/test/Analysis/conditional-op-missing-lhs.c:7 [error] - Uninitialized variable: i
- ./tools/clang/test/Analysis/null-deref-ps-region.c:12 [error] - Null pointer dereference
- ./tools/clang/test/Analysis/null-deref-ps.c:111 [error] - Possible null pointer dereference: q
- ./tools/clang/test/Analysis/null-deref-ps.c:233 [error] - Possible null pointer dereference: x
- ./tools/clang/test/Analysis/null-deref-ps.c:242 [error] - Possible null pointer dereference: x
- ./tools/clang/test/Analysis/stack-addr-ps.c:8 [error] - Return of the address of an auto-variable
- ./tools/clang/test/Analysis/uninit-vals-ps.c:64 [error] - Uninitialized variable: i
- ./tools/clang/test/Analysis/uninit-vals-ps.c:116 [error] - Uninitialized variable: x
- ./tools/clang/test/Analysis/uninit-vals-ps.c:123 [error] - Uninitialized variable: x
- ./tools/clang/test/Analysis/uninit-vals.c:5 [error] - Uninitialized variable: x
- ./tools/clang/test/Analysis/uninit-vals.c:10 [error] - Uninitialized variable: y
- ./tools/clang/test/Analysis/uninit-vals.c:23 [error] - Uninitialized variable: y
- ./tools/clang/test/CodeGen/2009-08-14-vararray-crash.c:10 [error] - Uninitialized variable: y
- ./tools/clang/test/CodeGen/boolassign.c:5 [error] - Uninitialized variable: ss
- ./tools/clang/test/CodeGenCXX/new.cpp:5 [error] - Memory leak: a
- ./tools/clang/test/CodeGenCXX/new.cpp:26 [error] - Memory leak: a
- ./tools/clang/test/CodeGenCXX/new.cpp:26 [error] - Memory leak: sp
- ./tools/clang/test/CodeGenCXX/new.cpp:37 [error] - Memory leak: t
- ./tools/clang/test/CodeGenCXX/new.cpp:47 [error] - Memory leak: t2
- ./tools/clang/test/Misc/caret-diags-scratch-buffer.c:10 [error] - Uninitialized variable: keyXXXX
- ./tools/clang/test/Parser/cxx-condition.cpp:5 [error] - Uninitialized variable: a
- ./tools/clang/test/Parser/cxx-typeof.cpp:6 [error] - Uninitialized variable: x
- ./tools/clang/test/Parser/expressions.c:47 [error] - Invalid number of character (() when these macros are defined: ''.
- ./tools/clang/test/Parser/offsetof.c:5 [error] - Invalid number of character (() when these macros are defined: ''.
- ./tools/clang/test/Parser/pointer_promotion.c:11 [error] - Uninitialized variable: ip
- ./tools/clang/test/Parser/recovery.c:19 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./tools/clang/test/Parser/typeof.c:16 [error] - Uninitialized variable: pi
- ./tools/clang/test/Preprocessor/assembler-with-cpp.c:29 [error] - No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./tools/clang/test/Preprocessor/ifdef-recover.c:11 [error] - mismatching number of '(' and ')' in this line: f(2
- ./tools/clang/test/Preprocessor/macro_paste_commaext.c:8 [error] - Invalid number of character (() when these macros are defined: ''.
- ./tools/clang/test/Sema/array-constraint.c:38 [error] - Uninitialized variable: f
- ./tools/clang/test/Sema/c89.c:6 [error] - Uninitialized variable: i
- ./tools/clang/test/Sema/cast.c:11 [error] - Uninitialized variable: a
- ./tools/clang/test/Sema/complex-int.c:12 [error] - Uninitialized variable: ii
- ./tools/clang/test/Sema/complex-int.c:38 [error] - Uninitialized variable: a5
- ./tools/clang/test/Sema/conditional-expr.c:3 [error] - Null pointer dereference
- ./tools/clang/test/Sema/conditional-expr.c:14 [error] - Uninitialized variable: vp
- ./tools/clang/test/Sema/ext_vector_casts.c:30 [error] - Uninitialized variable: ptr
- ./tools/clang/test/Sema/i-c-e.c:60 [error] - Division by zero
- ./tools/clang/test/Sema/i-c-e.c:61 [error] - Division by zero
- ./tools/clang/test/Sema/implicit-builtin-decl.c:6 [error] - Memory leak: ptr
- ./tools/clang/test/Sema/incomplete-call.c:11 [error] - Null pointer dereference
- ./tools/clang/test/Sema/invalid-struct-init.c:20 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./tools/clang/test/Sema/recover-goto.c:3 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./tools/clang/test/Sema/return.c:111 [error] - Uninitialized variable: i
- ./tools/clang/test/Sema/return.c:119 [error] - Uninitialized variable: i
- ./tools/clang/test/Sema/unused-expr.c:50 [error] - Uninitialized variable: x
- ./tools/clang/test/SemaCXX/condition.cpp:5 [error] - Uninitialized variable: x
- ./tools/clang/test/SemaCXX/const-cast.cpp:37 [error] - ### Internal error in Cppcheck. Please report it.
- ./tools/clang/test/SemaCXX/cstyle-cast.cpp:86 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/cstyle-cast.cpp:115 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/deleted-function.cpp:34 [error] - Possible null pointer dereference: d
- ./tools/clang/test/SemaCXX/dynamic-cast.cpp:33 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/dynamic-cast.cpp:45 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/dynamic-cast.cpp:51 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/dynamic-cast.cpp:67 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/functional-cast.cpp:129 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/functional-cast.cpp:165 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/functional-cast.cpp:242 [error] - Uninitialized variable: l
- ./tools/clang/test/SemaCXX/member-pointer.cpp:104 [error] - Uninitialized variable: ptr
- ./tools/clang/test/SemaCXX/new-delete.cpp:31 [possible error] - Memory leak: pi
- ./tools/clang/test/SemaCXX/new-delete.cpp:34 [error] - Memory leak: ps
- ./tools/clang/test/SemaCXX/new-delete.cpp:60 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/no-implicit-builtin-decls.cpp:5 [error] - Memory leak: p
- ./tools/clang/test/SemaCXX/reinterpret-cast.cpp:37 [error] - ### Internal error in Cppcheck. Please report it.
- ./tools/clang/test/SemaCXX/return-stack-addr.cpp:5 [error] - Return of the address of an auto-variable
- ./tools/clang/test/SemaCXX/return-stack-addr.cpp:76 [error] - Return of the address of an auto-variable
- ./tools/clang/test/SemaCXX/return-stack-addr.cpp:10 [error] - Returning pointer to local array variable
- ./tools/clang/test/SemaCXX/rval-references.cpp:90 [error] - Uninitialized variable: i
- ./tools/clang/test/SemaCXX/static-cast.cpp:45 [error] - Null pointer dereference
- ./tools/clang/test/SemaCXX/static-cast.cpp:78 [error] - Null pointer dereference
- ./tools/clang/test/SemaTemplate/instantiate-static-var.cpp:6 [error] - Division by zero
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:46:39 +0000, based on results by cppcheck 1.41-modif