2025-05-09 02:16 ftp://ftp.de.debian.org/debian/pool/main/x/xschem/xschem_3.4.4.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=cairo --library=motif --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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 1252 1249 elapsed-time: 47.9 48.7 head-timing-info: old-timing-info: head results: xschem-3.4.4/scconfig/hooks.c:16:17: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/default/db.c:142:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/db.c:196:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/arg.c:82:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/arg.c:88:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/arg.c:144:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/arg.c:148:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/dep.c:61:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pres [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assignment 'pres=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:61:10: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/dep.c:102:9: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:101:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:101:15: note: Assignment 'name=malloc(len+3)', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:102:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/dep.c:103:6: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:101:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:101:15: note: Assignment 'name=malloc(len+3)', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:103:6: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/dep.c:179:2: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:178:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:178:12: note: Assignment 'w=malloc(sizeof(struct fn_wrap_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:179:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/dep.c:62:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assignment 'pres=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:62:14: note: Null pointer addition xschem-3.4.4/scconfig/src/default/dep.c:78:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_environ.c:34:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_environ.c:71:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_environ.c:108:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_environ.c:138:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/db.c:83:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] xschem-3.4.4/scconfig/src/default/db.c:185:17: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:186:16: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:187:16: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:188:16: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:189:15: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:194:5: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:200:9: error: Common realloc mistake: 'res' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:421:5: error: Common realloc mistake: 'buff' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/db.c:55:9: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assignment 'new=malloc(l1+l2+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/db.c:55:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/db.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assignment 'new=malloc(l1+l2+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/db.c:57:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/db.c:432:2: warning: If memory allocation fails, then there is a possible null pointer dereference: buff [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/db.c:405:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/db.c:405:15: note: Assignment 'buff=malloc(allocated)', assigned value is 0 xschem-3.4.4/scconfig/src/default/db.c:415:42: note: Assuming condition is false xschem-3.4.4/scconfig/src/default/db.c:432:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/db.c:56:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assignment 'new=malloc(l1+l2+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/db.c:56:13: note: Null pointer addition xschem-3.4.4/scconfig/src/default/db.c:322:46: style:inconclusive: Function 'put' argument 2 names different: declaration 'data' definition 'value'. [funcArgNamesDifferent] xschem-3.4.4/scconfig/src/default/db.h:12:46: note: Function 'put' argument 2 names different: declaration 'data' definition 'value'. xschem-3.4.4/scconfig/src/default/db.c:322:46: note: Function 'put' argument 2 names different: declaration 'data' definition 'value'. xschem-3.4.4/scconfig/src/default/db.c:110:46: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/db.c:366:13: style: Variable 'target' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/db.c:377:8: style: Variable 'ht' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:726:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xschem-3.4.4/scconfig/src/default/find_fscalls.c:725:11: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fscalls.c:725:11: note: Assignment 'f=fopen(tmp,"w")', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fscalls.c:726:10: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fscalls.c:727:9: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xschem-3.4.4/scconfig/src/default/find_fscalls.c:725:11: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fscalls.c:725:11: note: Assignment 'f=fopen(tmp,"w")', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fscalls.c:727:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fscalls.c:35:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:66:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:92:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:133:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:164:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:190:8: style: Variable 'test_c_templ' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:249:8: style: Variable 'test_c_templ' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:306:8: style: Variable 'test_c_templ' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:398:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:421:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:445:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:468:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:470:8: style: Variable 'test_c_in' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:532:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:534:8: style: Variable 'test_c_in' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:661:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:693:8: style: Variable 'test_c_in' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fscalls.c:748:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_io.c:35:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_io.c:103:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_io.c:127:8: style: Variable 'test_c_' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_io.c:221:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fstools.c:160:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:158:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:158:15: note: Assignment 'file=malloc(strlen(dir)+32)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:160:12: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:170:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:158:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:158:15: note: Assignment 'file=malloc(strlen(dir)+32)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:170:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:250:22: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:621:26: note: Calling function 'test_ar', 2nd argument 'targetar' value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:250:22: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:251:30: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:621:26: note: Calling function 'test_ar', 2nd argument 'targetar' value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:251:30: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:253:26: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:621:26: note: Calling function 'test_ar', 2nd argument 'targetar' value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:253:26: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:294:22: warning: If memory allocation fails, then there is a possible null pointer dereference: command [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assignment 'targetranlib=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:682:30: note: Calling function 'test_ranlib', 2nd argument 'targetranlib' value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:294:22: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:619:11: warning: If memory allocation fails, then there is a possible null pointer dereference: targetar [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:619:11: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:680:11: warning: If memory allocation fails, then there is a possible null pointer dereference: targetranlib [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assignment 'targetranlib=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:680:11: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_fstools.c:620:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:620:20: note: Null pointer addition xschem-3.4.4/scconfig/src/default/find_fstools.c:681:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assignment 'targetranlib=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:681:24: note: Null pointer addition xschem-3.4.4/scconfig/src/default/find_fstools.c:142:8: style: Variable 'test_string' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fstools.c:199:30: style: Variable 'test_string' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fstools.c:237:8: style: Variable 'test_string' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fstools.c:327:8: style: Variable 'test_awk' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fstools.c:409:14: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_fstools.c:642:8: style: Variable 'test_code' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_libs.c:59:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_libs.c:73:8: style: Variable 'test_c_dlc' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_libs.c:166:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_libs.c:189:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_proc.c:33:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_proc.c:56:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_proc.c:95:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_proc.c:125:8: style: Variable 'test_c_in' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:80:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:88:8: style: Variable 'expected' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:124:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:155:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:216:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:246:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_printf.c:283:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_signal.c:31:60: style: Parameter 'cflags' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/find_signal.c:49:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_signal.c:74:8: style: Variable 'test_c_exists' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_signal.c:84:8: style: Variable 'test_c_terms' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_str.c:34:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_str.c:57:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:120:11: warning: If memory allocation fails, then there is a possible null pointer dereference: targetcc [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assignment 'targetcc=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_cc.c:120:11: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_cc.c:121:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assignment 'targetcc=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_cc.c:121:20: note: Null pointer addition xschem-3.4.4/scconfig/src/default/find_cc.c:547:72: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:709:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:712:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:866:91: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:867:91: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:868:91: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:922:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:927:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:946:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:1050:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_cc.c:235:8: style: Local variable 'name' shadows outer argument [shadowArgument] xschem-3.4.4/scconfig/src/default/find_cc.c:222:36: note: Shadowed declaration xschem-3.4.4/scconfig/src/default/find_cc.c:235:8: note: Shadow variable xschem-3.4.4/scconfig/src/default/find_cc.c:891:7: style: Local variable 'test_lib' shadows outer variable [shadowVariable] xschem-3.4.4/scconfig/src/default/find_cc.c:766:20: note: Shadowed declaration xschem-3.4.4/scconfig/src/default/find_cc.c:891:7: note: Shadow variable xschem-3.4.4/scconfig/src/default/find_cc.c:87:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:185:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:703:9: style: Variable 'ldf' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:808:8: style: Variable 'libname' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:896:18: style: Variable 'libname_ext' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:897:25: style: Variable 'appname_ext' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_cc.c:537:6: warning: String literal compared with variable 'NULL'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare] xschem-3.4.4/scconfig/src/default/find_thread.c:37:8: style: Variable 'test_c_recursive' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_thread.c:50:8: style: Variable 'test_c_simple' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:33:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:56:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:78:31: style: Variable 'test_c_in' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:122:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:145:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:170:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:195:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_time.c:220:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_sys.c:251:3: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assignment 't=malloc(strlen(tmp)*2)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_sys.c:251:3: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_sys.c:252:3: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assignment 't=malloc(strlen(tmp)*2)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_sys.c:252:3: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_sys.c:253:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assignment 't=malloc(strlen(tmp)*2)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_sys.c:253:28: note: Null pointer addition xschem-3.4.4/scconfig/src/default/find_sys.c:39:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_sys.c:153:8: style: Variable 'test' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_sys.c:371:8: style: Variable 'test' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_sys.c:374:8: style: Variable 'q' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_sys.c:280:7: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/scconfig/src/default/find_uname.c:140:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_uname.c:139:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_uname.c:139:14: note: Assignment 's=malloc(len+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_uname.c:140:11: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_uname.c:141:4: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/find_uname.c:139:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_uname.c:139:14: note: Assignment 's=malloc(len+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_uname.c:141:4: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/find_uname.c:327:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_uname.c:329:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/find_uname.c:305:117: style: Parameter 'sep' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/find_uname.c:305:128: style: Parameter 'esc' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/ht.c:57:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:57:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:58:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:58:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:59:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:59:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:60:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:60:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:61:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:61:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:61:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:61:21: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:62:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:62:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/ht.c:120:27: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/scconfig/src/default/ht.c:141:49: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/scconfig/src/default/lib_file.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/lib_file.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/lib_compile.c:53:12: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assignment 'output=malloc(len+strlen(input)+4)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_compile.c:53:12: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_compile.c:54:5: warning: If memory allocation fails, then there is a possible null pointer dereference: output [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assignment 'output=malloc(len+strlen(input)+4)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_compile.c:54:5: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_compile.c:55:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assignment 'output=malloc(len+strlen(input)+4)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_compile.c:55:19: note: Null pointer addition xschem-3.4.4/scconfig/src/default/lib_compile.c:99:139: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_file.c:130:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xschem-3.4.4/scconfig/src/default/lib_file.c:129:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_file.c:129:12: note: Assignment 'f=fopen(fn,"w")', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_file.c:130:10: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_file.c:131:9: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] xschem-3.4.4/scconfig/src/default/lib_file.c:129:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_file.c:129:12: note: Assignment 'f=fopen(fn,"w")', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_file.c:131:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_file.c:144:4: warning: If memory allocation fails, then there is a possible null pointer dereference: content [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_file.c:143:19: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_file.c:143:19: note: Assignment 'content=malloc(size+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_file.c:144:4: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_file.c:156:4: warning: If memory allocation fails, then there is a possible null pointer dereference: content [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_file.c:155:19: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_file.c:155:19: note: Assignment 'content=malloc(1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_file.c:156:4: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_file.c:62:7: style: Variable 'emu' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/scconfig/src/default/lib_pkg_config.c:172:5: error: Common realloc mistake: 'sf' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/lib_pkg_config.c:121:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_pkg_config.c:148:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_pkg_config.c:137:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/lib_filelist.c:188:6: error: Common realloc mistake: 'arr' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/lib_filelist.c:70:13: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fn [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_filelist.c:66:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_filelist.c:66:13: note: Assignment 'fn=malloc(strlen(dir)+32)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_filelist.c:70:13: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/lib_filelist.c:243:6: warning: Uninitialized variable: res [uninitvar] xschem-3.4.4/scconfig/src/default/lib_filelist.c:236:10: note: Assuming condition is false xschem-3.4.4/scconfig/src/default/lib_filelist.c:243:6: note: Uninitialized variable: res xschem-3.4.4/scconfig/src/default/lib_srctree.c:38:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_srctree.c:54:11: style: Variable 'val' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_types.c:37:41: style: Parameter 'cflags' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/find_types.c:95:8: style: Variable 'test_c' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_types.c:210:8: style: Variable 'test_c_include' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_types.c:226:8: style: Variable 'test_c_size' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_types.c:236:8: style: Variable 'test_c_broken' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/find_types.c:329:6: warning: Uninitialized variable: res [uninitvar] xschem-3.4.4/scconfig/src/default/find_types.c:308:60: note: Assuming condition is false xschem-3.4.4/scconfig/src/default/find_types.c:329:6: note: Uninitialized variable: res xschem-3.4.4/scconfig/src/default/lib_uniqinc.c:92:5: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/lib_uniqinc.c:103:2: error: Common realloc mistake: 'list' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/default/log.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/log.c:87:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/lib_uniqinc.c:36:69: style:inconclusive: Function 'uniq_inc_arr' argument 3 names different: declaration 'sep' definition 'sep_'. [funcArgNamesDifferent] xschem-3.4.4/scconfig/src/default/libs.h:112:69: note: Function 'uniq_inc_arr' argument 3 names different: declaration 'sep' definition 'sep_'. xschem-3.4.4/scconfig/src/default/lib_uniqinc.c:36:69: note: Function 'uniq_inc_arr' argument 3 names different: declaration 'sep' definition 'sep_'. xschem-3.4.4/scconfig/src/default/lib_uniqinc.c:38:22: style: Variable 'cw' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/default/main.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/main.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/main.c:38:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/lib_try.c:180:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:181:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:182:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:184:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:185:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:186:24: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:189:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:190:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:191:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:193:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:194:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:195:25: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:208:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:213:65: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:224:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:229:63: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:262:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:263:73: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:264:75: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/scconfig/src/default/lib_try.c:10:36: style: Parameter 'stdout_str' can be declared as pointer to const. However it seems that 'try_icl_accept_ok' is a callback function, if 'stdout_str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xschem-3.4.4/scconfig/src/default/lib_try.c:277:77: note: You might need to cast the function pointer here xschem-3.4.4/scconfig/src/default/lib_try.c:10:36: note: Parameter 'stdout_str' can be declared as pointer to const xschem-3.4.4/scconfig/src/default/lib_try.c:373:35: style: Parameter 'stdout_str' can be declared as pointer to const. However it seems that 'field_accept_res' is a callback function, if 'stdout_str' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xschem-3.4.4/scconfig/src/default/lib_try.c:403:73: note: You might need to cast the function pointer here xschem-3.4.4/scconfig/src/default/lib_try.c:373:35: note: Parameter 'stdout_str' can be declared as pointer to const xschem-3.4.4/scconfig/src/default/main_lib.c:166:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/main_lib.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/main_lib.c:193:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/default/str.c:121:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/gui/find_cairo.c:34:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_gd.c:34:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/default/str.c:38:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/str.c:37:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/str.c:37:14: note: Assignment 'ret=malloc(l)', assigned value is 0 xschem-3.4.4/scconfig/src/default/str.c:38:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/str.c:152:3: warning: If memory allocation fails, then there is a possible null pointer dereference: o [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/str.c:141:18: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/str.c:141:10: note: Assignment 'o=out=malloc(sum)', assigned value is 0 xschem-3.4.4/scconfig/src/default/str.c:142:15: note: Assuming condition is false xschem-3.4.4/scconfig/src/default/str.c:152:3: note: Null pointer dereference xschem-3.4.4/scconfig/src/gui/find_gl.c:37:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_gtk2.c:39:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_gtk3.c:36:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_gtk4.c:40:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_lesstif2.c:34:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_misc.c:34:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_sdl2.c:51:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/gui/find_x.c:35:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/parsgen/find_parsgen.c:35:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_duktape.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_fungw.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_funlisp.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_guile.c:34:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_lua.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_gpmi.c:68:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strue [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/scripts/find_m4.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_mawk.c:31:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_mruby.c:29:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_mujs.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/default/regex.c:606:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assignment 'dst=malloc(l1+l2+l3+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/regex.c:606:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/default/regex.c:609:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assignment 'dst=malloc(l1+l2+l3+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/regex.c:609:12: note: Null pointer addition xschem-3.4.4/scconfig/src/default/regex.c:575:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/default/regex.c:591:25: style: Parameter 'sub' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/scripts/find_perl.c:31:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_gpmi.c:87:6: warning: Uninitialized variable: out [uninitvar] xschem-3.4.4/scconfig/src/scripts/find_gpmi.c:64:13: note: Assuming condition is false xschem-3.4.4/scconfig/src/scripts/find_gpmi.c:87:6: note: Uninitialized variable: out xschem-3.4.4/scconfig/src/scripts/find_picol.c:30:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_python.c:32:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_stutter.c:31:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_ruby.c:67:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_tcl.c:46:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/scripts/find_welltype.c:56:3: error: There is an unknown macro here somewhere. Configuration is required. If NL is a macro then please configure it. [unknownMacro] xschem-3.4.4/scconfig/src/tmpasm/openfiles.c:13:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/debug.c:34:47: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/tmpasm/tester.c:12:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tester.c:18:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tester.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tester.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tester.c:10:20: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/tmpasm/tester.c:43:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/scripts/scripts.c:75:30: style: Condition '!res' is always true [knownConditionTrueFalse] xschem-3.4.4/scconfig/src/scripts/scripts.c:72:8: note: Assignment 'res=0', assigned value is 0 xschem-3.4.4/scconfig/src/scripts/scripts.c:75:30: note: Condition '!res' is always true xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strue [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:257:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:309:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eopat [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:452:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:628:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/arg_auto_menu.c:14:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_lib_nodes [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/arg_auto_menu.c:80:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCM_TERMINATOR [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:639:3: error: Resource leak: fin [resourceLeak] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:301:9: warning: If memory allocation fails, then there is a possible null pointer dereference: buff [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:298:16: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:298:16: note: Assignment 'buff=malloc(strlen(val)*(slen+3)+32)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:301:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:445:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ud [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:442:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:442:20: note: Assignment 'ud=malloc(sizeof(struct scc_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:445:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:446:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ud [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:442:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:442:20: note: Assignment 'ud=malloc(sizeof(struct scc_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:446:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:447:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ud [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:442:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:442:20: note: Assignment 'ud=malloc(sizeof(struct scc_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:447:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:270:44: style: Parameter 'iname' can be declared as pointer to const. However it seems that 'instr_sub' is a callback function, if 'iname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:576:10: note: You might need to cast the function pointer here xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:270:44: note: Parameter 'iname' can be declared as pointer to const xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:272:21: style: Variable 'err' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:272:41: style: Variable 'end' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:329:45: style: Parameter 'iname' can be declared as pointer to const. However it seems that 'instr_uniq' is a callback function, if 'iname' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:574:10: note: You might need to cast the function pointer here xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:329:45: note: Parameter 'iname' can be declared as pointer to const xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:363:37: style: Variable 'dirs' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:586:42: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/tmpasm/tmpasm_scconfig.c:658:9: style: Variable 'ud' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/cquote.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/cquote.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/cquote.c:91:9: style: Variable 'col' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/scconfig/src/util/cquote.c:90:8: note: col is assigned xschem-3.4.4/scconfig/src/util/cquote.c:91:9: note: col is overwritten xschem-3.4.4/scconfig/src/util/cquote.c:110:8: style: Variable 'varname' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/cquote.c:111:8: style: Variable 'inds' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/cquote.c:112:8: style: Variable 'banner' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/cquote.c:113:8: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/cquote.c:113:20: style: Variable 'dprefix' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/ls.c:63:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] xschem-3.4.4/scconfig/src/util/ls.c:58:17: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/ls.c:72:6: style: Unused variable: i [unusedVariable] xschem-3.4.4/scconfig/src/util/sccbox.c:295:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:347:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:475:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:544:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:654:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:745:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:795:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:838:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:904:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:919:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/util/sccbox.c:948:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:705:5: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:23:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:22:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:22:14: note: Assignment 'ret=malloc(l)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:23:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:49:2: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:48:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:48:12: note: Assignment 'c=calloc(sizeof(struct tmpasm_exec_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:49:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:85:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assignment 'new=calloc(sizeof(struct tmpasm_stack_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:85:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:86:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assignment 'new=calloc(sizeof(struct tmpasm_stack_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:86:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:87:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assignment 'new=calloc(sizeof(struct tmpasm_stack_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:87:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:87:14: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:581:7: note: Calling function 'push', 1st argument 'ctx' value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:87:14: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:88:2: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:84:14: note: Assignment 'new=calloc(sizeof(struct tmpasm_stack_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:88:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:89:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:581:7: note: Calling function 'push', 1st argument 'ctx' value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:89:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:196:9: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:195:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:195:12: note: Assignment 'a=malloc(ctx->st->arg_alloced[id]+sizeof(struct tmpasm_arg_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:196:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:197:2: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:195:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:195:12: note: Assignment 'a=malloc(ctx->st->arg_alloced[id]+sizeof(struct tmpasm_arg_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:197:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:198:2: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:195:12: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:195:12: note: Assignment 'a=malloc(ctx->st->arg_alloced[id]+sizeof(struct tmpasm_arg_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:198:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:397:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:396:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:396:15: note: Assignment 'c=malloc(sizeof(struct tmpasm_case_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:397:5: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:398:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:396:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:396:15: note: Assignment 'c=malloc(sizeof(struct tmpasm_case_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:398:5: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:399:5: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:396:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:396:15: note: Assignment 'c=malloc(sizeof(struct tmpasm_case_t))', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:399:5: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:577:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:577:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:578:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:578:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:579:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:579:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:580:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:580:2: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:581:32: warning: If memory allocation fails, then there is a possible null pointer dereference: ctx [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:576:14: note: Assignment 'ctx=calloc(sizeof(struct tmpasm_t),1)', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:581:32: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:710:3: warning: Possible null pointer dereference: s [nullPointer] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:688:13: note: Assignment 's=NULL', assigned value is 0 xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:691:10: note: Assuming condition is false xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:710:3: note: Null pointer dereference xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:73:48: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/tmpasm/tmpasm.c:213:38: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/scconfig/src/util/sccbox.c:623:4: error: Memory leak: p [memleak] xschem-3.4.4/scconfig/src/util/sccbox.c:619:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/util/sccbox.c:618:18: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/util/sccbox.c:618:18: note: Assignment 'p=malloc(len+1)', assigned value is 0 xschem-3.4.4/scconfig/src/util/sccbox.c:619:9: note: Null pointer dereference xschem-3.4.4/scconfig/src/util/sccbox.c:626:15: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/util/sccbox.c:618:18: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/util/sccbox.c:618:18: note: Assignment 'p=malloc(len+1)', assigned value is 0 xschem-3.4.4/scconfig/src/util/sccbox.c:622:16: note: Assuming condition is false xschem-3.4.4/scconfig/src/util/sccbox.c:626:15: note: Null pointer dereference xschem-3.4.4/scconfig/src/util/sccbox.c:322:8: style: Variable 'bn' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:675:2: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:681:2: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:745:2: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:777:2: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:795:3: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:804:3: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:848:2: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/scconfig/src/util/sccbox.c:375:89: error: Uninitialized variable: dst2 [uninitvar] xschem-3.4.4/scconfig/src/util/sccbox.c:828:5: error: Uninitialized variable: seed [legacyUninitvar] xschem-3.4.4/scconfig/src/util/sccbox.c:536:17: style: Variable 'remove_dst' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/scconfig/src/util/sccbox.c:575:14: style: Variable 'remove_dst' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/actions.c:586:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:918:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:1646:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:1937:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2157:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2305:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2379:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2398:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2498:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2761:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/check.c:126:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/callback.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/callback.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/callback.c:1011:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/callback.c:1050:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_CAPITAL [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/callback.c:2858:30: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/callback.c:2855:30: note: First condition xschem-3.4.4/src/callback.c:2858:30: note: Second condition xschem-3.4.4/src/callback.c:2128:9: style: Condition '0&&(key=='u')' is always false [knownConditionTrueFalse] xschem-3.4.4/src/callback.c:2442:10: style: Condition '0&&(key==';')' is always false [knownConditionTrueFalse] xschem-3.4.4/src/callback.c:2446:9: style: Condition '0&&key=='~'' is always false [knownConditionTrueFalse] xschem-3.4.4/src/callback.c:2449:9: style: Condition '0&&key=='|'' is always false [knownConditionTrueFalse] xschem-3.4.4/src/callback.c:2452:9: style: Condition '0&&key=='|'' is always false [knownConditionTrueFalse] xschem-3.4.4/src/callback.c:1128:8: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xschem-3.4.4/src/callback.c:56:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:61:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:63:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:139:84: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:273:98: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:275:85: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:276:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:415:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:581:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1060:93: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1062:92: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1064:79: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1077:73: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1079:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1082:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1104:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1147:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1153:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1155:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1620:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1624:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1626:76: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:1901:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:2607:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/callback.c:107:8: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/callback.c:107:8: note: Shadow variable xschem-3.4.4/src/callback.c:707:20: style: Local variable 'delta' shadows outer variable [shadowVariable] xschem-3.4.4/src/callback.c:701:16: note: Shadowed declaration xschem-3.4.4/src/callback.c:707:20: note: Shadow variable xschem-3.4.4/src/callback.c:766:20: style: Local variable 'delta' shadows outer variable [shadowVariable] xschem-3.4.4/src/callback.c:760:16: note: Shadowed declaration xschem-3.4.4/src/callback.c:766:20: note: Shadow variable xschem-3.4.4/src/callback.c:1638:10: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/callback.c:1638:10: note: Shadow variable xschem-3.4.4/src/callback.c:1645:10: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/callback.c:1645:10: note: Shadow variable xschem-3.4.4/src/callback.c:1782:9: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/callback.c:1782:9: note: Shadow variable xschem-3.4.4/src/callback.c:1790:9: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/callback.c:1790:9: note: Shadow variable xschem-3.4.4/src/callback.c:2046:11: style: Local variable 'str' shadows outer variable [shadowVariable] xschem-3.4.4/src/callback.c:1045:7: note: Shadowed declaration xschem-3.4.4/src/callback.c:2046:11: note: Shadow variable xschem-3.4.4/src/callback.c:48:12: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/callback.c:191:49: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/callback.c:217:28: style: Variable 'gv' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/callback.c:38:34: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:39:41: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:40:42: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:41:64: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:42:87: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:43:59: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:44:83: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:45:61: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:46:58: style: Variable 'skip' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:380:27: style: Variable 'need_redraw' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/callback.c:976:23: style: Variable 'redraw_all_at_end' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/clip.c:47:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/clip.c:197:76: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xschem-3.4.4/src/clip.c:128:9: style: Local variable 'dist' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1325:15: note: Shadowed declaration xschem-3.4.4/src/clip.c:128:9: note: Shadow variable xschem-3.4.4/src/check.c:52:14: style: Variable 'wireptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/editprop.c:819:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/editprop.c:890:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/editprop.c:1011:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/editprop.c:1081:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/editprop.c:1231:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/editprop.c:1368:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable templ [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:945:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CoordModeOrigin [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1063:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1176:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1263:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1358:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1424:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1531:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1634:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1685:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1748:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:1802:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:2235:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:3178:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/draw.c:3850:91: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/editprop.c:793:14: style: Condition 'nread==-1' is always false [knownConditionTrueFalse] xschem-3.4.4/src/editprop.c:789:46: note: Assuming that condition '(nread=read(fd,buf,BUFFER_SIZE))>0' is not redundant xschem-3.4.4/src/editprop.c:793:14: note: Condition 'nread==-1' is always false xschem-3.4.4/src/editprop.c:565:9: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xschem-3.4.4/src/editprop.c:565:9: portability: %ld in format string (no. 3) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xschem-3.4.4/src/editprop.c:578:20: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xschem-3.4.4/src/editprop.c:595:31: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xschem-3.4.4/src/editprop.c:390:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/editprop.c:536:13: warning: Either the condition 'append_str==NULL' is redundant or there is possible null pointer dereference: append_str. [nullPointerRedundantCheck] xschem-3.4.4/src/editprop.c:541:17: note: Assuming that condition 'append_str==NULL' is not redundant xschem-3.4.4/src/editprop.c:536:13: note: Null pointer dereference xschem-3.4.4/src/editprop.c:258:26: style:inconclusive: Function 'my_snprintf' argument 1 names different: declaration 'str' definition 'string'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1479:33: note: Function 'my_snprintf' argument 1 names different: declaration 'str' definition 'string'. xschem-3.4.4/src/editprop.c:258:26: note: Function 'my_snprintf' argument 1 names different: declaration 'str' definition 'string'. xschem-3.4.4/src/editprop.c:258:59: style:inconclusive: Function 'my_snprintf' argument 3 names different: declaration 'fmt' definition 'format'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1479:63: note: Function 'my_snprintf' argument 3 names different: declaration 'fmt' definition 'format'. xschem-3.4.4/src/editprop.c:258:59: note: Function 'my_snprintf' argument 3 names different: declaration 'fmt' definition 'format'. xschem-3.4.4/src/editprop.c:474:51: style:inconclusive: Function 'my_mstrcat' argument 3 names different: declaration 'append_str' definition 'add'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1501:58: note: Function 'my_mstrcat' argument 3 names different: declaration 'append_str' definition 'add'. xschem-3.4.4/src/editprop.c:474:51: note: Function 'my_mstrcat' argument 3 names different: declaration 'append_str' definition 'add'. xschem-3.4.4/src/editprop.c:211:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/editprop.c:277:13: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/editprop.c:791:11: style: Variable 'last' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/editprop.c:51:13: style: Variable 'found' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/editprop.c:382:22: style: Variable 'mul' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/editprop.c:394:9: style: Variable 'mul' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/findnet.c:65:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable points [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/findnet.c:99:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/findnet.c:123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/findnet.c:188:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/findnet.c:235:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y2 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/findnet.c:318:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/findnet.c:117:42: style: Local variable 'dist' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1325:15: note: Shadowed declaration xschem-3.4.4/src/findnet.c:117:42: note: Shadow variable xschem-3.4.4/src/findnet.c:177:9: style: Local variable 'dist' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1325:15: note: Shadowed declaration xschem-3.4.4/src/findnet.c:177:9: note: Shadow variable xschem-3.4.4/src/font.c:47:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/actions.c:2633:12: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/actions.c:2628:12: note: First condition xschem-3.4.4/src/actions.c:2633:12: note: Second condition xschem-3.4.4/src/actions.c:196:9: style: Condition 'source' is always true [knownConditionTrueFalse] xschem-3.4.4/src/actions.c:2245:18: style: Condition 'text_bbox(get_text_floater(i),xctx->text[i].xscale,xctx->text[i].yscale,xctx->text[i].rot,xctx->text[i].flip,xctx->text[i].hcenter,xctx->text[i].vcenter,xctx->text[i].x0,xctx->text[i].y0,&rect.x1,&rect.y1,&rect.x2,&rect.y2,&no_of_lines,&longest_line)' is always true [knownConditionTrueFalse] xschem-3.4.4/src/actions.c:2245:18: note: Calling function 'text_bbox' returns 1 xschem-3.4.4/src/actions.c:2245:18: note: Condition 'text_bbox(get_text_floater(i),xctx->text[i].xscale,xctx->text[i].yscale,xctx->text[i].rot,xctx->text[i].flip,xctx->text[i].hcenter,xctx->text[i].vcenter,xctx->text[i].x0,xctx->text[i].y0,&rect.x1,&rect.y1,&rect.x2,&rect.y2,&no_of_lines,&longest_line)' is always true xschem-3.4.4/src/actions.c:1267:10: style: Redundant assignment of 'piny0' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2580:11: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2580:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2589:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2589:11: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2599:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2599:11: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2608:11: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2608:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2659:9: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2659:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2663:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2663:9: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2669:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2669:9: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2673:9: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2673:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2693:7: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2693:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2697:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2697:7: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2704:9: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2704:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2708:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2708:9: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2714:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2714:7: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2718:7: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2718:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2725:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2725:9: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2729:9: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2729:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2874:11: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2874:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2882:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2882:11: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2891:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2891:11: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2899:11: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2899:11: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2927:7: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2927:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2931:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2931:7: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2938:9: style: Redundant assignment of 'xctx->nl_yy1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2938:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2942:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2942:9: style: Redundant assignment of 'xctx->nl_xx2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2948:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2948:7: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2952:7: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2952:7: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2959:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2959:9: style: Redundant assignment of 'xctx->nl_xx1' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2963:9: style: Redundant assignment of 'xctx->nl_yy2' to itself. [selfAssignment] xschem-3.4.4/src/actions.c:2963:9: style: Same expression on both sides of '<'. [duplicateExpression] xschem-3.4.4/src/actions.c:2580:11: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2580:11: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2580:11: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2580:11: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2589:11: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2589:11: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2589:11: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2589:11: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2599:11: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2599:11: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2599:11: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2599:11: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2608:11: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2608:11: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2608:11: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2608:11: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2656:21: style: Variable 'xctx->nl_x2' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/actions.c:2649:18: note: xctx->nl_x2 is assigned xschem-3.4.4/src/actions.c:2656:21: note: xctx->nl_x2 is overwritten xschem-3.4.4/src/actions.c:2656:44: style: Variable 'xctx->nl_y2' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/actions.c:2650:18: note: xctx->nl_y2 is assigned xschem-3.4.4/src/actions.c:2656:44: note: xctx->nl_y2 is overwritten xschem-3.4.4/src/actions.c:2657:22: style: Variable 'xctx->nl_xx1' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/actions.c:2651:19: note: xctx->nl_xx1 is assigned xschem-3.4.4/src/actions.c:2657:22: note: xctx->nl_xx1 is overwritten xschem-3.4.4/src/actions.c:2657:50: style: Variable 'xctx->nl_yy1' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/actions.c:2652:19: note: xctx->nl_yy1 is assigned xschem-3.4.4/src/actions.c:2657:50: note: xctx->nl_yy1 is overwritten xschem-3.4.4/src/actions.c:2658:22: style: Variable 'xctx->nl_xx2' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/actions.c:2653:19: note: xctx->nl_xx2 is assigned xschem-3.4.4/src/actions.c:2658:22: note: xctx->nl_xx2 is overwritten xschem-3.4.4/src/actions.c:2658:50: style: Variable 'xctx->nl_yy2' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/actions.c:2654:19: note: xctx->nl_yy2 is assigned xschem-3.4.4/src/actions.c:2658:50: note: xctx->nl_yy2 is overwritten xschem-3.4.4/src/actions.c:2659:9: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2659:9: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2659:9: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2659:9: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2663:9: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2663:9: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2663:9: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2663:9: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2669:9: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2669:9: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2669:9: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2669:9: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2673:9: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2673:9: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2673:9: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2673:9: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2693:7: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2693:7: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2693:7: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2693:7: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2697:7: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2697:7: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2697:7: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2697:7: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2704:9: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2704:9: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2704:9: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2704:9: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2708:9: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2708:9: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2708:9: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2708:9: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2714:7: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2714:7: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2714:7: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2714:7: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2718:7: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2718:7: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2718:7: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2718:7: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2725:9: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2725:9: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2725:9: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2725:9: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2729:9: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2729:9: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2729:9: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2729:9: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2874:11: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2874:11: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2874:11: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2874:11: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2882:11: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2882:11: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2882:11: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2882:11: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2891:11: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2891:11: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2891:11: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2891:11: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2899:11: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2899:11: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2899:11: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2899:11: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2927:7: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2927:7: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2927:7: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2927:7: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2931:7: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2931:7: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2931:7: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2931:7: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2938:9: style: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2938:9: note: xxtmp is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2938:9: note: xctx->nl_yy1 is assigned 'xctx->nl_yy1' here. xschem-3.4.4/src/actions.c:2938:9: note: Variable 'xctx->nl_yy1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2942:9: style: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2942:9: note: xxtmp is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2942:9: note: xctx->nl_xx2 is assigned 'xctx->nl_xx2' here. xschem-3.4.4/src/actions.c:2942:9: note: Variable 'xctx->nl_xx2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2948:7: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2948:7: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2948:7: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2948:7: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2952:7: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2952:7: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2952:7: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2952:7: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2959:9: style: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2959:9: note: xxtmp is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2959:9: note: xctx->nl_xx1 is assigned 'xctx->nl_xx1' here. xschem-3.4.4/src/actions.c:2959:9: note: Variable 'xctx->nl_xx1' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:2963:9: style: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. [redundantAssignment] xschem-3.4.4/src/actions.c:2963:9: note: xxtmp is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2963:9: note: xctx->nl_yy2 is assigned 'xctx->nl_yy2' here. xschem-3.4.4/src/actions.c:2963:9: note: Variable 'xctx->nl_yy2' is assigned an expression that holds the same value. xschem-3.4.4/src/actions.c:161:92: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:162:95: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:164:91: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:165:94: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:247:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:249:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:269:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:271:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:521:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:559:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:1400:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:1571:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:1833:83: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:1915:19: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:1959:107: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:2094:79: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:2105:79: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/actions.c:573:24: style:inconclusive: Function 'remove_symbol' argument 1 names different: declaration 'i' definition 'j'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1358:31: note: Function 'remove_symbol' argument 1 names different: declaration 'i' definition 'j'. xschem-3.4.4/src/actions.c:573:24: note: Function 'remove_symbol' argument 1 names different: declaration 'i' definition 'j'. xschem-3.4.4/src/actions.c:2293:20: style:inconclusive: Function 'zoom_full' argument 1 names different: declaration 'draw' definition 'dr'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1242:27: note: Function 'zoom_full' argument 1 names different: declaration 'draw' definition 'dr'. xschem-3.4.4/src/actions.c:2293:20: note: Function 'zoom_full' argument 1 names different: declaration 'draw' definition 'dr'. xschem-3.4.4/src/actions.c:3184:57: style:inconclusive: Function 'text_bbox' argument 15 names different: declaration 'longest_line' definition 'cairo_longest_line'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1256:65: note: Function 'text_bbox' argument 15 names different: declaration 'longest_line' definition 'cairo_longest_line'. xschem-3.4.4/src/actions.c:3184:57: note: Function 'text_bbox' argument 15 names different: declaration 'longest_line' definition 'cairo_longest_line'. xschem-3.4.4/src/actions.c:576:11: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/actions.c:576:11: note: Shadow variable xschem-3.4.4/src/actions.c:469:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:498:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:753:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:852:40: style: Parameter 'drptr' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/actions.c:1024:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:1078:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:1135:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:1159:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:1704:18: style: Variable 'found' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:2262:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:2263:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:3340:23: style: Variable 'hsize' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:3340:31: style: Variable 'vsize' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/actions.c:1761:12: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/actions.c:1851:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/hilight.c:360:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:522:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:591:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:675:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:986:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:1074:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:1112:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:1189:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:1510:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:31:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:44:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:57:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:73:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:135:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:308:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/in_memory_undo.c:459:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/main.c:82:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/main.c:121:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] xschem-3.4.4/src/main.c:122:5: warning: Return value of function freopen() is not used. [ignoredReturnValue] xschem-3.4.4/src/main.c:74:12: style: Local variable 'display' shadows outer variable [shadowVariable] xschem-3.4.4/src/xschem.h:1091:17: note: Shadowed declaration xschem-3.4.4/src/main.c:74:12: note: Shadow variable xschem-3.4.4/src/main.c:74:12: style: Unused variable: display [unusedVariable] xschem-3.4.4/src/move.c:60:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/move.c:128:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/move.c:202:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/move.c:684:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/move.c:1115:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/move.c:421:14: style: Variable 'angle' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/move.c:419:12: note: angle is assigned xschem-3.4.4/src/move.c:421:14: note: angle is overwritten xschem-3.4.4/src/move.c:905:17: style: Variable 'angle' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/move.c:903:15: note: angle is assigned xschem-3.4.4/src/move.c:905:17: note: angle is overwritten xschem-3.4.4/src/move.c:1401:15: style: Variable 'angle' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/move.c:1399:13: note: angle is assigned xschem-3.4.4/src/move.c:1401:15: note: angle is overwritten xschem-3.4.4/src/move.c:1176:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/move.c:524:15: style: Local variable 'p' shadows outer variable [shadowVariable] xschem-3.4.4/src/move.c:501:13: note: Shadowed declaration xschem-3.4.4/src/move.c:524:15: note: Shadow variable xschem-3.4.4/src/move.c:1174:9: style: Local variable 'n' shadows outer variable [shadowVariable] xschem-3.4.4/src/move.c:1095:12: note: Shadowed declaration xschem-3.4.4/src/move.c:1174:9: note: Shadow variable xschem-3.4.4/src/move.c:500:18: style: Variable 'nentry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/move.c:525:17: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/move.c:559:15: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:653:23: style: Condition 'text.txt_ptr' is always true [knownConditionTrueFalse] xschem-3.4.4/src/draw.c:2978:24: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/draw.c:2966:9: note: idx is assigned xschem-3.4.4/src/draw.c:2978:24: note: idx is overwritten xschem-3.4.4/src/draw.c:3147:30: style: Variable 'idx' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/draw.c:3134:11: note: idx is assigned xschem-3.4.4/src/draw.c:3147:30: note: idx is overwritten xschem-3.4.4/src/draw.c:96:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/draw.c:100:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/draw.c:2821:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/draw.c:2846:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/draw.c:402:26: style:inconclusive: Function 'draw_temp_string' argument 1 names different: declaration 'gc' definition 'gctext'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1313:33: note: Function 'draw_temp_string' argument 1 names different: declaration 'gc' definition 'gctext'. xschem-3.4.4/src/draw.c:402:26: note: Function 'draw_temp_string' argument 1 names different: declaration 'gc' definition 'gctext'. xschem-3.4.4/src/draw.c:424:72: style:inconclusive: Function 'draw_symbol' argument 6 names different: declaration 'tmp_rot' definition 'rot'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1296:35: note: Function 'draw_symbol' argument 6 names different: declaration 'tmp_rot' definition 'rot'. xschem-3.4.4/src/draw.c:424:72: note: Function 'draw_symbol' argument 6 names different: declaration 'tmp_rot' definition 'rot'. xschem-3.4.4/src/draw.c:709:78: style:inconclusive: Function 'draw_temp_symbol' argument 6 names different: declaration 'tmp_rot' definition 'rot'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1312:35: note: Function 'draw_temp_symbol' argument 6 names different: declaration 'tmp_rot' definition 'rot'. xschem-3.4.4/src/draw.c:709:78: note: Function 'draw_temp_symbol' argument 6 names different: declaration 'tmp_rot' definition 'rot'. xschem-3.4.4/src/draw.c:1037:39: style:inconclusive: Function 'drawline' argument 3 names different: declaration 'x1' definition 'linex1'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1292:46: note: Function 'drawline' argument 3 names different: declaration 'x1' definition 'linex1'. xschem-3.4.4/src/draw.c:1037:39: note: Function 'drawline' argument 3 names different: declaration 'x1' definition 'linex1'. xschem-3.4.4/src/draw.c:1037:54: style:inconclusive: Function 'drawline' argument 4 names different: declaration 'y1' definition 'liney1'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1292:56: note: Function 'drawline' argument 4 names different: declaration 'y1' definition 'liney1'. xschem-3.4.4/src/draw.c:1037:54: note: Function 'drawline' argument 4 names different: declaration 'y1' definition 'liney1'. xschem-3.4.4/src/draw.c:1037:69: style:inconclusive: Function 'drawline' argument 5 names different: declaration 'x2' definition 'linex2'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1292:66: note: Function 'drawline' argument 5 names different: declaration 'x2' definition 'linex2'. xschem-3.4.4/src/draw.c:1037:69: note: Function 'drawline' argument 5 names different: declaration 'x2' definition 'linex2'. xschem-3.4.4/src/draw.c:1037:84: style:inconclusive: Function 'drawline' argument 6 names different: declaration 'y2' definition 'liney2'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1292:76: note: Function 'drawline' argument 6 names different: declaration 'y2' definition 'liney2'. xschem-3.4.4/src/draw.c:1037:84: note: Function 'drawline' argument 6 names different: declaration 'y2' definition 'liney2'. xschem-3.4.4/src/draw.c:1154:43: style:inconclusive: Function 'drawtempline' argument 3 names different: declaration 'x1' definition 'linex1'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1303:50: note: Function 'drawtempline' argument 3 names different: declaration 'x1' definition 'linex1'. xschem-3.4.4/src/draw.c:1154:43: note: Function 'drawtempline' argument 3 names different: declaration 'x1' definition 'linex1'. xschem-3.4.4/src/draw.c:1154:57: style:inconclusive: Function 'drawtempline' argument 4 names different: declaration 'y1' definition 'liney1'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1303:60: note: Function 'drawtempline' argument 4 names different: declaration 'y1' definition 'liney1'. xschem-3.4.4/src/draw.c:1154:57: note: Function 'drawtempline' argument 4 names different: declaration 'y1' definition 'liney1'. xschem-3.4.4/src/draw.c:1154:71: style:inconclusive: Function 'drawtempline' argument 5 names different: declaration 'x2' definition 'linex2'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1303:70: note: Function 'drawtempline' argument 5 names different: declaration 'x2' definition 'linex2'. xschem-3.4.4/src/draw.c:1154:71: note: Function 'drawtempline' argument 5 names different: declaration 'x2' definition 'linex2'. xschem-3.4.4/src/draw.c:1154:85: style:inconclusive: Function 'drawtempline' argument 6 names different: declaration 'y2' definition 'liney2'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1303:80: note: Function 'drawtempline' argument 6 names different: declaration 'y2' definition 'liney2'. xschem-3.4.4/src/draw.c:1154:85: note: Function 'drawtempline' argument 6 names different: declaration 'y2' definition 'liney2'. xschem-3.4.4/src/draw.c:1669:25: style:inconclusive: Function 'drawtemppolygon' argument 1 names different: declaration 'gc' definition 'g'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1309:32: note: Function 'drawtemppolygon' argument 1 names different: declaration 'gc' definition 'g'. xschem-3.4.4/src/draw.c:1669:25: note: Function 'drawtemppolygon' argument 1 names different: declaration 'gc' definition 'g'. xschem-3.4.4/src/draw.c:3875:35: style:inconclusive: Function 'XSetTile' argument 2 names different: declaration 'gctiled' definition 'gc'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:100:42: note: Function 'XSetTile' argument 2 names different: declaration 'gctiled' definition 'gc'. xschem-3.4.4/src/draw.c:3875:35: note: Function 'XSetTile' argument 2 names different: declaration 'gctiled' definition 'gc'. xschem-3.4.4/src/draw.c:86:7: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/draw.c:86:7: note: Shadow variable xschem-3.4.4/src/draw.c:448:11: style: Local variable 'type' shadows outer variable [shadowVariable] xschem-3.4.4/src/draw.c:439:9: note: Shadowed declaration xschem-3.4.4/src/draw.c:448:11: note: Shadow variable xschem-3.4.4/src/draw.c:2818:17: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/draw.c:2818:17: note: Shadow variable xschem-3.4.4/src/draw.c:2843:15: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/draw.c:2843:15: note: Shadow variable xschem-3.4.4/src/draw.c:204:33: style: Parameter 'txt' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:347:10: style: Variable 'char_ptr_x1' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:347:23: style: Variable 'char_ptr_y1' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:347:36: style: Variable 'char_ptr_x2' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:347:49: style: Variable 'char_ptr_y2' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:439:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:448:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:1546:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:1546:38: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:1925:8: style: Variable 'hexstr' can be declared as const array [constVariable] xschem-3.4.4/src/draw.c:2009:42: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:2044:28: style: Variable 'stok' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2272:40: style: Parameter 'gr' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:2369:10: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2707:13: style: Variable 'fmt1' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2707:20: style: Variable 'fmt2' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2887:26: style: Variable 'gv' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2938:10: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2996:30: style: Variable 'gvx' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:2997:30: style: Variable 'gvy' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3084:10: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3174:32: style: Variable 'gv' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3320:16: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3372:32: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3372:43: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3372:55: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3372:67: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3372:79: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3558:31: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3558:42: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3649:14: style: Variable 'instanceptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3650:14: style: Variable 'wireptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3653:12: style: Variable 'symptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3708:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3713:16: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3725:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/draw.c:3870:42: style: Parameter 'dpy' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3871:36: style: Parameter 'rectangles' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:3875:23: style: Parameter 'display' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/draw.c:2233:22: error: Uninitialized variable: s2 [legacyUninitvar] xschem-3.4.4/src/draw.c:1041:9: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/draw.c:1158:8: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/draw.c:2778:17: style: Variable 'sweep_idx' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/draw.c:2801:38: style: Variable 'sweep_idx' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/netlist.c:629:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/netlist.c:895:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/netlist.c:1000:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/netlist.c:1106:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/netlist.c:1402:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/options.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/hilight.c:691:5: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/hilight.c:681:5: note: First condition xschem-3.4.4/src/hilight.c:691:5: note: Second condition xschem-3.4.4/src/hilight.c:822:5: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/hilight.c:794:5: note: First condition xschem-3.4.4/src/hilight.c:822:5: note: Second condition xschem-3.4.4/src/hilight.c:2000:5: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/hilight.c:1996:5: note: First condition xschem-3.4.4/src/hilight.c:2000:5: note: Second condition xschem-3.4.4/src/hilight.c:343:30: error: Resource leak: fd [resourceLeak] xschem-3.4.4/src/hilight.c:1085:7: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xschem-3.4.4/src/hilight.c:1088:9: note: Found duplicate branches for 'if' and 'else'. xschem-3.4.4/src/hilight.c:1085:7: note: Found duplicate branches for 'if' and 'else'. xschem-3.4.4/src/hilight.c:285:47: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:289:83: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:294:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:386:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:394:65: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:414:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:637:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:639:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1000:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1087:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1090:62: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1126:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1203:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1216:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1651:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1794:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1965:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/hilight.c:1658:20: style:inconclusive: Function 'logic_set' argument 1 names different: declaration 'v' definition 'value'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1562:27: note: Function 'logic_set' argument 1 names different: declaration 'v' definition 'value'. xschem-3.4.4/src/hilight.c:1658:20: note: Function 'logic_set' argument 1 names different: declaration 'v' definition 'value'. xschem-3.4.4/src/hilight.c:1727:22: style:inconclusive: Function 'hilight_net' argument 1 names different: declaration 'to_waveform' definition 'viewer'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1561:29: note: Function 'hilight_net' argument 1 names different: declaration 'to_waveform' definition 'viewer'. xschem-3.4.4/src/hilight.c:1727:22: note: Function 'hilight_net' argument 1 names different: declaration 'to_waveform' definition 'viewer'. xschem-3.4.4/src/hilight.c:388:19: style: Local variable 'c' shadows outer variable [shadowVariable] xschem-3.4.4/src/hilight.c:301:10: note: Shadowed declaration xschem-3.4.4/src/hilight.c:388:19: note: Shadow variable xschem-3.4.4/src/hilight.c:1205:13: style: Local variable 'c' shadows outer variable [shadowVariable] xschem-3.4.4/src/hilight.c:1179:7: note: Shadowed declaration xschem-3.4.4/src/hilight.c:1205:13: note: Shadow variable xschem-3.4.4/src/hilight.c:1914:11: style: Local variable 'resolved_net' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1567:14: note: Shadowed declaration xschem-3.4.4/src/hilight.c:1914:11: note: Shadow variable xschem-3.4.4/src/hilight.c:1936:13: style: Local variable 'net_name' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1545:20: note: Shadowed declaration xschem-3.4.4/src/hilight.c:1936:13: note: Shadow variable xschem-3.4.4/src/hilight.c:28:18: style: Variable 'str' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:235:24: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:303:19: style: Variable 'node_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:304:9: style: Variable 'tok' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:457:10: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:567:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:659:8: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:670:8: style: Variable 'regexp_options' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:878:10: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:879:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:879:30: style: Variable 'propag_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:955:19: style: Variable 'node_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:972:19: style: Variable 'node_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1011:19: style: Variable 'node_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1061:19: style: Variable 'node_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1229:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1230:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1301:22: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1472:15: style: Variable 'num' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1661:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1665:23: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1688:13: style: Variable 'node' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1730:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1805:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1848:8: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1850:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1979:11: style: Variable 'symptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1981:13: style: Variable 'wireptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1982:13: style: Variable 'instanceptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:1983:21: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:2070:18: style: Variable 'node_entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/hilight.c:699:12: style: Variable 'has_token' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/hilight.c:1858:15: style: Variable 'entry' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/paste.c:357:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/psprint.c:905:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layer [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/psprint.c:1053:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable height [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/psprint.c:1376:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/netlist.c:978:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/netlist.c:1256:33: style:inconclusive: Function 'prepare_netlist_structs' argument 1 names different: declaration 'for_netlist' definition 'for_netl'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1572:40: note: Function 'prepare_netlist_structs' argument 1 names different: declaration 'for_netlist' definition 'for_netl'. xschem-3.4.4/src/netlist.c:1256:33: note: Function 'prepare_netlist_structs' argument 1 names different: declaration 'for_netlist' definition 'for_netl'. xschem-3.4.4/src/netlist.c:998:9: style: Local variable 'k' shadows outer variable [shadowVariable] xschem-3.4.4/src/netlist.c:928:7: note: Shadowed declaration xschem-3.4.4/src/netlist.c:998:9: note: Shadow variable xschem-3.4.4/src/netlist.c:483:50: style: Parameter 'node' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/netlist.c:671:10: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/netlist.c:823:21: style: Variable 'inst' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/netlist.c:824:19: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/netlist.c:923:19: style: Variable 'sym' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/netlist.c:965:15: style: Variable 'nptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/rawtovcd.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/rawtovcd.c:158:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/rawtovcd.c:286:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/rawtovcd.c:129:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/rawtovcd.c:82:5: warning: If memory allocation fails, then there is a possible null pointer dereference: values [nullPointerOutOfMemory] xschem-3.4.4/src/rawtovcd.c:80:18: note: Assuming allocation function fails xschem-3.4.4/src/rawtovcd.c:80:18: note: Assignment 'values=calloc(npoints,sizeof(double*))', assigned value is 0 xschem-3.4.4/src/rawtovcd.c:82:5: note: Null pointer dereference xschem-3.4.4/src/rawtovcd.c:86:14: warning: If memory allocation fails, then there is a possible null pointer dereference: values [nullPointerOutOfMemory] xschem-3.4.4/src/rawtovcd.c:80:18: note: Assuming allocation function fails xschem-3.4.4/src/rawtovcd.c:80:18: note: Assignment 'values=calloc(npoints,sizeof(double*))', assigned value is 0 xschem-3.4.4/src/rawtovcd.c:86:14: note: Null pointer dereference xschem-3.4.4/src/rawtovcd.c:121:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/rawtovcd.c:265:26: style: Parameter 'argv' can be declared as const array [constParameter] xschem-3.4.4/src/psprint.c:1357:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/psprint.c:1361:56: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/psprint.c:1289:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/psprint.c:974:9: note: Shadowed declaration xschem-3.4.4/src/psprint.c:1289:11: note: Shadow variable xschem-3.4.4/src/psprint.c:80:24: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/psprint.c:232:31: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/psprint.c:778:8: style: Variable 'textfont' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/psprint.c:1288:18: style: Variable 'wireptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:811:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:1418:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:1455:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:2138:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:2282:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:2866:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:2962:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:3056:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:3310:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:4227:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/save.c:4323:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/options.c:111:19: warning: If resource allocation fails, then there is a possible null pointer dereference: errfp [nullPointerOutOfResources] xschem-3.4.4/src/options.c:110:24: note: Assuming allocation function fails xschem-3.4.4/src/options.c:110:24: note: Assignment 'errfp=fopen(optval,"w")', assigned value is 0 xschem-3.4.4/src/options.c:111:19: note: Null pointer dereference xschem-3.4.4/src/options.c:230:16: warning: Either the condition 'opt' is redundant or there is possible null pointer dereference: opt. [nullPointerRedundantCheck] xschem-3.4.4/src/options.c:178:10: note: Assuming that condition 'opt' is not redundant xschem-3.4.4/src/options.c:230:16: note: Null pointer dereference xschem-3.4.4/src/select.c:397:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:757:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:892:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sel [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:1013:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:1087:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:1132:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:1163:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:1187:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:1401:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/select.c:583:10: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/select.c:574:10: note: First condition xschem-3.4.4/src/select.c:583:10: note: Second condition xschem-3.4.4/src/select.c:1224:60: style:inconclusive: Function 'select_object' argument 3 names different: declaration 'sel_mode' definition 'select_mode'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1275:67: note: Function 'select_object' argument 3 names different: declaration 'sel_mode' definition 'select_mode'. xschem-3.4.4/src/select.c:1224:60: note: Function 'select_object' argument 3 names different: declaration 'sel_mode' definition 'select_mode'. xschem-3.4.4/src/select.c:130:17: style: Local variable 'rects' shadows outer variable [shadowVariable] xschem-3.4.4/src/select.c:106:24: note: Shadowed declaration xschem-3.4.4/src/select.c:130:17: note: Shadow variable xschem-3.4.4/src/select.c:130:24: style: Local variable 'p' shadows outer variable [shadowVariable] xschem-3.4.4/src/select.c:106:21: note: Shadowed declaration xschem-3.4.4/src/select.c:130:24: note: Shadow variable xschem-3.4.4/src/select.c:133:17: style: Local variable 'n' shadows outer variable [shadowVariable] xschem-3.4.4/src/select.c:95:10: note: Shadowed declaration xschem-3.4.4/src/select.c:133:17: note: Shadow variable xschem-3.4.4/src/select.c:34:14: style: Variable 'wireptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:35:14: style: Variable 'instptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:36:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:51:14: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:131:19: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:132:20: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:170:10: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:171:17: style: Variable 'wire' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/select.c:175:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/spice_netlist.c:34:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xschem-3.4.4/src/spice_netlist.c:705:17: style: Condition 'hashtable->table' is always true [knownConditionTrueFalse] xschem-3.4.4/src/spice_netlist.c:142:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/spice_netlist.c:557:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] xschem-3.4.4/src/spice_netlist.c:554:13: note: Assuming allocation function fails xschem-3.4.4/src/spice_netlist.c:554:13: note: Assignment 'fd=fopen(netl_filename,"w")', assigned value is 0 xschem-3.4.4/src/spice_netlist.c:557:11: note: Null pointer dereference xschem-3.4.4/src/spice_netlist.c:410:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/spice_netlist.c:441:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/spice_netlist.c:522:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/spice_netlist.c:48:10: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/spice_netlist.c:48:10: note: Shadow variable xschem-3.4.4/src/spice_netlist.c:362:8: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/spice_netlist.c:362:8: note: Shadow variable xschem-3.4.4/src/spice_netlist.c:592:9: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/spice_netlist.c:592:9: note: Shadow variable xschem-3.4.4/src/spice_netlist.c:31:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:144:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4885:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4896:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4908:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4923:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4933:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4947:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4956:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4965:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4972:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/scheduler.c:4993:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/store.c:147:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/store.c:187:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/store.c:238:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x1 [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/store.c:133:29: style:inconclusive: Function 'store_arc' argument 7 names different: declaration 'rectcolor' definition 'rectc'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1347:29: note: Function 'store_arc' argument 7 names different: declaration 'rectcolor' definition 'rectc'. xschem-3.4.4/src/store.c:133:29: note: Function 'store_arc' argument 7 names different: declaration 'rectcolor' definition 'rectc'. xschem-3.4.4/src/store.c:170:73: style:inconclusive: Function 'store_poly' argument 5 names different: declaration 'rectcolor' definition 'rectc'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1345:25: note: Function 'store_poly' argument 5 names different: declaration 'rectcolor' definition 'rectc'. xschem-3.4.4/src/store.c:170:73: note: Function 'store_poly' argument 5 names different: declaration 'rectcolor' definition 'rectc'. xschem-3.4.4/src/store.c:219:52: style:inconclusive: Function 'storeobject' argument 7 names different: declaration 'rectcolor' definition 'rectc'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1342:58: note: Function 'storeobject' argument 7 names different: declaration 'rectcolor' definition 'rectc'. xschem-3.4.4/src/store.c:219:52: note: Function 'storeobject' argument 7 names different: declaration 'rectcolor' definition 'rectc'. xschem-3.4.4/src/store.c:133:62: style: Parameter 'prop_ptr' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/store.c:170:34: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/store.c:170:45: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/store.c:171:43: style: Parameter 'prop_ptr' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/svgdraw.c:667:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/svgdraw.c:750:56: style: Condition 'xctx->fill_type[i]' is always true [knownConditionTrueFalse] xschem-3.4.4/src/svgdraw.c:752:18: style: Condition 'xctx->fill_pattern' is always true [knownConditionTrueFalse] xschem-3.4.4/src/svgdraw.c:649:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/svgdraw.c:653:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/svgdraw.c:812:17: style: Local variable 'r' shadows outer variable [shadowVariable] xschem-3.4.4/src/svgdraw.c:639:15: note: Shadowed declaration xschem-3.4.4/src/svgdraw.c:812:17: note: Shadow variable xschem-3.4.4/src/svgdraw.c:827:18: style: Local variable 'r' shadows outer variable [shadowVariable] xschem-3.4.4/src/svgdraw.c:639:15: note: Shadowed declaration xschem-3.4.4/src/svgdraw.c:827:18: note: Shadow variable xschem-3.4.4/src/svgdraw.c:863:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/svgdraw.c:636:9: note: Shadowed declaration xschem-3.4.4/src/svgdraw.c:863:11: note: Shadow variable xschem-3.4.4/src/svgdraw.c:189:51: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/svgdraw.c:395:39: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/svgdraw.c:448:9: style: Variable 'textfont' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/svgdraw.c:862:18: style: Variable 'wireptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/tedax_netlist.c:36:6: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/tedax_netlist.c:31:6: note: First condition xschem-3.4.4/src/tedax_netlist.c:36:6: note: Second condition xschem-3.4.4/src/tedax_netlist.c:49:17: warning: Either the condition 'type' is redundant or there is possible null pointer dereference: type. [nullPointerRedundantCheck] xschem-3.4.4/src/tedax_netlist.c:50:10: note: Assuming that condition 'type' is not redundant xschem-3.4.4/src/tedax_netlist.c:49:17: note: Null pointer dereference xschem-3.4.4/src/tedax_netlist.c:214:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/tedax_netlist.c:239:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/tedax_netlist.c:274:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2584:20: style: Redundant condition: argc>2. 'argc<=2 || (argc>2 && strcmp(argv[2],"-erc"))' is equivalent to 'argc<=2 || strcmp(argv[2],"-erc")' [redundantCondition] xschem-3.4.4/src/scheduler.c:1995:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/scheduler.c:3912:32: style: Checking if unsigned expression 'xctx->rectcolor' is less than zero. [unsignedLessThanZero] xschem-3.4.4/src/scheduler.c:49:74: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:285:100: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:287:87: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:288:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:419:99: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:422:85: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:424:81: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:1887:50: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:1888:81: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2034:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2086:84: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2090:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2188:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2261:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2301:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2596:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2807:86: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:2897:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:4269:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:4705:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:4706:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:4707:59: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:4708:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/scheduler.c:148:8: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:148:8: note: Shadow variable xschem-3.4.4/src/scheduler.c:263:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:263:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:406:19: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:138:7: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:406:19: note: Shadow variable xschem-3.4.4/src/scheduler.c:460:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:460:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:696:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:696:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:1404:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1404:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:1474:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1474:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:1804:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1804:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:1839:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1839:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:1879:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1879:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:1883:21: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:138:7: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1883:21: note: Shadow variable xschem-3.4.4/src/scheduler.c:1899:23: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1899:23: note: Shadow variable xschem-3.4.4/src/scheduler.c:1973:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:1973:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:2021:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2021:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:2046:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2046:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:2068:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2068:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:2122:16: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2122:16: note: Shadow variable xschem-3.4.4/src/scheduler.c:2123:11: style: Local variable 'draw' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1318:13: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2123:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:2216:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2216:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:2476:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2476:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:2483:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2483:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:2522:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2522:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:2577:12: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2577:12: note: Shadow variable xschem-3.4.4/src/scheduler.c:2722:16: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2722:16: note: Shadow variable xschem-3.4.4/src/scheduler.c:2770:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:2770:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:3060:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3060:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:3076:19: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:3060:11: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3076:19: note: Shadow variable xschem-3.4.4/src/scheduler.c:3216:16: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3216:16: note: Shadow variable xschem-3.4.4/src/scheduler.c:3217:11: style: Local variable 'draw' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1318:13: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3217:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:3324:15: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:138:7: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3324:15: note: Shadow variable xschem-3.4.4/src/scheduler.c:3545:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3545:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:3654:12: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3654:12: note: Shadow variable xschem-3.4.4/src/scheduler.c:3765:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3765:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:3782:14: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:3782:14: note: Shadow variable xschem-3.4.4/src/scheduler.c:4093:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4093:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:4147:18: style: Local variable 'r' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:4115:16: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4147:18: note: Shadow variable xschem-3.4.4/src/scheduler.c:4156:18: style: Local variable 'r' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:4115:16: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4156:18: note: Shadow variable xschem-3.4.4/src/scheduler.c:4343:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4343:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:4361:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4361:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:4481:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4481:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:4540:13: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4540:13: note: Shadow variable xschem-3.4.4/src/scheduler.c:4570:21: style: Local variable 'set_modify' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1197:13: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4570:21: note: Shadow variable xschem-3.4.4/src/scheduler.c:4648:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4648:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:4719:21: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4719:21: note: Shadow variable xschem-3.4.4/src/scheduler.c:4752:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4752:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:4814:11: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/scheduler.c:137:6: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4814:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:4815:11: style: Local variable 'draw' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1318:13: note: Shadowed declaration xschem-3.4.4/src/scheduler.c:4815:11: note: Shadow variable xschem-3.4.4/src/scheduler.c:1461:21: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:1726:15: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:1970:14: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:1975:13: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:2341:29: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:3323:15: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:4045:17: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:4482:13: style: Variable 'attr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:4704:25: style: Variable 'wire' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/scheduler.c:108:14: style: Variable 'result' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:1935:16: style: Variable 'inst' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:2909:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:2909:22: style: Variable 'h' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:2946:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:2946:22: style: Variable 'h' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:3800:18: style: Variable 'viewer' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/scheduler.c:4481:35: style: Variable 'remove' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/verilog_netlist.c:498:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:362:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:377:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:614:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:1025:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:1498:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:1638:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:1759:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:1852:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:2116:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:2353:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:2777:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:3043:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:3103:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:3251:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/token.c:3424:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/verilog_netlist.c:445:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] xschem-3.4.4/src/verilog_netlist.c:440:13: note: Assuming allocation function fails xschem-3.4.4/src/verilog_netlist.c:440:13: note: Assignment 'fd=fopen(netl_filename,"w")', assigned value is 0 xschem-3.4.4/src/verilog_netlist.c:445:11: note: Null pointer dereference xschem-3.4.4/src/verilog_netlist.c:338:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/verilog_netlist.c:367:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/verilog_netlist.c:402:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/verilog_netlist.c:293:8: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/verilog_netlist.c:293:8: note: Shadow variable xschem-3.4.4/src/verilog_netlist.c:499:21: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/verilog_netlist.c:425:9: note: Shadowed declaration xschem-3.4.4/src/verilog_netlist.c:499:21: note: Shadow variable xschem-3.4.4/src/verilog_netlist.c:587:9: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/verilog_netlist.c:587:9: note: Shadow variable xschem-3.4.4/src/verilog_netlist.c:424:32: style: Variable 'extra_token' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/vhdl_netlist.c:331:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/vhdl_netlist.c:568:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prop_ptr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/vhdl_netlist.c:528:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] xschem-3.4.4/src/vhdl_netlist.c:523:13: note: Assuming allocation function fails xschem-3.4.4/src/vhdl_netlist.c:523:13: note: Assignment 'fd=fopen(netl_filename,"w")', assigned value is 0 xschem-3.4.4/src/vhdl_netlist.c:528:11: note: Null pointer dereference xschem-3.4.4/src/vhdl_netlist.c:427:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/vhdl_netlist.c:456:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/vhdl_netlist.c:489:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/vhdl_netlist.c:379:8: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/vhdl_netlist.c:379:8: note: Shadow variable xschem-3.4.4/src/vhdl_netlist.c:692:9: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/vhdl_netlist.c:692:9: note: Shadow variable xschem-3.4.4/src/xinit.c:58:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SubstructureRedirectMask [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:216:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:400:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillSolid [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:518:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:756:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:921:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:1017:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Unsorted [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:1125:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:1542:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWBackingStore [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:1963:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:2086:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable width [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:2149:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ALL_EVENTS [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:2263:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] xschem-3.4.4/src/xinit.c:191:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1067:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1081:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1083:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1084:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1085:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1088:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1089:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1090:75: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1091:84: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1093:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1095:74: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1325:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1326:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1327:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1328:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1329:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1330:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1331:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1332:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1351:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1353:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1354:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1357:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1361:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1363:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1364:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1430:65: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1432:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1433:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1434:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1463:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1465:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1466:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1467:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1517:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1520:83: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1537:70: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1538:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1539:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1564:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1565:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1569:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1571:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1615:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1618:83: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1635:64: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1636:74: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1637:78: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1640:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1642:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1662:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1711:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1715:57: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1720:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1730:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1773:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1774:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1788:79: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1826:67: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1833:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1836:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1847:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1875:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1876:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:1889:77: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:2329:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:2500:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:2502:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:2748:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:2855:58: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/xinit.c:686:36: style:inconclusive: Function 'compare_schematics' argument 1 names different: declaration 'filename' definition 'f'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1575:43: note: Function 'compare_schematics' argument 1 names different: declaration 'filename' definition 'f'. xschem-3.4.4/src/xinit.c:686:36: note: Function 'compare_schematics' argument 1 names different: declaration 'filename' definition 'f'. xschem-3.4.4/src/xinit.c:1142:51: style:inconclusive: Function 'preview_window' argument 2 names different: declaration 'tk_win_path' definition 'win_path'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1596:58: note: Function 'preview_window' argument 2 names different: declaration 'tk_win_path' definition 'win_path'. xschem-3.4.4/src/xinit.c:1142:51: note: Function 'preview_window' argument 2 names different: declaration 'tk_win_path' definition 'win_path'. xschem-3.4.4/src/xinit.c:2152:29: style:inconclusive: Function 'Tcl_AppInit' argument 1 names different: declaration 'interp' definition 'inter'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1283:36: note: Function 'Tcl_AppInit' argument 1 names different: declaration 'interp' definition 'inter'. xschem-3.4.4/src/xinit.c:2152:29: note: Function 'Tcl_AppInit' argument 1 names different: declaration 'interp' definition 'inter'. xschem-3.4.4/src/xinit.c:179:12: style: Local variable 'display' shadows outer variable [shadowVariable] xschem-3.4.4/src/xschem.h:1091:17: note: Shadowed declaration xschem-3.4.4/src/xinit.c:179:12: note: Shadow variable xschem-3.4.4/src/xinit.c:180:13: style: Local variable 'mainwindow' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:30:29: note: Shadowed declaration xschem-3.4.4/src/xinit.c:180:13: note: Shadow variable xschem-3.4.4/src/xinit.c:271:12: style: Local variable 'mainwindow' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:30:29: note: Shadowed declaration xschem-3.4.4/src/xinit.c:271:12: note: Shadow variable xschem-3.4.4/src/xinit.c:694:15: style: Local variable 'save_xctx' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:41:20: note: Shadowed declaration xschem-3.4.4/src/xinit.c:694:15: note: Shadow variable xschem-3.4.4/src/xinit.c:1002:17: style: Local variable 'mainwindow' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:30:29: note: Shadowed declaration xschem-3.4.4/src/xinit.c:1002:17: note: Shadow variable xschem-3.4.4/src/xinit.c:1145:15: style: Local variable 'save_xctx' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:41:20: note: Shadowed declaration xschem-3.4.4/src/xinit.c:1145:15: note: Shadow variable xschem-3.4.4/src/xinit.c:1208:22: style: Local variable 'save_xctx' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:41:20: note: Shadowed declaration xschem-3.4.4/src/xinit.c:1208:22: note: Shadow variable xschem-3.4.4/src/xinit.c:1294:22: style: Local variable 'mainwindow' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:30:29: note: Shadowed declaration xschem-3.4.4/src/xinit.c:1294:22: note: Shadow variable xschem-3.4.4/src/xinit.c:2751:11: style: Local variable 'tmp' shadows outer variable [shadowVariable] xschem-3.4.4/src/xinit.c:2155:7: note: Shadowed declaration xschem-3.4.4/src/xinit.c:2751:11: note: Shadow variable xschem-3.4.4/src/xinit.c:219:25: style: Parameter 'display' can be declared as pointer to const. However it seems that 'err' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xschem-3.4.4/src/xinit.c:2187:21: note: You might need to cast the function pointer here xschem-3.4.4/src/xinit.c:219:25: note: Parameter 'display' can be declared as pointer to const xschem-3.4.4/src/xinit.c:219:47: style: Parameter 'xev' can be declared as pointer to const. However it seems that 'err' is a callback function, if 'xev' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xschem-3.4.4/src/xinit.c:2187:21: note: You might need to cast the function pointer here xschem-3.4.4/src/xinit.c:219:47: note: Parameter 'xev' can be declared as pointer to const xschem-3.4.4/src/xinit.c:272:10: style: Variable 'xc' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/xinit.c:1003:15: style: Variable 'xc' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/xinit.c:1208:15: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/xinit.c:1401:31: style: Parameter 'window_count' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/xinit.c:1443:28: style: Parameter 'window_count' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/xinit.c:100:16: style: Variable 'prop1' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/xinit.c:221:7: style: Variable 'l' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/xinit.c:221:6: style: Variable 'l' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/xinit.c:2286:22: style: Variable 'result2' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/xinit.c:2286:14: style: Variable 'result2' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/save.c:2474:6: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/save.c:2473:6: note: First condition xschem-3.4.4/src/save.c:2474:6: note: Second condition xschem-3.4.4/src/save.c:532:16: style: Condition 'xctx->graph_sim_type' is always false [knownConditionTrueFalse] xschem-3.4.4/src/save.c:529:30: note: Assignment 'xctx->graph_sim_type=NULL', assigned value is 0 xschem-3.4.4/src/save.c:532:16: note: Condition 'xctx->graph_sim_type' is always false xschem-3.4.4/src/save.c:2136:9: style: Condition '!endfile' is always true [knownConditionTrueFalse] xschem-3.4.4/src/save.c:2134:24: note: Assignment 'endfile=0', assigned value is 0 xschem-3.4.4/src/save.c:2136:9: note: Condition '!endfile' is always true xschem-3.4.4/src/save.c:1446:18: warning:inconclusive: Width 298 given in format string (no. 1) is smaller than destination buffer 's[300]'. [invalidScanfFormatWidth_smaller] xschem-3.4.4/src/save.c:530:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/save.c:601:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/save.c:960:12: warning: Possible null pointer dereference: arr [nullPointer] xschem-3.4.4/src/save.c:952:25: note: Assignment 'arr=NULL', assigned value is 0 xschem-3.4.4/src/save.c:960:12: note: Null pointer dereference xschem-3.4.4/src/save.c:970:5: warning: Possible null pointer dereference: arr [nullPointer] xschem-3.4.4/src/save.c:952:25: note: Assignment 'arr=NULL', assigned value is 0 xschem-3.4.4/src/save.c:962:10: note: Assuming condition is false xschem-3.4.4/src/save.c:970:5: note: Null pointer dereference xschem-3.4.4/src/save.c:3851:11: style: Redundant assignment of 'lcc[level].y0' to itself. [selfAssignment] xschem-3.4.4/src/save.c:1504:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] xschem-3.4.4/src/save.c:1531:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] xschem-3.4.4/src/save.c:619:86: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:621:87: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:2387:66: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:2484:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:2559:69: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:2596:88: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:3259:83: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:4018:87: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:4188:68: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/save.c:1021:74: style:inconclusive: Function 'plot_raw_custom_data' argument 4 names different: declaration 'ntok' definition 'expr'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1183:81: note: Function 'plot_raw_custom_data' argument 4 names different: declaration 'ntok' definition 'expr'. xschem-3.4.4/src/save.c:1021:74: note: Function 'plot_raw_custom_data' argument 4 names different: declaration 'ntok' definition 'expr'. xschem-3.4.4/src/save.c:2461:25: style:inconclusive: Function 'load_schematic' argument 1 names different: declaration 'load_symbol' definition 'load_symbols'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1384:32: note: Function 'load_schematic' argument 1 names different: declaration 'load_symbol' definition 'load_symbols'. xschem-3.4.4/src/save.c:2461:25: note: Function 'load_schematic' argument 1 names different: declaration 'load_symbol' definition 'load_symbols'. xschem-3.4.4/src/save.c:4209:37: style:inconclusive: Function 'round_schematic_to_grid' argument 1 names different: declaration 'cadsnap' definition 'c_snap'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1555:44: note: Function 'round_schematic_to_grid' argument 1 names different: declaration 'cadsnap' definition 'c_snap'. xschem-3.4.4/src/save.c:4209:37: note: Function 'round_schematic_to_grid' argument 1 names different: declaration 'cadsnap' definition 'c_snap'. xschem-3.4.4/src/save.c:880:13: style: Local variable 'f' shadows outer argument [shadowArgument] xschem-3.4.4/src/save.c:797:28: note: Shadowed declaration xschem-3.4.4/src/save.c:880:13: note: Shadow variable xschem-3.4.4/src/save.c:2991:10: style: Local variable 'save' shadows outer function [shadowFunction] xschem-3.4.4/src/xschem.h:1214:12: note: Shadowed declaration xschem-3.4.4/src/save.c:2991:10: note: Shadow variable xschem-3.4.4/src/save.c:3653:16: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/save.c:3194:7: note: Shadowed declaration xschem-3.4.4/src/save.c:3653:16: note: Shadow variable xschem-3.4.4/src/save.c:3674:16: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/save.c:3194:7: note: Shadowed declaration xschem-3.4.4/src/save.c:3674:16: note: Shadow variable xschem-3.4.4/src/save.c:3815:14: style: Local variable 'c' shadows outer variable [shadowVariable] xschem-3.4.4/src/save.c:3194:9: note: Shadowed declaration xschem-3.4.4/src/save.c:3815:14: note: Shadow variable xschem-3.4.4/src/save.c:3846:17: style: Local variable 'rot' shadows outer variable [shadowVariable] xschem-3.4.4/src/save.c:3182:9: note: Shadowed declaration xschem-3.4.4/src/save.c:3846:17: note: Shadow variable xschem-3.4.4/src/save.c:3846:22: style: Local variable 'flip' shadows outer variable [shadowVariable] xschem-3.4.4/src/save.c:3182:13: note: Shadowed declaration xschem-3.4.4/src/save.c:3846:22: note: Shadow variable xschem-3.4.4/src/save.c:196:14: style: Variable 'mod_table' can be declared as const array [constVariable] xschem-3.4.4/src/save.c:306:23: style: Variable 'pow85' can be declared as const array [constVariable] xschem-3.4.4/src/save.c:720:16: style: Variable 'i' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1030:15: style: Variable 'x' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1031:15: style: Variable 'sweepx' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1494:33: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/save.c:1519:26: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/save.c:1599:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1610:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1621:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1632:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1643:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1700:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1715:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1732:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1751:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1768:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:1785:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:2131:22: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:2234:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:2427:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:2939:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:3024:43: style: Parameter 'symtype' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/save.c:3982:10: style: Variable 'rct' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/save.c:3984:9: style: Variable 'pindir' can be declared as const array [constVariable] xschem-3.4.4/src/save.c:1016:10: style: struct member 'Stack1::prevprevy' is never used. [unusedStructMember] xschem-3.4.4/src/save.c:1028:32: style: Variable 'stackptr2' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/save.c:1801:12: style: Variable 'ty' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:3448:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xschem-3.4.4/src/token.c:3457:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xschem-3.4.4/src/token.c:3466:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] xschem-3.4.4/src/token.c:663:11: style: The if condition is the same as the previous if condition [duplicateCondition] xschem-3.4.4/src/token.c:659:11: note: First condition xschem-3.4.4/src/token.c:663:11: note: Second condition xschem-3.4.4/src/token.c:347:32: style: Condition 'c!='\0'' is always false [knownConditionTrueFalse] xschem-3.4.4/src/token.c:345:9: note: Assuming that condition 'c=='\0'' is not redundant xschem-3.4.4/src/token.c:347:32: note: Condition 'c!='\0'' is always false xschem-3.4.4/src/token.c:1509:30: style: Condition 'generic_value' is always true [knownConditionTrueFalse] xschem-3.4.4/src/token.c:1621:52: style: Condition 'type' is always true [knownConditionTrueFalse] xschem-3.4.4/src/token.c:3101:18: style: Condition 'xctx->inst[i].node' is always true [knownConditionTrueFalse] xschem-3.4.4/src/token.c:767:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:1088:12: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:2185:15: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:2577:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:2837:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:3298:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:3589:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:3644:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xschem-3.4.4/src/token.c:3549:20: style: Variable 'len' is reassigned a value before the old one has been used. [redundantAssignment] xschem-3.4.4/src/token.c:3529:18: note: len is assigned xschem-3.4.4/src/token.c:3549:20: note: len is overwritten xschem-3.4.4/src/token.c:71:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/token.c:123:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/token.c:124:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] xschem-3.4.4/src/token.c:59:35: style:inconclusive: Function 'tcl_hook2' argument 1 names different: declaration 'res' definition 'cmd'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1441:42: note: Function 'tcl_hook2' argument 1 names different: declaration 'res' definition 'cmd'. xschem-3.4.4/src/token.c:59:35: note: Function 'tcl_hook2' argument 1 names different: declaration 'res' definition 'cmd'. xschem-3.4.4/src/token.c:3083:41: style:inconclusive: Function 'net_name' argument 3 names different: declaration 'mult' definition 'multip'. [funcArgNamesDifferent] xschem-3.4.4/src/xschem.h:1545:48: note: Function 'net_name' argument 3 names different: declaration 'mult' definition 'multip'. xschem-3.4.4/src/token.c:3083:41: note: Function 'net_name' argument 3 names different: declaration 'mult' definition 'multip'. xschem-3.4.4/src/token.c:993:18: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:895:36: note: Shadowed declaration xschem-3.4.4/src/token.c:993:18: note: Shadow variable xschem-3.4.4/src/token.c:998:18: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:895:36: note: Shadowed declaration xschem-3.4.4/src/token.c:998:18: note: Shadow variable xschem-3.4.4/src/token.c:1027:21: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:895:40: note: Shadowed declaration xschem-3.4.4/src/token.c:1027:21: note: Shadow variable xschem-3.4.4/src/token.c:1114:13: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:895:36: note: Shadowed declaration xschem-3.4.4/src/token.c:1114:13: note: Shadow variable xschem-3.4.4/src/token.c:1523:19: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:1385:9: note: Shadowed declaration xschem-3.4.4/src/token.c:1523:19: note: Shadow variable xschem-3.4.4/src/token.c:2059:21: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:1921:38: note: Shadowed declaration xschem-3.4.4/src/token.c:2059:21: note: Shadow variable xschem-3.4.4/src/token.c:2068:21: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:1921:38: note: Shadowed declaration xschem-3.4.4/src/token.c:2068:21: note: Shadow variable xschem-3.4.4/src/token.c:2077:21: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:1921:38: note: Shadowed declaration xschem-3.4.4/src/token.c:2077:21: note: Shadow variable xschem-3.4.4/src/token.c:2118:23: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:1921:42: note: Shadowed declaration xschem-3.4.4/src/token.c:2118:23: note: Shadow variable xschem-3.4.4/src/token.c:2216:16: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:1921:38: note: Shadowed declaration xschem-3.4.4/src/token.c:2216:16: note: Shadow variable xschem-3.4.4/src/token.c:2485:19: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2300:36: note: Shadowed declaration xschem-3.4.4/src/token.c:2485:19: note: Shadow variable xschem-3.4.4/src/token.c:2490:19: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2300:36: note: Shadowed declaration xschem-3.4.4/src/token.c:2490:19: note: Shadow variable xschem-3.4.4/src/token.c:2602:14: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2300:36: note: Shadowed declaration xschem-3.4.4/src/token.c:2602:14: note: Shadow variable xschem-3.4.4/src/token.c:2745:19: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2644:37: note: Shadowed declaration xschem-3.4.4/src/token.c:2745:19: note: Shadow variable xschem-3.4.4/src/token.c:2750:19: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2644:37: note: Shadowed declaration xschem-3.4.4/src/token.c:2750:19: note: Shadow variable xschem-3.4.4/src/token.c:2778:22: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2644:46: note: Shadowed declaration xschem-3.4.4/src/token.c:2778:22: note: Shadow variable xschem-3.4.4/src/token.c:2863:14: style: Local variable 's' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2644:37: note: Shadowed declaration xschem-3.4.4/src/token.c:2863:14: note: Shadow variable xschem-3.4.4/src/token.c:3044:18: style: Local variable 'name' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:2909:8: note: Shadowed declaration xschem-3.4.4/src/token.c:3044:18: note: Shadow variable xschem-3.4.4/src/token.c:4015:15: style: Local variable 'i' shadows outer variable [shadowVariable] xschem-3.4.4/src/token.c:3927:7: note: Shadowed declaration xschem-3.4.4/src/token.c:4015:15: note: Shadow variable xschem-3.4.4/src/token.c:362:13: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:377:13: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:641:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:700:37: style: Variable 'single_name' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:701:18: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:901:8: style: Variable 'fmt_attr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1025:13: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1040:15: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1083:16: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1101:14: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1387:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1393:10: style: Variable 'pinptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1547:36: style: Parameter 'ent_or_comp' can be declared as pointer to const [constParameterPointer] xschem-3.4.4/src/token.c:1551:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1663:24: style: Variable 's' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1773:39: style: Variable 's' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:1863:12: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2116:17: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2134:17: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2180:19: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2201:17: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2572:17: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2590:15: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2791:13: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2832:17: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2850:15: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2911:47: style: Variable 's' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:2916:31: style: Variable 'extra_token' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3042:13: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3257:13: style: Variable 'instprop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3258:13: style: Variable 'symprop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3273:13: style: Variable 'instprop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3274:13: style: Variable 'symprop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3293:13: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3341:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3424:14: style: Variable 'prop' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:3653:20: style: Variable 'prefix_ptr' can be declared as pointer to const [constVariablePointer] xschem-3.4.4/src/token.c:311:13: style: Variable 'sizetok' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:891:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:899:12: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:929:5: style: Variable 'lab' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:1558:13: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:1667:12: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:1770:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:1777:12: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:1917:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:1926:13: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2248:18: style: Variable 'result_pos' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2297:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2309:20: style: Variable 'instance_based' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2312:12: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2640:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2648:13: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:2682:6: style: Variable 'lab' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:3344:12: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:3704:21: style: Variable 'val' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:3927:17: style: Variable 'escape' is assigned a value that is never used. [unreadVariable] xschem-3.4.4/src/token.c:3930:68: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 xschem-3.4.4/scconfig/src/default/db.c:56:13: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assignment 'new=malloc(l1+l2+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/db.c:56:13: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/db.c:56:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/db.c:54:15: note: Assignment 'new=malloc(l1+l2+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/db.c:56:13: note: Null pointer addition 2.17.0 xschem-3.4.4/scconfig/src/default/dep.c:62:14: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assignment 'pres=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:62:14: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/dep.c:62:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/dep.c:60:16: note: Assignment 'pres=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/dep.c:62:14: note: Null pointer addition 2.17.0 xschem-3.4.4/scconfig/src/default/find_cc.c:121:20: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assignment 'targetcc=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_cc.c:121:20: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/find_cc.c:121:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_cc.c:119:21: note: Assignment 'targetcc=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_cc.c:121:20: note: Null pointer addition 2.17.0 xschem-3.4.4/scconfig/src/default/find_fstools.c:620:20: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:620:20: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/find_fstools.c:620:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:618:21: note: Assignment 'targetar=malloc(len+8)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:620:20: note: Null pointer addition 2.17.0 xschem-3.4.4/scconfig/src/default/find_fstools.c:681:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assignment 'targetranlib=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:681:24: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/find_fstools.c:681:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_fstools.c:679:25: note: Assignment 'targetranlib=malloc(len+16)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_fstools.c:681:24: note: Null pointer addition 2.17.0 xschem-3.4.4/scconfig/src/default/find_sys.c:253:28: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assignment 't=malloc(strlen(tmp)*2)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_sys.c:253:28: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/find_sys.c:253:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/find_sys.c:250:13: note: Assignment 't=malloc(strlen(tmp)*2)', assigned value is 0 xschem-3.4.4/scconfig/src/default/find_sys.c:253:28: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/ht.c:61:21: warning: If memory allocation fails, then there is a possible null pointer dereference: ht [nullPointerOutOfMemory] xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/ht.c:84:13: note: Assignment 'ht=malloc(sizeof(struct ht_t))', assigned value is 0 xschem-3.4.4/scconfig/src/default/ht.c:85:17: note: Calling function 'ht_init', 1st argument 'ht' value is 0 xschem-3.4.4/scconfig/src/default/ht.c:61:21: note: Null pointer dereference 2.17.0 xschem-3.4.4/scconfig/src/default/lib_compile.c:55:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assignment 'output=malloc(len+strlen(input)+4)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_compile.c:55:19: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/lib_compile.c:55:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/lib_compile.c:52:20: note: Assignment 'output=malloc(len+strlen(input)+4)', assigned value is 0 xschem-3.4.4/scconfig/src/default/lib_compile.c:55:19: note: Null pointer addition 2.17.0 xschem-3.4.4/scconfig/src/default/regex.c:609:12: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assignment 'dst=malloc(l1+l2+l3+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/regex.c:609:12: note: Null pointer addition head xschem-3.4.4/scconfig/src/default/regex.c:609:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assuming allocation function fails xschem-3.4.4/scconfig/src/default/regex.c:605:14: note: Assignment 'dst=malloc(l1+l2+l3+1)', assigned value is 0 xschem-3.4.4/scconfig/src/default/regex.c:609:12: note: Null pointer addition head xschem-3.4.4/src/xinit.c:221:6: style: Variable 'l' is assigned a value that is never used. [unreadVariable] head xschem-3.4.4/src/xinit.c:2286:14: style: Variable 'result2' is assigned a value that is never used. [unreadVariable] DONE