2026-05-04 08:05 ftp://ftp.de.debian.org/debian/pool/main/p/pkgconf/pkgconf_2.5.1.orig.tar.xz 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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 147 116 elapsed-time: 1.4 1.2 head-timing-info: old-timing-info: head results: pkgconf-2.5.1/cli/bomtool/main.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_BUFSIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:91:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:100:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_VIRTUAL [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:217:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:233:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:255:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_LIST_INITIALIZER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/bomtool/main.c:312:29: style: Condition 'maximum_package_count>0' is always false [knownConditionTrueFalse] pkgconf-2.5.1/cli/bomtool/main.c:46:35: style: Parameter 'pkg' can be declared as pointer to const [constParameterPointer] pkgconf-2.5.1/cli/bomtool/main.c:65:25: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/bomtool/main.c:98:30: style: Parameter 'pkg' can be declared as pointer to const [constParameterPointer] pkgconf-2.5.1/cli/getopt_long.c:261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/getopt_long.c:540:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/getopt_long.c:133:9: style:inconclusive: Function 'gcd' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:133:16: style:inconclusive: Function 'gcd' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:153:18: style:inconclusive: Function 'permute_args' argument 1 names different: declaration '' definition 'panonopt_start'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:153:38: style:inconclusive: Function 'permute_args' argument 2 names different: declaration '' definition 'panonopt_end'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:153:56: style:inconclusive: Function 'permute_args' argument 3 names different: declaration '' definition 'opt_end'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:154:16: style:inconclusive: Function 'permute_args' argument 4 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:190:34: style:inconclusive: Function 'parse_long_options' argument 1 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:190:53: style:inconclusive: Function 'parse_long_options' argument 2 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:191:27: style:inconclusive: Function 'parse_long_options' argument 3 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:191:46: style:inconclusive: Function 'parse_long_options' argument 4 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:191:55: style:inconclusive: Function 'parse_long_options' argument 5 names different: declaration '' definition 'short_too'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:191:70: style:inconclusive: Function 'parse_long_options' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:371:21: style:inconclusive: Function 'getopt_internal' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:371:42: style:inconclusive: Function 'getopt_internal' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:371:61: style:inconclusive: Function 'getopt_internal' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:372:27: style:inconclusive: Function 'getopt_internal' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:372:46: style:inconclusive: Function 'getopt_internal' argument 5 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:372:55: style:inconclusive: Function 'getopt_internal' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:605:16: style:inconclusive: Function 'pkg_getopt' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:605:37: style:inconclusive: Function 'pkg_getopt' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:605:56: style:inconclusive: Function 'pkg_getopt' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:624:21: style:inconclusive: Function 'pkg_getopt_long' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:624:42: style:inconclusive: Function 'pkg_getopt_long' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:624:61: style:inconclusive: Function 'pkg_getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:625:27: style:inconclusive: Function 'pkg_getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:625:46: style:inconclusive: Function 'pkg_getopt_long' argument 5 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:637:26: style:inconclusive: Function 'pkg_getopt_long_only' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:637:47: style:inconclusive: Function 'pkg_getopt_long_only' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:637:66: style:inconclusive: Function 'pkg_getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:638:27: style:inconclusive: Function 'pkg_getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:638:46: style:inconclusive: Function 'pkg_getopt_long_only' argument 5 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] pkgconf-2.5.1/cli/getopt_long.c:193:8: style: Variable 'current_argv' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/getopt_long.c:374:8: style: Variable 'oli' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_UNINSTALLED [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_UNINSTALLED [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_VIRTUAL [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:325:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:338:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_VISITED_PRIVATE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:348:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:461:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_LIST_INITIALIZER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:500:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:541:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_DEPF_QUERY [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:581:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:605:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_LIST_INITIALIZER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:635:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_LIST_INITIALIZER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:704:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_UNINSTALLED [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:715:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:739:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_CMP_ANY [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:760:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:791:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_LIST_INITIALIZER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:816:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_VIRTUAL [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:830:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:839:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:854:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_BUGREPORT [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:860:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_NAME [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:958:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_BUFSIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:1041:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:1079:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_LIST_INITIALIZER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/cli/main.c:178:20: style: Variable 'tuple' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:333:62: style: Parameter 'pkg' can be declared as pointer to const. However it seems that 'print_solution_node' is a callback function, if 'pkg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pkgconf-2.5.1/cli/main.c:346:46: note: You might need to cast the function pointer here pkgconf-2.5.1/cli/main.c:333:62: note: Parameter 'pkg' can be declared as pointer to const pkgconf-2.5.1/cli/main.c:367:26: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:368:19: style: Variable 'pkg' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:421:25: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:422:18: style: Variable 'pkg' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:499:25: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:537:25: style: Variable 'dep' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:549:21: style: Variable 'tuple' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:578:65: style: Parameter 'env_prefix_p' can be declared as pointer to const [constParameterPointer] pkgconf-2.5.1/cli/main.c:699:60: style: Parameter 'pkg' can be declared as pointer to const. However it seems that 'check_uninstalled' is a callback function, if 'pkg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pkgconf-2.5.1/cli/main.c:713:46: note: You might need to cast the function pointer here pkgconf-2.5.1/cli/main.c:699:60: note: Parameter 'pkg' can be declared as pointer to const pkgconf-2.5.1/cli/main.c:811:56: style: Parameter 'pkg' can be declared as pointer to const. However it seems that 'print_license' is a callback function, if 'pkg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pkgconf-2.5.1/cli/main.c:828:46: note: You might need to cast the function pointer here pkgconf-2.5.1/cli/main.c:811:56: note: Parameter 'pkg' can be declared as pointer to const pkgconf-2.5.1/cli/main.c:980:19: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:988:19: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:996:19: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:1004:26: style: Parameter 'argv' can be declared as const array [constParameter] pkgconf-2.5.1/cli/main.c:1083:8: style: Variable 'env_traverse_depth' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/cli/main.c:1117:20: style: Variable 'options' can be declared as const array [constVariable] pkgconf-2.5.1/libpkgconf/audit.c:92:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_CMP_ANY [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/bsdstubs.c:173:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/bsdstubs.c:171:16: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] pkgconf-2.5.1/libpkgconf/cache.c:69:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_FMT_SPECIFIER [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/cache.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_CACHED [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/cache.c:164:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_CACHED [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/client.c:446:40: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_FMT_SPECIFIER is a macro then please configure it. [unknownMacro] pkgconf-2.5.1/libpkgconf/dependency.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/dependency.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_dependency_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/dependency.c:308:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_CMP_ANY [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/dependency.c:488:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_dependency_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/dependency.c:315:8: style: Variable 'package' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/dependency.c:315:25: style: Variable 'version' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/dependency.c:317:8: style: Variable 'cnameend' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/fileio.c:25:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/fileio.c:25:12: style: Redundant initialization for 'c'. The initialized value is overwritten before it is read. [redundantInitialization] pkgconf-2.5.1/libpkgconf/fileio.c:23:8: note: c is initialized pkgconf-2.5.1/libpkgconf/fileio.c:25:12: note: c is overwritten pkgconf-2.5.1/libpkgconf/fragment.c:133:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_UNINSTALLED [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/fragment.c:151:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/fragment.c:175:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_fragment_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/fragment.c:211:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PKGF_DONT_MERGE_SPECIAL_FRAGMENTS [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/fragment.c:408:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_fragment_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/fragment.c:592:13: style: Condition 'quoted!=NULL' is always true [knownConditionTrueFalse] pkgconf-2.5.1/libpkgconf/fragment.c:176:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frag [nullPointerOutOfMemory] pkgconf-2.5.1/libpkgconf/fragment.c:175:15: note: Assuming allocation function fails pkgconf-2.5.1/libpkgconf/fragment.c:175:15: note: Assignment 'frag=calloc(1,sizeof(pkgconf_fragment_t))', assigned value is 0 pkgconf-2.5.1/libpkgconf/fragment.c:176:2: note: Null pointer dereference pkgconf-2.5.1/libpkgconf/fragment.c:177:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frag [nullPointerOutOfMemory] pkgconf-2.5.1/libpkgconf/fragment.c:175:15: note: Assuming allocation function fails pkgconf-2.5.1/libpkgconf/fragment.c:175:15: note: Assignment 'frag=calloc(1,sizeof(pkgconf_fragment_t))', assigned value is 0 pkgconf-2.5.1/libpkgconf/fragment.c:177:2: note: Null pointer dereference pkgconf-2.5.1/libpkgconf/fragment.c:410:2: warning: If memory allocation fails, then there is a possible null pointer dereference: frag [nullPointerOutOfMemory] pkgconf-2.5.1/libpkgconf/fragment.c:408:15: note: Assuming allocation function fails pkgconf-2.5.1/libpkgconf/fragment.c:408:15: note: Assignment 'frag=calloc(1,sizeof(pkgconf_fragment_t))', assigned value is 0 pkgconf-2.5.1/libpkgconf/fragment.c:410:2: note: Null pointer dereference pkgconf-2.5.1/libpkgconf/fragment.c:476:26: warning: Either the condition 'frag->data==NULL' is redundant or there is possible null pointer dereference: src. [nullPointerRedundantCheck] pkgconf-2.5.1/libpkgconf/fragment.c:479:17: note: Assuming that condition 'frag->data==NULL' is not redundant pkgconf-2.5.1/libpkgconf/fragment.c:475:18: note: src is assigned 'frag->data' here. pkgconf-2.5.1/libpkgconf/fragment.c:476:26: note: Null pointer dereference pkgconf-2.5.1/libpkgconf/fragment.c:438:23: style: Variable 'frag' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/fragment.c:574:8: style: Variable 'base' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/parser.c:55:25: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_FMT_SPECIFIER is a macro then please configure it. [unknownMacro] pkgconf-2.5.1/libpkgconf/path.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/path.c:180:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKG_CONFIG_PATH_SEP_S [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/path.c:238:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_ITEM_SIZE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/path.c:276:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_path_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/path.c:311:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_path_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/path.c:180:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] pkgconf-2.5.1/libpkgconf/path.c:247:27: warning:inconclusive: Possible null pointer dereference: n [nullPointer] pkgconf-2.5.1/libpkgconf/path.c:237:22: note: Assignment 'n=NULL', assigned value is 0 pkgconf-2.5.1/libpkgconf/path.c:247:27: note: Null pointer dereference pkgconf-2.5.1/libpkgconf/path.c:40:19: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/path.c:174:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/path.c:247:19: style: Variable 'pnode' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/path.c:274:19: style: Variable 'srcpath' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/path.c:309:19: style: Variable 'srcpath' can be declared as pointer to const [constVariablePointer] pkgconf-2.5.1/libpkgconf/personality.c:331:70: error: There is an unknown macro here somewhere. Configuration is required. If PKG_CONFIG_PATH_SEP_S is a macro then please configure it. [unknownMacro] pkgconf-2.5.1/libpkgconf/pkg.c:183:30: error: There is an unknown macro here somewhere. Configuration is required. If SIZE_FMT_SPECIFIER is a macro then please configure it. [unknownMacro] pkgconf-2.5.1/libpkgconf/queue.c:46:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pkgconf_queue_t [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:75:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_DEPF_QUERY [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_VISITED_PRIVATE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_ERRF_OK [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_STATIC [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:292:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_VIRTUAL [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:321:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PKGF_SEARCH_PRIVATE [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:354:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_STATIC [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PKGCONF_PKG_PROPF_STATIC [valueFlowBailoutIncompleteVar] pkgconf-2.5.1/libpkgconf/queue.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pkgq [nullPointerOutOfMemory] pkgconf-2.5.1/libpkgconf/queue.c:46:32: note: Assuming allocation function fails pkgconf-2.5.1/libpkgconf/queue.c:46:32: note: Assignment 'pkgq=calloc(1,sizeof(pkgconf_queue_t))', assigned value is 0 pkgconf-2.5.1/libpkgconf/queue.c:48:2: note: Null pointer dereference pkgconf-2.5.1/libpkgconf/tuple.c:472:2: error: There is an unknown macro here somewhere. Configuration is required. If PKGCONF_FOREACH_LIST_ENTRY_SAFE is a macro then please configure it. [unknownMacro] diff: head pkgconf-2.5.1/cli/getopt_long.c:133:16: style:inconclusive: Function 'gcd' argument 2 names different: declaration '' definition 'b'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:133:9: style:inconclusive: Function 'gcd' argument 1 names different: declaration '' definition 'a'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:153:18: style:inconclusive: Function 'permute_args' argument 1 names different: declaration '' definition 'panonopt_start'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:153:38: style:inconclusive: Function 'permute_args' argument 2 names different: declaration '' definition 'panonopt_end'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:153:56: style:inconclusive: Function 'permute_args' argument 3 names different: declaration '' definition 'opt_end'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:154:16: style:inconclusive: Function 'permute_args' argument 4 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:190:34: style:inconclusive: Function 'parse_long_options' argument 1 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:190:53: style:inconclusive: Function 'parse_long_options' argument 2 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:191:27: style:inconclusive: Function 'parse_long_options' argument 3 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:191:46: style:inconclusive: Function 'parse_long_options' argument 4 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:191:55: style:inconclusive: Function 'parse_long_options' argument 5 names different: declaration '' definition 'short_too'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:191:70: style:inconclusive: Function 'parse_long_options' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:371:21: style:inconclusive: Function 'getopt_internal' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:371:42: style:inconclusive: Function 'getopt_internal' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:371:61: style:inconclusive: Function 'getopt_internal' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:372:27: style:inconclusive: Function 'getopt_internal' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:372:46: style:inconclusive: Function 'getopt_internal' argument 5 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:372:55: style:inconclusive: Function 'getopt_internal' argument 6 names different: declaration '' definition 'flags'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:605:16: style:inconclusive: Function 'pkg_getopt' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:605:37: style:inconclusive: Function 'pkg_getopt' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:605:56: style:inconclusive: Function 'pkg_getopt' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:624:21: style:inconclusive: Function 'pkg_getopt_long' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:624:42: style:inconclusive: Function 'pkg_getopt_long' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:624:61: style:inconclusive: Function 'pkg_getopt_long' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:625:27: style:inconclusive: Function 'pkg_getopt_long' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:625:46: style:inconclusive: Function 'pkg_getopt_long' argument 5 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:637:26: style:inconclusive: Function 'pkg_getopt_long_only' argument 1 names different: declaration '' definition 'nargc'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:637:47: style:inconclusive: Function 'pkg_getopt_long_only' argument 2 names different: declaration '' definition 'nargv'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:637:66: style:inconclusive: Function 'pkg_getopt_long_only' argument 3 names different: declaration '' definition 'options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:638:27: style:inconclusive: Function 'pkg_getopt_long_only' argument 4 names different: declaration '' definition 'long_options'. [funcArgNamesDifferentUnnamed] head pkgconf-2.5.1/cli/getopt_long.c:638:46: style:inconclusive: Function 'pkg_getopt_long_only' argument 5 names different: declaration '' definition 'idx'. [funcArgNamesDifferentUnnamed] DONE