cppcheck analysis of llvm_2.6-8.dsc
- ./examples/BrainF/BrainF.h:80 [possible error] - Memory leak: BrainF::module
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1211 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1222 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1232 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1242 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1254 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1263 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1276 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1283 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1296 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1306 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1317 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1328 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1336 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1344 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1351 [possible error] - Memory leak: Abbv
- ./lib/CodeGen/DwarfEHPrepare.cpp:309 [possible error] - Memory leak: Store
- ./lib/CodeGen/StackProtector.cpp:168 [possible error] - Memory leak: LI
- ./lib/MC/MCMachOStreamer.cpp:144 [possible error] - Memory leak: DF
- ./lib/Transforms/IPO/ExtractGV.cpp:117 [possible error] - Memory leak: gv
- ./lib/Transforms/IPO/LoopExtractor.cpp:223 [error] - Same iterator is used with both MF and TranslatedBlocksToNotExtract
- ./lib/Transforms/IPO/LowerSetJmp.cpp:463 [possible error] - Memory leak: BufPtr
- ./lib/Transforms/Instrumentation/RSProfiling.cpp:277 [possible error] - Memory leak: l
- ./lib/Transforms/Utils/InlineFunction.cpp:351 [possible error] - Memory leak: DestCast
- ./lib/Transforms/Utils/InlineFunction.cpp:351 [possible error] - Memory leak: SrcCast
- ./lib/VMCore/AutoUpgrade.cpp:334 [possible error] - Memory leak: SI
- ./lib/VMCore/TypesContext.h:217 [error] - Class TypeMapBase which is inherited by class TypeMap<ArrayValType,ArrayType> does not have a virtual destructor
- ./lib/VMCore/TypesContext.h:217 [error] - Class TypeMapBase which is inherited by class TypeMap<VectorValType,VectorType> does not have a virtual destructor
- ./lib/VMCore/TypesContext.h:217 [error] - Class TypeMapBase which is inherited by class TypeMap<PointerValType,PointerType> does not have a virtual destructor
- ./lib/VMCore/TypesContext.h:217 [error] - Class TypeMapBase which is inherited by class TypeMap<FunctionValType,FunctionType> does not have a virtual destructor
- ./lib/VMCore/TypesContext.h:217 [error] - Class TypeMapBase which is inherited by class TypeMap<StructValType,StructType> does not have a virtual destructor
- ./lib/VMCore/TypesContext.h:217 [error] - Class TypeMapBase which is inherited by class TypeMap<IntegerValType,IntegerType> does not have a virtual destructor
- ./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-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-07-14-MiscTests3.c:70 [error] - Uninitialized variable: Result
- ./test/FrontendC/2003-08-21-BinOp-Type-Mismatch.c:8 [error] - Uninitialized variable: frame
- ./test/FrontendC/2007-10-30-Volatile.c:5 [error] - Uninitialized variable: p
- ./tools/gold/gold-plugin.cpp:388 [possible error] - Memory leak: objFile
- ./tools/llvm-as/llvm-as.cpp:144 [possible error] - Memory leak: Out
- ./tools/llvm-dis/llvm-dis.cpp:131 [possible error] - Memory leak: Out
- ./tools/llvm-extract/llvm-extract.cpp:137 [possible error] - Memory leak: Out
- ./tools/llvm-link/llvm-link.cpp:142 [possible error] - Memory leak: Out
- ./tools/opt/opt.cpp:528 [possible error] - Memory leak: Out
- ./tools/opt/opt.cpp:528 [possible error] - Memory leak: FPasses
- ./utils/TableGen/CodeGenDAGPatterns.cpp:2154 [possible error] - Memory leak: Result
- ./utils/TableGen/TGParser.cpp:123 [possible error] - Memory leak: NewVal
- ./utils/TableGen/TGParser.cpp:1108 [possible error] - Memory leak: Result
- ./utils/TableGen/TableGen.cpp:180 [possible error] - Memory leak: Out
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:54:39 +0000, based on results by cppcheck 1.41-modif