2024-04-24 19:47 ftp://ftp.de.debian.org/debian/pool/main/g/gff2aplot/gff2aplot_2.0.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 -j4 platform: Linux-6.5.0-28-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.57 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 cppcheck: head 2.14.0 head-info: 94f28a2 (2024-04-24 20:47:54 +0200) count: 69 69 elapsed-time: 3.1 3.1 head-timing-info: old-timing-info: head results: gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:144:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:176:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:255:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:451:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1004:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1186:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1211:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1241:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:261:39: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:457:39: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1013:39: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:474:7: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:474:7: warning: %ld in format string (no. 2) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:474:7: warning: %ld in format string (no. 3) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:484:10: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:519:31: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:519:31: warning: %ld in format string (no. 2) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:519:31: warning: %ld in format string (no. 3) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:523:17: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:523:17: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:561:19: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:561:19: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:607:19: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:607:19: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:607:19: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:607:19: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:627:20: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:627:20: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:715:7: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:715:7: warning: %ld in format string (no. 2) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:715:7: warning: %ld in format string (no. 3) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:725:10: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:760:31: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:760:31: warning: %ld in format string (no. 2) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:760:31: warning: %ld in format string (no. 3) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:764:17: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:764:17: portability: %d in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:802:19: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:802:19: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:848:19: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:848:19: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:848:19: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:848:19: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:868:20: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:868:20: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1098:21: warning: %ld in format string (no. 1) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1098:21: warning: %ld in format string (no. 2) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1098:21: warning: %ld in format string (no. 3) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1098:21: warning: %ld in format string (no. 4) requires 'long *' but the argument type is 'unsigned long *'. [invalidScanfArgType_int] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:110:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:118:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:193:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:274:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:278:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:332:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1031:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1024:14: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1007:6: note: ptr is assigned gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1024:14: note: ptr is overwritten gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:88:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:172:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:220:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:221:8: style: Variable 'cptr' can be declared as pointer to const [constVariablePointer] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:408:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:974:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:255:85: error: Uninitialized variable: line [uninitvar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:451:85: error: Uninitialized variable: line [uninitvar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:1004:85: error: Uninitialized variable: line [uninitvar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:507:13: error: Uninitialized variable: err [legacyUninitvar] gff2aplot-2.0.orig/src/ali2gff/ali2gff.c:748:13: error: Uninitialized variable: err [legacyUninitvar] diff: DONE