2025-11-21 13:05 ftp://ftp.de.debian.org/debian/pool/main/g/glam2/glam2_1064.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.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 5374cd3 (2025-11-20 15:35:39 +0100) count: 236 235 elapsed-time: 0.7 0.8 head-timing-info: old-timing-info: head results: glam2-1064/purge/afnio.c:12:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/afnio.c:24:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/afnio.c:42:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/afnio.c:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/dheap.c:8:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/dheap.c:106:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/afnio.c:3:23: style: Parameter 'fstring' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:3:37: style: Parameter 'subfile' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:3:51: style: Parameter 'cmnd' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:18:27: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:18:54: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:38:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:38:55: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/afnio.c:53:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/alphabet.c:11:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/alphabet.c:30:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/alphabet.c:59:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/alphabet.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/alphabet.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/dheap.c:71:24: style:inconclusive: Function 'minchildHeap' argument 1 names different: declaration 'i' definition 'x'. [funcArgNamesDifferent] glam2-1064/purge/dheap.h:27:24: note: Function 'minchildHeap' argument 1 names different: declaration 'i' definition 'x'. glam2-1064/purge/dheap.c:71:24: note: Function 'minchildHeap' argument 1 names different: declaration 'i' definition 'x'. glam2-1064/purge/dheap.c:106:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/block.c:14:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:46:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/karlin.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:61:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:70:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:80:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:183:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:239:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:374:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:420:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:432:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:476:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/alphabet.c:67:22: style:inconclusive: Function 'MkAlpha' argument 1 names different: declaration 'map_S' definition 'map_s'. [funcArgNamesDifferent] glam2-1064/purge/alphabet.h:39:22: note: Function 'MkAlpha' argument 1 names different: declaration 'map_S' definition 'map_s'. glam2-1064/purge/alphabet.c:67:22: note: Function 'MkAlpha' argument 1 names different: declaration 'map_S' definition 'map_s'. glam2-1064/purge/alphabet.c:3:56: style: Parameter 'comp' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/alphabet.c:36:24: style: Parameter 'prs' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/alphabet.c:67:22: style: Parameter 'map_s' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/alphabet.c:107:24: style: Parameter 'R' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/alphabet.c:204:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/mheap.c:8:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/gblast.c:16:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/gblast.c:330:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/mlist.c:12:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/mlist.c:63:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/karlin.c:73:43: style: Parameter 'pr' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/karlin.c:77:22: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/karlin.c:77:28: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/karlin.c:157:61: style: Parameter 'freq' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/karlin.c:148:40: warning: Uninitialized variable: ratio [uninitvar] glam2-1064/purge/karlin.c:133:40: note: Assuming condition is false glam2-1064/purge/karlin.c:148:40: note: Uninitialized variable: ratio glam2-1064/purge/mlist.c:63:27: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/pmain.c:11:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/block.c:459:6: style: The comparison 'j > 0' is always false. [knownConditionTrueFalse] glam2-1064/purge/block.c:448:11: note: 'j' is assigned value '0' here. glam2-1064/purge/block.c:459:6: note: The comparison 'j > 0' is always false. glam2-1064/purge/block.c:314:30: error: Expression '(B2->b[e]=B1->b[e])&B2->b[e]' depends on order of evaluation of side effects [unknownEvaluationOrder] glam2-1064/purge/block.c:92:36: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:210:27: style: Variable 'list1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:211:27: style: Variable 'list2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:213:26: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:213:36: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:321:26: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:321:36: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:322:27: style: Variable 'list' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:324:26: style: Variable 'card' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:343:26: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:343:36: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:344:27: style: Variable 'list' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:358:26: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:358:36: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:359:27: style: Variable 'list' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:360:26: style: Variable 'card' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:389:26: style: Variable 'b' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:389:35: style: Variable 'card' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:390:27: style: Variable 'list' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:476:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/block.c:482:26: style: Variable 'eb' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:482:36: style: Variable 'b' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:485:26: style: Variable 'card' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/block.c:15:53: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] glam2-1064/purge/block.c:15:49: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] glam2-1064/purge/gblast.c:67:7: style: Variable 'time1' is reassigned a value before the old one has been used. [redundantAssignment] glam2-1064/purge/gblast.c:60:7: note: time1 is assigned glam2-1064/purge/gblast.c:67:7: note: time1 is overwritten glam2-1064/purge/gblast.c:9:15: style: Variable 'b0' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/gblast.c:9:19: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/gblast.c:9:23: style: Variable 'b2' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/gblast.c:300:25: style: Variable 'end' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/gblast.c:330:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/gblast.c:67:7: style: Variable 'time1' is assigned a value that is never used. [unreadVariable] glam2-1064/purge/gblast.c:72:4: style: Variable 'R' is assigned a value that is never used. [unreadVariable] glam2-1064/purge/gblast.c:156:37: style: Variable 'hits' is assigned a value that is never used. [unreadVariable] glam2-1064/purge/gblast.c:180:9: style: Variable 'hits' is assigned a value that is never used. [unreadVariable] glam2-1064/purge/pairaln.c:138:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/pairaln.c:231:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/purge.c:21:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:22:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:82:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:108:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:131:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:169:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:230:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:241:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:322:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:364:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:398:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:9:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:89:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:112:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:149:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:170:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:183:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:276:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:303:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:557:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:611:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:651:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/purge.c:110:7: style: Variable 'E' is assigned a value that is never used. [unreadVariable] glam2-1064/purge/purge.c:22:2: style: Variable 'list' is allocated memory that is never used. [unusedAllocatedMemory] glam2-1064/purge/pairaln.c:22:35: style: Parameter 'seq1' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/pairaln.c:22:56: style: Parameter 'seq2' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/pairaln.c:60:38: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/pairaln.c:96:40: style: Parameter 'seq1' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/pairaln.c:96:61: style: Parameter 'seq2' can be declared as pointer to const [constParameterPointer] glam2-1064/src/alignment.c:29:13: style: Variable 'beg' can be declared as pointer to const [constVariablePointer] glam2-1064/src/alignment.c:37:13: style: Variable 'name' can be declared as pointer to const [constVariablePointer] glam2-1064/src/alignment.c:38:13: style: Variable 'start' can be declared as pointer to const [constVariablePointer] glam2-1064/src/alignment.c:39:13: style: Variable 'seq' can be declared as pointer to const [constVariablePointer] glam2-1064/src/alphabet.c:64:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/purge/seqset.c:69:22: style:inconclusive: Function 'SeqSet' argument 1 names different: declaration 'name' definition 'filename'. [funcArgNamesDifferent] glam2-1064/purge/seqset.h:47:23: note: Function 'SeqSet' argument 1 names different: declaration 'name' definition 'filename'. glam2-1064/purge/seqset.c:69:22: note: Function 'SeqSet' argument 1 names different: declaration 'name' definition 'filename'. glam2-1064/purge/seqset.c:99:22: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/seqset.c:158:7: style: Variable 'xnualpha' can be declared as const array [constVariable] glam2-1064/purge/seqset.c:159:9: style: Variable 'xnufreq' can be declared as const array [constVariable] glam2-1064/purge/seqset.c:211:18: style: Variable 'freq' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/seqset.c:332:10: style: Variable 'freq' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/seqset.c:397:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/src/args.c:106:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] glam2-1064/src/convolve.c:38:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/convolve.c:58:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FFTW_MEASURE [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:24:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:163:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:179:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:225:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/column_sample.c:258:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/dirichlet.c:301:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/dna_prior.c:4:10: style: Variable 'a' can be declared as const array [constVariable] glam2-1064/src/dna_prior.c:5:10: style: Variable 'w' can be declared as const array [constVariable] glam2-1064/src/fasta.c:105:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/fasta.c:133:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/fasta.c:157:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/fasta.c:35:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rcseq [nullPointerOutOfMemory] glam2-1064/src/fasta.c:32:23: note: Assuming allocation function fails glam2-1064/src/fasta.c:32:23: note: Assignment 'rcseq=xmalloc(seqlen*sizeof(int))', assigned value is 0 glam2-1064/src/fasta.c:35:5: note: Null pointer dereference glam2-1064/src/glam2.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/src/glam2.c:163:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:577:10: style: The if condition is the same as the previous if condition [duplicateCondition] glam2-1064/purge/sequence.c:548:14: note: 'ascend' is assigned value '1' here. glam2-1064/purge/sequence.c:549:15: note: 'descend' is assigned value '1' here. glam2-1064/purge/sequence.c:576:10: note: First condition glam2-1064/purge/sequence.c:577:10: note: Second condition glam2-1064/purge/sequence.c:589:9: style: The if condition is the same as the previous if condition [duplicateCondition] glam2-1064/purge/sequence.c:548:14: note: 'ascend' is assigned value '1' here. glam2-1064/purge/sequence.c:549:15: note: 'descend' is assigned value '1' here. glam2-1064/purge/sequence.c:588:9: note: First condition glam2-1064/purge/sequence.c:589:9: note: Second condition glam2-1064/purge/sequence.c:247:21: style: Condition 'i>(long)E->n' is always false [knownConditionTrueFalse] glam2-1064/purge/sequence.c:247:12: note: Assuming that condition 'i<1' is not redundant glam2-1064/purge/sequence.c:247:21: note: Condition 'i>(long)E->n' is always false glam2-1064/purge/sequence.c:562:9: style: The comparison 'scut != 0' is always false. [knownConditionTrueFalse] glam2-1064/purge/sequence.c:553:12: note: 'scut' is assigned value '0' here. glam2-1064/purge/sequence.c:562:9: note: The comparison 'scut != 0' is always false. glam2-1064/purge/sequence.c:97:25: style: Parameter 'DBS_NAME' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/sequence.c:201:47: style: Parameter 'freq' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/sequence.c:220:39: style: Parameter 'freq' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/sequence.c:398:34: style: Parameter 'seq1' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/sequence.c:398:46: style: Parameter 'seq2' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/sequence.c:546:9: style: Variable 'is' can be declared as pointer to const [constVariablePointer] glam2-1064/purge/sequence.c:601:25: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] glam2-1064/purge/sequence.c:651:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] glam2-1064/src/glam2mask.c:16:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/glam2mask.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] glam2-1064/purge/sequence.c:439:10: style: Variable 'score' is assigned a value that is never used. [unreadVariable] glam2-1064/purge/sequence.c:444:10: style: Variable 'score' is assigned a value that is never used. [unreadVariable] glam2-1064/src/glam2.c:176:3: warning: If memory allocation fails, then there is a possible null pointer dereference: alns [nullPointerOutOfMemory] glam2-1064/src/glam2.c:159:3: note: Assuming allocation function fails glam2-1064/src/glam2.c:159:3: note: Assignment 'alns=xmalloc(d.a.runs*sizeof(*(alns)))', assigned value is 0 glam2-1064/src/glam2.c:176:3: note: Null pointer dereference glam2-1064/src/glam2mask.c:23:35: warning: If memory allocation fails, then there is a possible null pointer dereference: title [nullPointerOutOfMemory] glam2-1064/src/glam2mask.c:19:26: note: Assuming allocation function fails glam2-1064/src/glam2mask.c:19:26: note: Assignment 'title=xstrdup(f.title)', assigned value is 0 glam2-1064/src/glam2mask.c:23:35: note: Null pointer dereference glam2-1064/src/glam2format.c:322:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] glam2-1064/src/init.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: probs [nullPointerOutOfMemory] glam2-1064/src/init.c:40:26: note: Assuming allocation function fails glam2-1064/src/init.c:40:26: note: Assignment 'probs=xmalloc(alph_size*sizeof(double))', assigned value is 0 glam2-1064/src/init.c:54:5: note: Null pointer dereference glam2-1064/src/init.c:54:17: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] glam2-1064/src/init.c:39:24: note: Assuming allocation function fails glam2-1064/src/init.c:39:24: note: Assignment 'counts=xcalloc(alph_size+1,sizeof(int))', assigned value is 0 glam2-1064/src/init.c:54:17: note: Null pointer dereference glam2-1064/src/init.c:57:5: warning: If memory allocation fails, then there is a possible null pointer dereference: log_probs [nullPointerOutOfMemory] glam2-1064/src/init.c:41:30: note: Assuming allocation function fails glam2-1064/src/init.c:41:30: note: Assignment 'log_probs=xmalloc(alph_size*sizeof(double))', assigned value is 0 glam2-1064/src/init.c:57:5: note: Null pointer dereference glam2-1064/src/init.c:57:25: warning: If memory allocation fails, then there is a possible null pointer dereference: probs [nullPointerOutOfMemory] glam2-1064/src/init.c:40:26: note: Assuming allocation function fails glam2-1064/src/init.c:40:26: note: Assignment 'probs=xmalloc(alph_size*sizeof(double))', assigned value is 0 glam2-1064/src/init.c:57:25: note: Null pointer dereference glam2-1064/src/output.c:14:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/output.c:45:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/recode3_20comp.c:4:10: style: Variable 'a' can be declared as const array [constVariable] glam2-1064/src/recode3_20comp.c:27:10: style: Variable 'w' can be declared as const array [constVariable] glam2-1064/src/glam2format.c:251:14: warning: If memory allocation fails, then there is a possible null pointer dereference: new_seq [nullPointerOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:251:14: note: Null pointer dereference glam2-1064/src/glam2format.c:258:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new_seq [nullPointerOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:258:7: note: Null pointer dereference glam2-1064/src/glam2format.c:252:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:252:24: note: Null pointer addition glam2-1064/src/glam2format.c:253:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:253:22: note: Null pointer addition glam2-1064/src/glam2format.c:254:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:254:22: note: Null pointer addition glam2-1064/src/glam2format.c:255:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:255:22: note: Null pointer addition glam2-1064/src/glam2format.c:256:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:256:24: note: Null pointer addition glam2-1064/src/glam2format.c:257:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] glam2-1064/src/glam2format.c:249:30: note: Assuming allocation function fails glam2-1064/src/glam2format.c:249:30: note: Assignment 'new_seq=xmalloc(tot_len+1)', assigned value is 0 glam2-1064/src/glam2format.c:257:22: note: Null pointer addition glam2-1064/src/scan_args.c:62:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] glam2-1064/src/output.c:32:5: warning: If memory allocation fails, then there is a possible null pointer dereference: max_insert [nullPointerOutOfMemory] glam2-1064/src/output.c:27:28: note: Assuming allocation function fails glam2-1064/src/output.c:27:28: note: Assignment 'max_insert=xmalloc(width*sizeof(int))', assigned value is 0 glam2-1064/src/output.c:32:5: note: Null pointer dereference glam2-1064/src/output.c:37:18: warning: If memory allocation fails, then there is a possible null pointer dereference: max_insert [nullPointerOutOfMemory] glam2-1064/src/output.c:27:28: note: Assuming allocation function fails glam2-1064/src/output.c:27:28: note: Assignment 'max_insert=xmalloc(width*sizeof(int))', assigned value is 0 glam2-1064/src/output.c:37:18: note: Null pointer dereference glam2-1064/src/output.c:90:5: warning: If memory allocation fails, then there is a possible null pointer dereference: max_insert [nullPointerOutOfMemory] glam2-1064/src/output.c:82:28: note: Assuming allocation function fails glam2-1064/src/output.c:82:28: note: Assignment 'max_insert=xmalloc(width*sizeof(int))', assigned value is 0 glam2-1064/src/output.c:90:5: note: Null pointer dereference glam2-1064/src/scan.c:156:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/scan.c:195:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/scan.c:262:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/scan_init.c:88:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/scan.c:57:7: warning: If memory allocation fails, then there is a possible null pointer dereference: seq2 [nullPointerOutOfMemory] glam2-1064/src/scan.c:50:22: note: Assuming allocation function fails glam2-1064/src/scan.c:50:22: note: Assignment 'seq2=xmalloc(aln_size*sizeof(int))', assigned value is 0 glam2-1064/src/scan.c:57:7: note: Null pointer dereference glam2-1064/src/scan.c:58:7: warning: If memory allocation fails, then there is a possible null pointer dereference: seq1 [nullPointerOutOfMemory] glam2-1064/src/scan.c:49:22: note: Assuming allocation function fails glam2-1064/src/scan.c:49:22: note: Assignment 'seq1=xmalloc(aln_size*sizeof(int))', assigned value is 0 glam2-1064/src/scan.c:58:7: note: Null pointer dereference glam2-1064/src/scan.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: seq1 [nullPointerOutOfMemory] glam2-1064/src/scan.c:49:22: note: Assuming allocation function fails glam2-1064/src/scan.c:49:22: note: Assignment 'seq1=xmalloc(aln_size*sizeof(int))', assigned value is 0 glam2-1064/src/scan.c:65:5: note: Null pointer dereference glam2-1064/src/util.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:252:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:298:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:306:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:314:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:388:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:404:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:411:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:426:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:496:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:506:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:517:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:528:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:538:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:549:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:559:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] glam2-1064/src/scan.c:12:24: style: Parameter 'vec' can be declared as pointer to const [constParameterPointer] glam2-1064/src/site_sample.c:40:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/site_sample.c:61:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable positions [valueFlowBailoutIncompleteVar] glam2-1064/src/site_sample.c:334:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/site_sample.c:402:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] glam2-1064/src/util.c:322:16: error: Returning pointer to local variable 't' that will be invalid when returning. [returnDanglingLifetime] glam2-1064/src/util.c:322:17: note: Passed to 'strcpy'. glam2-1064/src/util.c:319:9: note: Variable created here. glam2-1064/src/util.c:322:16: note: Returning pointer to local variable 't' that will be invalid when returning. glam2-1064/src/util.c:507:11: warning: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] glam2-1064/src/util.c:228:18: note: Assignment 'sum=0', assigned value is 0 glam2-1064/src/util.c:230:16: note: Assuming condition is false glam2-1064/src/util.c:232:17: note: Calling function 'xlog', 1st argument 'sum' value is 0 glam2-1064/src/util.c:507:11: note: Invalid argument glam2-1064/src/util.c:322:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] glam2-1064/src/util.c:321:14: note: Assuming allocation function fails glam2-1064/src/util.c:321:14: note: Assignment 't=xmalloc(strlen(cs)+1)', assigned value is 0 glam2-1064/src/util.c:322:17: note: Null pointer dereference glam2-1064/src/util.c:329:17: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] glam2-1064/src/util.c:328:14: note: Assuming allocation function fails glam2-1064/src/util.c:328:14: note: Assignment 't=xmalloc(n)', assigned value is 0 glam2-1064/src/util.c:329:17: note: Null pointer dereference glam2-1064/src/util.c:352:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ptrs [nullPointerOutOfMemory] glam2-1064/src/util.c:350:3: note: Assuming allocation function fails glam2-1064/src/util.c:350:3: note: Assignment 'ptrs=xmalloc((rows)*sizeof(*(ptrs)))', assigned value is 0 glam2-1064/src/util.c:352:5: note: Null pointer dereference glam2-1064/src/util.c:366:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ptrs [nullPointerOutOfMemory] glam2-1064/src/util.c:364:3: note: Assuming allocation function fails glam2-1064/src/util.c:364:3: note: Assignment 'ptrs=xmalloc((rows)*sizeof(*(ptrs)))', assigned value is 0 glam2-1064/src/util.c:366:5: note: Null pointer dereference glam2-1064/src/site_sample.c:9:24: style: Parameter 'vec' can be declared as pointer to const [constParameterPointer] glam2-1064/src/site_sample.c:190:11: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] glam2-1064/src/site_sample.c:238:11: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] glam2-1064/src/site_sample.c:296:11: style: Variable 'is' can be declared as pointer to const [constVariablePointer] diff: head glam2-1064/purge/pairaln.c:60:38: style: Parameter 'seq' can be declared as pointer to const [constParameterPointer] DONE