cppcheck analysis of verilator_3.811-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:772 [error] - Possible null pointer dereference: niterp - otherwise it is redundant to check if niterp is null at line 774
- ./src/V3Ast.cpp:845 [error] - Possible null pointer dereference: nextnodepp
- ./src/V3Ast.cpp:832 [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:356 [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:301 [error] - Possible null pointer dereference: foundp - otherwise it is redundant to check if foundp is null at line 303
- ./src/V3Link.cpp:383 [error] - Possible null pointer dereference: foundp - otherwise it is redundant to check if foundp is null at line 385
- ./src/V3Link.cpp:630 [error] - Possible null pointer dereference: m_cellVarsp
- ./src/V3LinkJump.cpp:176 [error] - Possible null pointer dereference: m_ftaskp - otherwise it is redundant to check if m_ftaskp is null at line 177
- ./src/V3LinkLevel.cpp:91 [error] - Possible null pointer dereference: oldmodp
- ./src/V3LinkLevel.cpp:93 [error] - Possible null pointer dereference: oldmodp
- ./src/V3LinkParse.cpp:111 [error] - Possible null pointer dereference: m_baseTextp
- ./src/V3LinkParse.cpp:291 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:296 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:301 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:306 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:311 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:316 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:321 [error] - Possible null pointer dereference: m_varp
- ./src/V3LinkParse.cpp:326 [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:274 [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:876 [error] - Possible null pointer dereference: snp
- ./src/V3Task.cpp:877 [error] - Possible null pointer dereference: snp
- ./src/V3Task.cpp:990 [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 Thu, 17 Feb 2011 06:58:12 +0000, based on results by cppcheck 1.46