2026-03-17 23:24 ftp://ftp.de.debian.org/debian/pool/main/n/nihstro/nihstro_0.0~git20240505.f4d8659.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=boost --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: b52fd48 (2026-03-17 18:11:35 +0200) count: 116 115 elapsed-time: 1.6 0.7 head-timing-info: old-timing-info: head results: nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:63:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U64_MAX [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:72:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U64_MAX [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:239:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_VERTEX_SHADER [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:386:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_TRIANGLES [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_TRIANGLES [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:106:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:123:9: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:215:53: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:318:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/gs.c:330:29: style: Parameter 'vbo' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/main.c:125:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_PREVIOUS [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/main.c:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_CULL_BACK_CCW [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/main.c:246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable texture_bin_size [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/math.c:14:26: style: Parameter 'm1' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/math.c:14:37: style: Parameter 'm2' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/math.c:126:34: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/math.c:132:31: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/math.c:138:35: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube/source/math.c:144:32: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:63:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U64_MAX [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:72:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U64_MAX [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:239:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_VERTEX_SHADER [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:386:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_TRIANGLES [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_TRIANGLES [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:106:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:123:9: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:215:53: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:318:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/gs.c:330:29: style: Parameter 'vbo' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/main.c:125:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_PREVIOUS [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/main.c:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPU_CULL_BACK_CCW [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/main.c:271:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable texture_bin_size [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/main.c:162:35: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/math.c:14:26: style: Parameter 'm1' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/math.c:14:37: style: Parameter 'm2' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/math.c:126:34: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/math.c:132:31: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/math.c:138:35: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/assembler/cube_lighting/source/math.c:144:32: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] nihstro-0.0~git20240505.f4d8659/examples/inline_assembler/simple/simple.cpp:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:81:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BoolUniform [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:125:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FloatUniform [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:134:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:411:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:131:5: style: Struct 'DestSwizzlerMask' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1394:48: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1395:44: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1400:25: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1406:29: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1413:29: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1419:29: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1447:29: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1453:29: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1463:20: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1393:25: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1407:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1428:29: warning: Potentially invalid type conversion in old-style C cast, clarify/fix with C++ cast [dangerousTypeCast] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:224:10: style: The scope of the variable 'relative_address_set' can be reduced. [variableScope] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1473:20: style: Local variable 'tree' shadows outer variable [shadowVariable] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1468:21: note: Shadowed declaration nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1473:20: note: Shadow variable nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1488:20: style: Local variable 'tree' shadows outer variable [shadowVariable] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1483:21: note: Shadowed declaration nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1488:20: note: Shadow variable nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:185:20: style: Variable 'comp' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1326:82: style: Variable 's' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1462:16: style: Variable 'chunk' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:185:9: style: Consider using std::any_of algorithm instead of a raw loop. [useStlAlgorithm] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:194:0: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:670:27: style: Consider using std::transform algorithm instead of a raw loop. [useStlAlgorithm] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1326:106: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1350:20: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1357:95: style: Consider using std::find_if algorithm instead of a raw loop. [useStlAlgorithm] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1477:26: style: Variable 'start_pos' is assigned a value that is never used. [unreadVariable] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:1492:26: style: Variable 'start_pos' is assigned a value that is never used. [unreadVariable] nihstro-0.0~git20240505.f4d8659/src/assembler.cpp:988:51: style: Variable 'opcode_plain' is assigned a value that is never used. [unreadVariable] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:45:1: style: The struct 'float24' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:274:22: style: Same expression used in consecutive assignments of 'target_addr' and 'target_addr_else'. [duplicateAssignExpression] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:275:22: note: Same expression used in consecutive assignments of 'target_addr' and 'target_addr_else'. nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:274:22: note: Same expression used in consecutive assignments of 'target_addr' and 'target_addr_else'. nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:93:19: style: Variable 'filename' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:112:15: style: Variable 'dvle_header' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:274:34: style: Variable 'target_addr' is assigned a value that is never used. [unreadVariable] nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:275:39: style: Variable 'target_addr_else' is assigned a value that is never used. [unreadVariable] nihstro-0.0~git20240505.f4d8659/src/parser_assembly.cpp:56:1: error: There is an unknown macro here somewhere. Configuration is required. If BOOST_FUSION_ADAPT_STRUCT is a macro then please configure it. [unknownMacro] nihstro-0.0~git20240505.f4d8659/src/parser_assembly/common.cpp:55:1: error: There is an unknown macro here somewhere. Configuration is required. If BOOST_FUSION_ADAPT_STRUCT is a macro then please configure it. [unknownMacro] nihstro-0.0~git20240505.f4d8659/src/parser_assembly/declaration.cpp:48:1: error: There is an unknown macro here somewhere. Configuration is required. If BOOST_FUSION_ADAPT_STRUCT is a macro then please configure it. [unknownMacro] nihstro-0.0~git20240505.f4d8659/src/parser_assembly/flowcontrol.cpp:71:1: error: There is an unknown macro here somewhere. Configuration is required. If BOOST_FUSION_ADAPT_STRUCT is a macro then please configure it. [unknownMacro] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:33:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable badbit [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:94:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_programs [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:37:15: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:47:19: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:53:15: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:63:19: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:83:15: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:88:15: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:109:19: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:115:19: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:122:19: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/parser_shbin.cpp:128:19: style: C-style pointer casting [cstyleCast] nihstro-0.0~git20240505.f4d8659/src/preprocessor.cpp:64:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/preprocessor.cpp:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lexeme [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/preprocessor.cpp:43:9: debug: Wrong data detected by condition !var->valueType() [DacaWrongData] nihstro-0.0~git20240505.f4d8659/src/preprocessor.cpp:43:9: performance: Variable 'include' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:214:59: debug: Failed to instantiate template "MakeInputSwizzlerMask". The checking continues anyway. [templateInstantiation] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:226:59: debug: Failed to instantiate template "MakeInputSwizzlerMask". The checking continues anyway. [templateInstantiation] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:231:23: debug: Failed to instantiate template "parse". The checking continues anyway. [templateInstantiation] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:345:39: debug: Failed to instantiate template "MakeInputSwizzlerMask". The checking continues anyway. [templateInstantiation] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:86:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable And [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:110:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JustX [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:226:125: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXCOORD0 [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:273:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOVA [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:345:101: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable And [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:391:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMP [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:168:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] nihstro-0.0~git20240505.f4d8659/src/tests/parser.cpp:59:16: style: Variable 'mask' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/tests/source_tree_iterator.cpp:40:16: style: Variable 'child' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/tests/source_tree_iterator.cpp:59:16: style: Variable 'child' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/tests/source_tree_iterator.cpp:71:16: style: Variable 'child' can be declared as reference to const [constVariableReference] nihstro-0.0~git20240505.f4d8659/src/tests/source_tree_iterator.cpp:72:13: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] diff: head nihstro-0.0~git20240505.f4d8659/src/disassembler.cpp:112:15: style: Variable 'dvle_header' can be declared as reference to const [constVariableReference] DONE