2026-05-01 14:27 ftp://ftp.de.debian.org/debian/pool/main/c/cwebx/cwebx_3.52.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 53 35 elapsed-time: 1.4 1.1 head-timing-info: old-timing-info: head results: cweb-x3.52/common.c:202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] cweb-x3.52/common.c:572:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_length [valueFlowBailoutIncompleteVar] cweb-x3.52/common.c:630:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key_length [valueFlowBailoutIncompleteVar] cweb-x3.52/common.c:735:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cweb-x3.52/common.c:865:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cweb-x3.52/common.c:487:48: error: Returning pointer to local variable 'dest' that will be invalid when returning. [returnDanglingLifetime] cweb-x3.52/common.c:487:49: note: Passed to 'strncpy'. cweb-x3.52/common.c:485:9: note: Variable created here. cweb-x3.52/common.c:487:48: note: Returning pointer to local variable 'dest' that will be invalid when returning. cweb-x3.52/common.c:459:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] cweb-x3.52/common.c:232:33: style:inconclusive: Function 'push_input_file' argument 1 names different: declaration '' definition 'header'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:232:48: style:inconclusive: Function 'push_input_file' argument 2 names different: declaration '' definition 'suspend'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:490:29: style:inconclusive: Function 'id_lookup' argument 1 names different: declaration '' definition 'first'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:490:41: style:inconclusive: Function 'id_lookup' argument 2 names different: declaration '' definition 'last'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:490:50: style:inconclusive: Function 'id_lookup' argument 3 names different: declaration '' definition 'ilk'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:721:23: style:inconclusive: Function 'err_print' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:755:18: style:inconclusive: Function 'fatal' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:861:18: style:inconclusive: Function 'print' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:868:28: style:inconclusive: Function 'print_progress' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] cweb-x3.52/common.c:363:13: style: Local variable 'n' shadows outer variable [shadowVariable] cweb-x3.52/common.c:342:7: note: Shadowed declaration cweb-x3.52/common.c:363:13: note: Shadow variable cweb-x3.52/common.c:533:16: style: Local variable 'loc' shadows outer variable [shadowVariable] cweb-x3.52/common.h:33:24: note: Shadowed declaration cweb-x3.52/common.c:533:16: note: Shadow variable cweb-x3.52/common.c:579:24: style: Local variable 'loc' shadows outer variable [shadowVariable] cweb-x3.52/common.h:33:24: note: Shadowed declaration cweb-x3.52/common.c:579:24: note: Shadow variable cweb-x3.52/common.c:853:22: style: Local variable 'file' shadows outer variable [shadowVariable] cweb-x3.52/common.h:38:1: note: Shadowed declaration cweb-x3.52/common.c:853:22: note: Shadow variable cweb-x3.52/common.c:169:11: style: Variable 'cwebinputs' can be declared as pointer to const [constVariablePointer] cweb-x3.52/common.c:484:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] cweb-x3.52/common.c:490:41: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] cweb-x3.52/common.c:515:12: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] cweb-x3.52/common.c:515:29: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] cweb-x3.52/common.c:724:30: style: Variable 'k' can be declared as pointer to const [constVariablePointer] cweb-x3.52/common.c:769:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cweb-x3.52/common.c:628:8: error: Memory is allocated but not initialized: key [uninitdata] cweb-x3.52/ctangle.c:277:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:327:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tok_start [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:335:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tok_start [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:344:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tok_start [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:387:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tok_start [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:414:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:441:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable byte_start [valueFlowBailoutIncompleteVar] cweb-x3.52/ctangle.c:922:44: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] cweb-x3.52/ctangle.c:257:33: style:inconclusive: Function 'names_match' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:257:41: style:inconclusive: Function 'names_match' argument 2 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:257:47: style:inconclusive: Function 'names_match' argument 3 names different: declaration '' definition 'l'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:257:53: style:inconclusive: Function 'names_match' argument 4 names different: declaration '' definition 'dummy'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:262:35: style:inconclusive: Function 'init_module_name' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:265:31: style:inconclusive: Function 'init_id_name' argument 1 names different: declaration '' definition 'dummy'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:265:41: style:inconclusive: Function 'init_id_name' argument 2 names different: declaration '' definition 'ilk'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:342:27: style:inconclusive: Function 'output' argument 1 names different: declaration '' definition 'repl'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:419:27: style:inconclusive: Function 'out_char' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] cweb-x3.52/ctangle.c:257:41: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] cweb-x3.52/ctangle.c:258:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cweb-x3.52/ctangle.c:291:38: style: Variable 'q' can be declared as pointer to const [constVariablePointer] cweb-x3.52/ctangle.c:383:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cweb-x3.52/ctangle.c:383:19: style: Variable 'end' can be declared as pointer to const [constVariablePointer] cweb-x3.52/ctangle.c:441:30: style: Variable 'p' can be declared as pointer to const [constVariablePointer] cweb-x3.52/ctangle.c:446:34: style: Variable 'q' can be declared as pointer to const [constVariablePointer] cweb-x3.52/ctangle.c:680:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diff: head cweb-x3.52/common.c:232:33: style:inconclusive: Function 'push_input_file' argument 1 names different: declaration '' definition 'header'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:232:48: style:inconclusive: Function 'push_input_file' argument 2 names different: declaration '' definition 'suspend'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:490:29: style:inconclusive: Function 'id_lookup' argument 1 names different: declaration '' definition 'first'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:490:41: style:inconclusive: Function 'id_lookup' argument 2 names different: declaration '' definition 'last'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:490:50: style:inconclusive: Function 'id_lookup' argument 3 names different: declaration '' definition 'ilk'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:721:23: style:inconclusive: Function 'err_print' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:755:18: style:inconclusive: Function 'fatal' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:861:18: style:inconclusive: Function 'print' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/common.c:868:28: style:inconclusive: Function 'print_progress' argument 1 names different: declaration '' definition 's'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:257:33: style:inconclusive: Function 'names_match' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:257:41: style:inconclusive: Function 'names_match' argument 2 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:257:47: style:inconclusive: Function 'names_match' argument 3 names different: declaration '' definition 'l'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:257:53: style:inconclusive: Function 'names_match' argument 4 names different: declaration '' definition 'dummy'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:262:35: style:inconclusive: Function 'init_module_name' argument 1 names different: declaration '' definition 'node'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:265:31: style:inconclusive: Function 'init_id_name' argument 1 names different: declaration '' definition 'dummy'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:265:41: style:inconclusive: Function 'init_id_name' argument 2 names different: declaration '' definition 'ilk'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:342:27: style:inconclusive: Function 'output' argument 1 names different: declaration '' definition 'repl'. [funcArgNamesDifferentUnnamed] head cweb-x3.52/ctangle.c:419:27: style:inconclusive: Function 'out_char' argument 1 names different: declaration '' definition 'c'. [funcArgNamesDifferentUnnamed] DONE