cppcheck analysis of llvm_2.6-9.1.dsc
- ./examples/Kaleidoscope/toy.cpp:585 [error] - Memory leak: Proto
- ./lib/Transforms/Scalar/IndVarSimplify.cpp:445 [error] - Memory leak: NewICmp
- ./lib/Transforms/Scalar/InstructionCombining.cpp:4712 [error] - Memory leak: RV
- ./test/FrontendC++/2006-03-01-GimplifyCrash.cpp:10 [error] - Uninitialized variable: fMap
- ./test/FrontendC/2002-01-23-LoadQISIReloadFailure.c:8 [error] - Uninitialized variable: w_cnt
- ./test/FrontendC/2002-01-23-LoadQISIReloadFailure.c:8 [error] - Uninitialized variable: pp
- ./test/FrontendC/2002-02-17-ArgumentAddress.c:32 [error] - Uninitialized variable: B
- ./test/FrontendC/2002-03-14-BrokenPHINode.c:14 [error] - Uninitialized variable: LLS
- ./test/FrontendC/2002-03-14-BrokenPHINode.c:14 [error] - Uninitialized variable: asa
- ./test/FrontendC/2002-03-14-BrokenSSA.c:12 [error] - Uninitialized variable: b
- ./test/FrontendC/2002-03-14-BrokenSSA.c:12 [error] - Uninitialized variable: c
- ./test/FrontendC/2002-05-24-Alloca.c:9 [error] - Buffer overrun possible for long cmd-line args
- ./test/FrontendC/2002-07-14-MiscTests3.c:70 [error] - Uninitialized variable: Result
- ./test/FrontendC/2002-07-30-VarArgsCallFailure.c:7 [error] - Uninitialized variable: Buf
- ./test/FrontendC/2003-08-20-BadBitfieldRef.c:6 [error] - Uninitialized variable: ap
- ./test/FrontendC/2003-11-20-ComplexDivision.c:6 [error] - Uninitialized variable: D
- ./test/FrontendC/2006-09-18-fwrite-cast-crash.c:13 [error] - Uninitialized variable: ltmp_6202_16
- ./test/FrontendC/2007-03-05-DataLayout.c:52 [error] - Memory leak: b
- ./test/FrontendC/2007-03-06-VarSizeInStruct1.c:7 [error] - Return of the address of an auto-variable
- ./test/FrontendC/2007-03-27-VarLengthArray.c:5 [error] - Uninitialized variable: x
- ./test/FrontendC/2007-03-27-VarLengthArray.c:6 [error] - Uninitialized variable: x
- ./test/FrontendC/2007-10-30-Volatile.c:5 [error] - Uninitialized variable: p
- ./test/FrontendC/2007-10-30-Volatile.c:5 [error] - Uninitialized variable: cc
- ./tools/llvm-mc/llvm-mc.cpp:235 [error] - Memory leak: Out
- ./tools/llvm-stub/llvm-stub.c:61 [error] - Allocation with malloc, strcpy doesn't release it.
- ./tools/llvm-stub/llvm-stub.c:55 [error] - Allocation with malloc, strcpy doesn't release it.
- ./unittests/Support/AllocatorTest.cpp:111 [error] - Data is allocated but not initialized: MemBase
- ./utils/TableGen/CodeGenDAGPatterns.cpp:1545 [error] - Possible null pointer dereference: DI
- ./utils/TableGen/TGParser.cpp:616 [error] - Memory leak: SubType
- ./utils/TableGen/TGParser.cpp:995 [error] - Memory leak: Type
- ./utils/TableGen/TGParser.cpp:1155 [error] - Memory leak: GivenEltTy
- ./utils/TableGen/TGParser.cpp:1451 [error] - Memory leak: Type
- ./utils/TableGen/TGParser.cpp:1825 [error] - Memory leak: D
- ./utils/unittest/googletest/gtest.cc:3256 [error] - Null pointer dereference
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:16:47 +0000, based on results by cppcheck 1.46