2025-11-26 06:36 ftp://ftp.de.debian.org/debian/pool/main/f/fermi-lite/fermi-lite_0.1+git20221215.85f159e.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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: 796b181 (2025-11-25 16:14:10 +0100) count: 174 174 elapsed-time: 2.4 2.7 head-timing-info: old-timing-info: head results: fermi-lite-0.1+git20221215.85f159e/example.c:15:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bseq.c:18:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bseq.c:27:4: error: Common realloc mistake: 'seqs' nulled but not freed upon failure [memleakOnRealloc] fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: warning: If memory allocation fails, then there is a possible null pointer dereference: ks [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: note: Assignment 'ks=(struct kstream_t*)calloc(1,sizeof(struct kstream_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: note: Assignment 's=(struct kseq_t*)calloc(1,sizeof(struct kseq_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/bseq.c:7:1: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/bseq.c:9:41: style:inconclusive: Function 'bseq_read' argument 2 names different: declaration 'n' definition 'n_'. [funcArgNamesDifferent] fermi-lite-0.1+git20221215.85f159e/fml.h:66:41: note: Function 'bseq_read' argument 2 names different: declaration 'n' definition 'n_'. fermi-lite-0.1+git20221215.85f159e/bseq.c:9:41: note: Function 'bseq_read' argument 2 names different: declaration 'n' definition 'n_'. fermi-lite-0.1+git20221215.85f159e/bseq.c:15:16: style: Variable 'size' is assigned a value that is never used. [unreadVariable] fermi-lite-0.1+git20221215.85f159e/bseq.c:33:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] fermi-lite-0.1+git20221215.85f159e/bubble.c:83:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bubble.c:270:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bubble.c:364:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bfc.c:76:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bfc.c:315:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tot_pen [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/kmer.h:83:28: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] fermi-lite-0.1+git20221215.85f159e/htab.c:9:1: error: Memory leak: new_flags [memleak] fermi-lite-0.1+git20221215.85f159e/htab.c:29:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ch [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assignment 'ch=calloc(1,sizeof(struct bfc_ch_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/htab.c:29:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/htab.c:29:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ch [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assignment 'ch=calloc(1,sizeof(struct bfc_ch_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/htab.c:29:13: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/htab.c:30:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ch [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assignment 'ch=calloc(1,sizeof(struct bfc_ch_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/htab.c:30:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/htab.c:30:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ch [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assignment 'ch=calloc(1,sizeof(struct bfc_ch_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/htab.c:30:20: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/htab.c:31:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ch [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assignment 'ch=calloc(1,sizeof(struct bfc_ch_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/htab.c:31:21: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/htab.c:32:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ch [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/htab.c:28:13: note: Assignment 'ch=calloc(1,sizeof(struct bfc_ch_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/htab.c:32:3: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/htab.c:60:29: style: Parameter 'ch' can be declared as pointer to const [constParameterPointer] fermi-lite-0.1+git20221215.85f159e/htab.c:9:1: error: Uninitialized variable: val [legacyUninitvar] fermi-lite-0.1+git20221215.85f159e/ksw.c:188:6: error: Common realloc mistake: 'b' nulled but not freed upon failure [memleakOnRealloc] fermi-lite-0.1+git20221215.85f159e/ksw.c:290:6: error: Common realloc mistake: 'b' nulled but not freed upon failure [memleakOnRealloc] fermi-lite-0.1+git20221215.85f159e/ksw.c:67:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:67:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:68:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:68:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:68:10: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:68:10: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:69:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:69:10: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:69:10: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:70:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:70:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:70:10: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:70:10: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:71:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:71:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:71:12: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:71:12: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:72:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:72:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:72:18: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:72:18: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:72:34: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:72:34: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:75:14: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:75:14: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:75:30: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:75:30: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:76:24: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:76:24: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:77:24: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:77:24: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:79:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:79:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:79:11: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:79:11: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:80:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:80:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:80:19: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:80:19: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:81:2: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:81:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/ksw.c:81:14: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/ksw.c:66:21: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/ksw.c:66:6: note: Assignment 'q=(struct kswq_t*)malloc(sizeof(struct kswq_t)+256+16*slen*(m+4))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/ksw.c:81:14: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/kthread.c:55:24: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] fermi-lite-0.1+git20221215.85f159e/kthread.c:56:21: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] fermi-lite-0.1+git20221215.85f159e/misc.c:242:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/misc.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mrope.h:90:11: error: Array 'c[6]' accessed at index 6, which is out of bounds. [arrayIndexOutOfBounds] fermi-lite-0.1+git20221215.85f159e/mrope.h:88:17: note: Assuming that condition 'b<6' is not redundant fermi-lite-0.1+git20221215.85f159e/mrope.h:90:11: note: Array index out of bounds fermi-lite-0.1+git20221215.85f159e/misc.c:166:23: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] fermi-lite-0.1+git20221215.85f159e/misc.c:222:31: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] fermi-lite-0.1+git20221215.85f159e/misc.c:262:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fermi-lite-0.1+git20221215.85f159e/misc.c:262:5: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] fermi-lite-0.1+git20221215.85f159e/misc.c:153:46: style:inconclusive: Function 'fml_mag2utg' argument 2 names different: declaration 'n_utg' definition 'n'. [funcArgNamesDifferent] fermi-lite-0.1+git20221215.85f159e/fml.h:157:46: note: Function 'fml_mag2utg' argument 2 names different: declaration 'n_utg' definition 'n'. fermi-lite-0.1+git20221215.85f159e/misc.c:153:46: note: Function 'fml_mag2utg' argument 2 names different: declaration 'n_utg' definition 'n'. fermi-lite-0.1+git20221215.85f159e/misc.c:215:24: style:inconclusive: Function 'fml_utg_print' argument 1 names different: declaration 'n_utgs' definition 'n'. [funcArgNamesDifferent] fermi-lite-0.1+git20221215.85f159e/fml.h:165:24: note: Function 'fml_utg_print' argument 1 names different: declaration 'n_utgs' definition 'n'. fermi-lite-0.1+git20221215.85f159e/misc.c:215:24: note: Function 'fml_utg_print' argument 1 names different: declaration 'n_utgs' definition 'n'. fermi-lite-0.1+git20221215.85f159e/misc.c:267:26: style:inconclusive: Function 'fml_utg_destroy' argument 1 names different: declaration 'n_utg' definition 'n'. [funcArgNamesDifferent] fermi-lite-0.1+git20221215.85f159e/fml.h:93:26: note: Function 'fml_utg_destroy' argument 1 names different: declaration 'n_utg' definition 'n'. fermi-lite-0.1+git20221215.85f159e/misc.c:267:26: note: Function 'fml_utg_destroy' argument 1 names different: declaration 'n_utg' definition 'n'. fermi-lite-0.1+git20221215.85f159e/misc.c:280:42: style:inconclusive: Function 'fml_assemble' argument 1 names different: declaration 'opt' definition 'opt0'. [funcArgNamesDifferent] fermi-lite-0.1+git20221215.85f159e/fml.h:85:42: note: Function 'fml_assemble' argument 1 names different: declaration 'opt' definition 'opt0'. fermi-lite-0.1+git20221215.85f159e/misc.c:280:42: note: Function 'fml_assemble' argument 1 names different: declaration 'opt' definition 'opt0'. fermi-lite-0.1+git20221215.85f159e/misc.c:163:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/misc.c:187:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/misc.c:195:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/misc.c:260:16: style: Variable 'o' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/misc.c:237:5: style: Variable 'l' is assigned a value that is never used. [unreadVariable] fermi-lite-0.1+git20221215.85f159e/bubble.c:135:84: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] fermi-lite-0.1+git20221215.85f159e/bubble.c:172:33: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] fermi-lite-0.1+git20221215.85f159e/bubble.c:262:34: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] fermi-lite-0.1+git20221215.85f159e/bubble.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: aux [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/bubble.c:45:26: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/bubble.c:45:26: note: Assignment 'aux=calloc(1,sizeof(struct mogb_aux_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/bubble.c:46:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/bubble.c:203:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fermi-lite-0.1+git20221215.85f159e/bubble.c:202:19: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/bubble.c:202:19: note: Assignment 'seq[j]=malloc(l[j]<<1)', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/bubble.c:203:20: note: Null pointer addition fermi-lite-0.1+git20221215.85f159e/bubble.c:182:11: style: Variable 'r' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/mrope.c:287:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:24:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:25:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:186:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:388:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:398:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nsr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:401:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nei [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:418:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:436:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:482:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mag.c:527:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/rld0.c:229:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/rld0.c:254:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/rld0.c:320:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/mrope.c:250:9: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] fermi-lite-0.1+git20221215.85f159e/mrope.c:251:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] fermi-lite-0.1+git20221215.85f159e/rld0.c:170:8: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] fermi-lite-0.1+git20221215.85f159e/rld0.c:429:7: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] fermi-lite-0.1+git20221215.85f159e/mrope.c:20:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/mrope.c:19:12: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/mrope.c:19:12: note: Assignment 'r=calloc(1,sizeof(struct mrope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/mrope.c:20:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/mrope.c:21:2: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/mrope.c:19:12: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/mrope.c:19:12: note: Assignment 'r=calloc(1,sizeof(struct mrope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/mrope.c:21:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/mrope.c:23:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/mrope.c:19:12: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/mrope.c:19:12: note: Assignment 'r=calloc(1,sizeof(struct mrope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/mrope.c:23:3: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:61:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:61:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:62:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:62:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:63:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:64:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:64:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:65:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:65:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:66:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:66:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:67:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:67:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:68:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:68:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:69:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:69:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:70:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:70:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:71:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:71:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:71:19: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:71:19: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:72:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:72:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:72:19: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:72:19: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:73:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:73:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:73:18: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:60:6: note: Assignment 'e=calloc(1,sizeof(struct rld_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:73:18: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:283:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:280:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:280:15: note: Assignment 'buf=malloc(0x10000)', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:283:21: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:285:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:280:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:280:15: note: Assignment 'buf=malloc(0x10000)', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:285:9: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rld0.c:323:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rld0.c:321:26: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rld0.c:321:11: note: Assignment 'e->mem=(uint64_t*)mmap(0,(4+(e)->asize)*8+(e)->n_bytes+8*(e)->n_frames*(e->asize+1),PROT_READ,MAP_PRIVATE,e->fd,0)', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rld0.c:322:16: note: Assuming condition is false fermi-lite-0.1+git20221215.85f159e/rld0.c:323:20: note: Null pointer addition fermi-lite-0.1+git20221215.85f159e/mrope.c:296:8: style: Local variable 'a' shadows outer variable [shadowVariable] fermi-lite-0.1+git20221215.85f159e/mrope.c:225:14: note: Shadowed declaration fermi-lite-0.1+git20221215.85f159e/mrope.c:296:8: note: Shadow variable fermi-lite-0.1+git20221215.85f159e/rld0.c:180:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:183:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:186:14: style: Variable 'q' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:360:23: style: Variable 'z' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:372:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:379:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:382:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rld0.c:79:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] fermi-lite-0.1+git20221215.85f159e/rope.c:213:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/bfc.c:476:29: error: Array 'added[4]' accessed at index -1, which is out of bounds. [negativeIndex] fermi-lite-0.1+git20221215.85f159e/bfc.c:471:19: note: Assignment 'min_b=-1', assigned value is -1 fermi-lite-0.1+git20221215.85f159e/bfc.c:474:15: note: Assuming condition is false fermi-lite-0.1+git20221215.85f159e/bfc.c:476:29: note: Negative array index fermi-lite-0.1+git20221215.85f159e/bfc.c:476:47: error: Array 'added_cnt[4]' accessed at index -1, which is out of bounds. [negativeIndex] fermi-lite-0.1+git20221215.85f159e/bfc.c:471:19: note: Assignment 'min_b=-1', assigned value is -1 fermi-lite-0.1+git20221215.85f159e/bfc.c:474:15: note: Assuming condition is false fermi-lite-0.1+git20221215.85f159e/bfc.c:476:47: note: Negative array index fermi-lite-0.1+git20221215.85f159e/bfc.c:321:2: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/bfc.c:320:12: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/bfc.c:320:12: note: Assignment 'e=calloc(1,sizeof(struct bfc_ec1buf_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/bfc.c:321:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/bfc.c:321:16: warning: If memory allocation fails, then there is a possible null pointer dereference: e [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/bfc.c:320:12: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/bfc.c:320:12: note: Assignment 'e=calloc(1,sizeof(struct bfc_ec1buf_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/bfc.c:321:16: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/bfc.c:222:13: style: Variable 'c' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rope.c:25:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mp [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assignment 'mp=calloc(1,sizeof(struct mempool_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:25:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:26:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mp [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assignment 'mp=calloc(1,sizeof(struct mempool_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:26:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:26:10: warning: If memory allocation fails, then there is a possible null pointer dereference: mp [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assignment 'mp=calloc(1,sizeof(struct mempool_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:26:10: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:27:2: warning: If memory allocation fails, then there is a possible null pointer dereference: mp [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:24:13: note: Assignment 'mp=calloc(1,sizeof(struct mempool_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:27:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:60:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:60:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:61:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:61:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:62:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:62:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:62:42: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:62:42: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:63:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:63:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:63:23: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:63:23: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:64:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:64:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:64:24: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:64:24: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:65:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:65:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:66:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:66:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:67:2: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:67:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/rope.c:67:27: warning: If memory allocation fails, then there is a possible null pointer dereference: rope [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/rope.c:58:15: note: Assignment 'rope=calloc(1,sizeof(struct rope_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/rope.c:67:27: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/bfc.c:340:2: error: Uninitialized variable: *(&q) [legacyUninitvar] fermi-lite-0.1+git20221215.85f159e/rope.c:152:12: style: Variable 'u' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/bfc.c:87:7: style: Variable 'hash' is assigned a value that is never used. [unreadVariable] fermi-lite-0.1+git20221215.85f159e/rle.c:91:92: style:inconclusive: Function 'rle_insert' argument 6 names different: declaration 'end_cnt' definition 'ec'. [funcArgNamesDifferent] fermi-lite-0.1+git20221215.85f159e/rle.h:17:93: note: Function 'rle_insert' argument 6 names different: declaration 'end_cnt' definition 'ec'. fermi-lite-0.1+git20221215.85f159e/rle.c:91:92: note: Function 'rle_insert' argument 6 names different: declaration 'end_cnt' definition 'ec'. fermi-lite-0.1+git20221215.85f159e/rle.c:102:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/rle.c:102:33: style: Variable 'q' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/unitig.c:68:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/unitig.c:408:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] fermi-lite-0.1+git20221215.85f159e/unitig.c:433:3: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/unitig.c:431:20: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/unitig.c:431:6: note: Assignment 'g=(struct mag_t*)calloc(1,sizeof(struct mag_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/unitig.c:433:3: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/unitig.c:434:10: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/unitig.c:431:20: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/unitig.c:431:6: note: Assignment 'g=(struct mag_t*)calloc(1,sizeof(struct mag_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/unitig.c:434:10: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/unitig.c:434:19: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/unitig.c:431:20: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/unitig.c:431:6: note: Assignment 'g=(struct mag_t*)calloc(1,sizeof(struct mag_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/unitig.c:434:19: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/unitig.c:435:3: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/unitig.c:431:20: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/unitig.c:431:6: note: Assignment 'g=(struct mag_t*)calloc(1,sizeof(struct mag_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/unitig.c:435:3: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/unitig.c:445:2: warning: If memory allocation fails, then there is a possible null pointer dereference: g [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/unitig.c:431:20: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/unitig.c:431:6: note: Assignment 'g=(struct mag_t*)calloc(1,sizeof(struct mag_t))', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/unitig.c:445:2: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/unitig.c:158:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/unitig.c:242:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/unitig.c:401:3: error: Uninitialized variable: *(&q) [legacyUninitvar] fermi-lite-0.1+git20221215.85f159e/unitig.c:121:11: style: struct member 'aux_t::n' is never used. [unusedStructMember] fermi-lite-0.1+git20221215.85f159e/unitig.c:121:14: style: struct member 'aux_t::sum' is never used. [unusedStructMember] fermi-lite-0.1+git20221215.85f159e/unitig.c:121:19: style: struct member 'aux_t::sum2' is never used. [unusedStructMember] fermi-lite-0.1+git20221215.85f159e/unitig.c:121:25: style: struct member 'aux_t::unpaired' is never used. [unusedStructMember] fermi-lite-0.1+git20221215.85f159e/unitig.c:341:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] fermi-lite-0.1+git20221215.85f159e/mag.c:418:3: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] fermi-lite-0.1+git20221215.85f159e/mag.c:436:3: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] fermi-lite-0.1+git20221215.85f159e/mag.c:17:1: error: Memory leak: new_flags [memleak] fermi-lite-0.1+git20221215.85f159e/mag.c:502:3: warning: If memory allocation fails, then there is a possible null pointer dereference: srt [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/mag.c:500:14: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/mag.c:500:14: note: Assignment 'srt=calloc(v->n,8)', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/mag.c:502:3: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/mag.c:510:28: warning: If memory allocation fails, then there is a possible null pointer dereference: srt [nullPointerOutOfMemory] fermi-lite-0.1+git20221215.85f159e/mag.c:500:14: note: Assuming allocation function fails fermi-lite-0.1+git20221215.85f159e/mag.c:500:14: note: Assignment 'srt=calloc(v->n,8)', assigned value is 0 fermi-lite-0.1+git20221215.85f159e/mag.c:510:28: note: Null pointer dereference fermi-lite-0.1+git20221215.85f159e/mag.c:26:1: style: Parameter 'array' can be declared as const array [constParameter] fermi-lite-0.1+git20221215.85f159e/mag.c:126:12: style: Variable 'r' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/mag.c:257:12: style: Variable 'r' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/mag.c:466:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] fermi-lite-0.1+git20221215.85f159e/mag.c:236:2: error: Uninitialized variable: *(&q) [legacyUninitvar] diff: DONE