2025-05-09 17:24 ftp://ftp.de.debian.org/debian/pool/main/c/chemfp/chemfp_1.1p1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --library=python --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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 120 120 elapsed-time: 4.7 3.8 head-timing-info: old-timing-info: head results: chemfp-1.1p1/src/bitops.c:83:45: style:inconclusive: Function 'chemfp_hex_isvalid' argument 2 names different: declaration 'fp' definition 'sfp'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:107:45: note: Function 'chemfp_hex_isvalid' argument 2 names different: declaration 'fp' definition 'sfp'. chemfp-1.1p1/src/bitops.c:83:45: note: Function 'chemfp_hex_isvalid' argument 2 names different: declaration 'fp' definition 'sfp'. chemfp-1.1p1/src/bitops.c:96:46: style:inconclusive: Function 'chemfp_hex_popcount' argument 2 names different: declaration 'fp' definition 'sfp'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:110:46: note: Function 'chemfp_hex_popcount' argument 2 names different: declaration 'fp' definition 'sfp'. chemfp-1.1p1/src/bitops.c:96:46: note: Function 'chemfp_hex_popcount' argument 2 names different: declaration 'fp' definition 'sfp'. chemfp-1.1p1/src/bitops.c:113:56: style:inconclusive: Function 'chemfp_hex_intersect_popcount' argument 2 names different: declaration 'fp1' definition 'sfp1'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:114:56: note: Function 'chemfp_hex_intersect_popcount' argument 2 names different: declaration 'fp1' definition 'sfp1'. chemfp-1.1p1/src/bitops.c:113:56: note: Function 'chemfp_hex_intersect_popcount' argument 2 names different: declaration 'fp1' definition 'sfp1'. chemfp-1.1p1/src/bitops.c:113:74: style:inconclusive: Function 'chemfp_hex_intersect_popcount' argument 3 names different: declaration 'fp2' definition 'sfp2'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:114:73: note: Function 'chemfp_hex_intersect_popcount' argument 3 names different: declaration 'fp2' definition 'sfp2'. chemfp-1.1p1/src/bitops.c:113:74: note: Function 'chemfp_hex_intersect_popcount' argument 3 names different: declaration 'fp2' definition 'sfp2'. chemfp-1.1p1/src/bitops.c:135:49: style:inconclusive: Function 'chemfp_hex_tanimoto' argument 2 names different: declaration 'fp1' definition 'sfp1'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:118:49: note: Function 'chemfp_hex_tanimoto' argument 2 names different: declaration 'fp1' definition 'sfp1'. chemfp-1.1p1/src/bitops.c:135:49: note: Function 'chemfp_hex_tanimoto' argument 2 names different: declaration 'fp1' definition 'sfp1'. chemfp-1.1p1/src/bitops.c:135:67: style:inconclusive: Function 'chemfp_hex_tanimoto' argument 3 names different: declaration 'fp2' definition 'sfp2'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:118:66: note: Function 'chemfp_hex_tanimoto' argument 3 names different: declaration 'fp2' definition 'sfp2'. chemfp-1.1p1/src/bitops.c:135:67: note: Function 'chemfp_hex_tanimoto' argument 3 names different: declaration 'fp2' definition 'sfp2'. chemfp-1.1p1/src/bitops.c:193:46: style:inconclusive: Function 'chemfp_hex_contains' argument 2 names different: declaration 'query_fp' definition 'squery_fp'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:122:46: note: Function 'chemfp_hex_contains' argument 2 names different: declaration 'query_fp' definition 'squery_fp'. chemfp-1.1p1/src/bitops.c:193:46: note: Function 'chemfp_hex_contains' argument 2 names different: declaration 'query_fp' definition 'squery_fp'. chemfp-1.1p1/src/bitops.c:194:37: style:inconclusive: Function 'chemfp_hex_contains' argument 3 names different: declaration 'target_fp' definition 'starget_fp'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:122:68: note: Function 'chemfp_hex_contains' argument 3 names different: declaration 'target_fp' definition 'starget_fp'. chemfp-1.1p1/src/bitops.c:194:37: note: Function 'chemfp_hex_contains' argument 3 names different: declaration 'target_fp' definition 'starget_fp'. chemfp-1.1p1/src/bitops.c:286:45: style:inconclusive: Function 'chemfp_byte_hex_tanimoto' argument 3 names different: declaration 'hex_fp' definition 'shex_fp'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:139:45: note: Function 'chemfp_byte_hex_tanimoto' argument 3 names different: declaration 'hex_fp' definition 'shex_fp'. chemfp-1.1p1/src/bitops.c:286:45: note: Function 'chemfp_byte_hex_tanimoto' argument 3 names different: declaration 'hex_fp' definition 'shex_fp'. chemfp-1.1p1/src/chemfp.c:56:28: style:inconclusive: Function 'chemfp_get_option_name' argument 1 names different: declaration 'index' definition 'i'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:41:40: note: Function 'chemfp_get_option_name' argument 1 names different: declaration 'index' definition 'i'. chemfp-1.1p1/src/chemfp.c:56:28: note: Function 'chemfp_get_option_name' argument 1 names different: declaration 'index' definition 'i'. chemfp-1.1p1/src/hits.c:323:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/hits.c:323:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] chemfp-1.1p1/src/hits.c:328:7: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] chemfp-1.1p1/src/hits.c:623:5: error: Memory leak: counts [memleak] chemfp-1.1p1/src/hits.c:583:17: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] chemfp-1.1p1/src/hits.c:595:21: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] chemfp-1.1p1/src/hits.c:596:17: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] chemfp-1.1p1/src/hits.c:646:19: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] chemfp-1.1p1/src/hits.c:653:23: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] chemfp-1.1p1/src/hits.c:654:19: portability: Casting from double * to signed int * is not portable due to different binary data representations on different platforms. [invalidPointerCast] chemfp-1.1p1/src/hits.c:550:55: style:inconclusive: Function 'chemfp_alloc_search_results' argument 1 names different: declaration 'num_results' definition 'size'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:95:55: note: Function 'chemfp_alloc_search_results' argument 1 names different: declaration 'num_results' definition 'size'. chemfp-1.1p1/src/hits.c:550:55: note: Function 'chemfp_alloc_search_results' argument 1 names different: declaration 'num_results' definition 'size'. chemfp-1.1p1/src/hits.c:565:47: style:inconclusive: Function 'chemfp_get_num_hits' argument 1 names different: declaration 'results' definition 'result'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:97:47: note: Function 'chemfp_get_num_hits' argument 1 names different: declaration 'results' definition 'result'. chemfp-1.1p1/src/hits.c:565:47: note: Function 'chemfp_get_num_hits' argument 1 names different: declaration 'results' definition 'result'. chemfp-1.1p1/src/hits.c:565:47: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/hits.c:127:7: style: Variable 'rx1' is assigned a value that is never used. [unreadVariable] chemfp-1.1p1/src/hits.c:128:7: style: Variable 'rx2' is assigned a value that is never used. [unreadVariable] chemfp-1.1p1/src/hits.c:139:11: style: Variable 'rx1' is assigned a value that is never used. [unreadVariable] chemfp-1.1p1/src/hits.c:140:11: style: Variable 'rx2' is assigned a value that is never used. [unreadVariable] chemfp-1.1p1/src/cpuid.h:110:43: style: Condition 'cpuid(info,&eax,&ebx,&ecx,&edx)!=-1' is always false [knownConditionTrueFalse] chemfp-1.1p1/src/cpuid.h:110:12: note: Calling function 'cpuid' returns -1 chemfp-1.1p1/src/cpuid.h:110:43: note: Condition 'cpuid(info,&eax,&ebx,&ecx,&edx)!=-1' is always false chemfp-1.1p1/src/popcount_gillies.c:20:42: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_gillies.c:41:52: style: Parameter 'fp1' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_gillies.c:41:67: style: Parameter 'fp2' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_lauradoux.c:28:31: style:inconclusive: Function 'chemfp_popcount_lauradoux' argument 1 names different: declaration 'size' definition 'byte_size'. [funcArgNamesDifferent] chemfp-1.1p1/src/popcount.h:63:35: note: Function 'chemfp_popcount_lauradoux' argument 1 names different: declaration 'size' definition 'byte_size'. chemfp-1.1p1/src/popcount_lauradoux.c:28:31: note: Function 'chemfp_popcount_lauradoux' argument 1 names different: declaration 'size' definition 'byte_size'. chemfp-1.1p1/src/popcount_lauradoux.c:97:41: style:inconclusive: Function 'chemfp_intersect_popcount_lauradoux' argument 1 names different: declaration 'size' definition 'byte_size'. [funcArgNamesDifferent] chemfp-1.1p1/src/popcount.h:64:45: note: Function 'chemfp_intersect_popcount_lauradoux' argument 1 names different: declaration 'size' definition 'byte_size'. chemfp-1.1p1/src/popcount_lauradoux.c:97:41: note: Function 'chemfp_intersect_popcount_lauradoux' argument 1 names different: declaration 'size' definition 'byte_size'. chemfp-1.1p1/src/popcount_lut.c:4133:41: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_lut.c:4150:51: style: Parameter 'fp1' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_lut.c:4150:66: style: Parameter 'fp2' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_lut.c:4169:42: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_lut.c:4185:52: style: Parameter 'fp1' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_lut.c:4185:67: style: Parameter 'fp2' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/popcount_popcnt.c:81:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] chemfp-1.1p1/src/popcount_popcnt.c:109:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] chemfp-1.1p1/src/pysearch_results.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:55:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:100:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:115:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:150:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:223:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:392:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:472:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:550:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:564:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:720:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/pysearch_results.c:720:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] chemfp-1.1p1/src/pysearch_results.c:89:37: style: Parameter 'result' can be declared as pointer to const. However it seems that 'SearchResults_length' is a callback function, if 'result' is declared with const you might also need to cast function pointer(s). [constParameterCallback] chemfp-1.1p1/src/pysearch_results.c:762:14: note: You might need to cast the function pointer here chemfp-1.1p1/src/pysearch_results.c:89:37: note: Parameter 'result' can be declared as pointer to const chemfp-1.1p1/src/pysearch_results.c:112:31: style: Parameter 'min_score_obj' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/pysearch_results.c:112:56: style: Parameter 'max_score_obj' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/pysearch_results.c:226:11: style: Variable 'scores' can be declared as pointer to const [constVariablePointer] chemfp-1.1p1/src/pysearch_results.c:308:11: style: Variable 'scores' can be declared as pointer to const [constVariablePointer] chemfp-1.1p1/src/pysearch_results.c:395:11: style: Variable 'scores' can be declared as pointer to const [constVariablePointer] chemfp-1.1p1/src/pysearch_results.c:475:11: style: Variable 'scores' can be declared as pointer to const [constVariablePointer] chemfp-1.1p1/src/python_api.c:60:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:92:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:170:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:195:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:220:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:240:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:249:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:258:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:280:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:307:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:327:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:336:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:349:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:359:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:370:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:394:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:439:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:482:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:496:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:834:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:897:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1036:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1145:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1347:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1408:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1455:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1480:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1505:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1530:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1605:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1623:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1640:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1669:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/python_api.c:1824:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] chemfp-1.1p1/src/python_api.c:432:6: warning: Possible null pointer dereference: popcount_indices_ptr [nullPointer] chemfp-1.1p1/src/python_api.c:1041:68: note: Calling function 'bad_popcount_indices', 5th argument 'NULL' value is 0 chemfp-1.1p1/src/python_api.c:432:6: note: Null pointer dereference chemfp-1.1p1/src/python_api.c:428:8: style: Variable 'popcount_indices' can be declared as pointer to const [constVariablePointer] chemfp-1.1p1/src/python_api.c:977:46: style: Parameter 'ordering' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:28:5: error: There is an unknown macro here somewhere. Configuration is required. If RENAME is a macro then please configure it. [unknownMacro] chemfp-1.1p1/src/search_core.c:609:14: style:inconclusive: Function 'chemfp_count_tanimoto_hits_arena_symmetric' argument 9 names different: declaration 'popcount_indices' definition 'target_popcount_indices'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:354:14: note: Function 'chemfp_count_tanimoto_hits_arena_symmetric' argument 9 names different: declaration 'popcount_indices' definition 'target_popcount_indices'. chemfp-1.1p1/src/search_core.c:609:14: note: Function 'chemfp_count_tanimoto_hits_arena_symmetric' argument 9 names different: declaration 'popcount_indices' definition 'target_popcount_indices'. chemfp-1.1p1/src/search_core.c:932:14: style:inconclusive: Function 'chemfp_knearest_tanimoto_arena_symmetric' argument 10 names different: declaration 'target_popcount_indices' definition 'popcount_indices'. [funcArgNamesDifferent] chemfp-1.1p1/src/chemfp.h:399:14: note: Function 'chemfp_knearest_tanimoto_arena_symmetric' argument 10 names different: declaration 'target_popcount_indices' definition 'popcount_indices'. chemfp-1.1p1/src/search_core.c:932:14: note: Function 'chemfp_knearest_tanimoto_arena_symmetric' argument 10 names different: declaration 'target_popcount_indices' definition 'popcount_indices'. chemfp-1.1p1/src/searches.c:173:61: style: Parameter 'results_end' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:44:14: style: Parameter 'target_popcount_indices' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:191:14: style: Parameter 'target_popcount_indices' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:432:14: style: Parameter 'target_popcount_indices' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:609:14: style: Parameter 'target_popcount_indices' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:788:14: style: Parameter 'popcount_indices' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/search_core.c:932:14: style: Parameter 'popcount_indices' can be declared as pointer to const [constParameterPointer] chemfp-1.1p1/src/select_popcount.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/select_popcount.c:379:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/select_popcount.c:461:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/select_popcount.c:854:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] chemfp-1.1p1/src/select_popcount.c:770:33: style: Variable 'end_buffer' can be declared as pointer to const [constVariablePointer] diff: DONE