2025-05-07 08:00 ftp://ftp.de.debian.org/debian/pool/main/q/qflow/qflow_1.3.17+dfsg.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 8e656e5 (2025-05-06 23:42:00 +0200) count: 248 243 elapsed-time: 7.7 9.0 head-timing-info: old-timing-info: head results: qflow-1.3.17/src/blif2BSpice.c:84:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2BSpice.c:491:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2BSpice.c:552:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2BSpice.c:567:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2BSpice.c:278:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2BSpice.c:326:25: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2BSpice.c:347:25: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2BSpice.c:366:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2BSpice.c:402:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2BSpice.c:404:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2BSpice.c:198:6: warning: If memory allocation fails, then there is a possible null pointer dereference: newsubckt [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:197:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:197:18: note: Assignment 'newsubckt=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:198:6: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:199:6: warning: If memory allocation fails, then there is a possible null pointer dereference: newsubckt [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:197:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:197:18: note: Assignment 'newsubckt=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:199:6: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:201:6: warning: If memory allocation fails, then there is a possible null pointer dereference: newsubckt [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:197:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:197:18: note: Assignment 'newsubckt=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:201:6: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:202:6: warning: If memory allocation fails, then there is a possible null pointer dereference: newsubckt [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:197:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:197:18: note: Assignment 'newsubckt=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:202:6: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:228:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newport [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:227:35: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:227:19: note: Assignment 'newport=(struct _portrecportrecp)malloc(sizeof(struct portrec))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:228:9: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:229:9: warning: If memory allocation fails, then there is a possible null pointer dereference: newport [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:227:35: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:227:19: note: Assignment 'newport=(struct _portrecportrecp)malloc(sizeof(struct portrec))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:229:9: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:377:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:377:7: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:379:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:379:7: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:380:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:380:7: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:381:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:381:7: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:386:39: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:386:39: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:386:51: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:386:51: note: Null pointer dereference qflow-1.3.17/src/blif2BSpice.c:489:15: style: Variable 'strpnt' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/blif2BSpice.c:488:15: note: strpnt is assigned qflow-1.3.17/src/blif2BSpice.c:489:15: note: strpnt is overwritten qflow-1.3.17/src/blif2BSpice.c:74:11: style: Variable 'Net1name' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/blif2BSpice.c:149:64: style: Parameter 'libname' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/blif2BSpice.c:150:24: style: Parameter 'vddnet' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/blif2BSpice.c:150:38: style: Parameter 'gndnet' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/blif2BSpice.c:150:52: style: Parameter 'subnet' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/blif2BSpice.c:153:6: style: Unused variable: i [unusedVariable] qflow-1.3.17/src/blif2BSpice.c:484:13: style: Unused variable: i [unusedVariable] qflow-1.3.17/src/blif2Verilog.c:77:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2Verilog.c:551:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2Verilog.c:613:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2Verilog.c:645:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/blif2Verilog.c:198:19: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2Verilog.c:210:22: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2Verilog.c:273:22: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2Verilog.c:357:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2Verilog.c:390:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2Verilog.c:392:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] qflow-1.3.17/src/blif2Verilog.c:244:10: error: Common realloc mistake: 'allinputs' nulled but not freed upon failure [memleakOnRealloc] qflow-1.3.17/src/blif2Verilog.c:251:7: error: Common realloc mistake: 'InputNodes' nulled but not freed upon failure [memleakOnRealloc] qflow-1.3.17/src/blif2Verilog.c:307:10: error: Common realloc mistake: 'alloutputs' nulled but not freed upon failure [memleakOnRealloc] qflow-1.3.17/src/blif2Verilog.c:314:7: error: Common realloc mistake: 'OutputNodes' nulled but not freed upon failure [memleakOnRealloc] qflow-1.3.17/src/blif2Verilog.c:206:8: warning: If memory allocation fails, then there is a possible null pointer dereference: allinputs [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:205:34: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:205:20: note: Assignment 'allinputs=(char*)malloc(1)', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:206:8: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:269:8: warning: If memory allocation fails, then there is a possible null pointer dereference: alloutputs [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:268:35: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:268:21: note: Assignment 'alloutputs=(char*)malloc(1)', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:269:8: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:370:7: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:370:7: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:371:7: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:371:7: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:372:7: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:372:7: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:376:39: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:376:39: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:376:53: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:376:53: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:376:67: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:376:67: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:623:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newvector [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:622:39: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:622:17: note: Assignment 'newvector=(struct Vect*)malloc(sizeof(struct Vect))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:623:5: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:624:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newvector [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:622:39: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:622:17: note: Assignment 'newvector=(struct Vect*)malloc(sizeof(struct Vect))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:624:5: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:625:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newvector [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:622:39: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:622:17: note: Assignment 'newvector=(struct Vect*)malloc(sizeof(struct Vect))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:625:5: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:626:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newvector [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:622:39: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:622:17: note: Assignment 'newvector=(struct Vect*)malloc(sizeof(struct Vect))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:626:5: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:627:5: warning: If memory allocation fails, then there is a possible null pointer dereference: newvector [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:622:39: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:622:17: note: Assignment 'newvector=(struct Vect*)malloc(sizeof(struct Vect))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:627:5: note: Null pointer dereference qflow-1.3.17/src/blif2Verilog.c:549:15: style: Variable 'strpnt' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/blif2Verilog.c:548:15: note: strpnt is assigned qflow-1.3.17/src/blif2Verilog.c:549:15: note: strpnt is overwritten qflow-1.3.17/src/blif2Verilog.c:456:24: style:inconclusive: Function 'ParseNumber' argument 1 names different: declaration 'test' definition 'text'. [funcArgNamesDifferent] qflow-1.3.17/src/blif2Verilog.c:50:24: note: Function 'ParseNumber' argument 1 names different: declaration 'test' definition 'text'. qflow-1.3.17/src/blif2Verilog.c:456:24: note: Function 'ParseNumber' argument 1 names different: declaration 'test' definition 'text'. qflow-1.3.17/src/blif2Verilog.c:70:8: style: Variable 'Net1name' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/blif2Verilog.c:156:8: style: Variable 'GndVal' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/blif2Verilog.c:156:17: style: Variable 'VddVal' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/blif2Verilog.c:481:25: style: Parameter 'text' can be declared as const array [constParameter] qflow-1.3.17/src/blif2Verilog.c:65:22: style: Unused variable: NET2 [unusedVariable] qflow-1.3.17/src/blif2Verilog.c:66:19: style: Unused variable: ResistorData [unusedVariable] qflow-1.3.17/src/blif2Verilog.c:67:9: style: Unused variable: AllMatched [unusedVariable] qflow-1.3.17/src/blif2Verilog.c:67:21: style: Unused variable: NetsEqual [unusedVariable] qflow-1.3.17/src/blif2Verilog.c:544:13: style: Unused variable: i [unusedVariable] qflow-1.3.17/src/blifFanout.c:296:44: error: There is an unknown macro here somewhere. Configuration is required. If QFLOW_VERSION is a macro then please configure it. [unknownMacro] qflow-1.3.17/src/hash.c:36:17: style:inconclusive: Function 'match' argument 1 names different: declaration 's1' definition 'st1'. [funcArgNamesDifferent] qflow-1.3.17/src/hash.h:52:24: note: Function 'match' argument 1 names different: declaration 's1' definition 'st1'. qflow-1.3.17/src/hash.c:36:17: note: Function 'match' argument 1 names different: declaration 's1' definition 'st1'. qflow-1.3.17/src/hash.c:36:28: style:inconclusive: Function 'match' argument 2 names different: declaration 's2' definition 'st2'. [funcArgNamesDifferent] qflow-1.3.17/src/hash.h:52:34: note: Function 'match' argument 2 names different: declaration 's2' definition 'st2'. qflow-1.3.17/src/hash.c:36:28: note: Function 'match' argument 2 names different: declaration 's2' definition 'st2'. qflow-1.3.17/src/hash.c:42:23: style:inconclusive: Function 'matchnocase' argument 1 names different: declaration 's1' definition 'st1'. [funcArgNamesDifferent] qflow-1.3.17/src/hash.h:53:30: note: Function 'matchnocase' argument 1 names different: declaration 's1' definition 'st1'. qflow-1.3.17/src/hash.c:42:23: note: Function 'matchnocase' argument 1 names different: declaration 's1' definition 'st1'. qflow-1.3.17/src/hash.c:42:34: style:inconclusive: Function 'matchnocase' argument 2 names different: declaration 's2' definition 'st2'. [funcArgNamesDifferent] qflow-1.3.17/src/hash.h:53:40: note: Function 'matchnocase' argument 2 names different: declaration 's2' definition 'st2'. qflow-1.3.17/src/hash.c:42:34: note: Function 'matchnocase' argument 2 names different: declaration 's2' definition 'st2'. qflow-1.3.17/src/hash.c:36:17: style: Parameter 'st1' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:36:28: style: Parameter 'st2' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:42:23: style: Parameter 'st1' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:42:34: style: Parameter 'st2' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:109:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:114:45: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:145:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/hash.c:155:26: style: Parameter 's' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/rc2dly.c:415:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/rc2dly.c:473:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/rc2dly.c:153:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qflow-1.3.17/src/rc2dly.c:162:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qflow-1.3.17/src/rc2dly.c:670:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] qflow-1.3.17/src/rc2dly.c:776:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] qflow-1.3.17/src/rc2dly.c:159:13: error: Common realloc mistake: 'tokens' nulled but not freed upon failure [memleakOnRealloc] qflow-1.3.17/src/rc2dly.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tokens [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:149:27: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:149:27: note: Assignment 'tokens=calloc(buff_sz,sizeof(char*))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:153:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:156:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tokens [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:149:27: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:149:27: note: Assignment 'tokens=calloc(buff_sz,sizeof(char*))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:156:17: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:172:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:172:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:172:36: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:969:34: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:969:34: note: Assignment 'name=strdup(tokens[t])', assigned value is 0 qflow-1.3.17/src/rc2dly.c:972:44: note: Calling function 'create_node', 1st argument 'name' value is 0 qflow-1.3.17/src/rc2dly.c:172:36: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:173:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:173:12: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:173:28: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:969:34: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:969:34: note: Assignment 'name=strdup(tokens[t])', assigned value is 0 qflow-1.3.17/src/rc2dly.c:972:44: note: Calling function 'create_node', 1st argument 'name' value is 0 qflow-1.3.17/src/rc2dly.c:173:28: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:174:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:174:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:175:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:175:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:176:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:176:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:177:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:177:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:178:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:178:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:179:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:179:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:180:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:180:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:181:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:170:30: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:170:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:181:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:189:5: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:188:32: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:188:32: note: Assignment 'next=calloc(1,sizeof(struct node_item))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:189:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:219:5: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:218:27: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:218:27: note: Assignment 'next=calloc(1,sizeof(struct ritem))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:219:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:245:5: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:244:34: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:244:34: note: Assignment 'next=calloc(1,sizeof(struct elmdly_item))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:245:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:440:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_snk [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:438:33: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:438:33: note: Assignment 'curr_snk=calloc(1,sizeof(struct snk))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:440:9: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:441:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_snk [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:438:33: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:438:33: note: Assignment 'curr_snk=calloc(1,sizeof(struct snk))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:441:9: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:549:25: warning: If memory allocation fails, then there is a possible null pointer dereference: design [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:548:18: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:548:18: note: Assignment 'design=strdup(optarg)', assigned value is 0 qflow-1.3.17/src/rc2dly.c:549:25: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:919:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:918:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:918:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:919:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:920:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:918:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:918:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:920:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:921:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:918:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:918:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:921:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:922:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:918:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:918:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:922:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:996:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:995:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:995:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:996:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:997:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:995:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:995:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:997:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:998:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:995:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:995:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:998:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:999:21: warning: If memory allocation fails, then there is a possible null pointer dereference: currR [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:995:35: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:995:35: note: Assignment 'currR=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:999:21: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1048:98: error: Null pointer dereference: tmpPin [nullPointer] qflow-1.3.17/src/rc2dly.c:1031:39: note: Assignment 'tmpPin=NULL', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1048:98: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1048:112: error: Null pointer dereference: tmpPin [nullPointer] qflow-1.3.17/src/rc2dly.c:1031:39: note: Assignment 'tmpPin=NULL', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1048:112: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1088:13: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1088:13: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1090:20: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1090:20: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1091:13: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1091:13: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1112:42: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1112:42: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1113:45: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1113:45: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1114:5: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1114:5: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1116:27: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1116:27: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1129:13: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1129:13: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1159:27: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1159:27: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:1163:27: warning: If memory allocation fails, then there is a possible null pointer dereference: currElm [nullPointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:1087:39: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:1087:39: note: Assignment 'currElm=calloc(1,sizeof(struct elmdly))', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1163:27: note: Null pointer dereference qflow-1.3.17/src/rc2dly.c:156:12: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/rc2dly.c:154:6: note: i is assigned qflow-1.3.17/src/rc2dly.c:156:12: note: i is overwritten qflow-1.3.17/src/rc2dly.c:169:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/rc2dly.c:471:27: style: Parameter 'argv' can be declared as const array [constParameter] qflow-1.3.17/src/rc2dly.c:515:30: style: Variable 'long_options' can be declared as const array [constVariable] qflow-1.3.17/src/rc2dly.c:665:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/rc2dly.c:772:13: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/rc2dly.c:810:11: style: Variable 'pname' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/rc2dly.c:1031:30: style: Variable 'tmpPin' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/rc2dly.c:1162:13: style: Variable 'srcname' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/rc2dly.c:1162:23: style: Variable 'snkname' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/rc2dly.c:807:19: style: Variable 'num_rxers' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/rc2dly.c:808:11: style: Variable 't' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/rc2dly.c:813:21: style: Variable 'num_net_drivers' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/rc2dly.c:842:23: style: Variable 'num_rxers' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/rc2dly.c:1018:20: style: Variable 'cellIndex' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/rc2dly.c:1192:24: style: Variable 'tmp_ritem' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/rc2dly.c:484:11: style: Unused variable: nodenameptr [unusedVariable] qflow-1.3.17/src/rc2dly.c:1193:10: style: Variable 'tmp_r' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/readliberty.c:463:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/readliberty.c:539:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/readliberty.c:1461:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/readliberty.c:138:20: style: The if condition is the same as the previous if condition [duplicateCondition] qflow-1.3.17/src/readliberty.c:134:20: note: First condition qflow-1.3.17/src/readliberty.c:138:20: note: Second condition qflow-1.3.17/src/readliberty.c:227:19: warning: If memory allocation fails, then there is a possible null pointer dereference: rhs [nullPointerOutOfMemory] qflow-1.3.17/src/readliberty.c:226:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:226:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:227:19: note: Null pointer dereference qflow-1.3.17/src/readliberty.c:233:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rhs [nullPointerOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:233:5: note: Null pointer dereference qflow-1.3.17/src/readliberty.c:266:19: warning: If memory allocation fails, then there is a possible null pointer dereference: lhs [nullPointerOutOfMemory] qflow-1.3.17/src/readliberty.c:265:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:265:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:266:19: note: Null pointer dereference qflow-1.3.17/src/readliberty.c:271:5: warning: If memory allocation fails, then there is a possible null pointer dereference: lhs [nullPointerOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:271:5: note: Null pointer dereference qflow-1.3.17/src/readliberty.c:488:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newpin [nullPointerOutOfMemory] qflow-1.3.17/src/readliberty.c:487:28: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:487:15: note: Assignment 'newpin=(struct Pin*)malloc(sizeof(struct Pin))', assigned value is 0 qflow-1.3.17/src/readliberty.c:488:2: note: Null pointer dereference qflow-1.3.17/src/readliberty.c:489:2: warning: If memory allocation fails, then there is a possible null pointer dereference: newpin [nullPointerOutOfMemory] qflow-1.3.17/src/readliberty.c:487:28: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:487:15: note: Assignment 'newpin=(struct Pin*)malloc(sizeof(struct Pin))', assigned value is 0 qflow-1.3.17/src/readliberty.c:489:2: note: Null pointer dereference qflow-1.3.17/src/readliberty.c:228:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:226:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:226:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:228:10: note: Null pointer addition qflow-1.3.17/src/readliberty.c:234:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:234:23: note: Null pointer addition qflow-1.3.17/src/readliberty.c:235:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:235:10: note: Null pointer addition qflow-1.3.17/src/readliberty.c:236:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:236:10: note: Null pointer addition qflow-1.3.17/src/readliberty.c:267:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:265:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:265:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:267:10: note: Null pointer addition qflow-1.3.17/src/readliberty.c:272:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:272:23: note: Null pointer addition qflow-1.3.17/src/readliberty.c:273:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:273:10: note: Null pointer addition qflow-1.3.17/src/readliberty.c:274:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:274:10: note: Null pointer addition qflow-1.3.17/src/readliberty.c:641:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:640:14: note: token is assigned qflow-1.3.17/src/readliberty.c:641:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:648:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:647:14: note: token is assigned qflow-1.3.17/src/readliberty.c:648:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:655:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:654:14: note: token is assigned qflow-1.3.17/src/readliberty.c:655:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:710:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:709:14: note: token is assigned qflow-1.3.17/src/readliberty.c:710:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:830:12: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:880:12: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:895:12: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:914:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:913:14: note: token is assigned qflow-1.3.17/src/readliberty.c:914:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:919:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:918:14: note: token is assigned qflow-1.3.17/src/readliberty.c:919:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:926:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:925:14: note: token is assigned qflow-1.3.17/src/readliberty.c:926:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:941:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:958:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:957:13: note: token is assigned qflow-1.3.17/src/readliberty.c:958:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1003:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1002:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1003:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1017:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:1034:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1033:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1034:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1040:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1039:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1040:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1057:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1056:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1057:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1068:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1067:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1068:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1079:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1078:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1079:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1090:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1089:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1090:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1096:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1095:13: note: token is assigned qflow-1.3.17/src/readliberty.c:1096:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1106:13: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1105:16: note: token is assigned qflow-1.3.17/src/readliberty.c:1106:13: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1122:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:1160:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1159:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1160:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:1202:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1201:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1202:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:1209:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1208:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1209:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:1252:14: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1251:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1252:14: note: token is overwritten qflow-1.3.17/src/readliberty.c:1317:11: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1316:11: note: token is assigned qflow-1.3.17/src/readliberty.c:1317:11: note: token is overwritten qflow-1.3.17/src/readliberty.c:1342:8: style: Variable 'token' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/readliberty.c:1335:14: note: token is assigned qflow-1.3.17/src/readliberty.c:1342:8: note: token is overwritten qflow-1.3.17/src/readliberty.c:37:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:75:13: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:188:18: style: Parameter 'lib_func' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:192:25: style: Variable 'fptr' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:192:32: style: Variable 'rest' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:305:18: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:401:11: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:453:36: style: Parameter 'curbus' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:453:50: style: Parameter 'busformat' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:513:20: style: Parameter 'libfile' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:513:35: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:517:11: style: Variable 'libname' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:528:11: style: Variable 'iptr' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:1044:10: style: Variable 'rfunc' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:1360:13: style: Variable 'times' can be declared as pointer to const [constVariablePointer] qflow-1.3.17/src/readliberty.c:1421:33: style: Parameter 'pinname' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:1444:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:1477:38: style: Parameter 'pinname' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/readliberty.c:503:12: warning: Uninitialized variables: newpin.name, newpin.type, newpin.cap, newpin.maxtrans, newpin.maxcap, newpin.next [uninitvar] qflow-1.3.17/src/readliberty.c:481:21: note: Assuming condition is false qflow-1.3.17/src/readliberty.c:503:12: note: Uninitialized variables: newpin.name, newpin.type, newpin.cap, newpin.maxtrans, newpin.maxcap, newpin.next qflow-1.3.17/src/readliberty.c:38:37: style: Unused variable: quoted [unusedVariable] qflow-1.3.17/src/readliberty.c:534:11: style: Unused variable: curfunc [unusedVariable] qflow-1.3.17/src/readliberty.c:1382:14: style: Variable 'mintrans' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/readliberty.c:1446:22: style: Unused variable: newcell [unusedVariable] qflow-1.3.17/src/spice2delay.c:184:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/spice2delay.c:510:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] qflow-1.3.17/src/spice2delay.c:92:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qflow-1.3.17/src/spice2delay.c:101:21: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] qflow-1.3.17/src/spice2delay.c:98:13: error: Common realloc mistake: 'tokens' nulled but not freed upon failure [memleakOnRealloc] qflow-1.3.17/src/spice2delay.c:92:5: warning: If memory allocation fails, then there is a possible null pointer dereference: tokens [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:88:27: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:88:27: note: Assignment 'tokens=calloc(buff_sz,sizeof(char*))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:92:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:95:17: warning: If memory allocation fails, then there is a possible null pointer dereference: tokens [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:88:27: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:88:27: note: Assignment 'tokens=calloc(buff_sz,sizeof(char*))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:95:17: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:116:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cell_io [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:114:37: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:114:37: note: Assignment 'new_cell_io=calloc(1,sizeof(struct cell_io))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:116:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:117:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cell_io [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:114:37: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:114:37: note: Assignment 'new_cell_io=calloc(1,sizeof(struct cell_io))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:117:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:118:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cell_io [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:114:37: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:114:37: note: Assignment 'new_cell_io=calloc(1,sizeof(struct cell_io))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:118:12: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:120:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cell_io [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:114:37: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:114:37: note: Assignment 'new_cell_io=calloc(1,sizeof(struct cell_io))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:120:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:125:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new_cell_io [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:114:37: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:114:37: note: Assignment 'new_cell_io=calloc(1,sizeof(struct cell_io))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:125:9: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:143:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:141:30: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:141:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:143:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:144:12: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:141:30: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:141:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:144:12: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:141:30: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:141:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:145:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:146:5: warning: If memory allocation fails, then there is a possible null pointer dereference: new_node [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:141:30: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:141:30: note: Assignment 'new_node=calloc(1,sizeof(struct node))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:146:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:153:5: warning: If memory allocation fails, then there is a possible null pointer dereference: next [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:152:27: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:152:27: note: Assignment 'next=calloc(1,sizeof(struct ritem))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:153:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:232:17: warning: If memory allocation fails, then there is a possible null pointer dereference: next_src_item [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:231:39: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:231:39: note: Assignment 'next_src_item=calloc(1,sizeof(struct node_item))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:232:17: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:299:5: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_r [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:298:20: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:298:20: note: Assignment 'curr_r=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:299:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:300:12: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_r [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:298:20: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:298:20: note: Assignment 'curr_r=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:300:12: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:301:5: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_r [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:298:20: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:298:20: note: Assignment 'curr_r=calloc(1,sizeof(struct r))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:301:5: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:441:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_snk [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:439:33: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:439:33: note: Assignment 'curr_snk=calloc(1,sizeof(struct snk))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:441:9: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:442:9: warning: If memory allocation fails, then there is a possible null pointer dereference: curr_snk [nullPointerOutOfMemory] qflow-1.3.17/src/spice2delay.c:439:33: note: Assuming allocation function fails qflow-1.3.17/src/spice2delay.c:439:33: note: Assignment 'curr_snk=calloc(1,sizeof(struct snk))', assigned value is 0 qflow-1.3.17/src/spice2delay.c:442:9: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:573:41: warning: Possible null pointer dereference: spcfile [nullPointer] qflow-1.3.17/src/spice2delay.c:474:21: note: Assignment 'spcfile=NULL', assigned value is 0 qflow-1.3.17/src/spice2delay.c:506:51: note: Assuming condition is false qflow-1.3.17/src/spice2delay.c:573:41: note: Null pointer dereference qflow-1.3.17/src/spice2delay.c:95:12: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] qflow-1.3.17/src/spice2delay.c:93:6: note: i is assigned qflow-1.3.17/src/spice2delay.c:95:12: note: i is overwritten qflow-1.3.17/src/spice2delay.c:140:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] qflow-1.3.17/src/spice2delay.c:549:20: warning: Uninitialized variable: libfilename [uninitvar] qflow-1.3.17/src/spice2delay.c:506:51: note: Assuming condition is false qflow-1.3.17/src/spice2delay.c:549:20: note: Uninitialized variable: libfilename qflow-1.3.17/src/spice2delay.c:711:24: style: Variable 'tmp_ritem' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/spice2delay.c:476:9: style: Unused variable: i [unusedVariable] qflow-1.3.17/src/spice2delay.c:712:10: style: Variable 'tmp_r' is assigned a value that is never used. [unreadVariable] qflow-1.3.17/src/vesta.c:3795:31: error: There is an unknown macro here somewhere. Configuration is required. If QFLOW_VERSION is a macro then please configure it. [unknownMacro] qflow-1.3.17/src/rc2dly.c:172:36: warning: If memory allocation fails, then there is a possible null pointer dereference: name [ctunullpointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:969:34: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:969:34: note: Assignment 'name=strdup(tokens[t])', assigned value is 0 qflow-1.3.17/src/rc2dly.c:972:43: note: Calling function create_node, 1st argument is null qflow-1.3.17/src/rc2dly.c:172:36: note: Dereferencing argument name that is null diff: head qflow-1.3.17/src/blif2BSpice.c:386:51: warning: If memory allocation fails, then there is a possible null pointer dereference: tsub [nullPointerOutOfMemory] qflow-1.3.17/src/blif2BSpice.c:376:33: note: Assuming allocation function fails qflow-1.3.17/src/blif2BSpice.c:376:14: note: Assignment 'tsub=(struct _subcircuitsubcircuitp)malloc(sizeof(struct subcircuit))', assigned value is 0 qflow-1.3.17/src/blif2BSpice.c:386:51: note: Null pointer dereference head qflow-1.3.17/src/blif2Verilog.c:376:53: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:376:53: note: Null pointer dereference head qflow-1.3.17/src/blif2Verilog.c:376:67: warning: If memory allocation fails, then there is a possible null pointer dereference: gl [nullPointerOutOfMemory] qflow-1.3.17/src/blif2Verilog.c:369:37: note: Assuming allocation function fails qflow-1.3.17/src/blif2Verilog.c:369:12: note: Assignment 'gl=(struct GateList*)malloc(sizeof(struct GateList))', assigned value is 0 qflow-1.3.17/src/blif2Verilog.c:376:67: note: Null pointer dereference head qflow-1.3.17/src/rc2dly.c:1048:112: error: Null pointer dereference: tmpPin [nullPointer] qflow-1.3.17/src/rc2dly.c:1031:39: note: Assignment 'tmpPin=NULL', assigned value is 0 qflow-1.3.17/src/rc2dly.c:1048:112: note: Null pointer dereference head qflow-1.3.17/src/rc2dly.c:172:36: warning: If memory allocation fails, then there is a possible null pointer dereference: name [ctunullpointerOutOfMemory] qflow-1.3.17/src/rc2dly.c:969:34: note: Assuming allocation function fails qflow-1.3.17/src/rc2dly.c:969:34: note: Assignment 'name=strdup(tokens[t])', assigned value is 0 qflow-1.3.17/src/rc2dly.c:972:43: note: Calling function create_node, 1st argument is null qflow-1.3.17/src/rc2dly.c:172:36: note: Dereferencing argument name that is null 2.17.0 qflow-1.3.17/src/readliberty.c:228:10: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:226:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:226:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:228:10: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:228:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:226:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:226:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:228:10: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:234:23: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:234:23: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:234:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:234:23: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:235:10: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:235:10: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:235:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:235:10: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:236:10: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:236:10: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:236:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:232:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:232:17: note: Assignment 'rhs=(char*)malloc(sptr-fptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:236:10: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:267:10: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:265:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:265:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:267:10: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:267:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:265:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:265:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+2)', assigned value is 0 qflow-1.3.17/src/readliberty.c:267:10: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:272:23: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:272:23: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:272:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:272:23: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:273:10: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:273:10: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:273:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:273:10: note: Null pointer addition 2.17.0 qflow-1.3.17/src/readliberty.c:274:10: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:274:10: note: Null pointer addition head qflow-1.3.17/src/readliberty.c:274:10: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] qflow-1.3.17/src/readliberty.c:270:31: note: Assuming allocation function fails qflow-1.3.17/src/readliberty.c:270:17: note: Assignment 'lhs=(char*)malloc(fptr-sptr+4)', assigned value is 0 qflow-1.3.17/src/readliberty.c:274:10: note: Null pointer addition DONE