cppcheck analysis of llvm-2.7_2.7-6.dsc
- ./examples/Kaleidoscope/Chapter2/toy.cpp:313 [error] - Memory leak: Proto
- ./examples/Kaleidoscope/Chapter3/toy.cpp:325 [error] - Memory leak: Proto
- ./examples/Kaleidoscope/Chapter4/toy.cpp:331 [error] - Memory leak: Proto
- ./examples/Kaleidoscope/Chapter5/toy.cpp:432 [error] - Memory leak: Proto
- ./examples/Kaleidoscope/Chapter6/toy.cpp:517 [error] - Memory leak: Proto
- ./examples/Kaleidoscope/Chapter7/toy.cpp:582 [error] - Memory leak: Proto
- ./lib/Analysis/ScalarEvolutionExpander.cpp:860 [error] - Possible null pointer dereference: IncV - otherwise it is redundant to check if IncV is null at line 861
- ./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-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:256 [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.
- ./tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp:39 [error] - When i==Partname.size(), Partname[i] is out of bounds
- ./tools/llvmc/example/mcc16/plugins/PIC16Base/PluginMain.cpp:56 [error] - When i==Partname.size(), Partname[i] is out of bounds
- ./unittests/Support/AllocatorTest.cpp:111 [error] - Data is allocated but not initialized: MemBase
- ./utils/TableGen/CodeGenDAGPatterns.cpp:1643 [error] - Possible null pointer dereference: DI
- ./utils/TableGen/TGParser.cpp:615 [error] - Memory leak: SubType
- ./utils/TableGen/TGParser.cpp:996 [error] - Memory leak: Type
- ./utils/TableGen/TGParser.cpp:1157 [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