cppcheck analysis of verilator_3.810-1.dsc
- ./src/V3Active.cpp:74 [error] - Possible null pointer dereference: m_scopep
- ./src/V3Assert.cpp:121 [error] - Possible null pointer dereference: covincp
- ./src/V3Ast.cpp:771 [error] - Possible null pointer dereference: niterp - otherwise it is redundant to check if niterp is null at line 773
- ./src/V3Ast.cpp:844 [error] - Possible null pointer dereference: nextnodepp
- ./src/V3Ast.cpp:831 [error] - Memory leak: tempp
- ./src/V3ClkGater.cpp:680 [error] - Possible null pointer dereference: oldsenitemsp
- ./src/V3ClkGater.cpp:695 [error] - instance of "GaterBodyVisitor" object destroyed immediately
- ./src/V3ClkGater.cpp:697 [error] - instance of "GaterBodyVisitor" object destroyed immediately
- ./src/V3Clock.cpp:330 [error] - Possible null pointer dereference: m_scopep
- ./src/V3Clock.cpp:461 [error] - Possible null pointer dereference: setChglastp
- ./src/V3Const.cpp:783 [error] - Possible null pointer dereference: m_modp
- ./src/V3Const.cpp:784 [error] - Possible null pointer dereference: m_modp
- ./src/V3Const.cpp:789 [error] - Possible null pointer dereference: m_modp
- ./src/V3Const.cpp:790 [error] - Possible null pointer dereference: m_modp
- ./src/V3Const.cpp:870 [error] - Possible null pointer dereference: outnump
- ./src/V3Const.cpp:777 [error] - Possible null pointer dereference: newp
- ./src/V3Const.cpp:778 [error] - Possible null pointer dereference: newp
- ./src/V3Const.cpp:808 [error] - Possible null pointer dereference: newp
- ./src/V3Const.cpp:809 [error] - Possible null pointer dereference: newp
- ./src/V3Const.cpp:810 [error] - Possible null pointer dereference: newp
- ./src/V3Const.cpp:811 [error] - Possible null pointer dereference: newp
- ./src/V3Const.cpp:813 [error] - Possible null pointer dereference: newp
- ./src/V3Delayed.cpp:358 [error] - Possible null pointer dereference: oldvscp
- ./src/V3Depth.cpp:73 [error] - Possible null pointer dereference: m_funcp
- ./src/V3EmitC.cpp:1234 [error] - Possible null pointer dereference: scopenamep
- ./src/V3EmitCSyms.cpp:202 [error] - Possible null pointer dereference: m_funcp
- ./src/V3EmitV.cpp:689 [error] - instance of "EmitVStreamVisitor" object destroyed immediately
- ./src/V3EmitV.cpp:694 [error] - instance of "EmitVPrefixedVisitor" object destroyed immediately
- ./src/V3Expand.cpp:705 [error] - Possible null pointer dereference: constp
- ./src/V3Expand.cpp:730 [error] - Possible null pointer dereference: constp
- ./src/V3GraphAlg.cpp:132 [error] - instance of "GraphRemoveRedundant" object destroyed immediately
- ./src/V3GraphAlg.cpp:135 [error] - instance of "GraphRemoveRedundant" object destroyed immediately
- ./src/V3GraphAlg.cpp:180 [error] - instance of "GraphAlgWeakly" object destroyed immediately
- ./src/V3GraphAlg.cpp:266 [error] - instance of "GraphAlgStrongly" object destroyed immediately
- ./src/V3GraphAlg.cpp:318 [error] - instance of "GraphAlgRank" object destroyed immediately
- ./src/V3GraphAlg.cpp:322 [error] - instance of "GraphAlgRank" object destroyed immediately
- ./src/V3GraphAlg.cpp:376 [error] - instance of "GraphAlgRLoops" object destroyed immediately
- ./src/V3GraphDfa.cpp:353 [error] - instance of "GraphNfaToDfa" object destroyed immediately
- ./src/V3GraphDfa.cpp:481 [error] - instance of "DfaGraphReduce" object destroyed immediately
- ./src/V3GraphDfa.cpp:575 [error] - instance of "DfaGraphComplement" object destroyed immediately
- ./src/V3Link.cpp:299 [error] - Possible null pointer dereference: foundp - otherwise it is redundant to check if foundp is null at line 301
- ./src/V3Link.cpp:381 [error] - Possible null pointer dereference: foundp - otherwise it is redundant to check if foundp is null at line 383
- ./src/V3Link.cpp:626 [error] - Possible null pointer dereference: m_cellVarsp
- ./src/V3LinkJump.cpp:167 [error] - Possible null pointer dereference: m_ftaskp - otherwise it is redundant to check if m_ftaskp is null at line 168
- ./src/V3LinkLevel.cpp:91 [error] - Possible null pointer dereference: oldmodp
- ./src/V3LinkLevel.cpp:93 [error] - Possible null pointer dereference: oldmodp
- ./src/V3LinkParse.cpp:90 [error] - Possible null pointer dereference: m_baseTextp
- ./src/V3LinkParse.cpp:263 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:268 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:273 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:278 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:283 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:288 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:293 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:298 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkResolve.cpp:207 [error] - Possible null pointer dereference: varrefp
- ./src/V3LinkResolve.cpp:226 [error] - Possible null pointer dereference: m_modp
- ./src/V3LinkResolve.cpp:231 [error] - Possible null pointer dereference: m_ftaskp
- ./src/V3Options.cpp:630 [error] - Null pointer dereference
- ./src/V3Options.cpp:949 [style] - The iterator incrementing is suspicious - it is incremented at line 949 and then at line 939 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./src/V3Param.cpp:275 [error] - Possible null pointer dereference: pinp
- ./src/V3Scope.cpp:99 [error] - Possible null pointer dereference: modp
- ./src/V3Slice.cpp:265 [error] - Possible null pointer dereference: refp
- ./src/V3Slice.cpp:271 [error] - Possible null pointer dereference: adtypep
- ./src/V3Slice.cpp:272 [error] - Possible null pointer dereference: adtypep
- ./src/V3Slice.cpp:282 [error] - Memory leak: newp
- ./src/V3Task.cpp:873 [error] - Possible null pointer dereference: snp
- ./src/V3Task.cpp:874 [error] - Possible null pointer dereference: snp
- ./src/V3Task.cpp:987 [error] - Possible null pointer dereference: whilep
- ./src/V3Trace.cpp:224 [error] - Possible null pointer dereference: dupincp
- ./src/V3TraceDecl.cpp:106 [error] - Possible null pointer dereference: funcp
- ./src/V3Tristate.cpp:305 [error] - instance of "TristateExpander" object destroyed immediately
- ./src/V3Unknown.cpp:386 [error] - Possible null pointer dereference: adtypep
- ./src/V3Unknown.cpp:346 [error] - Memory leak: condp
- ./src/V3Unknown.cpp:401 [error] - Memory leak: condp
- ./src/V3Unroll.cpp:283 [error] - Memory leak: tempp
- ./src/V3Unroll.cpp:243 [error] - Possible null pointer dereference: stmtsp
- ./src/V3Unroll.cpp:247 [error] - Possible null pointer dereference: stmtsp
- ./src/V3Unroll.cpp:251 [error] - Possible null pointer dereference: stmtsp
- ./src/V3Width.cpp:354 [error] - Possible null pointer dereference: varrp
- ./src/V3Width.cpp:634 [error] - Possible null pointer dereference: enump
- ./src/V3WidthSel.cpp:136 [error] - Possible null pointer dereference: varrefp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Fri, 28 Jan 2011 06:58:17 +0000, based on results by cppcheck 1.46