2026-05-01 05:12 ftp://ftp.de.debian.org/debian/pool/main/b/bgpq4/bgpq4_1.16.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j8 platform: Linux-6.18.15+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: 0fda84ef (2026-05-01 02:32:52 +0200) count: 56 48 elapsed-time: 0.8 0.7 head-timing-info: old-timing-info: head results: bgpq4-1.16/sx_report.c:70:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_report.c:111:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_report.c:60:23: style:inconclusive: Function 'sx_report' argument 1 names different: declaration '' definition 't'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_report.c:97:28: style:inconclusive: Function 'sx_debug' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_report.c:97:52: style:inconclusive: Function 'sx_debug' argument 2 names different: declaration '' definition 'func'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_report.c:97:68: style:inconclusive: Function 'sx_debug' argument 3 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_report.c:121:18: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_slentry.c:35:22: style:inconclusive: Function 'sx_slentry_new' argument 1 names different: declaration 'text' definition 't'. [funcArgNamesDifferent] bgpq4-1.16/extern.h:37:39: note: Function 'sx_slentry_new' argument 1 names different: declaration 'text' definition 't'. bgpq4-1.16/sx_slentry.c:35:22: note: Function 'sx_slentry_new' argument 1 names different: declaration 'text' definition 't'. bgpq4-1.16/sx_slentry.c:50:21: style:inconclusive: Function 'sx_tentry_new' argument 1 names different: declaration 'text' definition 't'. [funcArgNamesDifferent] bgpq4-1.16/extern.h:44:39: note: Function 'sx_tentry_new' argument 1 names different: declaration 'text' definition 't'. bgpq4-1.16/sx_slentry.c:50:21: note: Function 'sx_tentry_new' argument 1 names different: declaration 'text' definition 't'. bgpq4-1.16/sx_slentry.c:35:22: style: Parameter 't' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_slentry.c:50:21: style: Parameter 't' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/main.c:113:14: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_NAME is a macro then please configure it. [unknownMacro] bgpq4-1.16/expander.c:1103:3: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_STRING is a macro then please configure it. [unknownMacro] bgpq4-1.16/printer.c:337:2: error: There is an unknown macro here somewhere. Configuration is required. If RB_FOREACH is a macro then please configure it. [unknownMacro] bgpq4-1.16/sx_prefix.c:83:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:236:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:250:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:307:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:387:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:556:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:762:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:831:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:878:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:1125:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] bgpq4-1.16/sx_prefix.c:370:6: style: Condition '!p' is always false [knownConditionTrueFalse] bgpq4-1.16/sx_prefix.c:760:7: style: Condition '!rn' is always false [knownConditionTrueFalse] bgpq4-1.16/sx_prefix.c:392:9: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bgpq4-1.16/sx_prefix.c:410:9: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bgpq4-1.16/sx_prefix.c:441:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bgpq4-1.16/sx_prefix.c:513:9: warning: %i in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bgpq4-1.16/sx_prefix.c:722:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bgpq4-1.16/sx_prefix.c:822:3: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] bgpq4-1.16/sx_prefix.c:66:45: style:inconclusive: Function 'sx_radix_node_destroy' argument 1 names different: declaration 'p' definition 'n'. [funcArgNamesDifferent] bgpq4-1.16/sx_prefix.h:72:50: note: Function 'sx_radix_node_destroy' argument 1 names different: declaration 'p' definition 'n'. bgpq4-1.16/sx_prefix.c:66:45: note: Function 'sx_radix_node_destroy' argument 1 names different: declaration 'p' definition 'n'. bgpq4-1.16/sx_prefix.c:280:45: style:inconclusive: Function 'sx_prefix_range_parse' argument 1 names different: declaration 't' definition 'tree'. [funcArgNamesDifferent] bgpq4-1.16/sx_prefix.h:76:49: note: Function 'sx_prefix_range_parse' argument 1 names different: declaration 't' definition 'tree'. bgpq4-1.16/sx_prefix.c:280:45: note: Function 'sx_prefix_range_parse' argument 1 names different: declaration 't' definition 'tree'. bgpq4-1.16/sx_prefix.c:280:72: style:inconclusive: Function 'sx_prefix_range_parse' argument 3 names different: declaration 'ml' definition 'maxlen'. [funcArgNamesDifferent] bgpq4-1.16/sx_prefix.h:76:73: note: Function 'sx_prefix_range_parse' argument 3 names different: declaration 'ml' definition 'maxlen'. bgpq4-1.16/sx_prefix.c:280:72: note: Function 'sx_prefix_range_parse' argument 3 names different: declaration 'ml' definition 'maxlen'. bgpq4-1.16/sx_prefix.c:396:75: style:inconclusive: Function 'sx_prefix_snprintf_sep' argument 4 names different: declaration '' definition 'sep'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_prefix.c:421:35: style:inconclusive: Function 'sx_prefix_snprintf_fmt' argument 4 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] bgpq4-1.16/sx_prefix.h:81:35: note: Function 'sx_prefix_snprintf_fmt' argument 4 names different: declaration 'fmt' definition 'format'. bgpq4-1.16/sx_prefix.c:421:35: note: Function 'sx_prefix_snprintf_fmt' argument 4 names different: declaration 'fmt' definition 'format'. bgpq4-1.16/sx_prefix.c:590:44: style:inconclusive: Function 'sx_radix_tree_unlink' argument 1 names different: declaration 't' definition 'tree'. [funcArgNamesDifferent] bgpq4-1.16/sx_prefix.h:66:49: note: Function 'sx_radix_tree_unlink' argument 1 names different: declaration 't' definition 'tree'. bgpq4-1.16/sx_prefix.c:590:44: note: Function 'sx_radix_tree_unlink' argument 1 names different: declaration 't' definition 'tree'. bgpq4-1.16/sx_prefix.c:590:72: style:inconclusive: Function 'sx_radix_tree_unlink' argument 2 names different: declaration 'n' definition 'node'. [funcArgNamesDifferent] bgpq4-1.16/sx_prefix.h:66:74: note: Function 'sx_radix_tree_unlink' argument 2 names different: declaration 'n' definition 'node'. bgpq4-1.16/sx_prefix.c:590:72: note: Function 'sx_radix_tree_unlink' argument 2 names different: declaration 'n' definition 'node'. bgpq4-1.16/sx_prefix.c:844:57: style:inconclusive: Function 'sx_radix_node_foreach' argument 3 names different: declaration '' definition 'udata'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_prefix.c:859:57: style:inconclusive: Function 'sx_radix_tree_foreach' argument 3 names different: declaration '' definition 'udata'. [funcArgNamesDifferentUnnamed] bgpq4-1.16/sx_prefix.c:43:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:99:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:116:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:382:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:396:42: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:396:75: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:503:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:531:43: style: Parameter 't' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:553:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:553:57: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] bgpq4-1.16/sx_prefix.c:180:50: warning: Either the condition 'aparts[0]<256' is redundant or there is signed integer overflow for expression '(aparts[0]<<24)+(aparts[1]<<16)'. [integerOverflowCond] bgpq4-1.16/sx_prefix.c:176:38: note: Assuming that condition 'aparts[0]<256' is not redundant bgpq4-1.16/sx_prefix.c:180:50: note: Integer overflow bgpq4-1.16/sx_prefix.c:181:26: warning: Either the condition 'aparts[0]<256' is redundant or there is signed integer overflow for expression '(aparts[0]<<24)+(aparts[1]<<16)+(aparts[2]<<8)'. [integerOverflowCond] bgpq4-1.16/sx_prefix.c:176:38: note: Assuming that condition 'aparts[0]<256' is not redundant bgpq4-1.16/sx_prefix.c:181:26: note: Integer overflow bgpq4-1.16/sx_prefix.c:181:45: warning: Either the condition 'aparts[0]<256' is redundant or there is signed integer overflow for expression '(aparts[0]<<24)+(aparts[1]<<16)+(aparts[2]<<8)+aparts[3]'. [integerOverflowCond] bgpq4-1.16/sx_prefix.c:176:38: note: Assuming that condition 'aparts[0]<256' is not redundant bgpq4-1.16/sx_prefix.c:181:45: note: Integer overflow bgpq4-1.16/sx_prefix.c:759:25: style: Variable 'neoRoot' is assigned a value that is never used. [unreadVariable] diff: head bgpq4-1.16/sx_prefix.c:382:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] head bgpq4-1.16/sx_prefix.c:396:75: style:inconclusive: Function 'sx_prefix_snprintf_sep' argument 4 names different: declaration '' definition 'sep'. [funcArgNamesDifferentUnnamed] head bgpq4-1.16/sx_prefix.c:844:57: style:inconclusive: Function 'sx_radix_node_foreach' argument 3 names different: declaration '' definition 'udata'. [funcArgNamesDifferentUnnamed] head bgpq4-1.16/sx_prefix.c:859:57: style:inconclusive: Function 'sx_radix_tree_foreach' argument 3 names different: declaration '' definition 'udata'. [funcArgNamesDifferentUnnamed] head bgpq4-1.16/sx_report.c:60:23: style:inconclusive: Function 'sx_report' argument 1 names different: declaration '' definition 't'. [funcArgNamesDifferentUnnamed] head bgpq4-1.16/sx_report.c:97:28: style:inconclusive: Function 'sx_debug' argument 1 names different: declaration '' definition 'file'. [funcArgNamesDifferentUnnamed] head bgpq4-1.16/sx_report.c:97:52: style:inconclusive: Function 'sx_debug' argument 2 names different: declaration '' definition 'func'. [funcArgNamesDifferentUnnamed] head bgpq4-1.16/sx_report.c:97:68: style:inconclusive: Function 'sx_debug' argument 3 names different: declaration '' definition 'line'. [funcArgNamesDifferentUnnamed] DONE