2026-05-01 15:07 ftp://ftp.de.debian.org/debian/pool/main/d/dextractor/dextractor_1.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 -j6 platform: Linux-7.0.3+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: e5c4a734 (2026-05-01 11:10:43 +0200) count: 128 128 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: DEXTRACTOR-1.0/dexqv.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dexta.c:74:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/undexqv.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dexqv.c:73:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/dexqv.c:125:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/dexqv.c:153:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/dexqv.c:119:25: style: Variable 'read' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dexqv.c:147:22: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dextract.c:192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5E_DEFAULT [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dextract.c:424:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dextract.c:492:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable H5Z_FILTER_DEFLATE [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dexta.c:74:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/dexta.c:137:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/dexta.c:166:23: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/dexta.c:123:18: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dexta.c:160:22: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/undexqv.c:78:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/undexta.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/undexta.c:97:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/undexta.c:102:13: style: Variable 'VERBOSE' is reassigned a value before the old one has been used. [redundantAssignment] DEXTRACTOR-1.0/undexta.c:91:13: note: VERBOSE is assigned DEXTRACTOR-1.0/undexta.c:102:13: note: VERBOSE is overwritten DEXTRACTOR-1.0/DB.c:87:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:111:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:124:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:190:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:210:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:435:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:728:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:1027:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:1246:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:1290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:1365:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:1454:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/DB.c:1499:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dextract.c:513:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/QV.c:375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:612:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:678:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:810:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:931:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:1186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:1314:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/QV.c:1365:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DEXTRACTOR-1.0/dextract.c:274:18: style: Variable 'rlen' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dextract.c:275:16: style: Variable 'hlen' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dextract.c:277:9: style: Variable 'header' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dextract.c:285:11: style: Variable 'fastQV' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/dextract.c:324:18: style: Variable 'top' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/DB.c:133:15: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] DEXTRACTOR-1.0/DB.c:149:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] DEXTRACTOR-1.0/DB.c:415:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] DEXTRACTOR-1.0/DB.c:749:10: style: Obsolescent function 'rindex' called. It is recommended to use 'strrchr' instead. [prohibitedrindexCalled] DEXTRACTOR-1.0/DB.c:458:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DEXTRACTOR-1.0/DB.c:776:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DEXTRACTOR-1.0/DB.c:787:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DEXTRACTOR-1.0/DB.c:812:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DEXTRACTOR-1.0/DB.c:817:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DEXTRACTOR-1.0/DB.c:876:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DEXTRACTOR-1.0/DB.c:990:5: error: Resource leak: afile [resourceLeak] DEXTRACTOR-1.0/DB.c:189:12: error: Common realloc mistake: 'cat' nulled but not freed upon failure [memleakOnRealloc] DEXTRACTOR-1.0/DB.c:209:12: error: Common realloc mistake: 'suffix' nulled but not freed upon failure [memleakOnRealloc] DEXTRACTOR-1.0/DB.c:1490:17: warning: Either the condition 'root==NULL' is redundant or there is possible null pointer dereference: root. [nullPointerRedundantCheck] DEXTRACTOR-1.0/DB.c:1492:12: note: Assuming that condition 'root==NULL' is not redundant DEXTRACTOR-1.0/DB.c:1490:17: note: Null pointer dereference DEXTRACTOR-1.0/DB.c:94:21: style:inconclusive: Function 'Realloc' argument 1 names different: declaration 'object' definition 'p'. [funcArgNamesDifferent] DEXTRACTOR-1.0/DB.h:174:21: note: Function 'Realloc' argument 1 names different: declaration 'object' definition 'p'. DEXTRACTOR-1.0/DB.c:94:21: note: Function 'Realloc' argument 1 names different: declaration 'object' definition 'p'. DEXTRACTOR-1.0/DB.c:104:20: style:inconclusive: Function 'Strdup' argument 1 names different: declaration 'string' definition 'name'. [funcArgNamesDifferent] DEXTRACTOR-1.0/DB.h:175:20: note: Function 'Strdup' argument 1 names different: declaration 'string' definition 'name'. DEXTRACTOR-1.0/DB.c:104:20: note: Function 'Strdup' argument 1 names different: declaration 'string' definition 'name'. DEXTRACTOR-1.0/DB.c:118:19: style:inconclusive: Function 'Fopen' argument 1 names different: declaration 'path' definition 'name'. [funcArgNamesDifferent] DEXTRACTOR-1.0/DB.h:177:19: note: Function 'Fopen' argument 1 names different: declaration 'path' definition 'name'. DEXTRACTOR-1.0/DB.c:118:19: note: Function 'Fopen' argument 1 names different: declaration 'path' definition 'name'. DEXTRACTOR-1.0/DB.c:128:20: style:inconclusive: Function 'PathTo' argument 1 names different: declaration 'path' definition 'name'. [funcArgNamesDifferent] DEXTRACTOR-1.0/DB.h:178:20: note: Function 'PathTo' argument 1 names different: declaration 'path' definition 'name'. DEXTRACTOR-1.0/DB.c:128:20: note: Function 'PathTo' argument 1 names different: declaration 'path' definition 'name'. DEXTRACTOR-1.0/DB.c:143:18: style:inconclusive: Function 'Root' argument 1 names different: declaration 'path' definition 'name'. [funcArgNamesDifferent] DEXTRACTOR-1.0/DB.h:179:18: note: Function 'Root' argument 1 names different: declaration 'path' definition 'name'. DEXTRACTOR-1.0/DB.c:143:18: note: Function 'Root' argument 1 names different: declaration 'path' definition 'name'. DEXTRACTOR-1.0/DB.c:767:19: style: Local variable 'indx' shadows outer variable [shadowVariable] DEXTRACTOR-1.0/DB.c:717:32: note: Shadowed declaration DEXTRACTOR-1.0/DB.c:767:19: note: Shadow variable DEXTRACTOR-1.0/DB.c:82:32: style: Parameter 'mesg' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:94:42: style: Parameter 'mesg' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:104:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:104:32: style: Parameter 'mesg' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:118:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:118:31: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:143:30: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:176:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:176:34: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:176:45: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:176:57: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:198:29: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:198:50: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:292:24: style: Variable 's3' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/DB.c:315:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/DB.c:338:15: style: Variable 'letter' can be declared as const array [constVariable] DEXTRACTOR-1.0/DB.c:346:15: style: Variable 'letter' can be declared as const array [constVariable] DEXTRACTOR-1.0/DB.c:356:15: style: Variable 'number' can be declared as const array [constVariable] DEXTRACTOR-1.0/DB.c:398:38: style: Variable 'cat' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/DB.c:721:25: style: Variable 'nx' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/DB.c:1023:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/DB.c:1193:37: style: Parameter 'track' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:1224:32: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:1341:31: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/DB.c:1561:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:902:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] DEXTRACTOR-1.0/QV.c:903:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] DEXTRACTOR-1.0/QV.c:904:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] DEXTRACTOR-1.0/QV.c:905:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] DEXTRACTOR-1.0/QV.c:934:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] DEXTRACTOR-1.0/QV.c:79:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:184:33: style: Parameter 'hist' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:184:48: style: Parameter 'inscheme' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:340:11: style: Variable 'bits' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:341:11: style: Variable 'lens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:423:55: style: Parameter 'read' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:426:11: style: Variable 'nlens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:427:11: style: Variable 'nbits' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:485:72: style: Parameter 'read' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:488:11: style: Variable 'nlens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:488:19: style: Variable 'rlens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:489:11: style: Variable 'nbits' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:489:19: style: Variable 'rbits' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:548:11: style: Variable 'look' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:548:18: style: Variable 'lens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:552:11: style: Variable 'xpart' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:553:11: style: Variable 'cpart' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:643:11: style: Variable 'nlook' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:643:19: style: Variable 'nlens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:644:11: style: Variable 'rlook' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:644:19: style: Variable 'rlens' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:648:11: style: Variable 'xpart' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:649:11: style: Variable 'cpart' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:739:49: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:746:48: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:841:39: style: Parameter 'qvs' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:854:32: style: Parameter 'qvs' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:868:52: style: Parameter 'qvs' can be declared as pointer to const [constParameterPointer] DEXTRACTOR-1.0/QV.c:897:9: style: Variable 'slash' can be declared as pointer to const [constVariablePointer] DEXTRACTOR-1.0/QV.c:960:17: style: Variable 'del' can be declared as pointer to const [constVariablePointer] diff: DONE