cppcheck analysis of llvm-snapshot_20100312-1.dsc
- ./examples/BrainF/BrainF.h:80 [possible error] - Memory leak: BrainF::module
- ./examples/BrainF/BrainFDriver.cpp:159 [possible error] - Memory leak: out
- ./lib/Analysis/ConstantFolding.cpp:819 [possible error] - Array index out of bounds
- ./lib/Analysis/ConstantFolding.cpp:823 [possible error] - Array index out of bounds
- ./lib/Analysis/ConstantFolding.cpp:825 [possible error] - Array index out of bounds
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1318 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1329 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1339 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1349 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1361 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1370 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1383 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1390 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1403 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1413 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1424 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1435 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1443 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1451 [possible error] - Memory leak: Abbv
- ./lib/Bitcode/Writer/BitcodeWriter.cpp:1458 [possible error] - Memory leak: Abbv
- ./lib/CodeGen/DwarfEHPrepare.cpp:337 [possible error] - Memory leak: Store
- ./lib/CodeGen/StackProtector.cpp:173 [possible error] - Memory leak: LI
- ./lib/MC/MCMachOStreamer.cpp:315 [possible error] - Memory leak: DF
- ./lib/Transforms/IPO/ExtractGV.cpp:116 [possible error] - Memory leak: gv
- ./lib/Transforms/IPO/LoopExtractor.cpp:204 [error] - Same iterator is used with both MF and TranslatedBlocksToNotExtract
- ./lib/Transforms/IPO/LowerSetJmp.cpp:292 [possible error] - Memory leak: CI
- ./lib/Transforms/IPO/LowerSetJmp.cpp:450 [possible error] - Memory leak: BufPtr
- ./lib/Transforms/Utils/InlineFunction.cpp:334 [possible error] - Memory leak: DestCast
- ./lib/Transforms/Utils/InlineFunction.cpp:334 [possible error] - Memory leak: SrcCast
- ./lib/VMCore/AutoUpgrade.cpp:358 [possible error] - Memory leak: SI
- ./lib/VMCore/LLVMContextImpl.h:174 [possible error] - Memory leak: LLVMContextImpl::AlwaysOpaqueTy
- ./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:412 [possible error] - Memory leak: objFile
- ./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
- ./tools/opt/opt.cpp:551 [possible error] - Memory leak: Out
- ./tools/opt/opt.cpp:551 [possible error] - Memory leak: FPasses
- ./utils/TableGen/CodeGenDAGPatterns.cpp:2342 [possible error] - Memory leak: Result
- ./utils/TableGen/TGParser.cpp:123 [possible error] - Memory leak: NewVal
- ./utils/TableGen/TGParser.cpp:1109 [possible error] - Memory leak: Result
- ./utils/TableGen/TableGen.cpp:195 [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