2026-05-01 16:52 ftp://ftp.de.debian.org/debian/pool/main/d/dwgsim/dwgsim_0.1.14.orig.tar.gz 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 -j6 platform: Linux-7.0.3+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a734 (2026-05-01 11:10:43 +0200) count: 198 195 elapsed-time: 16.9 14.5 head-timing-info: old-timing-info: head results: DWGSIM-dwgsim.0.1.14/src/contigs.c:38:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/mut_input.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut_input.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut_input.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_input.c:45:27: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_input.c:45:27: note: Assignment 'm=calloc(1,sizeof(struct muts_input_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_input.c:46:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_txt.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:209:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:19:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:74:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:124:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:263:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_CIGAR_MASK [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:328:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BAM_FREAD1 [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:616:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:104:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:55:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assignment 'm=calloc(1,sizeof(struct muts_bed_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_bed.c:48:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_bed.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assignment 'm=calloc(1,sizeof(struct muts_bed_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_bed.c:49:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_bed.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assignment 'm=calloc(1,sizeof(struct muts_bed_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_bed.c:50:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_bed.c:50:20: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_bed.c:47:13: note: Assignment 'm=calloc(1,sizeof(struct muts_bed_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_bed.c:50:20: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_bed.c:37:48: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:54:13: warning: %d in format string (no. 5) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:54:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assignment 'm=calloc(1,sizeof(struct muts_txt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_txt.c:49:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_txt.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assignment 'm=calloc(1,sizeof(struct muts_txt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_txt.c:50:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_txt.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assignment 'm=calloc(1,sizeof(struct muts_txt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_txt.c:51:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_txt.c:51:20: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_txt.c:48:13: note: Assignment 'm=calloc(1,sizeof(struct muts_txt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_txt.c:51:20: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_txt.c:64:19: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] DWGSIM-dwgsim.0.1.14/src/mut_txt.c:40:48: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:88:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut.c:192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/mut.c:742:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:608:19: warning: Invalid log10() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:594:17: note: Assignment 'max=0', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:603:48: note: Assuming condition is false DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:608:19: note: Invalid argument DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:318:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:303:10: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:299:16: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:299:16: note: Assignment 'name=strdup(bam1_qname(b))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:303:10: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:468:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:468:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:468:23: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:468:23: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:470:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:470:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:470:56: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:470:56: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:471:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:471:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:471:56: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:471:56: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:472:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:472:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:472:56: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:472:56: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:473:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:473:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:473:56: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:473:56: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:474:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:474:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:474:56: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:474:56: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:476:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:476:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:476:19: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:476:19: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:476:35: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:476:35: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:477:3: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:477:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:477:19: warning: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:466:18: note: Assignment 'counts=malloc(sizeof(struct dwgsim_eval_counts_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:477:19: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:352:14: style: Redundant initialization for 'metric'. The initialized value is overwritten before it is read. [redundantInitialization] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:283:23: note: metric is initialized DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:352:14: note: metric is overwritten DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:17:33: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:69:31: style: Parameter 'FunctionName' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:69:51: style: Parameter 'VariableName' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:69:71: style: Parameter 'Message' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:71:15: style: Variable 'ErrorString' can be declared as const array [constVariable] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:73:15: style: Variable 'ActionType' can be declared as const array [constVariable] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:277:33: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:284:9: style: Variable 'chr' can be declared as pointer to const [constVariablePointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:301:9: style: Variable 'to_rm' can be declared as pointer to const [constVariablePointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:608:7: error: Undefined behaviour: float (-inf) to integer conversion overflow. [floatConversionOverflow] DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:594:17: note: Assignment 'max=0', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:603:48: note: Assuming condition is false DWGSIM-dwgsim.0.1.14/src/dwgsim_eval.c:608:7: note: float to integer conversion DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:250:3: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:268:3: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:269:3: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:290:3: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:294:3: style: Comparing expression of type 'signed int' against value 2147483647. Condition is always false. [compareValueOutOfTypeRangeError] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:21: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:21: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:37: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:37: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:55: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:44:55: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:45:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:45:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:45:18: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:45:18: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:46:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:47:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:48:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:49:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:50:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:51:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:51:20: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:51:20: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:52:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:53:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:54:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:55:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:55:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:56:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:57:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:57:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:58:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:58:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:59:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:60:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:61:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:61:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:62:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:62:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:63:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:63:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:64:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:65:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:65:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:66:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:66:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:67:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:67:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:68:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:68:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:69:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:69:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:70:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:70:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:71:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:71:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:72:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:72:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:73:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:73:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:73:19: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:73:19: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:73:34: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:73:34: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:74:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:74:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:74:16: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:74:16: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:75:3: warning: If memory allocation fails, then there is a possible null pointer dereference: opt [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:43:15: note: Assignment 'opt=calloc(1,sizeof(struct dwgsim_opt_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:75:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:374:19: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_seq [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:366:37: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:366:21: note: Assignment 'tmp_seq=(uint8_t*)calloc(tmp_seq_mem,1)', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:374:19: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:90:36: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/dwgsim_opt.c:177:25: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:81:26: style: Condition 'end-start+1!=len' is always false [knownConditionTrueFalse] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:55:11: note: len is assigned 'end-start+1' here. DWGSIM-dwgsim.0.1.14/src/regions_bed.c:81:26: note: Condition 'end-start+1!=len' is always false DWGSIM-dwgsim.0.1.14/src/regions_bed.c:137:31: style: Condition 'r->contig[mid]==contig' is always true [knownConditionTrueFalse] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:132:17: note: Assuming that condition 'contigcontig[mid]' is not redundant DWGSIM-dwgsim.0.1.14/src/regions_bed.c:136:30: note: Assuming that condition 'r->contig[mid]contig[mid]==contig' is always true DWGSIM-dwgsim.0.1.14/src/regions_bed.c:140:30: style: Condition 'r->contig[mid]==contig' is always true [knownConditionTrueFalse] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:132:17: note: Assuming that condition 'contigcontig[mid]' is not redundant DWGSIM-dwgsim.0.1.14/src/regions_bed.c:136:30: note: Assuming that condition 'r->contig[mid]contig[mid]==contig' is always true DWGSIM-dwgsim.0.1.14/src/regions_bed.c:54:13: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:46:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:47:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:48:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:48:22: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:48:22: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:49:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:49:21: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:49:21: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:50:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:50:19: warning: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/regions_bed.c:45:13: note: Assignment 'r=calloc(1,sizeof(struct regions_bed_txt))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/regions_bed.c:50:19: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/regions_bed.c:38:56: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/regions_bed.c:122:44: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:88:21: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assignment 'm=calloc(1,sizeof(struct muts_vcf_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:59:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:60:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assignment 'm=calloc(1,sizeof(struct muts_vcf_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:60:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:61:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assignment 'm=calloc(1,sizeof(struct muts_vcf_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:61:3: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:61:20: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assuming allocation function fails DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:58:13: note: Assignment 'm=calloc(1,sizeof(struct muts_vcf_t))', assigned value is 0 DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:61:20: note: Null pointer dereference DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:241:13: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:122:13: note: s is assigned DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:241:13: note: s is overwritten DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:133:23: style: Checking if unsigned expression 'pos' is less than zero. [unsignedLessThanZero] DWGSIM-dwgsim.0.1.14/src/mut_vcf.c:42:48: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] DWGSIM-dwgsim.0.1.14/src/mut.c:109:22: style: Condition 'ins_length_mask