2025-08-29 03:08 ftp://ftp.de.debian.org/debian/pool/main/s/sqlite3/sqlite3_3.46.1.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=sqlite3 --library=icu --library=zlib --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: b4f07cd (2025-08-28 18:21:59 +0200) count: 3685 3685 elapsed-time: 230.6 226.7 head-timing-info: old-timing-info: head results: sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILCRITICALERRORS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:210:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:346:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:474:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:649:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:690:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:707:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:725:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:637:13: warning: Either the condition 've' is redundant or there is possible null pointer dereference: ve. [nullPointerRedundantCheck] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:636:10: note: Assuming that condition 've' is not redundant sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:637:13: note: Null pointer dereference sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:680:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:618:15: note: Assuming allocation function fails sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:618:15: note: Assignment 'fp=fopen(filename,"rt")', assigned value is 0 sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:680:12: note: Null pointer dereference sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:472:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:467:23: note: 'lastBuf' is assigned value 'pi->buffer' here. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:472:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:484:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:611:17: style:inconclusive: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. [funcArgNamesDifferent] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:44:39: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:611:17: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:705:17: style:inconclusive: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. [funcArgNamesDifferent] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:45:36: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:705:17: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:792:41: style:inconclusive: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. [funcArgNamesDifferent] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:46:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:792:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:663:23: style: Local variable 'sp' shadows outer variable [shadowVariable] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:616:16: note: Shadowed declaration sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:663:23: note: Shadow variable sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:661:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/autoconf/tea/win/nmakehlp.c:663:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/async/sqlite3async.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/async/sqlite3async.c:340:26: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:340:26: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:340:44: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:340:44: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:340:62: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:340:62: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:341:26: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:341:26: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:341:44: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:341:44: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:342:26: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:342:26: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:348:11: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:348:11: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:354:11: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:354:11: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:360:11: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:360:11: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:1451:9: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:1451:9: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:1544:7: warning: Assert statement calls a function which may have desired side effects: 'pthread_equal'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:1544:7: warning: Assert statement calls a function which may have desired side effects: 'pthread_self'. [assertWithSideEffect] sqlite3-3.46.1/ext/async/sqlite3async.c:1605:40: style: Condition 'async_os_initialize()' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/async/sqlite3async.c:1605:40: note: Calling function 'async_os_initialize' returns 0 sqlite3-3.46.1/ext/async/sqlite3async.c:1605:40: note: Condition 'async_os_initialize()' is always false sqlite3-3.46.1/ext/async/sqlite3async.c:1160:7: error: Memory pointed to by 'pData' is freed twice. [doubleFree] sqlite3-3.46.1/ext/async/sqlite3async.c:1143:5: note: Memory pointed to by 'pData' is freed twice. sqlite3-3.46.1/ext/async/sqlite3async.c:1160:7: note: Memory pointed to by 'pData' is freed twice. sqlite3-3.46.1/ext/async/sqlite3async.c:1099:11: style: Local variable 'nByte' shadows outer variable [shadowVariable] sqlite3-3.46.1/ext/async/sqlite3async.c:1041:7: note: Shadowed declaration sqlite3-3.46.1/ext/async/sqlite3async.c:1099:11: note: Shadow variable sqlite3-3.46.1/ext/async/sqlite3async.c:700:11: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/async/sqlite3async.c:1342:17: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/consio/console_io.c:365:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/consio/console_io.c:617:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/consio/console_io.c:359:41: warning: Either the condition 'chix>0' is redundant or the array 'consoleInfo.pstDesignated[3]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] sqlite3-3.46.1/ext/consio/console_io.c:358:12: note: Assuming that condition 'chix>0' is not redundant sqlite3-3.46.1/ext/consio/console_io.c:359:41: note: Array index out of bounds sqlite3-3.46.1/ext/consio/console_io.c:147:47: style: Parameter 'ppst' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/consio/console_io.c:240:46: style: Parameter 'pf' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/consio/console_io.c:241:25: style: Variable 'apst' can be declared as const array [constVariable] sqlite3-3.46.1/ext/consio/console_io.c:257:20: style: Variable 'ppst' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/expert/expert.c:23:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/expert.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/expert.c:85:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/expert.c:57:17: warning: If memory allocation fails, then there is a possible null pointer dereference: pBuf [nullPointerOutOfMemory] sqlite3-3.46.1/ext/expert/expert.c:56:26: note: Assuming allocation function fails sqlite3-3.46.1/ext/expert/expert.c:56:26: note: Assignment 'pBuf=sqlite3_malloc64(nIn+1)', assigned value is 0 sqlite3-3.46.1/ext/expert/expert.c:57:17: note: Null pointer dereference sqlite3-3.46.1/ext/expert/expert.c:64:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pBuf [nullPointerOutOfMemory] sqlite3-3.46.1/ext/expert/expert.c:56:26: note: Assuming allocation function fails sqlite3-3.46.1/ext/expert/expert.c:56:26: note: Assignment 'pBuf=sqlite3_malloc64(nIn+1)', assigned value is 0 sqlite3-3.46.1/ext/expert/expert.c:59:12: note: Assuming condition is false sqlite3-3.46.1/ext/expert/expert.c:64:3: note: Null pointer dereference sqlite3-3.46.1/ext/expert/sqlite3expert.c:496:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1017:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_BUSY_TIMEOUT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1533:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1621:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1755:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IdxRemSlot [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1884:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:2069:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_BUSY_TIMEOUT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1014:37: style: Condition 'zName!=0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1405:6: style: Redundant initialization for 'rc'. The initialized value is overwritten before it is read. [redundantInitialization] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1397:10: note: rc is initialized sqlite3-3.46.1/ext/expert/sqlite3expert.c:1405:6: note: rc is overwritten sqlite3-3.46.1/ext/expert/sqlite3expert.c:1911:55: style:inconclusive: Function 'sqlite3_expert_new' argument 2 names different: declaration 'pzErr' definition 'pzErrmsg'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/expert/sqlite3expert.h:28:55: note: Function 'sqlite3_expert_new' argument 2 names different: declaration 'pzErr' definition 'pzErrmsg'. sqlite3-3.46.1/ext/expert/sqlite3expert.c:1911:55: note: Function 'sqlite3_expert_new' argument 2 names different: declaration 'pzErr' definition 'pzErrmsg'. sqlite3-3.46.1/ext/expert/sqlite3expert.c:267:43: style: Parameter 'pHash' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:475:40: style: Variable 'pCons' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:563:14: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:955:32: style: Parameter 'azResults' can be declared as const array. However it seems that 'countNonzeros' is a callback function, if 'azResults' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1006:39: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/expert/sqlite3expert.c:955:32: note: Parameter 'azResults' can be declared as const array sqlite3-3.46.1/ext/expert/sqlite3expert.c:1051:67: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1129:50: style: Parameter 'pLast' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1145:70: style: Parameter 'pLast' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:1380:13: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/expert/sqlite3expert.c:792:17: style: Variable 'zAppend' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/expert/sqlite3expert.c:974:16: style: Variable 'zIdx' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts3/fts3.c:6184:3: error: There is an unknown macro here somewhere. Configuration is required. If SQLITE_EXTENSION_INIT2 is a macro then please configure it. [unknownMacro] sqlite3-3.46.1/ext/fts3/fts3_aux.c:164:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_aux.c:252:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Fts3auxColstats [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_aux.c:298:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Fts3auxColstats [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_aux.c:479:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_aux.c:462:18: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_aux.c:514:18: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_aux.c:209:55: style: Variable 'iNext' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts3/fts3_aux.c:405:20: style: Variable 'iNext' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts3/fts3_expr.c:328:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aToken [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_hash.c:202:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _fts3ht [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_hash.c:329:9: style:inconclusive: Function 'sqlite3Fts3HashInsert' argument 4 names different: declaration 'pData' definition 'data'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts3/fts3_hash.h:75:74: note: Function 'sqlite3Fts3HashInsert' argument 4 names different: declaration 'pData' definition 'data'. sqlite3-3.46.1/ext/fts3/fts3_hash.c:329:9: note: Function 'sqlite3Fts3HashInsert' argument 4 names different: declaration 'pData' definition 'data'. sqlite3-3.46.1/ext/fts3/fts3_snippet.c:1466:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:1604:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:1746:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:209:19: style: Condition 'p->aRef[0]==0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:208:18: note: Assignment 'p->aRef[0]=0', assigned value is 0 sqlite3-3.46.1/ext/fts3/fts3_snippet.c:209:19: note: Condition 'p->aRef[0]==0' is always true sqlite3-3.46.1/ext/fts3/fts3_snippet.c:297:15: style: Variable 'pPhrase' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:392:22: style: Variable 'pPhrase' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:722:20: style: Parameter 'pFragment' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:870:14: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:988:14: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_snippet.c:1008:44: style: Parameter 'pInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_tokenize_vtab.c:243:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_tokenize_vtab.c:388:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_tokenize_vtab.c:78:13: style: Parameter 'pHash' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_tokenize_vtab.c:371:18: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_tokenize_vtab.c:414:18: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:110:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:484:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:161:17: warning: Either the condition 'z2==0' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:134:12: note: Assuming that condition 'z2==0' is not redundant sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:161:17: note: Null pointer subtraction sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:497:16: style: The comparison '0 == rc' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:482:12: note: 'rc' is assigned value '0' here. sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:497:16: note: The comparison '0 == rc' is always true. sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:37:50: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:83:13: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:166:13: style: Parameter 'pHash' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_tokenizer.c:175:9: style: Variable 'zEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_tokenizer1.c:167:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_unicode.c:187:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1934:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_write.c:1991:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_write.c:3507:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_write.c:4739:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_write.c:4821:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/fts3_write.c:5776:13: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/ext/fts3/fts3_write.c:776:25: error: Dereferencing 'pList' after it is deallocated / released [deallocuse] sqlite3-3.46.1/ext/fts3/fts3_write.c:805:45: warning: Either the condition 'pTokenizer' is redundant or there is possible null pointer dereference: pTokenizer. [nullPointerRedundantCheck] sqlite3-3.46.1/ext/fts3/fts3_write.c:810:11: note: Assuming that condition 'pTokenizer' is not redundant sqlite3-3.46.1/ext/fts3/fts3_write.c:805:45: note: Null pointer dereference sqlite3-3.46.1/ext/fts3/fts3_write.c:4571:7: warning:inconclusive: Possible null pointer dereference: aIdx [nullPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:4549:15: note: Assignment 'aIdx=0', assigned value is 0 sqlite3-3.46.1/ext/fts3/fts3_write.c:4571:7: note: Null pointer dereference sqlite3-3.46.1/ext/fts3/fts3_write.c:4965:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/fts3/fts3_write.c:4956:8: note: rc is assigned sqlite3-3.46.1/ext/fts3/fts3_write.c:4965:8: note: rc is overwritten sqlite3-3.46.1/ext/fts3/fts3_write.c:566:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:964:20: style: Variable 'pRowid' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1053:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1282:63: style: Parameter 'pFrom' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1336:22: style: Variable 'pList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1441:47: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1474:14: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1504:11: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1577:20: style: Variable 'pReader' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1671:9: style: Variable 'z1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1672:9: style: Variable 'z2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1723:13: style: Variable 'zKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1800:44: style: Parameter 'pLhs' can be declared as pointer to const. However it seems that 'fts3SegReaderCmp' is a callback function, if 'pLhs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/fts3/fts3_write.c:2920:60: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/fts3/fts3_write.c:1800:44: note: Parameter 'pLhs' can be declared as pointer to const sqlite3-3.46.1/ext/fts3/fts3_write.c:1800:65: style: Parameter 'pRhs' can be declared as pointer to const. However it seems that 'fts3SegReaderCmp' is a callback function, if 'pRhs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/fts3/fts3_write.c:2920:60: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/fts3/fts3_write.c:1800:65: note: Parameter 'pRhs' can be declared as pointer to const sqlite3-3.46.1/ext/fts3/fts3_write.c:1867:18: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1927:9: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1974:9: style: Parameter 'zRoot' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:1987:13: style: Variable 'zEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:2533:18: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:2628:9: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:2667:9: style: Parameter 'pList' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:2704:20: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:2897:18: style: Variable 'pFilter' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:3361:8: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:3445:8: style: Parameter 'aSzIns' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:3446:8: style: Parameter 'aSzDel' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:4459:23: style: Parameter 'pCsr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:4814:55: style: Parameter 'pHint' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:5247:13: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:5433:59: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:5541:30: style: Variable 'pPT' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/fts3_write.c:4931:12: style: Variable 'nSeg' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:576:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:617:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:802:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:827:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:169:11: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:335:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:336:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:337:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:338:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:355:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:356:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:357:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:410:7: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:432:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:434:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:434:5: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:528:15: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:534:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:534:9: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:534:9: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:566:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:584:7: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:584:7: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:587:7: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:717:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:724:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:731:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:764:3: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:794:5: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:794:5: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:80:9: style: Variable 'zSql' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:163:24: style: Variable 'x' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts3/tool/fts3view.c:711:26: style: Variable 'iPrevPos' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts5/fts5_aux.c:256:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_aux.c:557:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_aux.c:402:51: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_config.c:869:18: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:153:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_TERM [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:203:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_LP [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:457:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:545:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bEof [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:607:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bFirst [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:920:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bFirst [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1036:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_STRING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1102:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bFirst [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1202:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_TERM [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1233:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_TERM [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1468:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_NOT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1490:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_TERM [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1633:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bFirst [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1876:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bPrefix [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1941:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bPrefix [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2185:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_TERM [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2238:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bFirst [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2306:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2361:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_STRING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2451:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_STRING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:3091:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_TERM [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:3132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS5_NOT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:3176:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pData [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_expr.c:153:9: warning: Either the condition 'sParse.pExpr' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] sqlite3-3.46.1/ext/fts5/fts5_expr.c:289:35: note: Assuming that condition 'sParse.pExpr' is not redundant sqlite3-3.46.1/ext/fts5/fts5_expr.c:285:41: note: Calling function 'assert_expr_depth_ok', 2nd argument 'sParse.pExpr' value is 0 sqlite3-3.46.1/ext/fts5/fts5_expr.c:153:9: note: Null pointer dereference sqlite3-3.46.1/ext/fts5/fts5_expr.c:755:5: style: Variable '*pRc' is assigned an expression that holds the same value. [redundantAssignment] sqlite3-3.46.1/ext/fts5/fts5_expr.c:741:10: note: rc is assigned '*pRc' here. sqlite3-3.46.1/ext/fts5/fts5_expr.c:755:5: note: Variable '*pRc' is assigned an expression that holds the same value. sqlite3-3.46.1/ext/fts5/fts5_expr.c:1544:60: style:inconclusive: Function 'sqlite3Fts5ExprFirst' argument 3 names different: declaration 'iMin' definition 'iFirst'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:763:58: note: Function 'sqlite3Fts5ExprFirst' argument 3 names different: declaration 'iMin' definition 'iFirst'. sqlite3-3.46.1/ext/fts5/fts5_expr.c:1544:60: note: Function 'sqlite3Fts5ExprFirst' argument 3 names different: declaration 'iMin' definition 'iFirst'. sqlite3-3.46.1/ext/fts5/fts5_expr.c:1575:42: style:inconclusive: Function 'sqlite3Fts5ExprNext' argument 2 names different: declaration 'iMax' definition 'iLast'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:764:40: note: Function 'sqlite3Fts5ExprNext' argument 2 names different: declaration 'iMax' definition 'iLast'. sqlite3-3.46.1/ext/fts5/fts5_expr.c:1575:42: note: Function 'sqlite3Fts5ExprNext' argument 2 names different: declaration 'iMax' definition 'iLast'. sqlite3-3.46.1/ext/fts5/fts5_expr.c:1835:19: style:inconclusive: Function 'sqlite3Fts5ParseTerm' argument 2 names different: declaration 'pPhrase' definition 'pAppend'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:816:19: note: Function 'sqlite3Fts5ParseTerm' argument 2 names different: declaration 'pPhrase' definition 'pAppend'. sqlite3-3.46.1/ext/fts5/fts5_expr.c:1835:19: note: Function 'sqlite3Fts5ParseTerm' argument 2 names different: declaration 'pPhrase' definition 'pAppend'. sqlite3-3.46.1/ext/fts5/fts5_expr.c:529:20: style: Variable 'pIter' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:598:17: style: Parameter 'pNode' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:892:13: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:903:22: style: Variable 'pIter' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:926:24: style: Variable 'pIter' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1012:13: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1067:17: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1068:17: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1222:13: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1499:21: style: Variable 'pChild' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1597:48: style: Parameter 'pToken' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1916:17: style: Variable 'pColsetOrig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2098:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2135:58: style: Parameter 'pOrig' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2235:24: style: Variable 'pNear' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2319:25: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2400:29: style: Variable 'pPhrase' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2937:17: style: Variable 'pNode' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2971:21: style: Variable 'pNode' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:2995:43: style: Parameter 'pColset' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:3159:17: style: Variable 'pNode' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_expr.c:1330:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts5/fts5_hash.c:90:68: style:inconclusive: Function 'sqlite3Fts5HashNew' argument 3 names different: declaration 'pnSize' definition 'pnByte'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:624:54: note: Function 'sqlite3Fts5HashNew' argument 3 names different: declaration 'pnSize' definition 'pnByte'. sqlite3-3.46.1/ext/fts5/fts5_hash.c:90:68: note: Function 'sqlite3Fts5HashNew' argument 3 names different: declaration 'pnSize' definition 'pnByte'. sqlite3-3.46.1/ext/fts5/fts5_hash.c:497:10: style:inconclusive: Function 'sqlite3Fts5HashQuery' argument 5 names different: declaration 'ppObj' definition 'ppOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:650:10: note: Function 'sqlite3Fts5HashQuery' argument 5 names different: declaration 'ppObj' definition 'ppOut'. sqlite3-3.46.1/ext/fts5/fts5_hash.c:497:10: note: Function 'sqlite3Fts5HashQuery' argument 5 names different: declaration 'ppObj' definition 'ppOut'. sqlite3-3.46.1/ext/fts5/fts5_hash.c:90:36: style: Parameter 'pConfig' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:195:13: style: Parameter 'pHash' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:264:11: style: Variable 'zKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:415:13: style: Variable 'zKey1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:416:13: style: Variable 'zKey2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:448:13: style: Parameter 'pHash' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:501:9: style: Variable 'zKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:564:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_hash.c:326:26: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] sqlite3-3.46.1/ext/fts5/fts5_hash.c:501:14: style: Variable 'zKey' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts5/fts5_index.c:920:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:2656:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:2748:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:4231:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:7218:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:7453:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:7660:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_index.c:5360:27: style: Condition 'nPrefix2>nPrefix' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/fts5/fts5_index.c:5348:15: note: nPrefix is assigned '((nPrefix)<(nPrefix2))?(nPrefix):(nPrefix2)' here. sqlite3-3.46.1/ext/fts5/fts5_index.c:5360:27: note: Condition 'nPrefix2>nPrefix' is always false sqlite3-3.46.1/ext/fts5/fts5_index.c:9058:3: style: Statements following 'return' will never be executed. [unreachableCode] sqlite3-3.46.1/ext/fts5/fts5_index.c:6343:63: style:inconclusive: Function 'sqlite3Fts5IndexBeginWrite' argument 3 names different: declaration 'iDocid' definition 'iRowid'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:498:7: note: Function 'sqlite3Fts5IndexBeginWrite' argument 3 names different: declaration 'iDocid' definition 'iRowid'. sqlite3-3.46.1/ext/fts5/fts5_index.c:6343:63: note: Function 'sqlite3Fts5IndexBeginWrite' argument 3 names different: declaration 'iDocid' definition 'iRowid'. sqlite3-3.46.1/ext/fts5/fts5_index.c:676:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:911:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:935:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:952:71: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:964:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1005:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1397:31: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1431:50: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1492:27: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1610:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1771:25: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1825:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1920:43: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2118:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2119:16: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2376:15: style: Variable 'pLeaf' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2395:29: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2458:13: style: Variable 'pLeaf' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2617:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:2718:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:3225:16: style: Variable 'pSeg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:3442:44: style: Parameter 'pColset' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:3622:15: style: Parameter 'pColset' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:3680:67: style: Parameter 'pSeg' can be declared as pointer to const. However it seems that 'fts5IterSetOutputs_None' is a callback function, if 'pSeg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/fts5/fts5_index.c:3813:28: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/fts5/fts5_index.c:3680:67: note: Parameter 'pSeg' can be declared as pointer to const sqlite3-3.46.1/ext/fts5/fts5_index.c:3755:10: style: Variable 'aiColEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:3811:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:3921:27: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:4006:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:4602:17: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:4867:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:4918:27: style: Variable 'pLvl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:5071:25: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:5515:19: style: Variable 'pPgidx' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:6801:30: style: Variable 'pReader' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:6866:68: style: Parameter 'pTerm' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:7257:17: style: Variable 'pTerm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:7319:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:7441:25: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:7930:25: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:8003:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:8211:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_index.c:1097:43: warning: Expression 'nLevel-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] sqlite3-3.46.1/ext/fts5/fts5_index.c:1090:42: note: Assuming that condition 'nLevel<0' is not redundant sqlite3-3.46.1/ext/fts5/fts5_index.c:1097:43: note: Negative value is converted to an unsigned value sqlite3-3.46.1/ext/fts5/fts5_index.c:5003:14: style: struct member 'Fts5FlushCtx::pIdx' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_index.c:5004:17: style: struct member 'Fts5FlushCtx::writer' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_index.c:5183:12: style: Variable 'iIdx' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts5/fts5_main.c:411:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_CONSTRAINT_SUPPORT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:618:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:1868:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nCol [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:1942:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pConfig [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:2027:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bEof [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:2278:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pConfig [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:2310:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pConfig [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:2544:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eDetail [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:2946:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:3059:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_main.c:1673:11: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/ext/fts5/fts5_main.c:1674:11: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/ext/fts5/fts5_main.c:385:9: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/ext/fts5/fts5_main.c:379:9: note: First condition sqlite3-3.46.1/ext/fts5/fts5_main.c:385:9: note: Second condition sqlite3-3.46.1/ext/fts5/fts5_main.c:611:23: style: Condition 'iCol>=0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/fts5/fts5_main.c:599:31: note: Assuming that condition 'iCol<0' is not redundant sqlite3-3.46.1/ext/fts5/fts5_main.c:611:23: note: Condition 'iCol>=0' is always true sqlite3-3.46.1/ext/fts5/fts5_main.c:467:51: style: Parameter 'pIdxInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:479:15: style: Parameter 'pConfig' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:480:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:639:40: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:707:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:798:20: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:1106:56: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:1172:18: style: Parameter 'pRank' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:1206:45: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:1425:15: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:1548:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:1918:14: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:2278:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:2310:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_main.c:2791:19: style: Parameter 'pTokenizer' can be declared as pointer to const. However it seems that 'fts5CreateTokenizer' is a callback function, if 'pTokenizer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/fts5/fts5_main.c:3043:37: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/fts5/fts5_main.c:2791:19: note: Parameter 'pTokenizer' can be declared as pointer to const sqlite3-3.46.1/ext/fts5/fts5_main.c:70:7: style: struct member 'Fts5TransactionState::iSavepoint' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_main.c:128:15: style: struct member 'Fts5MatchPhrase::pPoslist' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_main.c:129:7: style: struct member 'Fts5MatchPhrase::nTerm' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_storage.c:523:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_storage.c:1212:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_storage.c:1147:59: style:inconclusive: Function 'sqlite3Fts5StorageSize' argument 3 names different: declaration 'pnAvg' definition 'pnToken'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/fts5/fts5Int.h:701:59: note: Function 'sqlite3Fts5StorageSize' argument 3 names different: declaration 'pnAvg' definition 'pnToken'. sqlite3-3.46.1/ext/fts5/fts5_storage.c:1147:59: note: Function 'sqlite3Fts5StorageSize' argument 3 names different: declaration 'pnAvg' definition 'pnToken'. sqlite3-3.46.1/ext/fts5/fts5_storage.c:509:15: style: Parameter 'pBuf' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_storage.c:582:15: style: Variable 'pConfig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:133:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:308:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:454:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:456:18: style: Variable 'zTerm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:457:18: style: Variable 'zCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:664:37: style: Parameter 'zStem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:706:35: style: Parameter 'zStem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:730:35: style: Parameter 'zStem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:1164:36: style: Parameter 'aBuf' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:1345:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:625:15: style: struct member 'PorterRule::zSuffix' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:626:7: style: struct member 'PorterRule::nSuffix' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:627:9: style: struct member 'PorterRule::xCond' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:628:15: style: struct member 'PorterRule::zOutput' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:629:7: style: struct member 'PorterRule::nOutput' is never used. [unusedStructMember] sqlite3-3.46.1/ext/fts5/fts5_tokenize.c:364:25: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/fts5/fts5_unicode2.c:51:17: style: Variable 'aChar' can be declared as const array [constVariable] sqlite3-3.46.1/ext/fts5/fts5_unicode2.c:765:34: style: Parameter 'aArray' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:291:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:687:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eType [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:278:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:444:18: style: Variable 'pIter' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:475:19: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:608:19: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:618:18: style: Variable 'pEq' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:619:18: style: Variable 'pGe' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:620:18: style: Variable 'pLe' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:676:20: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/fts5/fts5_vocab.c:756:20: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/icu/icu.c:583:3: error: There is an unknown macro here somewhere. Configuration is required. If SQLITE_EXTENSION_INIT2 is a macro then please configure it. [unknownMacro] sqlite3-3.46.1/ext/intck/sqlite3intck.c:293:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/intck/sqlite3intck.c:462:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/intck/sqlite3intck.c:935:7: error: Memory pointed to by 'zTestSql' is freed twice. [doubleFree] sqlite3-3.46.1/ext/intck/sqlite3intck.c:928:3: note: Memory pointed to by 'zTestSql' is freed twice. sqlite3-3.46.1/ext/intck/sqlite3intck.c:935:7: note: Memory pointed to by 'zTestSql' is freed twice. sqlite3-3.46.1/ext/intck/sqlite3intck.c:782:15: style:inconclusive: Function 'sqlite3_intck_open' argument 2 names different: declaration 'zDb' definition 'zDbArg'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:87:15: note: Function 'sqlite3_intck_open' argument 2 names different: declaration 'zDb' definition 'zDbArg'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:782:15: note: Function 'sqlite3_intck_open' argument 2 names different: declaration 'zDb' definition 'zDbArg'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:814:41: style:inconclusive: Function 'sqlite3_intck_close' argument 1 names different: declaration 'pCk' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:97:41: note: Function 'sqlite3_intck_close' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:814:41: note: Function 'sqlite3_intck_close' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:832:39: style:inconclusive: Function 'sqlite3_intck_step' argument 1 names different: declaration 'pCk' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:118:39: note: Function 'sqlite3_intck_step' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:832:39: note: Function 'sqlite3_intck_step' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:890:50: style:inconclusive: Function 'sqlite3_intck_message' argument 1 names different: declaration 'pCk' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:128:50: note: Function 'sqlite3_intck_message' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:890:50: note: Function 'sqlite3_intck_message' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:904:40: style:inconclusive: Function 'sqlite3_intck_error' argument 1 names different: declaration 'pCk' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:156:40: note: Function 'sqlite3_intck_error' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:904:40: note: Function 'sqlite3_intck_error' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:913:41: style:inconclusive: Function 'sqlite3_intck_unlock' argument 1 names different: declaration 'pCk' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:142:41: note: Function 'sqlite3_intck_unlock' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:913:41: note: Function 'sqlite3_intck_unlock' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:927:51: style:inconclusive: Function 'sqlite3_intck_test_sql' argument 1 names different: declaration 'pCk' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/intck/sqlite3intck.h:164:51: note: Function 'sqlite3_intck_test_sql' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:927:51: note: Function 'sqlite3_intck_test_sql' argument 1 names different: declaration 'pCk' definition 'p'. sqlite3-3.46.1/ext/intck/sqlite3intck.c:163:14: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] sqlite3-3.46.1/ext/intck/test_intck.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/intck/test_intck.c:153:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/intck/test_intck.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/intck/test_intck.c:237:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/jni/src/c/sqlite3-jni.c:4294:0: error: failed to expand 'S3JniHook_localdup', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] sqlite3-3.46.1/ext/jni/src/c/sqlite3-jni.c:4294:1: error: failed to expand 'S3JniHook_localdup', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest1.c:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest1.c:274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest1.c:435:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest1.c:555:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest2.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest2.c:160:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest2.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest2.c:146:24: style: Parameter 'pRc' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:48:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:48:10: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:49:3: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:50:3: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:51:3: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:56:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:56:3: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:59:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:59:5: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:65:28: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:47:16: note: Assignment 'pRet=malloc(sizeof(struct CksumDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest3.c:65:28: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:631:26: style: Condition 'testThreadSupport()==0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:631:24: note: Calling function 'testThreadSupport' returns 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:631:26: note: Condition 'testThreadSupport()==0' is always true sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:617:63: error: Null pointer dereference: zMsg [nullPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:615:28: note: Assignment 'zMsg=0', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:617:63: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:617:63: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:80:17: style: Parameter 'pParam' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:108:37: style: Parameter 'pParam' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:122:7: style: Variable 'aVal' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:483:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:491:30: style: Parameter 'pDb' can be declared as pointer to const. However it seems that 'xMt1Work' is a callback function, if 'pDb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:530:35: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:491:30: note: Parameter 'pDb' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:491:41: style: Parameter 'pCtx' can be declared as pointer to const. However it seems that 'xMt1Work' is a callback function, if 'pCtx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:530:35: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:491:41: note: Parameter 'pCtx' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:595:18: style: Variable 'pSet' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:483:18: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:483:16: style: Variable 'p' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest5.c:603:12: style: Variable 'pSet' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:209:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:265:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:390:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:425:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:466:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:478:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:495:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:512:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:528:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:546:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:558:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:577:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:317:48: style:inconclusive: Function 'testSaveDb' argument 2 names different: declaration 'zAuxExt' definition 'zAux'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest.h:217:48: note: Function 'testSaveDb' argument 2 names different: declaration 'zAuxExt' definition 'zAux'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:317:48: note: Function 'testSaveDb' argument 2 names different: declaration 'zAuxExt' definition 'zAux'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:338:51: style:inconclusive: Function 'testRestoreDb' argument 2 names different: declaration 'zAuxExt' definition 'zAux'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest.h:218:51: note: Function 'testRestoreDb' argument 2 names different: declaration 'zAuxExt' definition 'zAux'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:338:51: note: Function 'testRestoreDb' argument 2 names different: declaration 'zAuxExt' definition 'zAux'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:43:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:47:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest6.c:87:9: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:140:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_CONFIG_PAGE_SIZE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:153:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_CONFIG_PAGE_SIZE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:90:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:85:7: note: ret is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:90:7: note: ret is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:100:7: style: Variable 'ret' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:95:7: note: ret is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest7.c:100:7: note: ret is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_CONFIG_AUTOFLUSH [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:136:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShmHeader [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:160:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:252:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShmHeader [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:286:27: style: Variable 'pHdr2->hdr1.aCksum[0]' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:285:27: note: pHdr2->hdr1.aCksum[0] is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:286:27: note: pHdr2->hdr1.aCksum[0] is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:294:27: style: Variable 'pHdr2->hdr2.aCksum[0]' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:293:27: note: pHdr2->hdr2.aCksum[0] is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:294:27: note: pHdr2->hdr2.aCksum[0] is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:108:9: style: Parameter 'pOut' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:133:9: style: Variable 'zShm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest8.c:19:7: style: struct member 'SetupStep::bFlush' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest9.c:78:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_BUSY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_bt.c:11:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_INFO_HDRDUMP [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_bt.c:7:17: style: struct member 'Option::zName' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_func.c:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_func.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_INFO_DB_STRUCTURE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_func.c:7:17: style: struct member 'Option::zName' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_func.c:87:17: style: struct member 'Option::zName' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:222:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:225:5: error: Memory leak: aData [memleak] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:181:5: error: Common realloc mistake: 'zOut' nulled but not freed upon failure [memleakOnRealloc] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:225:5: error: Resource leak: ctx.fd [resourceLeak] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:220:10: warning: If memory allocation fails, then there is a possible null pointer dereference: aData [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:219:17: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:219:17: note: Assignment 'aData=malloc(pgsz)', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:220:10: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:122:7: style: Parameter 'aData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_io.c:196:9: style: Variable 'zFile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:204:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:755:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:907:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_INFO_NWRITE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1225:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1291:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_INFO_DB_STRUCTURE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1361:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:722:35: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1331:40: style: Condition 'bLog' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1327:7: note: Assuming that condition 'bLog' is not redundant sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1331:40: note: Condition 'bLog' is always false sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1434:11: style: Condition 'rc==0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1423:9: note: Assuming that condition 'rc!=0' is not redundant sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1434:11: note: Condition 'rc==0' is always true sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:395:3: error: Memory leak: p [memleak] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:408:5: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:393:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:392:22: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:392:11: note: Assignment 'p=(unsigned char*)malloc(n+8)', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:393:10: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:394:4: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)p [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:392:22: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:392:11: note: Assignment 'p=(unsigned char*)malloc(n+8)', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:394:4: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1202:27: warning: If memory allocation fails, then there is a possible null pointer dereference: aOrder [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:25: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:12: note: Assignment 'aOrder=(int*)malloc(nBlock*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1202:27: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1209:11: warning: If memory allocation fails, then there is a possible null pointer dereference: aOrder [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:25: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:12: note: Assignment 'aOrder=(int*)malloc(nBlock*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1209:11: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1210:5: warning: If memory allocation fails, then there is a possible null pointer dereference: aOrder [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:25: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:12: note: Assignment 'aOrder=(int*)malloc(nBlock*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1210:5: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1210:17: warning: If memory allocation fails, then there is a possible null pointer dereference: aOrder [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:25: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:12: note: Assignment 'aOrder=(int*)malloc(nBlock*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1210:17: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1211:5: warning: If memory allocation fails, then there is a possible null pointer dereference: aOrder [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:25: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1201:12: note: Assignment 'aOrder=(int*)malloc(nBlock*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1211:5: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:19:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:19:34: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:181:29: style: Parameter 'pKey1' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:181:53: style: Parameter 'pKey2' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:198:7: style: Variable 'aKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:199:7: style: Variable 'aVal' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:398:28: style: Parameter 'pCopy' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:624:9: style: Variable 'zSystem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1135:31: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:844:23: style: struct member 'Mode::zMode' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1478:17: style: struct member 'TestFunc::zName' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:1407:21: style: Variable 'pData' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:358:13: error: va_list 'copy' used before va_start() was called. [va_list_usedBeforeStarted] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:359:36: error: va_list 'copy' used before va_start() was called. [va_list_usedBeforeStarted] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_main.c:360:3: error: va_list 'copy' used before va_start() was called. [va_list_usedBeforeStarted] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_mem.c:352:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_MUTEX_HEAP [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_mem.c:219:17: style: Variable 'pHdr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_mem.c:220:9: style: Variable 'pUser' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:450:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:458:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:469:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:489:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:529:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:664:10: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:664:10: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:665:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:665:3: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:667:29: warning: Either the condition 'zFilename' is redundant or there is possible null pointer dereference: zFilename. [nullPointerRedundantCheck] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:659:17: note: Assuming that condition 'zFilename' is not redundant sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:667:29: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:668:29: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:668:29: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:669:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:669:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:670:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:670:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:671:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:671:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:672:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:672:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:673:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:673:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:674:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:674:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:675:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:675:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:676:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:676:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:677:35: warning: If memory allocation fails, then there is a possible null pointer dereference: pDb [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:663:9: note: Assignment 'pDb=(struct SqlDb*)malloc(sizeof(struct SqlDb))', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:677:35: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:757:26: style:inconclusive: Function 'tdb_open' argument 1 names different: declaration 'zLibrary' definition 'zLib'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.h:36:26: note: Function 'tdb_open' argument 1 names different: declaration 'zLibrary' definition 'zLib'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:757:26: note: Function 'tdb_open' argument 1 names different: declaration 'zLibrary' definition 'zLib'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:444:9: style: Parameter 'pKey' can be declared as pointer to const. However it seems that 'sql_write' is a callback function, if 'pKey' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:629:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:444:9: note: Parameter 'pKey' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:446:9: style: Parameter 'pVal' can be declared as pointer to const. However it seems that 'sql_write' is a callback function, if 'pVal' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:629:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:446:9: note: Parameter 'pVal' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:456:46: style: Parameter 'pKey' can be declared as pointer to const. However it seems that 'sql_delete' is a callback function, if 'pKey' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:630:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:456:46: note: Parameter 'pKey' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:465:9: style: Parameter 'pKey1' can be declared as pointer to const. However it seems that 'sql_delete_range' is a callback function, if 'pKey1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:631:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:465:9: note: Parameter 'pKey1' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:466:9: style: Parameter 'pKey2' can be declared as pointer to const. However it seems that 'sql_delete_range' is a callback function, if 'pKey2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:631:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:466:9: note: Parameter 'pKey2' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:477:9: style: Parameter 'pKey' can be declared as pointer to const. However it seems that 'sql_fetch' is a callback function, if 'pKey' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:632:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:477:9: note: Parameter 'pKey' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:496:9: style: Variable 'aVal' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:519:9: style: Parameter 'pFirst' can be declared as pointer to const. However it seems that 'sql_scan' is a callback function, if 'pFirst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:633:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:519:9: note: Parameter 'pFirst' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:520:9: style: Parameter 'pLast' can be declared as pointer to const. However it seems that 'sql_scan' is a callback function, if 'pLast' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:633:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:520:9: note: Parameter 'pLast' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb.c:840:38: style: Parameter 'pDb' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:190:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:199:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:261:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:300:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:337:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:351:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_BUSY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:361:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_BUSY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:489:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:525:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_INFO_CHECKPOINT_SIZE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:548:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_CONFIG_AUTOFLUSH [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:576:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:618:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:666:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:730:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:774:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:804:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_CONFIG_AUTOFLUSH [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:983:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lsm_env [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:1134:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_SAFETY_OFF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:532:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:557:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:864:30: style: Condition '*z=='M'' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:864:25: style: Same expression on both sides of '||'. [duplicateExpression] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:686:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:668:8: note: rc is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:686:10: note: rc is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:686:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:678:10: note: rc is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:686:10: note: rc is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:686:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:680:10: note: rc is assigned sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:686:10: note: rc is overwritten sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:1031:15: style:inconclusive: Function 'test_lsm_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest.h:122:44: note: Function 'test_lsm_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:1031:15: note: Function 'test_lsm_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:518:38: style: Parameter 'pDb' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:661:15: style: Variable 'csr2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:771:24: style: Parameter 'pCtx' can be declared as pointer to const. However it seems that 'xLog' is a callback function, if 'pCtx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:1107:35: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:771:24: note: Parameter 'pCtx' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:52:39: style: struct member 'LsmWorker::bBlock' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:800:17: style: struct member 'CfgParam::zParam' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:519:14: style: Variable 'nSleep' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:533:12: style: Variable 'nSleep' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:546:14: style: Variable 'nSleep' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:558:12: style: Variable 'nSleep' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:661:20: style: Variable 'csr2' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb3.c:661:15: style: Variable 'csr2' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:79:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:93:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:121:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:127:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:224:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:233:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:238:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:294:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:300:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:306:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:312:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:323:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_IOERR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:340:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:355:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:371:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:390:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:443:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:497:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:626:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:632:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:714:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:825:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:878:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BT_INFO_FILENAME [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:938:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE4_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:709:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zLog [nullPointerOutOfMemory] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:707:33: note: Assuming allocation function fails sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:707:33: note: Assignment 'zLog=sqlite3_mprintf("%s-wal",zFilename)', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:709:12: note: Null pointer dereference sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:685:15: style:inconclusive: Function 'test_bt_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest.h:133:43: note: Function 'test_bt_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:685:15: note: Function 'test_bt_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:765:15: style:inconclusive: Function 'test_fbt_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest.h:134:44: note: Function 'test_fbt_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:765:15: note: Function 'test_fbt_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:774:15: style:inconclusive: Function 'test_fbts_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest.h:135:45: note: Function 'test_fbts_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:774:15: note: Function 'test_fbts_open' argument 2 names different: declaration 'zFile' definition 'zFilename'. sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:837:11: style: Local variable 'rc' shadows outer variable [shadowVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:820:7: note: Shadowed declaration sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:837:11: note: Shadow variable sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:386:9: style: Parameter 'pKey2' can be declared as pointer to const. However it seems that 'bt_delete_range' is a callback function, if 'pKey2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:694:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:386:9: note: Parameter 'pKey2' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:948:8: error: Uninitialized variable: pp [uninitvar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:636:19: style: struct member 'CfgParam::zParam' is never used. [unusedStructMember] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_tdb4.c:826:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_util.c:138:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm-test/lsmtest_util.c:145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:996:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RedirectEntry [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:1224:40: style:inconclusive: Function 'lsmCheckpointSize' argument 2 names different: declaration 'pnByte' definition 'pnKB'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsmInt.h:621:40: note: Function 'lsmCheckpointSize' argument 2 names different: declaration 'pnByte' definition 'pnKB'. sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:1224:40: note: Function 'lsmCheckpointSize' argument 2 names different: declaration 'pnByte' definition 'pnKB'. sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:224:31: style: Parameter 'aCkpt' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:292:28: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:308:12: style: Parameter 'pSeg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:326:10: style: Variable 'pMerge' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:392:12: style: Variable 'aiAppend' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:451:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:613:48: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:1170:30: style: Parameter 'aCkpt' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:1182:33: style: Parameter 'aCkpt' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:1186:28: style: Parameter 'aCkpt' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_ckpt.c:1188:29: style: Parameter 'aCkpt' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:3158:9: style: Condition 'pSeg' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1762:9: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1734:12: note: 'rc' is assigned value '0' here. sqlite3-3.46.1/ext/lsm1/lsm_file.c:1762:9: note: The comparison 'rc == 0' is always true. sqlite3-3.46.1/ext/lsm1/lsm_file.c:1794:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1790:12: note: rc is assigned sqlite3-3.46.1/ext/lsm1/lsm_file.c:1794:10: note: rc is overwritten sqlite3-3.46.1/ext/lsm1/lsm_file.c:2978:10: style:inconclusive: Function 'lsmInfoArrayStructure' argument 4 names different: declaration 'pz' definition 'pzOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsmInt.h:773:75: note: Function 'lsmInfoArrayStructure' argument 4 names different: declaration 'pz' definition 'pzOut'. sqlite3-3.46.1/ext/lsm1/lsm_file.c:2978:10: note: Function 'lsmInfoArrayStructure' argument 4 names different: declaration 'pz' definition 'pzOut'. sqlite3-3.46.1/ext/lsm1/lsm_file.c:337:45: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:467:57: style: Parameter 'pStr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:535:35: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:848:31: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:855:32: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:883:47: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:910:46: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:923:38: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:936:33: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:960:25: style: Parameter 'pPage' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1014:46: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1061:43: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1138:9: style: Variable 'aOld' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1354:30: style: Parameter 'aBuf' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1689:12: style: Parameter 'pRun' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1690:12: style: Parameter 'pIgnore' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:1816:12: style: Parameter 'aPgno' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2069:56: style: Parameter 'pLvl' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2359:29: style: Parameter 'pPg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2766:15: style: Variable 'aData' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2902:28: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2907:29: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2912:31: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2928:29: style: Parameter 'pPg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2935:33: style: Parameter 'pFS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2284:14: style: int result is assigned to long long variable. If the variable is long long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2105:16: style: Variable 'iApp' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm_file.c:2411:15: style: Variable 'aData' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm_log.c:1134:9: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/ext/lsm1/lsm_log.c:1128:9: note: First condition sqlite3-3.46.1/ext/lsm1/lsm_log.c:1134:9: note: Second condition sqlite3-3.46.1/ext/lsm1/lsm_log.c:641:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/lsm1/lsm_log.c:608:6: note: rc is assigned sqlite3-3.46.1/ext/lsm1/lsm_log.c:641:6: note: rc is overwritten sqlite3-3.46.1/ext/lsm1/lsm_log.c:238:25: style: Parameter 'aIn' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_log.c:298:41: style: Parameter 'pLog' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_log.c:488:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_log.c:662:9: style: Parameter 'pKey' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_log.c:663:9: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_log.c:766:12: style: Parameter 'pMark' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_log.c:967:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_main.c:66:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm_main.c:790:31: style:inconclusive: Function 'lsm_csr_close' argument 1 names different: declaration 'pCsr' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsm.h:561:31: note: Function 'lsm_csr_close' argument 1 names different: declaration 'pCsr' definition 'p'. sqlite3-3.46.1/ext/lsm1/lsm_main.c:790:31: note: Function 'lsm_csr_close' argument 1 names different: declaration 'pCsr' definition 'p'. sqlite3-3.46.1/ext/lsm1/lsm_main.c:56:23: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'xCmp' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm_main.c:90:15: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm_main.c:56:23: note: Parameter 'p1' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm_main.c:56:41: style: Parameter 'p2' can be declared as pointer to const. However it seems that 'xCmp' is a callback function, if 'p2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/lsm1/lsm_main.c:90:15: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/lsm1/lsm_main.c:56:41: note: Parameter 'p2' can be declared as pointer to const sqlite3-3.46.1/ext/lsm1/lsm_main.c:150:45: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_main.c:389:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_main.c:410:29: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:694:13: style: Condition 'ctx[0].pFreelist' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1561:34: style: Condition 'p->iLsmId!=0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1600:16: style: Condition 'iThis!=0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1956:31: style: Condition 'bOne' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1948:16: note: Assignment 'bOne=0', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1956:31: note: Condition 'bOne' is always false sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1435:9: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1431:12: note: 'rc' is assigned value '0' here. sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1435:9: note: The comparison 'rc == 0' is always true. sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1441:9: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1431:12: note: 'rc' is assigned value '0' here. sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1441:9: note: The comparison 'rc == 0' is always true. sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1882:26: error: Shifting by a negative value is undefined behaviour [shiftNegative] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1620:34: style:inconclusive: Function 'lsmTreeInUse' argument 2 names different: declaration 'iLsmId' definition 'iShmid'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/lsm1/lsmInt.h:960:34: note: Function 'lsmTreeInUse' argument 2 names different: declaration 'iLsmId' definition 'iShmid'. sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1620:34: note: Function 'lsmTreeInUse' argument 2 names different: declaration 'iLsmId' definition 'iShmid'. sqlite3-3.46.1/ext/lsm1/lsm_shared.c:178:31: style: Parameter 'pDb' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:606:37: style: Parameter 'pSnapshot' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:875:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1023:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1467:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1496:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1881:25: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1962:33: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1882:35: warning: Expression 'iLock-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1947:13: note: Assignment 'iLock=0', assigned value is 0 sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1954:33: note: Calling function 'shmLockType', 2nd argument 'iLock' value is 0 sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1882:35: note: Negative value is converted to an unsigned value sqlite3-3.46.1/ext/lsm1/lsm_shared.c:1957:12: style: Variable 'bOne' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:319:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nData [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:4829:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RedirectEntry [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5013:15: error: Address of local auto-variable assigned to a function parameter. [autoVariables] sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:4064:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:4063:11: note: outer condition: rc==0 sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:4064:13: note: identical inner condition: rc==0 sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5375:11: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5368:11: note: First condition sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5375:11: note: Second condition sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5214:13: style: Condition 'nMax((pDb->nAutockpt/nPgsz)-(int)(nUnsync-nSync))?((pDb->nAutockpt/nPgsz)-(int)(nUnsync-nSync)):(nMax))' here. sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5189:12: note: nRem is assigned 'nPage' here. sqlite3-3.46.1/ext/lsm1/lsm_sorted.c:5214:13: note: Condition 'nMax=?1 AND \"%w\"=?2 ORDER BY 1",p->zVocabWord,p->zVocabTab,p->zVocabWord,p->zVocabLang)', assigned value is 0 sqlite3-3.46.1/ext/misc/amatch.c:1138:36: note: Null pointer dereference sqlite3-3.46.1/ext/misc/amatch.c:1317:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/amatch.c:1326:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/amatch.c:1272:8: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/anycollseq.c:26:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'anyCollFunc' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/anycollseq.c:43:56: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/anycollseq.c:26:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/ext/misc/appendvfs.c:426:72: style:inconclusive: Function 'apndUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:155:66: note: Function 'apndUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/appendvfs.c:426:72: note: Function 'apndUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/appendvfs.c:574:54: style:inconclusive: Function 'apndDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:161:49: note: Function 'apndDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:574:54: note: Function 'apndDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:574:65: style:inconclusive: Function 'apndDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:161:60: note: Function 'apndDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/appendvfs.c:574:65: note: Function 'apndDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/appendvfs.c:583:15: style:inconclusive: Function 'apndAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:162:49: note: Function 'apndAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:583:15: note: Function 'apndAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:591:15: style:inconclusive: Function 'apndFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:163:55: note: Function 'apndFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:591:15: note: Function 'apndFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:597:56: style:inconclusive: Function 'apndDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:164:51: note: Function 'apndDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:597:56: note: Function 'apndDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/appendvfs.c:609:63: style:inconclusive: Function 'apndRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:168:58: note: Function 'apndRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/appendvfs.c:609:63: note: Function 'apndRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/appendvfs.c:612:45: style:inconclusive: Function 'apndSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:169:40: note: Function 'apndSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/appendvfs.c:612:45: note: Function 'apndSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/appendvfs.c:633:15: style:inconclusive: Function 'apndGetSystemCall' argument 2 names different: declaration 'z' definition 'zName'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/appendvfs.c:174:72: note: Function 'apndGetSystemCall' argument 2 names different: declaration 'z' definition 'zName'. sqlite3-3.46.1/ext/misc/appendvfs.c:633:15: note: Function 'apndGetSystemCall' argument 2 names different: declaration 'z' definition 'zName'. sqlite3-3.46.1/ext/misc/appendvfs.c:241:13: style: Variable 'paf' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/appendvfs.c:320:13: style: Variable 'paf' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/appendvfs.c:353:13: style: Variable 'paf' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/appendvfs.c:417:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/appendvfs.c:427:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/base64.c:227:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/base64.c:282:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/base64.c:161:24: style: Variable 'nboi' can be declared as const array [constVariable] sqlite3-3.46.1/ext/misc/base64.c:206:69: style: Parameter 'av' can be declared as const array. However it seems that 'base64' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/base64.c:283:9: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/base64.c:206:69: note: Parameter 'av' can be declared as const array sqlite3-3.46.1/ext/misc/base85.c:305:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/base85.c:362:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/base85.c:160:36: style: Parameter 's' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/base85.c:214:24: style: Variable 'nboi' can be declared as const array [constVariable] sqlite3-3.46.1/ext/misc/base85.c:250:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/base85.c:263:72: style: Parameter 'av' can be declared as const array. However it seems that 'is_base85' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/base85.c:363:11: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/base85.c:263:72: note: Parameter 'av' can be declared as const array sqlite3-3.46.1/ext/misc/base85.c:284:69: style: Parameter 'av' can be declared as const array. However it seems that 'base85' is a callback function, if 'av' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/base85.c:370:9: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/base85.c:284:69: note: Parameter 'av' can be declared as const array sqlite3-3.46.1/ext/misc/blobio.c:55:13: style: Condition 'zTable==0' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/misc/blobio.c:108:13: style: Condition 'zTable==0' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/misc/btreeinfo.c:171:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/btreeinfo.c:372:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/btreeinfo.c:253:37: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/btreeinfo.c:244:25: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/btreeinfo.c:244:25: note: Assignment 'zSql=sqlite3_mprintf("SELECT 0, 'table','sqlite_schema','sqlite_schema',1,NULL UNION ALL SELECT rowid, type, name, tbl_name, rootpage, sql FROM \"%w\".sqlite_schema WHERE rootpage>=1",pCsr->zSchema)', assigned value is 0 sqlite3-3.46.1/ext/misc/btreeinfo.c:253:37: note: Null pointer dereference sqlite3-3.46.1/ext/misc/btreeinfo.c:164:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/btreeinfo.c:222:16: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/btreeinfo.c:262:47: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/btreeinfo.c:265:47: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/btreeinfo.c:278:12: style: Variable 'pgsz' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/carray.c:212:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/carray.c:364:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/carray.c:424:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/carray.c:446:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/carray.c:223:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/carray.c:228:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/carray.c:255:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/carray.c:265:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/cksumvfs.c:456:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_IOERR_DATA [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/cksumvfs.c:579:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_FCNTL_CKPT_START [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/cksumvfs.c:703:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_FCNTL_CKSM_FILE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/cksumvfs.c:806:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/cksumvfs.c:315:9: style: Condition '1==*(unsigned char*)&x' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/misc/cksumvfs.c:309:11: note: Assignment 'x=1', assigned value is 1 sqlite3-3.46.1/ext/misc/cksumvfs.c:315:9: note: Condition '1==*(unsigned char*)&x' is always true sqlite3-3.46.1/ext/misc/cksumvfs.c:669:72: style:inconclusive: Function 'cksmUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:225:66: note: Function 'cksmUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/cksumvfs.c:669:72: note: Function 'cksmUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/cksumvfs.c:723:54: style:inconclusive: Function 'cksmDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:231:49: note: Function 'cksmDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:723:54: note: Function 'cksmDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:723:65: style:inconclusive: Function 'cksmDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:231:60: note: Function 'cksmDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/cksumvfs.c:723:65: note: Function 'cksmDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/cksumvfs.c:728:15: style:inconclusive: Function 'cksmAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:232:49: note: Function 'cksmAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:728:15: note: Function 'cksmAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:736:15: style:inconclusive: Function 'cksmFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:233:55: note: Function 'cksmFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:736:15: note: Function 'cksmFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:742:56: style:inconclusive: Function 'cksmDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:234:51: note: Function 'cksmDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:742:56: note: Function 'cksmDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/cksumvfs.c:754:63: style:inconclusive: Function 'cksmRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:238:58: note: Function 'cksmRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/cksumvfs.c:754:63: note: Function 'cksmRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/cksumvfs.c:757:45: style:inconclusive: Function 'cksmSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:239:40: note: Function 'cksmSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/cksumvfs.c:757:45: note: Function 'cksmSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/cksumvfs.c:788:15: style:inconclusive: Function 'cksmGetSystemCall' argument 2 names different: declaration 'z' definition 'zName'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/cksumvfs.c:244:72: note: Function 'cksmGetSystemCall' argument 2 names different: declaration 'z' definition 'zName'. sqlite3-3.46.1/ext/misc/cksumvfs.c:788:15: note: Function 'cksmGetSystemCall' argument 2 names different: declaration 'z' definition 'zName'. sqlite3-3.46.1/ext/misc/cksumvfs.c:308:8: style: Variable 'aEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/cksumvfs.c:439:11: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/cksumvfs.c:480:9: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/cksumvfs.c:655:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/closure.c:761:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/closure.c:841:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/closure.c:288:16: style: Variable 'pPrev' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/closure.c:668:16: style: Variable 'pAvl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/closure.c:793:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/completion.c:121:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/completion.c:309:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/completion.c:432:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/completion.c:236:40: warning: Possible null pointer dereference: zSql [nullPointer] sqlite3-3.46.1/ext/misc/completion.c:222:24: note: Assignment 'zSql=0', assigned value is 0 sqlite3-3.46.1/ext/misc/completion.c:225:35: note: Assuming condition is false sqlite3-3.46.1/ext/misc/completion.c:236:40: note: Null pointer dereference sqlite3-3.46.1/ext/misc/completion.c:262:40: warning: Possible null pointer dereference: zSql [nullPointer] sqlite3-3.46.1/ext/misc/completion.c:246:24: note: Assignment 'zSql=0', assigned value is 0 sqlite3-3.46.1/ext/misc/completion.c:249:35: note: Assuming condition is false sqlite3-3.46.1/ext/misc/completion.c:262:40: note: Null pointer dereference sqlite3-3.46.1/ext/misc/completion.c:333:22: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/completion.c:343:22: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/compress.c:123:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/compress.c:67:28: warning: If memory allocation fails, then there is a possible null pointer dereference: pOut [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/compress.c:62:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/compress.c:62:24: note: Assignment 'pOut=sqlite3_malloc(nOut+5)', assigned value is 0 sqlite3-3.46.1/ext/misc/compress.c:67:28: note: Null pointer dereference sqlite3-3.46.1/ext/misc/compress.c:68:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pOut [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/compress.c:62:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/compress.c:62:24: note: Assignment 'pOut=sqlite3_malloc(nOut+5)', assigned value is 0 sqlite3-3.46.1/ext/misc/compress.c:68:3: note: Null pointer dereference sqlite3-3.46.1/ext/misc/compress.c:102:19: warning: If memory allocation fails, then there is a possible null pointer dereference: pOut [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/compress.c:101:24: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/compress.c:101:24: note: Assignment 'pOut=sqlite3_malloc(nOut+1)', assigned value is 0 sqlite3-3.46.1/ext/misc/compress.c:102:19: note: Null pointer dereference sqlite3-3.46.1/ext/misc/csv.c:158:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/csv.c:168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/csv.c:215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/csv.c:644:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/csv.c:780:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/csv.c:330:55: style: Parameter 'pRdr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/csv.c:669:13: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/csv.c:733:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/csv.c:778:13: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/csv.c:789:14: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/csv.c:799:14: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/csv.c:813:13: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/dbdump.c:510:30: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/decimal.c:870:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/decimal.c:181:18: style: Parameter 'pIn' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/decimal.c:298:16: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/decimal.c:482:20: style: Variable 'aA' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/decimal.c:482:25: style: Variable 'aB' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/eval.c:117:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/explain.c:158:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/explain.c:257:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/explain.c:180:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/explain.c:245:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fileio.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:514:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:563:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:620:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:768:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:949:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable omit [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:1016:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fileio.c:340:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] sqlite3-3.46.1/ext/misc/fileio.c:473:11: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] sqlite3-3.46.1/ext/misc/fileio.c:173:1: error: Memory leak: pBuf [memleak] sqlite3-3.46.1/ext/misc/fileio.c:367:18: style: Parameter 'pData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/fileio.c:728:20: style: Variable 'pEntry' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fileio.c:826:17: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fileio.c:836:17: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fossildelta.c:825:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fossildelta.c:918:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fossildelta.c:1017:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fossildelta.c:1075:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fossildelta.c:359:10: warning: If memory allocation fails, then there is a possible null pointer dereference: collide [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/fossildelta.c:358:29: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/fossildelta.c:358:29: note: Assignment 'collide=sqlite3_malloc64((sqlite3_int64)nHash*2*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/misc/fossildelta.c:359:10: note: Null pointer dereference sqlite3-3.46.1/ext/misc/fossildelta.c:363:5: warning: If memory allocation fails, then there is a possible null pointer dereference: collide [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/fossildelta.c:358:29: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/fossildelta.c:358:29: note: Assignment 'collide=sqlite3_malloc64((sqlite3_int64)nHash*2*sizeof(int))', assigned value is 0 sqlite3-3.46.1/ext/misc/fossildelta.c:363:5: note: Null pointer dereference sqlite3-3.46.1/ext/misc/fossildelta.c:109:29: style: Parameter 'pHash' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/fossildelta.c:172:18: style: Variable 'zStart' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fossildelta.c:947:26: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fossildelta.c:957:26: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fossildelta.c:460:17: style: Variable 'bestCnt' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/fuzzer.c:544:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fuzzer.c:1027:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fuzzer.c:1099:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/fuzzer.c:415:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] sqlite3-3.46.1/ext/misc/fuzzer.c:295:16: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/fuzzer.c:615:16: style: Parameter 'pStem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/fuzzer.c:719:16: style: Parameter 'pStem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/fuzzer.c:1042:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fuzzer.c:1052:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/fuzzer.c:992:8: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/ieee754.c:155:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/ieee754.c:255:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/ieee754.c:319:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/ieee754.c:181:12: style: Condition 'm<0' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/misc/ieee754.c:178:10: note: Assuming that condition 'm<0' is not redundant sqlite3-3.46.1/ext/misc/ieee754.c:180:11: note: Assignment 'm=-m', assigned value is greater than 0 sqlite3-3.46.1/ext/misc/ieee754.c:181:12: note: Condition 'm<0' is always false sqlite3-3.46.1/ext/misc/memstat.c:298:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/memstat.c:322:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/memstat.c:332:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/memvfs.c:317:71: style:inconclusive: Function 'memUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:87:65: note: Function 'memUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/memvfs.c:317:71: note: Function 'memUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/memvfs.c:350:53: style:inconclusive: Function 'memDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:93:48: note: Function 'memDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:350:53: note: Function 'memDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:350:64: style:inconclusive: Function 'memDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:93:59: note: Function 'memDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/memvfs.c:350:64: note: Function 'memDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/memvfs.c:360:15: style:inconclusive: Function 'memAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:94:48: note: Function 'memAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:360:15: note: Function 'memAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:375:15: style:inconclusive: Function 'memFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:95:54: note: Function 'memFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:375:15: note: Function 'memFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:386:55: style:inconclusive: Function 'memDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:96:50: note: Function 'memDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:386:55: note: Function 'memDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/memvfs.c:417:62: style:inconclusive: Function 'memRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:100:57: note: Function 'memRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/memvfs.c:417:62: note: Function 'memRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/memvfs.c:425:44: style:inconclusive: Function 'memSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/memvfs.c:101:39: note: Function 'memSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/memvfs.c:425:44: note: Function 'memSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/memvfs.c:173:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/memvfs.c:213:34: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memSync' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:134:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:213:34: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:221:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/memvfs.c:229:34: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:136:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:229:34: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:236:36: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memUnlock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:137:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:236:36: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:252:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/memvfs.c:264:40: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memSectorSize' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:140:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:264:40: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:271:51: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memDeviceCharacteristics' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:141:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:271:51: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:280:17: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memShmMap' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:142:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:280:17: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:290:37: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memShmLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:143:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:290:37: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:295:41: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memShmBarrier' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:144:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:295:41: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:300:38: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memShmUnmap' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:145:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:300:38: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:311:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/memvfs.c:317:37: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'memUnfetch' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:147:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:317:37: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:317:71: style: Parameter 'pPage' can be declared as pointer to const. However it seems that 'memUnfetch' is a callback function, if 'pPage' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:147:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:317:71: note: Parameter 'pPage' can be declared as pointer to const sqlite3-3.46.1/ext/misc/memvfs.c:350:35: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'memDelete' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/memvfs.c:114:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/memvfs.c:350:35: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/ext/misc/nextchar.c:171:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/nextchar.c:301:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/noop.c:71:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/normalize.c:611:11: style: Variable 'zIn' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/percentile.c:217:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/prefixes.c:82:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/prefixes.c:212:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/prefixes.c:155:20: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/prefixes.c:165:20: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/qpvtab.c:234:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/qpvtab.c:348:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/qpvtab.c:254:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/qpvtab.c:264:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/qpvtab.c:292:18: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/randomjson.c:35:0: debug: Failed to parse 'typedef SQLITE_EXTENSION_INIT1 struct Prng { unsigned int x ; unsigned int y ; } Prng ;'. The checking continues anyway. [simplifyTypedef] sqlite3-3.46.1/ext/misc/randomjson.c:211:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/randomjson.c:232:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/regexp.c:255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aState [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/regexp.c:864:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/regexp.c:232:13: style: Variable 'cPrev' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/rot13.c:68:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/rot13.c:109:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/rot13.c:82:9: style: Parameter 'notUsed' can be declared as pointer to const. However it seems that 'rot13CollFunc' is a callback function, if 'notUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/rot13.c:112:64: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/rot13.c:82:9: note: Parameter 'notUsed' can be declared as pointer to const sqlite3-3.46.1/ext/misc/scrub.c:490:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/series.c:272:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/series.c:501:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INDEX_CONSTRAINT_OFFSET [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/series.c:188:24: style: Condition 'pss->iTerm==pss->iBase' is always true [knownConditionTrueFalse] sqlite3-3.46.1/ext/misc/series.c:173:24: note: Assuming that condition 'pss->iTerm>pss->iBase' is not redundant sqlite3-3.46.1/ext/misc/series.c:154:18: note: Assuming that condition 'pss->iTermiBase' is not redundant sqlite3-3.46.1/ext/misc/series.c:188:24: note: Condition 'pss->iTerm==pss->iBase' is always true sqlite3-3.46.1/ext/misc/sha1.c:255:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/sha1.c:369:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/sha1.c:385:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/shathree.c:529:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/shathree.c:691:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/shathree.c:707:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:1216:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:2072:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:2236:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:2437:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:2743:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:3026:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/spellfix.c:751:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/ext/misc/spellfix.c:3075:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sqlite3-3.46.1/ext/misc/spellfix.c:665:48: style: Parameter 'pA' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/spellfix.c:665:67: style: Parameter 'pB' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/spellfix.c:837:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/spellfix.c:849:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/spellfix.c:991:24: style: Parameter 'pFrom' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/spellfix.c:2720:21: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/spellfix.c:631:9: style: struct member 'EditDist3ToString::z' is never used. [unusedStructMember] sqlite3-3.46.1/ext/misc/spellfix.c:632:7: style: struct member 'EditDist3ToString::n' is never used. [unusedStructMember] sqlite3-3.46.1/ext/misc/spellfix.c:633:16: style: struct member 'EditDist3ToString::a' is never used. [unusedStructMember] sqlite3-3.46.1/ext/misc/spellfix.c:2369:8: style: struct member 'MatchQuery::zHash' is never used. [unusedStructMember] sqlite3-3.46.1/ext/misc/spellfix.c:445:8: style: Variable 'dc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/spellfix.c:447:12: style: Variable 'cBprev' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/spellfix.c:483:10: style: Variable 'dc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/spellfix.c:486:14: style: Variable 'cBprev' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/spellfix.c:2312:60: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/sqlar.c:57:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/sqlar.c:100:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/sqlar.c:118:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/stmt.c:181:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/stmt.c:178:16: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/stmt.c:203:16: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/templatevtab.c:161:24: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/templatevtab.c:179:24: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/templatevtab.c:189:24: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/totype.c:520:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/totype.c:427:15: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/ext/misc/totype.c:498:15: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/ext/misc/totype.c:350:50: style: The comparison 'nonNum == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/ext/misc/totype.c:215:16: note: 'nonNum' is assigned value '0' here. sqlite3-3.46.1/ext/misc/totype.c:350:50: note: The comparison 'nonNum == 0' is always true. sqlite3-3.46.1/ext/misc/unionvtab.c:443:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/unionvtab.c:570:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/unionvtab.c:628:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/unionvtab.c:822:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/unionvtab.c:1297:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INDEX_SCAN_UNIQUE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/unionvtab.c:437:13: style: Parameter 'pSrc' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/unionvtab.c:885:9: style: Parameter 'pAux' can be declared as pointer to const. However it seems that 'unionConnect' is a callback function, if 'pAux' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/unionvtab.c:1333:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/unionvtab.c:885:9: note: Parameter 'pAux' can be declared as pointer to const sqlite3-3.46.1/ext/misc/unionvtab.c:1270:13: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/unionvtab.c:1277:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/unionvtab.c:310:16: style: Variable 'iIn' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/unionvtab.c:1314:56: style: Variable 'iCons' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/urifuncs.c:47:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/urifuncs.c:65:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/urifuncs.c:103:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/urifuncs.c:140:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/urifuncs.c:157:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/urifuncs.c:174:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/uuid.c:176:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/uuid.c:192:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/uuid.c:206:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/uuid.c:220:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/uuid.c:143:18: style: Parameter 'pIn' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/vfslog.c:625:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:648:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:670:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:689:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:696:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:705:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:712:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:719:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:727:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:735:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:742:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:746:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:749:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfslog.c:233:3: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/misc/vfslog.c:233:3: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/misc/vfslog.c:643:54: style:inconclusive: Function 'vlogDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:115:49: note: Function 'vlogDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:643:54: note: Function 'vlogDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:643:65: style:inconclusive: Function 'vlogDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:115:60: note: Function 'vlogDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/vfslog.c:643:65: note: Function 'vlogDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/vfslog.c:662:15: style:inconclusive: Function 'vlogAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:116:49: note: Function 'vlogAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:662:15: note: Function 'vlogAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:685:15: style:inconclusive: Function 'vlogFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:117:55: note: Function 'vlogFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:685:15: note: Function 'vlogFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:695:56: style:inconclusive: Function 'vlogDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:118:51: note: Function 'vlogDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:695:56: note: Function 'vlogDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfslog.c:726:63: style:inconclusive: Function 'vlogRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:122:58: note: Function 'vlogRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/vfslog.c:726:63: note: Function 'vlogRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/vfslog.c:734:45: style:inconclusive: Function 'vlogSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfslog.c:123:40: note: Function 'vlogSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/vfslog.c:734:45: note: Function 'vlogSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/vfslog.c:408:20: style: Variable 'x' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vfslog.c:448:20: style: Variable 'x' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vfslog.c:268:22: style: Variable 'tNow' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/misc/vfsstat.c:445:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:475:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:491:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:508:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:515:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:524:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:531:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:538:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:547:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:556:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:564:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:568:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:572:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:673:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vfsstat.c:426:73: style:inconclusive: Function 'vstatUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:165:67: note: Function 'vstatUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/vfsstat.c:426:73: note: Function 'vstatUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/ext/misc/vfsstat.c:473:55: style:inconclusive: Function 'vstatDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:171:50: note: Function 'vstatDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:473:55: note: Function 'vstatDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:473:66: style:inconclusive: Function 'vstatDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:171:61: note: Function 'vstatDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/vfsstat.c:473:66: note: Function 'vstatDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/ext/misc/vfsstat.c:486:15: style:inconclusive: Function 'vstatAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:172:50: note: Function 'vstatAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:486:15: note: Function 'vstatAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:503:15: style:inconclusive: Function 'vstatFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:173:56: note: Function 'vstatFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:503:15: note: Function 'vstatFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:514:57: style:inconclusive: Function 'vstatDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:174:52: note: Function 'vstatDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:514:57: note: Function 'vstatDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/ext/misc/vfsstat.c:545:64: style:inconclusive: Function 'vstatRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:178:59: note: Function 'vstatRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/vfsstat.c:545:64: note: Function 'vstatRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/ext/misc/vfsstat.c:554:46: style:inconclusive: Function 'vstatSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/misc/vfsstat.c:179:41: note: Function 'vstatSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/vfsstat.c:554:46: note: Function 'vstatSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/ext/misc/vfsstat.c:670:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vfsstat.c:694:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vfsstat.c:704:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vfsstat.c:726:17: style: Parameter 'tab' can be declared as pointer to const. However it seems that 'vstattabBestIndex' is a callback function, if 'tab' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/vfsstat.c:761:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/vfsstat.c:726:17: note: Parameter 'tab' can be declared as pointer to const sqlite3-3.46.1/ext/misc/vfsstat.c:727:23: style: Parameter 'pIdxInfo' can be declared as pointer to const. However it seems that 'vstattabBestIndex' is a callback function, if 'pIdxInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/misc/vfsstat.c:761:3: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/misc/vfsstat.c:727:23: note: Parameter 'pIdxInfo' can be declared as pointer to const sqlite3-3.46.1/ext/misc/vtablog.c:328:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vtablog.c:457:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/vtablog.c:203:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSchema [nullPointerOutOfMemory] sqlite3-3.46.1/ext/misc/vtablog.c:201:30: note: Assuming allocation function fails sqlite3-3.46.1/ext/misc/vtablog.c:201:30: note: Assignment 'zSchema=sqlite3_mprintf("%s","CREATE TABLE x(a,b);")', assigned value is 0 sqlite3-3.46.1/ext/misc/vtablog.c:203:31: note: Null pointer dereference sqlite3-3.46.1/ext/misc/vtablog.c:380:28: style: Local variable 'z' shadows outer variable [shadowVariable] sqlite3-3.46.1/ext/misc/vtablog.c:362:8: note: Shadowed declaration sqlite3-3.46.1/ext/misc/vtablog.c:380:28: note: Shadow variable sqlite3-3.46.1/ext/misc/vtablog.c:388:19: style: Local variable 'z' shadows outer variable [shadowVariable] sqlite3-3.46.1/ext/misc/vtablog.c:362:8: note: Shadowed declaration sqlite3-3.46.1/ext/misc/vtablog.c:388:19: note: Shadow variable sqlite3-3.46.1/ext/misc/vtablog.c:286:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vtablog.c:316:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vtablog.c:337:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vtablog.c:350:19: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/vtablog.c:361:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/wholenumber.c:53:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/wholenumber.c:210:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/zipfile.c:391:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/zipfile.c:1046:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/zipfile.c:1339:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/zipfile.c:1907:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/misc/zipfile.c:1006:3: warning: Return value of function deflateInit2() is not used. [ignoredReturnValue] sqlite3-3.46.1/ext/misc/zipfile.c:548:7: style: Redundant initialization for 'n'. The initialized value is overwritten before it is read. [redundantInitialization] sqlite3-3.46.1/ext/misc/zipfile.c:546:14: note: n is initialized sqlite3-3.46.1/ext/misc/zipfile.c:548:7: note: n is overwritten sqlite3-3.46.1/ext/misc/zipfile.c:688:7: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/zipfile.c:728:37: style: Parameter 'pCDS' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/zipfile.c:1127:15: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/zipfile.c:1416:18: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/zipfile.c:1528:42: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/zipfile.c:1754:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/misc/zipfile.c:1876:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/zipfile.c:1973:18: style: Variable 'pName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/zipfile.c:1976:18: style: Variable 'pData' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/misc/zipfile.c:1977:18: style: Variable 'pMethod' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/rbu.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/rbu.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/rbu.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/rbu.c:147:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/rbu.c:147:9: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/rbu/rbu.c:147:9: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/rbu/rbu.c:190:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/rbu/rbu.c:190:5: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/rbu/rbu.c:58:16: style: Variable 'pVfs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:898:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:960:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:2234:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:3096:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_NOTICE_RBU [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4508:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4782:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_NOTICE_RBU [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5376:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlite3_vfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:2199:11: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_int'. [assertWithSideEffect] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5142:9: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5095:12: note: 'rc' is assigned value '0' here. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5142:9: note: The comparison 'rc == 0' is always true. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:3670:33: style:inconclusive: Function 'sqlite3rbu_step' argument 1 names different: declaration 'pRbu' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/rbu/sqlite3rbu.h:426:44: note: Function 'sqlite3rbu_step' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:3670:33: note: Function 'sqlite3rbu_step' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4228:34: style:inconclusive: Function 'sqlite3rbu_close' argument 1 names different: declaration 'pRbu' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/rbu/sqlite3rbu.h:458:45: note: Function 'sqlite3rbu_close' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4228:34: note: Function 'sqlite3rbu_close' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4299:41: style:inconclusive: Function 'sqlite3rbu_bp_progress' argument 1 names different: declaration 'pRbu' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/rbu/sqlite3rbu.h:507:52: note: Function 'sqlite3rbu_bp_progress' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4299:41: note: Function 'sqlite3rbu_bp_progress' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4334:34: style:inconclusive: Function 'sqlite3rbu_state' argument 1 names different: declaration 'pRbu' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/rbu/sqlite3rbu.h:545:45: note: Function 'sqlite3rbu_state' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4334:34: note: Function 'sqlite3rbu_state' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4362:38: style:inconclusive: Function 'sqlite3rbu_savestate' argument 1 names different: declaration 'pRbu' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/rbu/sqlite3rbu.h:438:49: note: Function 'sqlite3rbu_savestate' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4362:38: note: Function 'sqlite3rbu_savestate' argument 1 names different: declaration 'pRbu' definition 'p'. sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:502:18: style: Variable 'zStart' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:951:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:1983:59: style: Parameter 'pIter' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:2179:9: style: Variable 'zBind' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:2877:13: style: Variable 'zExtra' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:2956:53: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:3132:57: style: Parameter 'pFrame' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:3540:15: style: Variable 'pFd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:3815:50: style: Parameter 'pState' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4069:17: style: Variable 'pFd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4291:47: style: Parameter 'pRbu' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4299:41: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4334:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4399:33: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'xDefaultRename' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4439:21: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4399:33: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4631:26: style: Parameter 'aBuf' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4815:15: style: Variable 'pRbu' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4894:14: style: Variable 'pRbuVfs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4895:11: style: Variable 'zIn' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5304:44: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'rbuVfsGetLastError' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5353:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5304:44: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5304:63: style: Parameter 'b' can be declared as pointer to const. However it seems that 'rbuVfsGetLastError' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5353:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5304:63: note: Parameter 'b' can be declared as pointer to const sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:5411:48: style: Parameter 'pRbu' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:2629:19: style: Variable 'zUpdate' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/rbu/sqlite3rbu.c:4018:12: style: Variable 'pCsr' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/recover/dbdata.c:203:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_USES_ALL_SCHEMAS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/dbdata.c:265:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/dbdata.c:514:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/dbdata.c:883:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/dbdata.c:1005:68: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/ext/recover/dbdata.c:192:9: style: Parameter 'pAux' can be declared as pointer to const. However it seems that 'dbdataConnect' is a callback function, if 'pAux' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/recover/dbdata.c:978:5: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/recover/dbdata.c:192:9: note: Parameter 'pAux' can be declared as pointer to const sqlite3-3.46.1/ext/recover/dbdata.c:252:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/recover/dbdata.c:344:38: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/recover/dbdata.c:347:38: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/recover/dbdata.c:770:17: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/recover/dbdata.c:911:16: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/recover/dbdata.c:965:17: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/recover/dbdata.c:495:51: style: Variable 'pData' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/recover/dbdata.c:863:15: style: Variable 'nFunc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/recover/sqlite3recover.c:713:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/sqlite3recover.c:827:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/sqlite3recover.c:1393:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/sqlite3recover.c:2023:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_FCNTL_RESET_CACHE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/sqlite3recover.c:2589:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_FCNTL_RESET_CACHE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/sqlite3recover.c:2302:62: style:inconclusive: Function 'recoverVfsRead' argument 3 names different: declaration 'iAmt' definition 'nByte'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/recover/sqlite3recover.c:2167:53: note: Function 'recoverVfsRead' argument 3 names different: declaration 'iAmt' definition 'nByte'. sqlite3-3.46.1/ext/recover/sqlite3recover.c:2302:62: note: Function 'recoverVfsRead' argument 3 names different: declaration 'iAmt' definition 'nByte'. sqlite3-3.46.1/ext/recover/sqlite3recover.c:2302:73: style:inconclusive: Function 'recoverVfsRead' argument 4 names different: declaration 'iOfst' definition 'iOff'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/recover/sqlite3recover.c:2167:73: note: Function 'recoverVfsRead' argument 4 names different: declaration 'iOfst' definition 'iOff'. sqlite3-3.46.1/ext/recover/sqlite3recover.c:2302:73: note: Function 'recoverVfsRead' argument 4 names different: declaration 'iOfst' definition 'iOff'. sqlite3-3.46.1/ext/recover/sqlite3recover.c:2744:9: style:inconclusive: Function 'sqlite3_recover_init_sql' argument 4 names different: declaration 'pCtx' definition 'pSqlCtx'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/recover/sqlite3recover.h:121:9: note: Function 'sqlite3_recover_init_sql' argument 4 names different: declaration 'pCtx' definition 'pSqlCtx'. sqlite3-3.46.1/ext/recover/sqlite3recover.c:2744:9: note: Function 'sqlite3_recover_init_sql' argument 4 names different: declaration 'pCtx' definition 'pSqlCtx'. sqlite3-3.46.1/ext/recover/sqlite3recover.c:1121:33: style: Variable 'iBind' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/recover/sqlite3recover.c:2255:12: style: Variable 'iBlk' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/recover/test_recover.c:39:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/test_recover.c:63:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/test_recover.c:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/test_recover.c:233:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/test_recover.c:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/test_recover.c:309:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/recover/test_recover.c:299:62: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/ext/recover/test_recover.c:300:56: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/ext/recover/test_recover.c:216:9: style: Parameter 'clientData' can be declared as pointer to const. However it seems that 'test_sqlite3_recover_init' is a callback function, if 'clientData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/recover/test_recover.c:299:35: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/recover/test_recover.c:216:9: note: Parameter 'clientData' can be declared as pointer to const sqlite3-3.46.1/ext/recover/test_recover.c:226:20: style: Variable 'zUri' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/repair/checkfreelist.c:175:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/repair/checkfreelist.c:240:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/repair/checkindex.c:166:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/repair/checkindex.c:849:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/repair/checkindex.c:151:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/repair/checkindex.c:229:15: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/repair/checkindex.c:876:15: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/repair/checkindex.c:472:23: style: Variable 'pInfo' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/rtree/geopoly.c:368:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:478:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:558:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:618:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:643:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:712:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:745:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RtreeCoord [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:764:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:1254:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_CONSTRAINT_SUPPORT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:1389:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTREE_ZERO [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:1521:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:1713:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:1822:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/geopoly.c:395:34: error: Allocation with sqlite3_str_finish, sqlite3_result_text doesn't release it. [leakNoVarFunctionCall] sqlite3-3.46.1/ext/rtree/geopoly.c:432:34: error: Allocation with sqlite3_str_finish, sqlite3_result_text doesn't release it. [leakNoVarFunctionCall] sqlite3-3.46.1/ext/rtree/geopoly.c:330:27: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sqlite3-3.46.1/ext/rtree/geopoly.c:331:27: portability:inconclusive: Casting from float * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sqlite3-3.46.1/ext/rtree/geopoly.c:300:18: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/rtree/geopoly.c:958:13: style: Variable 'x' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rtree/geopoly.c:1095:19: style: Variable 'pPrev' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rtree/geopoly.c:1503:38: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/rtree/geopoly.c:643:11: warning: Uninitialized variable: aCoord [uninitvar] sqlite3-3.46.1/ext/rtree/geopoly.c:1410:31: note: Calling function 'geopolyBBox', 3rd argument 'bbox' value is sqlite3-3.46.1/ext/rtree/geopoly.c:643:11: note: Uninitialized variable: aCoord sqlite3-3.46.1/ext/rtree/rtree.c:4461:3: error: There is an unknown macro here somewhere. Configuration is required. If SQLITE_EXTENSION_INIT2 is a macro then please configure it. [unknownMacro] sqlite3-3.46.1/ext/rtree/test_rtreedoc.c:347:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/rtree/test_rtreedoc.c:342:41: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changeset.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changeset.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changeset.c:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_CHANGESET_OMIT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changeset.c:194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changeset.c:121:15: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/ext/session/changeset.c:345:67: warning: If memory allocation fails, then there is a possible null pointer dereference: zSQLTabName [nullPointerOutOfMemory] sqlite3-3.46.1/ext/session/changeset.c:341:40: note: Assuming allocation function fails sqlite3-3.46.1/ext/session/changeset.c:341:40: note: Assignment 'zSQLTabName=sqlite3_mprintf("\"%w\"",zTab)', assigned value is 0 sqlite3-3.46.1/ext/session/changeset.c:345:67: note: Null pointer dereference sqlite3-3.46.1/ext/session/changeset.c:83:40: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changesetfuzz.c:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changesetfuzz.c:180:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changesetfuzz.c:1234:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/changesetfuzz.c:681:11: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/session/changesetfuzz.c:645:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/ext/session/changesetfuzz.c:639:12: note: rc is assigned sqlite3-3.46.1/ext/session/changesetfuzz.c:645:10: note: rc is overwritten sqlite3-3.46.1/ext/session/changesetfuzz.c:176:56: style: Parameter 'pBuf' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:366:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:407:27: style: Parameter 'aRec' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:442:7: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:531:7: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:536:23: style: Variable 'pGrp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:664:48: style: Parameter 'pGrp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:705:20: style: Variable 'aHex' can be declared as const array [constVariable] sqlite3-3.46.1/ext/session/changesetfuzz.c:734:43: style: Parameter 'pParse' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:806:25: style: Variable 'pGrp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:1137:13: style: Variable 'pSaved' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/session/changesetfuzz.c:581:18: style: Variable 'bIndirect' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/session/changesetfuzz.c:581:8: style: Variable 'bIndirect' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/session/changesetfuzz.c:1194:15: style: Variable 'nRepeat' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/session/changesetfuzz.c:1195:13: style: Variable 'iSeed' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/session/changesetfuzz.c:1202:12: style: Variable 'pBuf' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/session/session_speed_test.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:197:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:207:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_CHANGESET_ABORT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:327:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/session/session_speed_test.c:232:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/ext/session/session_speed_test.c:197:3: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] sqlite3-3.46.1/ext/session/session_speed_test.c:78:37: warning: If memory allocation fails, then there is a possible null pointer dereference: zOpt [nullPointerOutOfMemory] sqlite3-3.46.1/ext/session/session_speed_test.c:73:33: note: Assuming allocation function fails sqlite3-3.46.1/ext/session/session_speed_test.c:73:33: note: Assignment 'zOpt=sqlite3_mprintf("%s %s",aOpt[i].zText,eType==0?"":eType==1?"N":eType==3?"BOOLEAN":"TEXT")', assigned value is 0 sqlite3-3.46.1/ext/session/session_speed_test.c:78:37: note: Null pointer dereference sqlite3-3.46.1/ext/session/session_speed_test.c:48:59: style: Parameter 'pOpt' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/session/session_speed_test.c:173:22: style: Variable 'pOpt' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/session/session_speed_test.c:206:28: style: Parameter 'pCtx' can be declared as pointer to const. However it seems that 'xConflict' is a callback function, if 'pCtx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/session/session_speed_test.c:253:63: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/session/session_speed_test.c:206:28: note: Parameter 'pCtx' can be declared as pointer to const sqlite3-3.46.1/ext/session/session_speed_test.c:206:73: style: Parameter 'p' can be declared as pointer to const. However it seems that 'xConflict' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/session/session_speed_test.c:253:63: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/session/session_speed_test.c:206:73: note: Parameter 'p' can be declared as pointer to const sqlite3-3.46.1/ext/session/session_speed_test.c:309:9: style: Variable 'zDb2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/ext/wasm/SQLTester/touint8array.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:502:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_CHANGESETSTART_INVERT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:1535:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nKeySize [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:1553:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlite3KvvfsMethods [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:321:28: warning: Invalid test for overflow 'PStack.pBegin+n<=PStack.pBegin'; pointer overflow is undefined behavior. Some mainstream compilers removes handling of overflows when optimising the code and change the code to 'n<=0'. [invalidTestForOverflow] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:497:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:1690:39: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:1509:19: style: Variable 'fileExisted' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:1507:7: style: Unused variable: rc [unusedVariable] sqlite3-3.46.1/ext/wasm/api/sqlite3-wasm.c:1509:7: style: Variable 'fileExisted' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/wasm/c-pp.c:277:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:311:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:320:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:596:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:608:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:641:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:721:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:963:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:1168:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:1180:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:1301:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:1331:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:1355:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable skipLevel [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:1438:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/ext/wasm/c-pp.c:693:6: style: Condition '!str' is always false [knownConditionTrueFalse] sqlite3-3.46.1/ext/wasm/c-pp.c:287:3: style: Statements following noreturn function 'fatalv()' will never be executed. [unreachableCode] sqlite3-3.46.1/ext/wasm/c-pp.c:1158:3: style: Statements following noreturn function 'fatalv()' will never be executed. [unreachableCode] sqlite3-3.46.1/ext/wasm/c-pp.c:719:43: style:inconclusive: Function 'db_bind_textn' argument 4 names different: declaration 'len' definition 'n'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/wasm/c-pp.c:169:80: note: Function 'db_bind_textn' argument 4 names different: declaration 'len' definition 'n'. sqlite3-3.46.1/ext/wasm/c-pp.c:719:43: note: Function 'db_bind_textn' argument 4 names different: declaration 'len' definition 'n'. sqlite3-3.46.1/ext/wasm/c-pp.c:890:38: style:inconclusive: Function 'db_include_dir_add' argument 1 names different: declaration 'zKey' definition 'zDir'. [funcArgNamesDifferent] sqlite3-3.46.1/ext/wasm/c-pp.c:207:45: note: Function 'db_include_dir_add' argument 1 names different: declaration 'zKey' definition 'zDir'. sqlite3-3.46.1/ext/wasm/c-pp.c:890:38: note: Function 'db_include_dir_add' argument 1 names different: declaration 'zKey' definition 'zDir'. sqlite3-3.46.1/ext/wasm/c-pp.c:1162:67: style: Parameter 't' can be declared as pointer to const. However it seems that 'cmpp_kwd_noop' is a callback function, if 't' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/ext/wasm/c-pp.c:1379:28: note: You might need to cast the function pointer here sqlite3-3.46.1/ext/wasm/c-pp.c:1162:67: note: Parameter 't' can be declared as pointer to const sqlite3-3.46.1/ext/wasm/c-pp.c:481:18: style: struct member 'CmppTokenizer::pstate' is never used. [unusedStructMember] sqlite3-3.46.1/ext/wasm/c-pp.c:1223:29: style: Variable 'tmpState' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/ext/wasm/example_extra_init.c:21:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/mptest/mptest.c:1347:29: error: There is an unknown macro here somewhere. Configuration is required. If SQLITE_VERSION is a macro then please configure it. [unknownMacro] sqlite3-3.46.1/src/alter.c:277:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_VRename [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:368:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SPAN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:1277:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:1659:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:1868:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_STRING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:2133:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:2236:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenWrite [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/alter.c:112:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/alter.c:127:10: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/alter.c:321:9: style: Variable 'pDflt' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/alter.c:887:15: style: Variable 'pList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/alter.c:1064:18: style: Parameter 'pType' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/alter.c:1065:18: style: Parameter 'pObject' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/alter.c:1610:16: style: Variable 'pTarget' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/alter.c:1613:23: style: Variable 'pUpsertSet' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/alter.c:1685:14: style: Variable 'pItem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/analyze.c:238:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Clear [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/analyze.c:1055:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenRead [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/analyze.c:1386:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_LoadAnalysis [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/analyze.c:1500:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Expire [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/analyze.c:1947:42: style:inconclusive: Function 'sqlite3AnalysisLoad' argument 2 names different: declaration 'iDB' definition 'iDb'. [funcArgNamesDifferent] sqlite3-3.46.1/src/sqliteInt.h:5393:38: note: Function 'sqlite3AnalysisLoad' argument 2 names different: declaration 'iDB' definition 'iDb'. sqlite3-3.46.1/src/analyze.c:1947:42: note: Function 'sqlite3AnalysisLoad' argument 2 names different: declaration 'iDB' definition 'iDb'. sqlite3-3.46.1/src/analyze.c:207:12: style: Variable 'pStat' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/analyze.c:979:10: style: Parameter 'pOnlyIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/analyze.c:1189:15: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/analyze.c:1395:11: style: Variable 'pSchema' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/analyze.c:1460:13: style: Variable 'zDb' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/analyze.c:1952:11: style: Variable 'pSchema' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/attach.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/attach.c:309:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_NONE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/attach.c:374:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_STRING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/attach.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_VARIABLE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/attach.c:52:31: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/attach.c:373:11: style: Variable 'zAuthArg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/auth.c:152:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/btreeInt.h:383:0: error: #error wrong numeric code for read-transaction [preprocessorErrorDirective] sqlite3-3.46.1/src/btreeInt.h:383:3: error: #error wrong numeric code for read-transaction [preprocessorErrorDirective] sqlite3-3.46.1/src/bitvec.c:292:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:109:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_TableLock [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:176:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_FkCheck [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:304:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sLastToken [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:840:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pOld [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:931:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenWrite [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:1191:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_JournalMode [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:1343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_VBegin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:1465:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RETURNING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:1757:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SPAN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:1789:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_STRING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:1858:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:2005:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:2053:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_SetCookie [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:2095:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:2383:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:2758:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:3209:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:3273:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Destroy [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:3383:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_VBegin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:3791:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_SorterOpen [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:4123:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:4636:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_DropIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:5145:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_DEFERRED [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:5174:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COMMIT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:5202:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Savepoint [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:5350:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Halt [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/build.c:5112:45: warning: Either the condition 'p->nSrc>1' is redundant or the array 'p->a[1]' is accessed at index -1, which is out of bounds. [negativeIndex] sqlite3-3.46.1/src/build.c:5108:19: note: Assuming that condition 'p->nSrc>1' is not redundant sqlite3-3.46.1/src/build.c:5109:20: note: Assignment 'i=p->nSrc-1', assigned value is 1 sqlite3-3.46.1/src/build.c:5113:16: note: i is decremented', new value is 0 sqlite3-3.46.1/src/build.c:5112:45: note: Negative array index sqlite3-3.46.1/src/build.c:834:9: warning: Either the condition 'db==0' is redundant or there is possible null pointer dereference: db. [nullPointerRedundantCheck] sqlite3-3.46.1/src/build.c:839:17: note: Assuming that condition 'db==0' is not redundant sqlite3-3.46.1/src/build.c:834:9: note: Null pointer dereference sqlite3-3.46.1/src/build.c:107:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:171:18: style: Variable 'pReturning' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:214:15: style: Variable 'pSchema' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:231:13: style: Variable 'vtab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:261:18: style: Variable 'pRet' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:721:46: style: Parameter 'pCol' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:757:39: style: Parameter 'pCol' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:835:13: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:963:39: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:1021:36: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:1093:38: style: Parameter 'pIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:1113:40: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:1161:40: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:1265:11: style: Variable 'zDb' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:1284:11: style: Variable 'zDb' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:1878:13: style: Variable 'pCExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:1940:50: style: Parameter 'pToken' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:2117:9: style: Variable 'zSep' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:2117:24: style: Variable 'zEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:2307:10: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:2876:14: style: Variable 'pEnd2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:2935:12: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:2977:10: style: Parameter 'pBegin' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:3444:42: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:3481:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:3733:10: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:3928:10: style: Parameter 'pStart' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:4136:11: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:4196:11: style: Variable 'pCExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:4372:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:4612:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:4690:66: style: Parameter 'pToken' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:4732:32: style: Parameter 'pList' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:4865:10: style: Parameter 'pTable' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:4866:10: style: Parameter 'pDatabase' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:4968:10: style: Parameter 'pAlias' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:4989:12: style: Variable 'pToken' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:5025:64: style: Parameter 'pIndexedBy' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:5190:53: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:5270:9: style: Variable 'pDb' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:5339:9: style: Parameter 'p4' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:5490:12: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/build.c:5596:10: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/build.c:2193:10: warning: Size of pointer 'zExtra' used instead of size of its data. [pointerSize] sqlite3-3.46.1/src/callback.c:35:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/callback.c:53:12: style: Variable 'pColl2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/callback.c:54:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/callback.c:82:14: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/callback.c:83:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/callback.c:300:12: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/complete.c:279:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/date.c:556:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/date.c:1231:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/date.c:1276:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/date.c:1310:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/date.c:559:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sqlite3-3.46.1/src/date.c:554:14: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/date.c:1404:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/delete.c:52:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_FkCheck [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/delete.c:350:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_DELETE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/delete.c:770:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_NotFound [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/delete.c:923:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IdxDelete [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/delete.c:1009:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_RealAffinity [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/delete.c:118:60: style: Parameter 'pTrigger' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/delete.c:902:8: style: Parameter 'aRegIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/delete.c:911:10: style: Variable 'pPk' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/delete.c:969:10: style: Parameter 'pPrior' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:178:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLLATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:203:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLLATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:219:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:250:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_REGISTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:360:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_EQ [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:505:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_REGISTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:533:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:575:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:628:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:662:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_VECTOR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:716:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_EQ [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:937:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INTEGER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1094:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_VECTOR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1146:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INTEGER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1166:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1223:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1375:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1471:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pLeft [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1522:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iTable [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1689:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ORDER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1766:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:1832:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2108:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2313:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2330:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_TRUEFALSE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2352:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2389:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2502:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2799:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INTEGER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2842:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UPLUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2884:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UPLUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2983:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:2999:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Integer [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:3124:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_IN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:3341:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_IN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:3451:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Once [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:3636:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_EXISTS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:3873:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Copy [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4053:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Real [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4071:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Integer [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4140:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IfNullRow [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4168:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Rowid [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Column [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4238:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Move [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4250:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_REGISTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4272:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4296:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Copy [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4328:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_NotNull [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4461:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IfNullRow [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4500:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IfNullRow [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:4542:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5369:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Once [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5409:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_REGISTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5445:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_REGISTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5510:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_SCopy [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5597:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5666:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:5821:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ISNULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6052:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_VARIABLE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6186:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6282:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_OR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6414:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6458:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NOTNULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6587:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6635:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6679:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6767:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_IF_NULL_ROW [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6854:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/expr.c:6002:9: warning: Return value of function sqlite3_value_text() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/expr.c:4053:51: portability:inconclusive: Casting from double * to unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] sqlite3-3.46.1/src/expr.c:4265:56: style:inconclusive: Function 'exprCodeVector' argument 3 names different: declaration 'piToFree' definition 'piFreeable'. [funcArgNamesDifferent] sqlite3-3.46.1/src/expr.c:19:56: note: Function 'exprCodeVector' argument 3 names different: declaration 'piToFree' definition 'piFreeable'. sqlite3-3.46.1/src/expr.c:4265:56: note: Function 'exprCodeVector' argument 3 names different: declaration 'piToFree' definition 'piFreeable'. sqlite3-3.46.1/src/expr.c:144:19: style: Variable 'pList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:326:12: style: Variable 'pColl1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:327:12: style: Variable 'pColl2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:459:9: style: Parameter 'pLeft' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:460:9: style: Parameter 'pRight' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:1776:71: style: Parameter 'p' can be declared as pointer to const. However it seems that 'gatherSelectWindowsSelectCallback' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/expr.c:1782:23: note: You might need to cast the function pointer here sqlite3-3.46.1/src/expr.c:1776:71: note: Parameter 'p' can be declared as pointer to const sqlite3-3.46.1/src/expr.c:1817:9: style: Variable 'pPriorSelectColOld' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:2229:13: style: Parameter 'pEList' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:2271:12: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:2382:9: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:2386:12: style: Variable 'pDef' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:2570:65: style: Parameter 'pSelect' can be declared as pointer to const. However it seems that 'exprSelectWalkTableConstant' is a callback function, if 'pSelect' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/expr.c:2595:25: note: You might need to cast the function pointer here sqlite3-3.46.1/src/expr.c:2570:65: note: Parameter 'pSelect' can be declared as pointer to const sqlite3-3.46.1/src/expr.c:2695:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:2697:16: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:2956:10: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:2982:11: style: Variable 'pRes' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3135:15: style: Variable 'pEList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3186:15: style: Variable 'pLhs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3229:19: style: Variable 'pLhs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3230:19: style: Variable 'pRhs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3231:22: style: Variable 'pReq' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3338:11: style: Variable 'pSelect' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3346:13: style: Variable 'pA' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3386:49: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:3501:15: style: Variable 'pEList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3531:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:3941:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:4004:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:4388:13: style: Variable 'pA1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:4491:55: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:4575:16: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:4719:13: style: Variable 'zBlob' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:5237:13: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:5442:11: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:5964:49: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/expr.c:6151:11: style: Variable 'pExprA' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6152:11: style: Variable 'pExprB' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6195:17: style: Variable 'pList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6404:13: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6405:13: style: Variable 'pRight' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6493:48: style: Parameter 'pExpr' can be declared as pointer to const. However it seems that 'exprIdxCover' is a callback function, if 'pExpr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/expr.c:6524:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/expr.c:6493:48: note: Parameter 'pExpr' can be declared as pointer to const sqlite3-3.46.1/src/expr.c:6571:12: style: Variable 'pSrc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6586:52: style: Parameter 'pExpr' can be declared as pointer to const. However it seems that 'exprRefToSrcList' is a callback function, if 'pExpr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/expr.c:6629:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/expr.c:6586:52: note: Parameter 'pExpr' can be declared as pointer to const sqlite3-3.46.1/src/expr.c:6791:13: style: Variable 'pE' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/expr.c:6921:25: style: Variable 'pOBList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:350:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_FkIfZero [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:482:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_REGISTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:509:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:571:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_FkIfZero [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:755:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_FkIfZero [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:956:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IsNull [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:1270:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/fkey.c:971:16: warning: The address of variable 'iCol' might be accessed at non-zero index. [objectIndex] sqlite3-3.46.1/src/fkey.c:968:15: note: Address of variable taken here. sqlite3-3.46.1/src/fkey.c:971:16: note: The address of variable 'iCol' might be accessed at non-zero index. sqlite3-3.46.1/src/fkey.c:972:14: warning: The address of variable 'iCol' might be accessed at non-zero index. [objectIndex] sqlite3-3.46.1/src/fkey.c:968:15: note: Address of variable taken here. sqlite3-3.46.1/src/fkey.c:972:14: note: The address of variable 'iCol' might be accessed at non-zero index. sqlite3-3.46.1/src/fkey.c:193:9: style: Variable 'zKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:255:17: style: Variable 'zIdxCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:326:8: style: Parameter 'aiCol' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:708:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:735:49: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:799:10: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:801:8: style: Parameter 'aChange' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:828:8: style: Parameter 'aChange' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:833:11: style: Variable 'zKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:837:17: style: Variable 'pCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:854:49: style: Parameter 'pFKey' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:857:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:981:15: style: Variable 'zCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/fkey.c:1144:10: style: Parameter 'pParse' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/fkey.c:1301:17: style: Variable 'pDflt' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_CollSeq [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:97:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:427:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:1002:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:1018:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:1078:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:1330:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zEnd [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:1412:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:1551:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:2210:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:2281:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:2591:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DIRECTONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/func.c:371:18: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_bytes'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:512:22: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_text'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:531:22: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_text'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1122:22: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_blob'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1145:15: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1250:18: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_blob'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1403:17: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_text'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1406:13: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1407:16: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_context_db_handle'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1411:13: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1416:21: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_text'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1420:17: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_text'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:1493:16: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_text'. [assertWithSideEffect] sqlite3-3.46.1/src/func.c:2581:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2582:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2583:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2584:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2601:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2602:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2603:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2607:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2608:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2609:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2610:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2611:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2612:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2617:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2618:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2619:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:2731:5: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/func.c:485:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:915:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:983:12: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:1093:55: style: Parameter 'pValue' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/func.c:1396:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:1889:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:1906:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:1920:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:1966:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:1994:8: style: Variable 'pArg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:2006:14: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:2278:12: style: Variable 'pDef' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/func.c:2309:11: style: Variable 'zEscape' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/hash.c:111:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _ht [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/hash.c:238:59: style:inconclusive: Function 'sqlite3HashInsert' argument 3 names different: declaration 'pData' definition 'data'. [funcArgNamesDifferent] sqlite3-3.46.1/src/hash.h:69:56: note: Function 'sqlite3HashInsert' argument 3 names different: declaration 'pData' definition 'data'. sqlite3-3.46.1/src/hash.c:238:59: note: Function 'sqlite3HashInsert' argument 3 names different: declaration 'pData' definition 'data'. sqlite3-3.46.1/src/insert.c:37:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenWrite [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:191:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_MakeRecord [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:303:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Affinity [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:473:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Null [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:520:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_MemMax [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:540:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_NotNull [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:614:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RAISE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:695:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:961:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INSERT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:1670:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:1989:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_NotNull [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:2793:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IsNull [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:2866:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenRead [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:3064:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ASTERISK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/insert.c:234:11: style: Variable 'pVTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:266:55: style: Parameter 'pExpr' can be declared as pointer to const. However it seems that 'exprColumnFlagUnion' is a callback function, if 'pExpr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/insert.c:341:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/insert.c:266:55: note: Parameter 'pExpr' can be declared as pointer to const sqlite3-3.46.1/src/insert.c:418:12: style: Variable 'pSeqTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:587:14: style: Variable 'pItem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:613:11: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:1496:15: style: Variable 'pIpk' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:1669:59: style: Parameter 'pExpr' can be declared as pointer to const. However it seems that 'checkConstraintExprNode' is a callback function, if 'pExpr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/insert.c:1706:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/insert.c:1669:59: note: Parameter 'pExpr' can be declared as pointer to const sqlite3-3.46.1/src/insert.c:1878:8: style: Parameter 'aRegIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/insert.c:2535:19: style: Variable 'p4' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:2768:8: style: Parameter 'aRegIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/insert.c:2856:7: style: Parameter 'aToOpen' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/insert.c:3153:13: style: Variable 'pDestExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/insert.c:3154:13: style: Variable 'pSrcExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/json.c:804:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:3106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:3543:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:4351:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:4627:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:4747:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:4837:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VTAB_INNOCUOUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:5062:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:5182:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:5387:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/json.c:640:14: style: Comparing expression of type 'unsigned char' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] sqlite3-3.46.1/src/json.c:2467:14: style: Return value 'sz+n==(unsigned int)nBlob' is always true [knownConditionTrueFalse] sqlite3-3.46.1/src/json.c:2465:11: note: Assuming that condition 'sz+n!=(unsigned int)nBlob' is not redundant sqlite3-3.46.1/src/json.c:2466:38: note: Assuming condition is false sqlite3-3.46.1/src/json.c:2467:14: note: Return value 'sz+n==(unsigned int)nBlob' is always true sqlite3-3.46.1/src/json.c:5420:5: style: Same expression '1' found multiple times in chain of '|' operators. [duplicateExpression] sqlite3-3.46.1/src/json.c:5424:5: style: Same expression '1' found multiple times in chain of '|' operators. [duplicateExpression] sqlite3-3.46.1/src/json.c:5427:5: style: Same expression '1' found multiple times in chain of '|' operators. [duplicateExpression] sqlite3-3.46.1/src/json.c:5430:5: style: Same expression '1' found multiple times in chain of '|' operators. [duplicateExpression] sqlite3-3.46.1/src/json.c:640:12: style: Unsigned expression 'c' can't be negative so it is unnecessary to test it. [unsignedPositive] sqlite3-3.46.1/src/json.c:4016:18: style: Unsigned expression 'iTarget' can't be negative so it is unnecessary to test it. [unsignedPositive] sqlite3-3.46.1/src/json.c:4017:17: style: Unsigned expression 'iPatch' can't be negative so it is unnecessary to test it. [unsignedPositive] sqlite3-3.46.1/src/json.c:427:18: style: Parameter 'pArg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/json.c:1113:7: style: Variable 'aOld' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/json.c:2450:52: style: Parameter 'pJson' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/json.c:2474:39: style: Parameter 'pParse' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/json.c:3372:42: style: Parameter 'pArg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/json.c:4901:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/json.c:4998:21: style: Variable 'pParent' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/json.c:5140:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/json.c:1052:8: style: struct member 'NanInfName::nRepl' is never used. [unusedStructMember] sqlite3-3.46.1/src/json.c:1054:9: style: struct member 'NanInfName::zRepl' is never used. [unusedStructMember] sqlite3-3.46.1/src/json.c:4218:21: style: Variable 'zPath' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/json.c:4325:21: style: Variable 'zPath' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/loadext.c:598:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/loadext.c:800:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/loadext.c:838:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/loadext.c:868:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/loadext.c:898:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:109:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SOURCE_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:114:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VERSION_NUMBER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:265:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:951:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_WRITE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:999:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DBCONFIG_ENABLE_VIEW [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:1342:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_NONE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:1512:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_WRITE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:1926:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:3308:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_OPEN_SUPER_JOURNAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:3648:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:4103:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_FCNTL_RESERVE_BYTES [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/main.c:4302:38: warning: Assert statement modifies 'x'. [assignmentInAssert] sqlite3-3.46.1/src/main.c:4302:40: warning: Assert statement calls a function which may have desired side effects: 'va_arg'. [assertWithSideEffect] sqlite3-3.46.1/src/main.c:464:8: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] sqlite3-3.46.1/src/main.c:4807:10: warning: Either the condition 'zFilename' is redundant or there is possible null pointer dereference: zFilename. [nullPointerRedundantCheck] sqlite3-3.46.1/src/main.c:4803:10: note: Assuming that condition 'zFilename' is not redundant sqlite3-3.46.1/src/main.c:4807:10: note: Null pointer dereference sqlite3-3.46.1/src/main.c:4857:20: warning: Either the condition 'zFilename' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] sqlite3-3.46.1/src/main.c:4853:10: note: Assuming that condition 'zFilename' is not redundant sqlite3-3.46.1/src/main.c:4857:20: note: Null pointer addition sqlite3-3.46.1/src/main.c:4116:22: style: Variable 'db->busyHandler.nBusy' is assigned an expression that holds the same value. [redundantAssignment] sqlite3-3.46.1/src/main.c:4114:17: note: nSave is assigned 'db->busyHandler.nBusy' here. sqlite3-3.46.1/src/main.c:4116:22: note: Variable 'db->busyHandler.nBusy' is assigned an expression that holds the same value. sqlite3-3.46.1/src/main.c:901:42: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/main.c:1120:49: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/main.c:1148:42: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/main.c:1164:48: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/main.c:1222:13: style: Variable 'pSchema' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/main.c:3144:15: style: Variable 'zModeType' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/main.c:3854:37: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/malloc.c:431:70: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/mem1.c:215:3: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sqlite3-3.46.1/src/mem1.c:182:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/memdb.c:782:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SERIALIZE_NOCOPY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/memdb.c:529:73: style:inconclusive: Function 'memdbUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. [funcArgNamesDifferent] sqlite3-3.46.1/src/memdb.c:118:67: note: Function 'memdbUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/src/memdb.c:529:73: note: Function 'memdbUnfetch' argument 3 names different: declaration 'p' definition 'pPage'. sqlite3-3.46.1/src/memdb.c:641:15: style:inconclusive: Function 'memdbAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/memdb.c:125:50: note: Function 'memdbAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/memdb.c:641:15: note: Function 'memdbAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/memdb.c:659:15: style:inconclusive: Function 'memdbFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/memdb.c:126:56: note: Function 'memdbFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/memdb.c:659:15: note: Function 'memdbFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/memdb.c:671:57: style:inconclusive: Function 'memdbDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/memdb.c:127:52: note: Function 'memdbDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/memdb.c:671:57: note: Function 'memdbDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/memdb.c:702:64: style:inconclusive: Function 'memdbRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/src/memdb.c:131:59: note: Function 'memdbRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/memdb.c:702:64: note: Function 'memdbRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/memdb.c:710:46: style:inconclusive: Function 'memdbSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/src/memdb.c:132:41: note: Function 'memdbSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/memdb.c:710:46: note: Function 'memdbSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/memjournal.c:430:44: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/mutex.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mutexIsInit [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/mutex_noop.c:42:10: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/mutex_unix.c:155:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os.c:260:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os.c:372:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os.c:387:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os.c:418:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os.c:442:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_MUTEX_STATIC_MAIN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os.c:206:36: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/os.c:206:56: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/os.c:386:36: style: Parameter 'pVfs' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/os_unix.c:729:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:896:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:1276:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:1430:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:1582:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:1671:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:1821:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:2046:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:2355:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:2408:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3343:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3430:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_IOERR_CORRUPTFS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3476:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3571:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3747:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3793:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3838:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:3878:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:4284:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:4405:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_WRLCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:4444:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:4598:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:4758:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:4932:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:5030:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6005:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlite3_temp_directory [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6286:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_OPEN_SUPER_JOURNAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6549:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6661:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6729:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FILENAME_MAX [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6828:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:6954:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:8241:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlite3_vfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/os_unix.c:2346:5: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] sqlite3-3.46.1/src/os_unix.c:6483:7: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/src/os_unix.c:6449:7: note: First condition sqlite3-3.46.1/src/os_unix.c:6483:7: note: Second condition sqlite3-3.46.1/src/os_unix.c:1275:9: style: Variable 'zErr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/os_unix.c:1338:36: style: Parameter 'pFile' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/os_unix.c:953:25: style: struct member 'vxworksFileId::pNext' is never used. [unusedStructMember] sqlite3-3.46.1/src/os_unix.c:954:7: style: struct member 'vxworksFileId::nRef' is never used. [unusedStructMember] sqlite3-3.46.1/src/os_unix.c:955:7: style: struct member 'vxworksFileId::nName' is never used. [unusedStructMember] sqlite3-3.46.1/src/os_unix.c:956:9: style: struct member 'vxworksFileId::zCanonicalName' is never used. [unusedStructMember] sqlite3-3.46.1/src/os_unix.c:4377:6: style: struct member 'unixShm::hasMutex' is never used. [unusedStructMember] sqlite3-3.46.1/src/os_unix.c:4378:6: style: struct member 'unixShm::id' is never used. [unusedStructMember] sqlite3-3.46.1/src/os_unix.c:3939:18: style: Variable 'nWrite' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/pager.c:2546:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_OPEN_SUPER_JOURNAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pager.c:3085:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_VERSION_NUMBER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pager.c:4766:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_OK_SYMLINK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pager.c:5766:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pPCache [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pager.c:6342:15: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] sqlite3-3.46.1/src/pager.c:6333:11: note: outer condition: rc==0 sqlite3-3.46.1/src/pager.c:6342:15: note: identical inner condition: rc==0 sqlite3-3.46.1/src/pager.c:4884:16: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/src/pager.c:4873:16: note: First condition sqlite3-3.46.1/src/pager.c:4884:16: note: Second condition sqlite3-3.46.1/src/pager.c:5702:7: style:inconclusive: Function 'sqlite3PagerGet' argument 4 names different: declaration 'clrFlag' definition 'flags'. [funcArgNamesDifferent] sqlite3-3.46.1/src/pager.h:147:68: note: Function 'sqlite3PagerGet' argument 4 names different: declaration 'clrFlag' definition 'flags'. sqlite3-3.46.1/src/pager.c:5702:7: note: Function 'sqlite3PagerGet' argument 4 names different: declaration 'clrFlag' definition 'flags'. sqlite3-3.46.1/src/pager.c:6937:50: style:inconclusive: Function 'sqlite3PagerOpenSavepoint' argument 2 names different: declaration 'n' definition 'nSavepoint'. [funcArgNamesDifferent] sqlite3-3.46.1/src/pager.h:170:50: note: Function 'sqlite3PagerOpenSavepoint' argument 2 names different: declaration 'n' definition 'nSavepoint'. sqlite3-3.46.1/src/pager.c:6937:50: note: Function 'sqlite3PagerOpenSavepoint' argument 2 names different: declaration 'n' definition 'nSavepoint'. sqlite3-3.46.1/src/pager.c:7600:8: style:inconclusive: Function 'sqlite3PagerOpenWal' argument 2 names different: declaration 'pisOpen' definition 'pbOpen'. [funcArgNamesDifferent] sqlite3-3.46.1/src/pager.h:178:47: note: Function 'sqlite3PagerOpenWal' argument 2 names different: declaration 'pisOpen' definition 'pbOpen'. sqlite3-3.46.1/src/pager.c:7600:8: note: Function 'sqlite3PagerOpenWal' argument 2 names different: declaration 'pisOpen' definition 'pbOpen'. sqlite3-3.46.1/src/pager.c:1356:36: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:1782:36: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:2232:31: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:3052:11: style: Variable 'dbFileVers' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pager.c:3522:37: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:3812:36: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:3901:35: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:4539:13: style: Variable 'pData2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pager.c:5063:10: style: Variable 'pPager' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pager.c:5683:10: style: Parameter 'pPager' can be declared as pointer to const. However it seems that 'getPageError' is a callback function, if 'pPager' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/pager.c:1048:20: note: You might need to cast the function pointer here sqlite3-3.46.1/src/pager.c:5683:10: note: Parameter 'pPager' can be declared as pointer to const sqlite3-3.46.1/src/pager.c:6256:10: style: Variable 'pPager' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pager.c:6790:34: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:6877:32: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:7006:23: style: Variable 'pRel' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pager.c:7072:37: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:7081:39: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:7100:44: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:7286:36: style: Parameter 'pPg' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:7423:39: style: Parameter 'pPager' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pager.c:5513:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/pcache.c:510:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pDirty [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pcache.c:339:11: style:inconclusive: Function 'sqlite3PcacheOpen' argument 6 names different: declaration 'pToInit' definition 'p'. [funcArgNamesDifferent] sqlite3-3.46.1/src/pcache.h:80:11: note: Function 'sqlite3PcacheOpen' argument 6 names different: declaration 'pToInit' definition 'p'. sqlite3-3.46.1/src/pcache.c:339:11: note: Function 'sqlite3PcacheOpen' argument 6 names different: declaration 'pToInit' definition 'p'. sqlite3-3.46.1/src/pcache.c:695:49: style:inconclusive: Function 'sqlite3PcacheTruncate' argument 2 names different: declaration 'x' definition 'pgno'. [funcArgNamesDifferent] sqlite3-3.46.1/src/pcache.h:109:42: note: Function 'sqlite3PcacheTruncate' argument 2 names different: declaration 'x' definition 'pgno'. sqlite3-3.46.1/src/pcache.c:695:49: note: Function 'sqlite3PcacheTruncate' argument 2 names different: declaration 'x' definition 'pgno'. sqlite3-3.46.1/src/pcache.c:831:35: style: Parameter 'pCache' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pcache.c:838:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pcache.c:918:34: style: Parameter 'pCache' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pcache1.c:688:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nPage [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pcache1.c:1056:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable page [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pcache1.c:520:48: style: Parameter 'pCache' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/pcache1.c:904:14: style: Variable 'pOther' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pcache1.c:674:21: error: Uninitialized variable: *pp [uninitvar] sqlite3-3.46.1/src/pragma.c:163:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_NONE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:205:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:218:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Int64 [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:231:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_ResultRow [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:339:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DETERMINISTIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:387:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_ResultRow [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:482:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:2886:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:3016:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/pragma.c:1288:21: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/pragma.c:2164:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] sqlite3-3.46.1/src/pragma.c:1683:12: style: Variable 'pObjTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:1871:19: style: Variable 'zErr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:1898:17: style: Variable 'zErr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:2025:19: style: Variable 'zErr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:2142:23: style: Variable 'pVTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:2492:13: style: Variable 'pSchema' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:2496:11: style: Variable 'zSubSql' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:2788:9: style: Parameter 'pAux' can be declared as pointer to const. However it seems that 'pragmaVtabConnect' is a callback function, if 'pAux' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/pragma.c:3034:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/pragma.c:2788:9: note: Parameter 'pAux' can be declared as pointer to const sqlite3-3.46.1/src/pragma.c:2862:15: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:2999:21: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:3012:15: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/pragma.c:3025:21: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/prepare.c:146:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rcp [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/prepare.c:260:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_NONE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/prepare.c:514:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_NONE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/prepare.c:668:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zErrMsg [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/prepare.c:702:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zErrMsg [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/prepare.c:705:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] sqlite3-3.46.1/src/prepare.c:857:4: warning: Either the condition 'ppStmt==0' is redundant or there is possible null pointer dereference: ppStmt. [nullPointerRedundantCheck] sqlite3-3.46.1/src/prepare.c:978:34: note: Assuming that condition 'ppStmt==0' is not redundant sqlite3-3.46.1/src/prepare.c:977:20: note: Calling function 'sqlite3LockAndPrepare', 6th argument 'ppStmt' value is 0 sqlite3-3.46.1/src/prepare.c:857:4: note: Null pointer dereference sqlite3-3.46.1/src/prepare.c:1006:4: warning: Either the condition 'ppStmt==0' is redundant or there is possible null pointer dereference: ppStmt. [nullPointerRedundantCheck] sqlite3-3.46.1/src/prepare.c:1081:34: note: Assuming that condition 'ppStmt==0' is not redundant sqlite3-3.46.1/src/prepare.c:1080:10: note: Calling function 'sqlite3Prepare16', 5th argument 'ppStmt' value is 0 sqlite3-3.46.1/src/prepare.c:1006:4: note: Null pointer dereference sqlite3-3.46.1/src/prepare.c:61:45: style: Parameter 'pIndex' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/prepare.c:548:47: style: Parameter 'pSchema' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/printf.c:1087:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/printf.c:1423:3: error: Memory leak: p [memleak] sqlite3-3.46.1/src/printf.c:756:28: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/printf.c:781:15: style: Variable 'escarg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/printf.c:826:17: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/printf.c:833:18: style: Variable 'pToken' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/printf.c:1170:39: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:36:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:92:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLLATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:214:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:295:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:869:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:928:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:942:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FLOAT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:991:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:1463:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:1641:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INTEGER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/resolve.c:341:21: style: The comparison 'cnt == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/src/resolve.c:287:13: note: 'cnt' is assigned value '0' here. sqlite3-3.46.1/src/resolve.c:341:21: note: The comparison 'cnt == 0' is always true. sqlite3-3.46.1/src/resolve.c:75:9: style: Variable 'pOrig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/resolve.c:161:68: style: Parameter 'pTopNC' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:181:10: style: Variable 'pExTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/resolve.c:230:10: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:674:17: style: Variable 'pOrig' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/resolve.c:872:12: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/resolve.c:914:17: style: Parameter 'pNC' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:917:10: style: Parameter 'pError' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:940:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:1548:9: style: Parameter 'pError' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/resolve.c:1691:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/resolve.c:1834:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/resolve.c:88:10: style: Variable 'pDup' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/select.c:146:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ASTERISK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:375:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colFlags [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:421:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:458:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:523:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable colFlags [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:687:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_MakeRecord [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:749:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Sequence [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:850:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IfPos [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:924:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Ne [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:993:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Explain [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:1164:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Column [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:1692:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Gosub [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2071:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2136:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2232:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_DOT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2362:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_CAST [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2490:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_LIMIT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2680:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UNION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2810:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:2888:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:3277:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IfNot [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:3527:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:3878:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:3994:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:4070:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:4448:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:4784:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:4833:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:4867:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:4912:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_GT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:5184:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:5344:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:5409:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:5477:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:5549:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:5778:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ALL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6110:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ASTERISK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6532:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6604:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6676:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Null [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6763:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Rewind [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6829:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FILTER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:6999:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:7140:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:7618:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/select.c:1247:7: error: Address of local auto-variable assigned to a function parameter. [autoVariables] sqlite3-3.46.1/src/select.c:2236:11: warning: Either the condition 'pColExpr!=0' is redundant or there is possible null pointer dereference: pColExpr. [nullPointerRedundantCheck] sqlite3-3.46.1/src/select.c:2232:14: note: Assuming that condition 'pColExpr!=0' is not redundant sqlite3-3.46.1/src/select.c:2236:11: note: Null pointer dereference sqlite3-3.46.1/src/select.c:3507:18: style: The comparison 'pKeyDup == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/src/select.c:3499:22: note: 'pKeyDup' is assigned value '0' here. sqlite3-3.46.1/src/select.c:3507:18: note: The comparison 'pKeyDup == 0' is always true. sqlite3-3.46.1/src/select.c:521:15: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:656:16: style: Parameter 'pInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:903:13: style: Parameter 'pEList' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:1175:15: style: Variable 'pEList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:1574:13: style: Parameter 'pList' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:1652:15: style: Parameter 'pDest' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:1660:13: style: Variable 'pOrderBy' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:2141:13: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:2156:15: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:2225:27: style: Variable 'pCollide' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:2320:12: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:3226:61: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:3258:11: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:3259:15: style: Parameter 'pIn' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:3912:20: style: Variable 'pNat' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:3913:20: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:4057:8: style: Variable 'aCsrMap' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:4781:9: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:4875:11: style: Variable 'pColumn' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5168:12: style: Variable 'pSrc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5202:20: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5324:10: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5403:13: style: Variable 'pEList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5458:9: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5542:25: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:5623:12: style: Parameter 'pItem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:6601:23: style: Variable 'pCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:7074:13: style: Variable 'pS1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:7253:10: style: Parameter 'pParse' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/select.c:7755:15: style: Variable 'pCteUse' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:7942:13: style: Variable 'pWin' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:8410:30: style: Variable 'pF' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:8535:32: style: Variable 'pF' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/select.c:782:9: style: Variable 'pOp' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/select.c:2475:11: style: Variable 'v' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/select.c:2476:14: style: Variable 'iLimit' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/table.c:176:3: error: Address of local auto-variable assigned to a function parameter. [autoVariables] sqlite3-3.46.1/src/tclsqlite.c:275:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:329:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:386:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:423:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_READABLE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:631:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:647:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:700:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:782:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:791:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:816:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:913:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:949:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1039:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1183:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1267:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1395:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1696:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1851:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:1958:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3731:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3784:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3940:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VERSION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3954:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3955:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3961:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3962:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3969:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:3970:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tclsqlite.c:2527:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/tclsqlite.c:2553:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/tclsqlite.c:1220:7: error: Common realloc mistake: 'zLine' nulled but not freed upon failure [memleakOnRealloc] sqlite3-3.46.1/src/tclsqlite.c:1238:3: error: Common realloc mistake: 'zLine' nulled but not freed upon failure [memleakOnRealloc] sqlite3-3.46.1/src/tclsqlite.c:384:15: style: Parameter 'hPtr' can be declared as pointer to const. However it seems that 'incrblobHandle' is a callback function, if 'hPtr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/tclsqlite.c:399:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/tclsqlite.c:384:15: note: Parameter 'hPtr' can be declared as pointer to const sqlite3-3.46.1/src/tclsqlite.c:801:12: style: Parameter 'db' can be declared as pointer to const. However it seems that 'DbWalHandler' is a callback function, if 'db' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/tclsqlite.c:1934:39: note: You might need to cast the function pointer here sqlite3-3.46.1/src/tclsqlite.c:801:12: note: Parameter 'db' can be declared as pointer to const sqlite3-3.46.1/src/tclsqlite.c:992:22: style: Variable 'pIn' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:1459:13: style: Variable 'data' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2036:13: style: Variable 'zAuth' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2139:13: style: Variable 'zCallback' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2169:13: style: Variable 'zBusy' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2198:11: style: Variable 'subCmd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2276:11: style: Variable 'zScript' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2654:20: style: Variable 'pBA' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:2887:11: style: Variable 'zName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:3028:13: style: Variable 'zNull' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:3080:13: style: Variable 'zProgress' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:3126:13: style: Variable 'zProfile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:3337:13: style: Variable 'zTrace' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:3377:13: style: Variable 'zTraceV2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/tclsqlite.c:3954:39: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/tclsqlite.c:3955:42: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/tclsqlite.c:3961:41: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/tclsqlite.c:3962:43: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/tclsqlite.c:3969:31: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/tclsqlite.c:3970:34: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test1.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:125:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:193:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:293:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:318:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:357:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:397:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:413:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:441:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:484:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:513:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:533:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:560:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:589:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:646:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:665:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:698:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:722:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:744:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:764:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:776:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:849:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:991:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TESTCTRL_RESULT_INTREAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1063:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1094:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1361:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1385:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1413:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1447:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1476:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1504:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1538:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1569:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1597:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1624:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1656:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1692:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1711:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1739:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1786:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1810:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1841:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1865:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1886:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1940:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:1978:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2054:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2212:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2518:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2540:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2562:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2840:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2867:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2907:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2938:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2965:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:2992:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3020:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3045:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3072:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3286:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3316:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3387:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3444:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3493:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3545:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3571:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3593:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3614:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3665:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3687:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3710:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3746:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3784:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3823:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3857:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3893:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3929:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:3961:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4017:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4074:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4114:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4165:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4221:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4327:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4417:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4601:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4626:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4652:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4677:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4697:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4724:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4751:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4777:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4805:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4837:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4876:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:4935:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5009:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5184:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5232:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5265:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5331:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5360:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5386:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5415:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5436:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5454:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5499:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5526:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5575:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5604:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5634:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5692:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5714:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5746:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5787:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5811:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5833:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5859:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5885:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5910:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5936:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5960:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:5998:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6018:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6041:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6069:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6092:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6116:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6141:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6168:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6260:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6325:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zName [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6383:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6415:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6434:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6457:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6492:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6530:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6568:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6605:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6641:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6815:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6847:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6878:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6908:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6940:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:6973:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7006:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7057:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7095:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7119:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7203:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7224:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7240:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7272:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7326:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7381:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7427:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7462:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7473:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7505:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7570:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7654:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7679:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7705:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TESTCTRL_FK_NO_ACTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:7806:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8263:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8313:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8511:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8564:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8600:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DBCONFIG_WRITABLE_SCHEMA [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8657:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8680:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8703:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8740:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8765:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8786:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8821:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8933:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:8989:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:9175:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlite3_column_name [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test1.c:941:5: warning: Return value of function sqlite3_value_bytes() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test1.c:944:5: warning: Return value of function sqlite3_value_bytes16() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test1.c:4882:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test1.c:5130:8: style: Obsolete function 'sqlite3_prepare16' called. It is recommended to use 'sqlite3_prepare16_v2' instead. [prohibitedsqlite3_prepare16Called] sqlite3-3.46.1/src/test1.c:7659:9: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] sqlite3-3.46.1/src/test1.c:362:42: style: Condition 'zHex[j+2]' is always true [knownConditionTrueFalse] sqlite3-3.46.1/src/test1.c:1273:35: style: Condition 'p' is always true [knownConditionTrueFalse] sqlite3-3.46.1/src/test1.c:2221:25: style: Condition 'sqlite3TestErrCode(interp,db,rc)' is always false [knownConditionTrueFalse] sqlite3-3.46.1/src/test1.c:2221:25: note: Calling function 'sqlite3TestErrCode' returns 0 sqlite3-3.46.1/src/test1.c:2221:25: note: Condition 'sqlite3TestErrCode(interp,db,rc)' is always false sqlite3-3.46.1/src/test1.c:5035:24: style: Condition 'zTail' is always true [knownConditionTrueFalse] sqlite3-3.46.1/src/test1.c:890:3: error: Memory leak: zCopy [memleak] sqlite3-3.46.1/src/test1.c:446:14: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:445:25: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:445:25: note: Assignment 'zSql=sqlite3_mprintf("%s",argv[2])', assigned value is 0 sqlite3-3.46.1/src/test1.c:446:14: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:447:9: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:445:25: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:445:25: note: Assignment 'zSql=sqlite3_mprintf("%s",argv[2])', assigned value is 0 sqlite3-3.46.1/src/test1.c:447:9: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:454:3: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:445:25: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:445:25: note: Assignment 'zSql=sqlite3_mprintf("%s",argv[2])', assigned value is 0 sqlite3-3.46.1/src/test1.c:454:3: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:888:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zCopy [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:887:41: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:887:19: note: Assignment 'zCopy=(char*)sqlite3_malloc(nText)', assigned value is 0 sqlite3-3.46.1/src/test1.c:888:12: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:1891:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:1890:39: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:1890:7: note: Assignment 'p=(struct TestCollationX*)sqlite3_malloc(sizeof(struct TestCollationX))', assigned value is 0 sqlite3-3.46.1/src/test1.c:1891:3: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:1892:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:1890:39: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:1890:7: note: Assignment 'p=(struct TestCollationX*)sqlite3_malloc(sizeof(struct TestCollationX))', assigned value is 0 sqlite3-3.46.1/src/test1.c:1892:3: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:1893:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:1890:39: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:1890:7: note: Assignment 'p=(struct TestCollationX*)sqlite3_malloc(sizeof(struct TestCollationX))', assigned value is 0 sqlite3-3.46.1/src/test1.c:1893:3: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:1894:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:1890:39: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:1890:7: note: Assignment 'p=(struct TestCollationX*)sqlite3_malloc(sizeof(struct TestCollationX))', assigned value is 0 sqlite3-3.46.1/src/test1.c:1894:20: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:1895:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:1890:39: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:1890:7: note: Assignment 'p=(struct TestCollationX*)sqlite3_malloc(sizeof(struct TestCollationX))', assigned value is 0 sqlite3-3.46.1/src/test1.c:1895:20: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:4946:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zCopy [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:4945:19: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:4945:19: note: Assignment 'zCopy=malloc(bytes)', assigned value is 0 sqlite3-3.46.1/src/test1.c:4946:12: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:4950:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zCopy [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:4949:19: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:4949:19: note: Assignment 'zCopy=malloc(n)', assigned value is 0 sqlite3-3.46.1/src/test1.c:4950:12: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:5021:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zCopy [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:5020:19: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:5020:19: note: Assignment 'zCopy=malloc(bytes)', assigned value is 0 sqlite3-3.46.1/src/test1.c:5021:12: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:5025:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zCopy [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:5024:19: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:5024:19: note: Assignment 'zCopy=malloc(n)', assigned value is 0 sqlite3-3.46.1/src/test1.c:5025:12: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:5236:16: warning: Possible null pointer dereference: zFilename [nullPointer] sqlite3-3.46.1/src/test1.c:5235:22: note: Assignment 'zFilename=objc>1?Tcl_GetString(objv[1]):0', assigned value is 0 sqlite3-3.46.1/src/test1.c:5236:16: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:8529:27: warning: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:8528:17: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:8528:17: note: Assignment 'a=malloc(sizeof(int)*10)', assigned value is 0 sqlite3-3.46.1/src/test1.c:8529:27: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:8531:46: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: a [nullPointerOutOfMemory] sqlite3-3.46.1/src/test1.c:8528:17: note: Assuming allocation function fails sqlite3-3.46.1/src/test1.c:8528:17: note: Assignment 'a=malloc(sizeof(int)*10)', assigned value is 0 sqlite3-3.46.1/src/test1.c:8531:46: note: Null pointer dereference sqlite3-3.46.1/src/test1.c:3320:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test1.c:3325:13: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test1.c:3341:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test1.c:8272:35: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test1.c:8275:36: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test1.c:291:10: style: The comparison 'res == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/src/test1.c:282:13: note: 'res' is assigned value '0' here. sqlite3-3.46.1/src/test1.c:291:10: note: The comparison 'res == 0' is always true. sqlite3-3.46.1/src/test1.c:362:35: style: Same expression on both sides of '&&'. [duplicateExpression] sqlite3-3.46.1/src/test1.c:3338:10: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/src/test1.c:3324:8: note: rc is assigned sqlite3-3.46.1/src/test1.c:3338:10: note: rc is overwritten sqlite3-3.46.1/src/test1.c:2155:3: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] sqlite3-3.46.1/src/test1.c:7661:8: style: Unsigned expression 'n' can't be negative so it is unnecessary to test it. [unsignedPositive] sqlite3-3.46.1/src/test1.c:8991:12: style: Checking if unsigned expression 'nCore' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/src/test1.c:6280:16: style: Local variable 'apVfs' shadows outer variable [shadowVariable] sqlite3-3.46.1/src/test1.c:6394:21: note: Shadowed declaration sqlite3-3.46.1/src/test1.c:6280:16: note: Shadow variable sqlite3-3.46.1/src/test1.c:95:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:191:69: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test1.c:236:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'test_io_trace' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9058:53: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:236:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:237:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_io_trace' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9058:53: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:237:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:660:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'test_key' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9049:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:660:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:661:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_key' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9049:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:661:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:674:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'test_rekey' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9050:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:674:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:675:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_rekey' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9050:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:675:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:1039:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:1280:20: style: Parameter 'context' can be declared as pointer to const. However it seems that 'legacyCountStep' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:1334:9: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:1280:20: note: Parameter 'context' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:1929:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'cf2Func' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:2022:19: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:1929:38: note: Parameter 'ctx' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:1931:38: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'cf2Step' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:2023:19: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:1931:38: note: Parameter 'ctx' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:1933:39: style: Parameter 'ctx' can be declared as pointer to const. However it seems that 'cf2Final' is a callback function, if 'ctx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:2024:20: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:1933:39: note: Parameter 'ctx' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:2143:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'sqlite_abort' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9046:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:2143:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:2144:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'sqlite_abort' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9046:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:2144:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:2858:9: style: Variable 'zFile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:3368:9: style: Parameter 'pCtx' can be declared as pointer to const. However it seems that 'test_utf16bin_collate_func' is a callback function, if 'pCtx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:3390:7: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:3368:9: note: Parameter 'pCtx' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:3471:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'alignmentCollFunc' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:3497:12: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:3471:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:3654:9: style: Variable 'zCode' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:3682:9: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'test_breakpoint' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9048:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:3682:9: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:3683:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_breakpoint' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9048:55: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:3683:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:4219:9: style: Variable 'value' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:4542:24: style: Variable 'v' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:5380:9: style: Variable 'zSql' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:5978:10: style: Parameter 'clientData' can be declared as pointer to const. However it seems that 'test_release_memory' is a callback function, if 'clientData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9130:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:5978:10: note: Parameter 'clientData' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:5979:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_release_memory' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9130:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:5979:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:5981:18: style: Parameter 'objv' can be declared as const array. However it seems that 'test_release_memory' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9130:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:5981:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:6184:10: style: Parameter 'clientData' can be declared as pointer to const. However it seems that 'test_thread_cleanup' is a callback function, if 'clientData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9139:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:6184:10: note: Parameter 'clientData' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:6185:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_thread_cleanup' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9139:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:6185:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:6187:18: style: Parameter 'objv' can be declared as const array. However it seems that 'test_thread_cleanup' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9139:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:6187:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:6209:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:7086:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'save_prng_state' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9148:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7086:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:7088:18: style: Parameter 'objv' can be declared as const array. However it seems that 'save_prng_state' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9148:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7088:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:7102:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'restore_prng_state' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9149:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7102:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:7104:18: style: Parameter 'objv' can be declared as const array. However it seems that 'restore_prng_state' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9149:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7104:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:7114:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'reset_prng_state' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9150:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7114:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:7116:18: style: Parameter 'objv' can be declared as const array. However it seems that 'reset_prng_state' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9150:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7116:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:7219:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'database_may_be_corrupt' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9155:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7219:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:7221:18: style: Parameter 'objv' can be declared as const array. However it seems that 'database_may_be_corrupt' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9155:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7221:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:7235:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'database_never_corrupt' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9154:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7235:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test1.c:7237:18: style: Parameter 'objv' can be declared as const array. However it seems that 'database_never_corrupt' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test1.c:9154:41: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test1.c:7237:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test1.c:7648:14: style: Variable 'pTm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test1.c:4400:19: error: Uninitialized variable: pStmt [uninitvar] sqlite3-3.46.1/src/test1.c:1964:17: style: struct member 'EncTable::zEnc' is never used. [unusedStructMember] sqlite3-3.46.1/src/test1.c:5276:19: style: struct member 'OpenFlag::zFlag' is never used. [unusedStructMember] sqlite3-3.46.1/src/test1.c:530:10: style: Variable 'zStr' is allocated memory that is never used. [unusedAllocatedMemory] sqlite3-3.46.1/src/test1.c:1905:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test1.c:2878:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test1.c:5114:18: style: Variable 'pTail' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test1.c:5174:18: style: Variable 'pTail' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test1.c:5308:6: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test2.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:93:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:147:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:179:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:206:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:234:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:295:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:359:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:385:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:409:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:432:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:456:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:481:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:521:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:577:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:615:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:688:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:744:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_LINK_INT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test2.c:36:41: style: Parameter 'pNotUsed' can be declared as pointer to const. However it seems that 'pager_test_reiniter' is a callback function, if 'pNotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test2.c:64:7: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test2.c:36:41: note: Parameter 'pNotUsed' can be declared as pointer to const sqlite3-3.46.1/src/test2.c:257:11: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test2.c:354:11: style: Variable 'pPage' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test4.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:200:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:280:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:312:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:348:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:384:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:415:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:459:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:513:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:556:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:589:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:630:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:693:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:737:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test4.c:441:11: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test4.c:80:5: error: Resource handle 'db' freed twice. [doubleFree] sqlite3-3.46.1/src/test4.c:75:5: note: Resource handle 'db' freed twice. sqlite3-3.46.1/src/test4.c:80:5: note: Resource handle 'db' freed twice. sqlite3-3.46.1/src/test4.c:178:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test5.c:47:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test5.c:75:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test5.c:137:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test5.c:87:7: warning: Return value of function sqlite3_value_text() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test5.c:168:14: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] sqlite3-3.46.1/src/test5.c:167:25: note: Assuming allocation function fails sqlite3-3.46.1/src/test5.c:167:25: note: Assignment 'z=sqlite3_malloc(len)', assigned value is 0 sqlite3-3.46.1/src/test5.c:168:14: note: Null pointer dereference sqlite3-3.46.1/src/test5.c:166:13: style: Variable 'zTmp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test5.c:190:10: style: Parameter 'clientData' can be declared as pointer to const. However it seems that 'test_translate_selftest' is a callback function, if 'clientData' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test5.c:213:51: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test5.c:190:10: note: Parameter 'clientData' can be declared as pointer to const sqlite3-3.46.1/src/test5.c:191:15: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'test_translate_selftest' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test5.c:213:51: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test5.c:191:15: note: Parameter 'interp' can be declared as pointer to const sqlite3-3.46.1/src/test5.c:193:18: style: Parameter 'objv' can be declared as const array. However it seems that 'test_translate_selftest' is a callback function, if 'objv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test5.c:213:51: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test5.c:193:18: note: Parameter 'objv' can be declared as const array sqlite3-3.46.1/src/test8.c:102:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:314:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_APPEND_VALUE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:820:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:1133:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:1164:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:1227:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:1383:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:1424:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:1456:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test8.c:180:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:263:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:278:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:343:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:699:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:841:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:1065:10: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test8.c:1389:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pMod [nullPointerOutOfMemory] sqlite3-3.46.1/src/test8.c:1388:24: note: Assuming allocation function fails sqlite3-3.46.1/src/test8.c:1388:24: note: Assignment 'pMod=sqlite3_malloc(sizeof(struct EchoModule))', assigned value is 0 sqlite3-3.46.1/src/test8.c:1389:3: note: Null pointer dereference sqlite3-3.46.1/src/test8.c:1390:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pMod [nullPointerOutOfMemory] sqlite3-3.46.1/src/test8.c:1388:24: note: Assuming allocation function fails sqlite3-3.46.1/src/test8.c:1388:24: note: Assignment 'pMod=sqlite3_malloc(sizeof(struct EchoModule))', assigned value is 0 sqlite3-3.46.1/src/test8.c:1390:3: note: Null pointer dereference sqlite3-3.46.1/src/test8.c:1398:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pMod [nullPointerOutOfMemory] sqlite3-3.46.1/src/test8.c:1397:26: note: Assuming allocation function fails sqlite3-3.46.1/src/test8.c:1397:26: note: Assignment 'pMod=sqlite3_malloc(sizeof(struct EchoModule))', assigned value is 0 sqlite3-3.46.1/src/test8.c:1398:5: note: Null pointer dereference sqlite3-3.46.1/src/test8.c:1399:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pMod [nullPointerOutOfMemory] sqlite3-3.46.1/src/test8.c:1397:26: note: Assuming allocation function fails sqlite3-3.46.1/src/test8.c:1397:26: note: Assignment 'pMod=sqlite3_malloc(sizeof(struct EchoModule))', assigned value is 0 sqlite3-3.46.1/src/test8.c:1399:5: note: Null pointer dereference sqlite3-3.46.1/src/test8.c:763:40: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test8.c:763:66: style: Parameter 'pIdxInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test8.c:806:9: style: Variable 'zCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test8.c:871:13: style: Variable 'zNewCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test8.c:872:13: style: Variable 'zOp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test8.c:924:11: style: Variable 'zNewCol' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test8.c:925:11: style: Variable 'zDir' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test8.c:997:11: style: Variable 'zSep' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test9.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test9.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test9.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test9.c:203:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test9.c:145:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test9.c:162:8: style: Obsolete function 'sqlite3_prepare16' called. It is recommended to use 'sqlite3_prepare16_v2' instead. [prohibitedsqlite3_prepare16Called] sqlite3-3.46.1/src/test9.c:145:28: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/src/test9.c:153:31: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/src/test9.c:162:30: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/src/test9.c:169:33: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/src/test9.c:144:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test9.c:152:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test9.c:161:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test9.c:168:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/test9.c:35:28: style: Variable 'zErrFunction' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test9.c:77:28: style: Variable 'zErrFunction' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test9.c:117:28: style: Variable 'zErrFunction' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test_async.c:247:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_async.c:238:38: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test_autoext.c:227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_backup.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_backup.c:134:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_backup.c:156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_backup.c:43:17: style: struct member 'BackupSubCommand::zCmd' is never used. [unusedStructMember] sqlite3-3.46.1/src/test_bestindex.c:212:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:343:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:540:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:634:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:736:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:763:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:844:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:874:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_bestindex.c:233:3: error: Memory leak: pTab [memleak] sqlite3-3.46.1/src/test_bestindex.c:405:15: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_bestindex.c:149:14: style: Variable 'iIn' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test_bestindex.c:188:20: style: Variable 'pScript' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test_bestindex.c:770:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/test_blob.c:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:288:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:329:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_blob.c:37:30: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test_config.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_config.c:836:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_delete.c:79:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_delete.c:61:16: style: Parameter 'pVfs' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test_delete.c:143:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_demovfs.c:431:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_EXCL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_demovfs.c:460:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_demovfs.c:593:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sqlite3-3.46.1/src/test_demovfs.c:162:13: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test_demovfs.c:307:39: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'demoTruncate' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:405:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:307:39: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:360:35: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'demoLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:408:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:360:35: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:363:37: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'demoUnlock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:409:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:363:37: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:374:42: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'demoFileControl' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:411:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:374:42: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:374:63: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'demoFileControl' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:411:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:374:63: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:383:41: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'demoSectorSize' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:412:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:383:41: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:386:52: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'demoDeviceCharacteristics' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:413:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:386:52: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:565:38: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'demoDlOpen' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:632:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:565:38: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:572:38: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'demoDlSym' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:634:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:572:38: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:572:50: style: Parameter 'pH' can be declared as pointer to const. However it seems that 'demoDlSym' is a callback function, if 'pH' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:634:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:572:50: note: Parameter 'pH' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:575:38: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'demoDlClose' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:635:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:575:38: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:575:50: style: Parameter 'pHandle' can be declared as pointer to const. However it seems that 'demoDlClose' is a callback function, if 'pHandle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:635:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:575:50: note: Parameter 'pHandle' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:583:40: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'demoRandomness' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:636:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:583:40: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:583:63: style: Parameter 'zByte' can be declared as pointer to const. However it seems that 'demoRandomness' is a callback function, if 'zByte' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:636:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:583:63: note: Parameter 'zByte' can be declared as pointer to const sqlite3-3.46.1/src/test_demovfs.c:591:35: style: Parameter 'pVfs' can be declared as pointer to const. However it seems that 'demoSleep' is a callback function, if 'pVfs' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_demovfs.c:637:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_demovfs.c:591:35: note: Parameter 'pVfs' can be declared as pointer to const sqlite3-3.46.1/src/test_fs.c:299:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:460:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:542:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:584:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:734:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:899:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:931:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_fs.c:582:11: error: Memory leak: aBuf [memleak] sqlite3-3.46.1/src/test_fs.c:288:13: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_fs.c:317:13: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_fs.c:558:14: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_func.c:77:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:173:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:462:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:602:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:733:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:760:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:924:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:954:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_func.c:282:3: warning: Return value of function sqlite3_value_text16() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test_func.c:283:3: warning: Return value of function sqlite3_value_text() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test_func.c:284:3: warning: Return value of function sqlite3_value_text16() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test_func.c:285:3: warning: Return value of function sqlite3_value_text() is not used. [ignoredReturnValue] sqlite3-3.46.1/src/test_func.c:777:43: error: Invalid sqlite3_create_function() argument nr 3. The value is -2 but the valid values are '-1:127'. [invalidFunctionArg] sqlite3-3.46.1/src/test_func.c:780:42: error: Invalid sqlite3_create_function() argument nr 3. The value is 128 but the valid values are '-1:127'. [invalidFunctionArg] sqlite3-3.46.1/src/test_func.c:319:3: error: Memory leak: zErr [memleak] sqlite3-3.46.1/src/test_func.c:165:53: style: Parameter 'a' can be declared as pointer to const. However it seems that 'test_agg_errmsg16_step' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_func.c:709:7: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_func.c:165:53: note: Parameter 'a' can be declared as pointer to const sqlite3-3.46.1/src/test_func.c:480:7: style: Variable 'pEndHdr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_func.c:528:7: style: Variable 'pEndHdr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_func.c:560:14: style: Variable 'hexdigit' can be declared as const array [constVariable] sqlite3-3.46.1/src/test_func.c:565:13: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_func.c:739:36: style: Parameter 'a' can be declared as pointer to const. However it seems that 'tStep' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_func.c:804:31: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_func.c:739:36: note: Parameter 'a' can be declared as pointer to const sqlite3-3.46.1/src/test_func.c:740:37: style: Parameter 'a' can be declared as pointer to const. However it seems that 'tFinal' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_func.c:771:67: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_func.c:740:37: note: Parameter 'a' can be declared as pointer to const sqlite3-3.46.1/src/test_func.c:894:10: style: Variable 'aPhraseinfo' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_hexio.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:213:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:277:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:399:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:464:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_hexio.c:130:5: error: Memory leak: zBuf [memleak] sqlite3-3.46.1/src/test_hexio.c:421:13: style: Variable 'zVal' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_init.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_init.c:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_init.c:241:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_init.c:260:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_init.c:294:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_intarray.c:131:20: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_intarray.c:132:18: style: Variable 'pVtab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_intarray.c:143:20: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_intarray.c:149:20: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_intarray.c:179:44: style: Parameter 'tab' can be declared as pointer to const. However it seems that 'intarrayBestIndex' is a callback function, if 'tab' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_intarray.c:191:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_intarray.c:179:44: note: Parameter 'tab' can be declared as pointer to const sqlite3-3.46.1/src/test_intarray.c:179:69: style: Parameter 'pIdxInfo' can be declared as pointer to const. However it seems that 'intarrayBestIndex' is a callback function, if 'pIdxInfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_intarray.c:191:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_intarray.c:179:69: note: Parameter 'pIdxInfo' can be declared as pointer to const sqlite3-3.46.1/src/test_md5.c:332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_md5.c:364:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_md5.c:409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_md5.c:439:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_md5.c:284:46: style: Parameter 'digest' can be declared as pointer to const. However it seems that 'MD5DigestToBase16' is a callback function, if 'digest' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_md5.c:406:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_md5.c:284:46: note: Parameter 'digest' can be declared as pointer to const sqlite3-3.46.1/src/test_md5.c:302:47: style: Parameter 'digest' can be declared as const array. However it seems that 'MD5DigestToBase10x8' is a callback function, if 'digest' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_md5.c:408:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_md5.c:302:47: note: Parameter 'digest' can be declared as const array sqlite3-3.46.1/src/test_multiplex.c:548:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_OPEN_SUPER_JOURNAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_multiplex.c:494:9: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/src/test_multiplex.c:476:12: note: 'rc' is assigned value '0' here. sqlite3-3.46.1/src/test_multiplex.c:494:9: note: The comparison 'rc == 0' is always true. sqlite3-3.46.1/src/test_mutex.c:169:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:190:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:224:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:273:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:301:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:328:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:363:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:413:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:432:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:451:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:470:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:506:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_LINK_INT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_mutex.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_mutex.c:102:35: note: Assuming allocation function fails sqlite3-3.46.1/src/test_mutex.c:102:12: note: Assignment 'pRet=(sqlite3_mutex*)malloc(sizeof(sqlite3_mutex))', assigned value is 0 sqlite3-3.46.1/src/test_mutex.c:110:3: note: Null pointer dereference sqlite3-3.46.1/src/test_mutex.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_mutex.c:102:35: note: Assuming allocation function fails sqlite3-3.46.1/src/test_mutex.c:102:12: note: Assignment 'pRet=(sqlite3_mutex*)malloc(sizeof(sqlite3_mutex))', assigned value is 0 sqlite3-3.46.1/src/test_mutex.c:111:3: note: Null pointer dereference sqlite3-3.46.1/src/test_onefile.c:686:52: style:inconclusive: Function 'fsDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:164:47: note: Function 'fsDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:686:52: note: Function 'fsDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:686:63: style:inconclusive: Function 'fsDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:164:58: note: Function 'fsDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/src/test_onefile.c:686:63: note: Function 'fsDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/src/test_onefile.c:714:15: style:inconclusive: Function 'fsAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:165:47: note: Function 'fsAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:714:15: note: Function 'fsAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:748:15: style:inconclusive: Function 'fsFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:166:53: note: Function 'fsFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:748:15: note: Function 'fsFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:759:54: style:inconclusive: Function 'fsDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:167:49: note: Function 'fsDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:759:54: note: Function 'fsDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/test_onefile.c:777:64: style:inconclusive: Function 'fsDlSym' argument 3 names different: declaration 'zSymbol' definition 'zSym'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:169:55: note: Function 'fsDlSym' argument 3 names different: declaration 'zSymbol' definition 'zSym'. sqlite3-3.46.1/src/test_onefile.c:777:64: note: Function 'fsDlSym' argument 3 names different: declaration 'zSymbol' definition 'zSym'. sqlite3-3.46.1/src/test_onefile.c:794:61: style:inconclusive: Function 'fsRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:171:56: note: Function 'fsRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/test_onefile.c:794:61: note: Function 'fsRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/test_onefile.c:803:43: style:inconclusive: Function 'fsSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_onefile.c:172:38: note: Function 'fsSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/test_onefile.c:803:43: note: Function 'fsSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/test_onefile.c:272:13: style: Variable 'pTmp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_onefile.c:316:34: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'tmpSync' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:235:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:316:34: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:324:13: style: Variable 'pTmp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_onefile.c:332:34: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'tmpLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:237:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:332:34: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:339:36: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'tmpUnlock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:238:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:339:36: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:354:41: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'tmpFileControl' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:240:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:354:41: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:354:62: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'tmpFileControl' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:240:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:354:62: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:361:40: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'tmpSectorSize' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:241:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:361:40: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:368:51: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'tmpDeviceCharacteristics' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:242:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:368:51: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:528:17: style: Variable 'pReal' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_onefile.c:540:33: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'fsLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:216:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:540:33: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:547:35: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'fsUnlock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:217:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:547:35: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:562:40: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'fsFileControl' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:219:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:562:40: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:562:61: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'fsFileControl' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:219:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:562:61: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:570:39: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'fsSectorSize' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:220:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:570:39: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_onefile.c:577:50: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'fsDeviceCharacteristics' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_onefile.c:221:3: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_onefile.c:577:50: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/src/test_osinst.c:499:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:516:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:536:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:554:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:561:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:570:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:577:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:592:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:600:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:607:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:611:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:614:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pVfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:735:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqlite3_vfs [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:896:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_OPEN_SUPER_JOURNAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:1046:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_osinst.c:692:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:746:9: note: Assuming condition is false sqlite3-3.46.1/src/test_osinst.c:753:21: note: Calling function 'vfslog_finalize', 1st argument 'p' value is 0 sqlite3-3.46.1/src/test_osinst.c:692:7: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:731:10: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:731:10: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:733:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:733:3: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:734:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:734:3: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:736:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:736:3: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:736:29: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:736:29: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:737:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:737:3: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:738:18: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:738:18: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:745:39: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:730:34: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:730:7: note: Assignment 'p=(struct VfslogVfs*)sqlite3_malloc(nByte)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:745:39: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:990:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: zStr [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_osinst.c:988:36: note: Assuming allocation function fails sqlite3-3.46.1/src/test_osinst.c:988:36: note: Assignment 'zStr=sqlite3_malloc(nStr+1)', assigned value is 0 sqlite3-3.46.1/src/test_osinst.c:990:9: note: Null pointer dereference sqlite3-3.46.1/src/test_osinst.c:512:56: style:inconclusive: Function 'vfslogDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:166:51: note: Function 'vfslogDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:512:56: note: Function 'vfslogDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:512:67: style:inconclusive: Function 'vfslogDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:166:62: note: Function 'vfslogDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/src/test_osinst.c:512:67: note: Function 'vfslogDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/src/test_osinst.c:529:15: style:inconclusive: Function 'vfslogAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:167:51: note: Function 'vfslogAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:529:15: note: Function 'vfslogAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:550:15: style:inconclusive: Function 'vfslogFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:168:57: note: Function 'vfslogFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:550:15: note: Function 'vfslogFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:560:58: style:inconclusive: Function 'vfslogDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:169:53: note: Function 'vfslogDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:560:58: note: Function 'vfslogDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/test_osinst.c:591:65: style:inconclusive: Function 'vfslogRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:173:60: note: Function 'vfslogRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/test_osinst.c:591:65: note: Function 'vfslogRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/test_osinst.c:599:47: style:inconclusive: Function 'vfslogSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_osinst.c:174:42: note: Function 'vfslogSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/test_osinst.c:599:47: note: Function 'vfslogSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/test_osinst.c:830:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/test_osinst.c:1017:14: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_osinst.c:1018:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_osinst.c:1066:14: style: Variable 'pCsr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_pcache.c:158:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pBuf [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_pcache.c:246:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pBuf [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_pcache.c:459:38: warning: Assert statement calls a function which may have desired side effects: 'testpcacheCreate'. [assertWithSideEffect] sqlite3-3.46.1/src/test_pcache.c:53:33: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'testpcacheInit' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_pcache.c:436:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_pcache.c:53:33: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/src/test_pcache.c:67:38: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'testpcacheShutdown' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_pcache.c:437:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_pcache.c:67:38: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/src/test_pcache.c:169:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_pcache.c:180:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_pcache.c:291:24: style: Parameter 'pOldPage' can be declared as pointer to const. However it seems that 'testpcacheUnpin' is a callback function, if 'pOldPage' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_pcache.c:442:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_pcache.c:291:24: note: Parameter 'pOldPage' can be declared as pointer to const sqlite3-3.46.1/src/test_pcache.c:336:24: style: Parameter 'pOldPage' can be declared as pointer to const. However it seems that 'testpcacheRekey' is a callback function, if 'pOldPage' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/test_pcache.c:443:5: note: You might need to cast the function pointer here sqlite3-3.46.1/src/test_pcache.c:336:24: note: Parameter 'pOldPage' can be declared as pointer to const sqlite3-3.46.1/src/test_quota.c:1132:21: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] sqlite3-3.46.1/src/test_quota.c:1130:44: note: outer condition: pFile->iSizeiSizeiLog)', assigned value is 0 sqlite3-3.46.1/src/test_sqllog.c:391:19: note: Null pointer dereference sqlite3-3.46.1/src/test_sqllog.c:310:11: style: Local variable 'rc' shadows outer variable [shadowVariable] sqlite3-3.46.1/src/test_sqllog.c:296:7: note: Shadowed declaration sqlite3-3.46.1/src/test_sqllog.c:310:11: note: Shadow variable sqlite3-3.46.1/src/test_sqllog.c:193:13: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_sqllog.c:376:13: style: Variable 'zVar' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_superlock.c:142:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_superlock.c:160:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_superlock.c:71:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/src/test_syscall.c:217:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:348:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:438:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:472:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:497:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:534:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:555:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:587:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:631:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:659:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:681:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:733:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:759:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_syscall.c:506:11: style: Variable 'zFunc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_syscall.c:729:16: style: Variable 'pVfs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_syscall.c:584:17: style: struct member 'Errno::z' is never used. [unusedStructMember] sqlite3-3.46.1/src/test_syscall.c:714:21: style: struct member 'SyscallCmd::xCmd' is never used. [unusedStructMember] sqlite3-3.46.1/src/test_tclsh.c:199:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:147:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:174:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interp [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:194:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable interp [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:266:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:426:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:511:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_tclvar.c:566:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:107:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_QUEUE_TAIL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:142:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:188:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_THREAD_STACK_DEFAULT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:243:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:293:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:317:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:405:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:661:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/test_thread.c:278:7: style: Local variable 'sqlite3TestMakePointerStr' shadows outer function [shadowFunction] sqlite3-3.46.1/src/test_thread.c:73:12: note: Shadowed declaration sqlite3-3.46.1/src/test_thread.c:278:7: note: Shadow variable sqlite3-3.46.1/src/test_thread.c:96:9: style: Variable 'zMsg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_thread.c:184:23: style: Variable 'zVarname' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_thread.c:185:22: style: Variable 'zScript' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_thread.c:234:9: style: Variable 'zMsg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/test_thread.c:331:11: style: struct member 'SubCommand::zName' is never used. [unusedStructMember] sqlite3-3.46.1/src/test_vfstrace.c:369:18: style: Expression is always false because 'else if' condition matches previous condition at line 368. [multiCondition] sqlite3-3.46.1/src/test_vfstrace.c:621:12: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:621:12: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:622:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:622:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:623:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:623:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:624:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:624:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:625:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:625:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:626:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:626:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:627:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:627:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:628:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:628:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:629:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:629:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:630:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:630:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:631:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:631:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:632:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:632:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:633:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:633:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:634:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:634:5: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:635:9: warning: If memory allocation fails, then there is a possible null pointer dereference: pNew [nullPointerOutOfMemory] sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assuming allocation function fails sqlite3-3.46.1/src/test_vfstrace.c:619:46: note: Assignment 'pNew=sqlite3_malloc(sizeof(*pNew))', assigned value is 0 sqlite3-3.46.1/src/test_vfstrace.c:635:9: note: Null pointer dereference sqlite3-3.46.1/src/test_vfstrace.c:657:58: style:inconclusive: Function 'vfstraceDelete' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:162:53: note: Function 'vfstraceDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:657:58: note: Function 'vfstraceDelete' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:657:69: style:inconclusive: Function 'vfstraceDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:162:64: note: Function 'vfstraceDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/src/test_vfstrace.c:657:69: note: Function 'vfstraceDelete' argument 3 names different: declaration 'syncDir' definition 'dirSync'. sqlite3-3.46.1/src/test_vfstrace.c:674:15: style:inconclusive: Function 'vfstraceAccess' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:163:53: note: Function 'vfstraceAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:674:15: note: Function 'vfstraceAccess' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:696:15: style:inconclusive: Function 'vfstraceFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:164:59: note: Function 'vfstraceFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:696:15: note: Function 'vfstraceFullPathname' argument 2 names different: declaration 'zName' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:714:60: style:inconclusive: Function 'vfstraceDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:165:55: note: Function 'vfstraceDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:714:60: note: Function 'vfstraceDlOpen' argument 2 names different: declaration 'zFilename' definition 'zPath'. sqlite3-3.46.1/src/test_vfstrace.c:737:67: style:inconclusive: Function 'vfstraceDlSym' argument 3 names different: declaration 'zSymbol' definition 'zSym'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:167:61: note: Function 'vfstraceDlSym' argument 3 names different: declaration 'zSymbol' definition 'zSym'. sqlite3-3.46.1/src/test_vfstrace.c:737:67: note: Function 'vfstraceDlSym' argument 3 names different: declaration 'zSymbol' definition 'zSym'. sqlite3-3.46.1/src/test_vfstrace.c:758:67: style:inconclusive: Function 'vfstraceRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:169:62: note: Function 'vfstraceRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/test_vfstrace.c:758:67: note: Function 'vfstraceRandomness' argument 3 names different: declaration 'zOut' definition 'zBufOut'. sqlite3-3.46.1/src/test_vfstrace.c:769:49: style:inconclusive: Function 'vfstraceSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. [funcArgNamesDifferent] sqlite3-3.46.1/src/test_vfstrace.c:170:44: note: Function 'vfstraceSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/test_vfstrace.c:769:49: note: Function 'vfstraceSleep' argument 2 names different: declaration 'microseconds' definition 'nMicro'. sqlite3-3.46.1/src/tokenize.c:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SPACE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tokenize.c:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tokenize.c:255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RP [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tokenize.c:262:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RP [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tokenize.c:285:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SPACE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tokenize.c:653:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_WINDOW [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/tokenize.c:711:15: style: The comparison 'nErr == 0' is always true. [knownConditionTrueFalse] sqlite3-3.46.1/src/tokenize.c:600:14: note: 'nErr' is assigned value '0' here. sqlite3-3.46.1/src/tokenize.c:711:15: note: The comparison 'nErr == 0' is always true. sqlite3-3.46.1/src/tokenize.c:602:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/trigger.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RETURNING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:125:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INSERT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:445:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:506:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INSERT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:549:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UPDATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:586:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_DELETE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:702:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_DropTrigger [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:757:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:800:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RETURNING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:901:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ASTERISK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:933:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ID [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:1091:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_RealAffinity [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:1141:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Trace [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:1315:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Halt [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:1397:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Program [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:1464:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UPDATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:1530:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_DELETE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/trigger.c:318:10: style: Parameter 'pAll' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:461:10: style: Parameter 'pName' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:743:58: style: Parameter 'pEList' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:755:39: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:898:9: style: Parameter 'pTerm' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:919:10: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:979:12: style: Variable 'pSrc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/trigger.c:1027:12: style: Parameter 'pTrigger' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/trigger.c:1239:15: style: Variable 'pWhen' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/update.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable enc [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/update.c:144:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ROW [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/update.c:250:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ROW [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/update.c:370:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UPDATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/update.c:1232:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenEphemeral [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/update.c:1207:9: style:inconclusive: Function 'updateVirtualTable' argument 5 names different: declaration 'pRowidExpr' definition 'pRowid'. [funcArgNamesDifferent] sqlite3-3.46.1/src/update.c:24:9: note: Function 'updateVirtualTable' argument 5 names different: declaration 'pRowidExpr' definition 'pRowid'. sqlite3-3.46.1/src/update.c:1207:9: note: Function 'updateVirtualTable' argument 5 names different: declaration 'pRowidExpr' definition 'pRowid'. sqlite3-3.46.1/src/update.c:191:13: style: Parameter 'pChanges' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/update.c:193:9: style: Parameter 'pWhere' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/update.c:205:10: style: Variable 'pTab' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/upsert.c:131:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/upsert.c:289:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_IdxRowid [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/upsert.c:100:13: style: Variable 'pTarget' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/upsert.c:101:9: style: Variable 'pTerm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/upsert.c:247:54: style: Parameter 'pIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/utf.c:504:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/utf.c:424:7: style: Condition 'bom' is always false [knownConditionTrueFalse] sqlite3-3.46.1/src/utf.c:410:12: note: Assignment 'bom=0', assigned value is 0 sqlite3-3.46.1/src/utf.c:424:7: note: Condition 'bom' is always false sqlite3-3.46.1/src/utf.c:453:13: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/utf.c:446:36: style:inconclusive: Function 'sqlite3Utf8CharLen' argument 1 names different: declaration 'pData' definition 'zIn'. [funcArgNamesDifferent] sqlite3-3.46.1/src/sqliteInt.h:5220:36: note: Function 'sqlite3Utf8CharLen' argument 1 names different: declaration 'pData' definition 'zIn'. sqlite3-3.46.1/src/utf.c:446:36: note: Function 'sqlite3Utf8CharLen' argument 1 names different: declaration 'pData' definition 'zIn'. sqlite3-3.46.1/src/utf.c:521:37: style:inconclusive: Function 'sqlite3Utf16ByteLen' argument 1 names different: declaration 'pData' definition 'zIn'. [funcArgNamesDifferent] sqlite3-3.46.1/src/sqliteInt.h:5218:37: note: Function 'sqlite3Utf16ByteLen' argument 1 names different: declaration 'pData' definition 'zIn'. sqlite3-3.46.1/src/utf.c:521:37: note: Function 'sqlite3Utf16ByteLen' argument 1 names different: declaration 'pData' definition 'zIn'. sqlite3-3.46.1/src/util.c:339:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_QNUMBER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/util.c:104:33: style: Parameter 'pCol' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/util.c:199:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/util.c:417:18: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/util.c:417:22: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/util.c:436:27: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/util.c:436:31: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/util.c:1585:41: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vacuum.c:132:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Vacuum [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vacuum.c:350:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_WRITE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vacuum.c:147:18: style: Parameter 'pOut' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbe.c:302:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pAltCursor [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbe.c:1167:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Yield [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbe.c:494:24: warning: Identical inner 'return' condition is always true. [identicalInnerCondition] sqlite3-3.46.1/src/vdbe.c:490:19: note: outer condition: pMem->flags&(0x0004|0x0008|0x0020|0x0001) sqlite3-3.46.1/src/vdbe.c:494:24: note: identical inner condition: pMem->flags&(0x0004|0x0008|0x0020|0x0001) sqlite3-3.46.1/src/vdbe.c:500:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sqlite3-3.46.1/src/vdbe.c:5081:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] sqlite3-3.46.1/src/vdbe.c:320:27: style: Parameter 'pRec' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbe.c:789:41: style: Parameter 'pMem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbe.c:1162:11: style: Variable 'pCaller' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:2438:12: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:2839:15: style: Variable 'pC' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:3393:9: style: Variable 'zAffinity' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:5154:15: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:5256:15: style: Variable 'pC' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:5939:15: style: Variable 'pC' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:5969:15: style: Variable 'pC' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:6488:15: style: Variable 'pC' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:7301:8: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:7304:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbe.c:7436:8: style: Variable 'pIn' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeapi.c:352:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:421:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:485:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:494:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:679:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:691:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:1693:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:1828:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeapi.c:1518:26: style: Condition 'db->mallocFailed>prior_mallocFailed' is always false [knownConditionTrueFalse] sqlite3-3.46.1/src/vdbeapi.c:1504:27: note: prior_mallocFailed is assigned 'db->mallocFailed' here. sqlite3-3.46.1/src/vdbeapi.c:1518:26: note: Condition 'db->mallocFailed>prior_mallocFailed' is always false sqlite3-3.46.1/src/vdbeapi.c:30:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeapi.c:40:29: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeapi.c:246:39: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeapi.c:330:43: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeapi.c:335:43: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeapi.c:340:43: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeapi.c:629:65: style: Parameter 'pValue' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeapi.c:1250:9: style: Variable 'pVm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeapi.c:1260:9: style: Variable 'pVm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeapi.c:2024:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:30:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aOp [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:370:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Goto [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:377:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_String8 [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:399:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_String8 [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:465:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Function [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:536:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Explain [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:566:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_ParseSchema [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:575:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_EndCoroutine [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:662:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Expire [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:671:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Expire [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:883:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Init [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:1159:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPFLG_JUMP [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:1307:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Column [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:1335:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Once [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:1469:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Noop [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:2335:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Explain [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:2443:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:2923:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TXN_WRITE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:3509:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:5384:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_PureFunc [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeaux.c:2554:11: style: Redundant assignment of 'nByte' to itself. [selfAssignment] sqlite3-3.46.1/src/vdbeaux.c:1283:49: style:inconclusive: Function 'sqlite3VdbeChangeP1' argument 3 names different: declaration 'P1' definition 'val'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbe.h:234:47: note: Function 'sqlite3VdbeChangeP1' argument 3 names different: declaration 'P1' definition 'val'. sqlite3-3.46.1/src/vdbeaux.c:1283:49: note: Function 'sqlite3VdbeChangeP1' argument 3 names different: declaration 'P1' definition 'val'. sqlite3-3.46.1/src/vdbeaux.c:1287:49: style:inconclusive: Function 'sqlite3VdbeChangeP2' argument 3 names different: declaration 'P2' definition 'val'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbe.h:235:47: note: Function 'sqlite3VdbeChangeP2' argument 3 names different: declaration 'P2' definition 'val'. sqlite3-3.46.1/src/vdbeaux.c:1287:49: note: Function 'sqlite3VdbeChangeP2' argument 3 names different: declaration 'P2' definition 'val'. sqlite3-3.46.1/src/vdbeaux.c:1291:49: style:inconclusive: Function 'sqlite3VdbeChangeP3' argument 3 names different: declaration 'P3' definition 'val'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbe.h:236:47: note: Function 'sqlite3VdbeChangeP3' argument 3 names different: declaration 'P3' definition 'val'. sqlite3-3.46.1/src/vdbeaux.c:1291:49: note: Function 'sqlite3VdbeChangeP3' argument 3 names different: declaration 'P3' definition 'val'. sqlite3-3.46.1/src/vdbeaux.c:1295:39: style:inconclusive: Function 'sqlite3VdbeChangeP5' argument 2 names different: declaration 'P5' definition 'p5'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbe.h:237:37: note: Function 'sqlite3VdbeChangeP5' argument 2 names different: declaration 'P5' definition 'p5'. sqlite3-3.46.1/src/vdbeaux.c:1295:39: note: Function 'sqlite3VdbeChangeP5' argument 2 names different: declaration 'P5' definition 'p5'. sqlite3-3.46.1/src/vdbeaux.c:1555:66: style:inconclusive: Function 'sqlite3VdbeChangeP4' argument 4 names different: declaration 'N' definition 'n'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbe.h:248:64: note: Function 'sqlite3VdbeChangeP4' argument 4 names different: declaration 'N' definition 'n'. sqlite3-3.46.1/src/vdbeaux.c:1555:66: note: Function 'sqlite3VdbeChangeP4' argument 4 names different: declaration 'N' definition 'n'. sqlite3-3.46.1/src/vdbeaux.c:1598:50: style:inconclusive: Function 'sqlite3VdbeAppendP4' argument 3 names different: declaration 'p4type' definition 'n'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbe.h:249:48: note: Function 'sqlite3VdbeAppendP4' argument 3 names different: declaration 'p4type' definition 'n'. sqlite3-3.46.1/src/vdbeaux.c:1598:50: note: Function 'sqlite3VdbeAppendP4' argument 3 names different: declaration 'p4type' definition 'n'. sqlite3-3.46.1/src/vdbeaux.c:52:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:496:11: style: Variable 'pOp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:527:11: style: Variable 'zMsg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:564:58: style: Parameter 'zWhere' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:621:64: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:877:8: style: Variable 'aLabel' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:1063:34: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:1454:36: style: Parameter 'pVdbe' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:2159:10: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:2433:13: style: Variable 'zP4' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:3254:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeaux.c:5316:30: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:5323:34: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbeaux.c:5338:10: style: Variable 'pMem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbeblob.c:70:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_NotExists [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbeblob.c:266:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_TableLock [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbemem.c:1090:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbemem.c:1107:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable db [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbemem.c:1200:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbemem.c:1611:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UPLUS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbemem.c:125:43: style: Checking if unsigned expression 'acc.mxAlloc' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/src/vdbemem.c:242:62: style:inconclusive: Function 'sqlite3VdbeMemGrow' argument 3 names different: declaration 'preserve' definition 'bPreserve'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbeInt.h:657:46: note: Function 'sqlite3VdbeMemGrow' argument 3 names different: declaration 'preserve' definition 'bPreserve'. sqlite3-3.46.1/src/vdbemem.c:242:62: note: Function 'sqlite3VdbeMemGrow' argument 3 names different: declaration 'preserve' definition 'bPreserve'. sqlite3-3.46.1/src/vdbemem.c:305:49: style:inconclusive: Function 'sqlite3VdbeMemClearAndResize' argument 2 names different: declaration 'n' definition 'szNew'. [funcArgNamesDifferent] sqlite3-3.46.1/src/vdbeInt.h:658:49: note: Function 'sqlite3VdbeMemClearAndResize' argument 2 names different: declaration 'n' definition 'szNew'. sqlite3-3.46.1/src/vdbemem.c:305:49: note: Function 'sqlite3VdbeMemClearAndResize' argument 2 names different: declaration 'n' definition 'szNew'. sqlite3-3.46.1/src/vdbemem.c:652:49: style: Parameter 'pMem' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbemem.c:1416:10: style: struct member 'ValueNewStat4Ctx::pParse' is never used. [unusedStructMember] sqlite3-3.46.1/src/vdbemem.c:1417:10: style: struct member 'ValueNewStat4Ctx::pIdx' is never used. [unusedStructMember] sqlite3-3.46.1/src/vdbemem.c:1418:20: style: struct member 'ValueNewStat4Ctx::ppRec' is never used. [unusedStructMember] sqlite3-3.46.1/src/vdbemem.c:1419:7: style: struct member 'ValueNewStat4Ctx::iVal' is never used. [unusedStructMember] sqlite3-3.46.1/src/vdbesort.c:1601:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iSz [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbesort.c:1577:9: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/src/vdbesort.c:1572:9: note: First condition sqlite3-3.46.1/src/vdbesort.c:1577:9: note: Second condition sqlite3-3.46.1/src/vdbesort.c:1968:11: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/src/vdbesort.c:1962:11: note: First condition sqlite3-3.46.1/src/vdbesort.c:1968:11: note: Second condition sqlite3-3.46.1/src/vdbesort.c:1119:18: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/src/vdbesort.c:613:43: style: Parameter 'pTask' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbesort.c:1388:55: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbesort.c:1475:48: style: Parameter 'pData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbesort.c:1884:16: style: Variable 'pTask' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbesort.c:2700:15: style: Variable 'pSorter' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbesort.c:2701:9: style: Variable 'pKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbesort.c:2734:8: style: Parameter 'pVal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vdbesort.c:2742:9: style: Variable 'pKey' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vdbesort.c:2119:10: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/src/vdbetrace.c:37:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ILLEGAL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vdbetrace.c:142:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vtab.c:500:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Expire [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vtab.c:833:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SPACE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vtab.c:1017:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xRollback [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vtab.c:1026:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xCommit [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vtab.c:1165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/vtab.c:636:23: style: Condition 'sCtx.bDeclared==0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/src/vtab.c:610:20: note: Assignment 'sCtx.bDeclared=0', assigned value is 0 sqlite3-3.46.1/src/vtab.c:636:23: note: Condition 'sCtx.bDeclared==0' is always true sqlite3-3.46.1/src/vtab.c:146:13: style: Variable 'pMod' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vtab.c:192:35: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vtab.c:192:46: style: Parameter 'pTab' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vtab.c:447:51: style: Parameter 'pEnd' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/vtab.c:511:12: style: Variable 'pOld' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/vtab.c:1310:39: style: Parameter 'db' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wal.c:936:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aCksum [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:1568:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:1659:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aLock [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:1958:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WalSegment [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:2151:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:2222:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:3146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:3838:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SHM_NLOCK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wal.c:4211:9: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/src/wal.c:4206:9: note: First condition sqlite3-3.46.1/src/wal.c:4211:9: note: Second condition sqlite3-3.46.1/src/wal.c:855:8: style: Variable 'aEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wal.c:1815:12: style: Variable 'aRight' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wal.c:2564:25: style: Variable 'aHdr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wal.c:3833:27: style: Variable 'pInfo' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wal.c:4008:16: style: Variable 'pLive' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wal.c:4106:15: style: Variable 'pData' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wal.c:4463:31: style: Parameter 'pWal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wal.c:4575:35: style: Parameter 'pWal' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/walker.c:142:12: style: Variable 'pParse' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:299:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:327:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_EQ [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:591:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:656:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:724:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Column [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:972:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Once [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:1219:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Once [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:1399:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLLATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:2442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nLSlot [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:2943:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:3023:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_LT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:3430:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:3464:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:3540:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:3678:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4059:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_INDEX_CONSTRAINT_OFFSET [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4072:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4170:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4302:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iTermOffset [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4349:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iTermOffset [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4506:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iTermOffset [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4600:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4879:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AGG_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:5792:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:6019:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:6083:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:6321:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sWC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:6922:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Return [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/where.c:4629:19: style: Condition 'sCur.n==0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/src/where.c:4608:18: note: Assignment 'sCur.n=0', assigned value is 0 sqlite3-3.46.1/src/where.c:4629:19: note: Condition 'sCur.n==0' is always true sqlite3-3.46.1/src/where.c:49:46: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:57:39: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:120:15: style: Variable 'pInner' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:138:42: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:147:39: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:168:38: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:184:45: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:191:56: style: Parameter 'pSrc' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:272:20: style: Variable 'pOldBlk' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:589:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:595:16: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:654:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:941:14: style: Variable 'pWCEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:1063:15: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:1321:12: style: Parameter 'pSrc' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:1784:43: style: Parameter 'pTerm' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:2784:12: style: Variable 'pIndex' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:2826:22: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:2873:17: style: Variable 'pRight' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:2914:10: style: Parameter 'pIdx' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:2927:14: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:2928:11: style: Variable 'pLhs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:3101:13: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:3417:21: style: Parameter 'pBuilder' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:3460:10: style: Variable 'pParse' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:3470:11: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:3531:66: style: Parameter 'pExpr' can be declared as pointer to const. However it seems that 'whereIsCoveringIndexWalkCallback' is a callback function, if 'pExpr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/where.c:3612:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/where.c:3531:66: note: Parameter 'pExpr' can be declared as pointer to const sqlite3-3.46.1/src/where.c:3684:11: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:3765:12: style: Variable 'pTabList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:3831:16: style: Variable 'pWCEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4056:35: style: Parameter 'pTerm' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:4067:42: style: Parameter 'aUsage' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:4303:11: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4349:18: style: Variable 'pTerm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4371:20: style: Variable 'pHidden' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4562:22: style: Variable 'pWCEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4568:12: style: Variable 'pItem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4585:25: style: Variable 'pOrWCEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4688:12: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4804:14: style: Variable 'pTerm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4806:12: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4808:12: style: Variable 'db' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4896:18: style: Variable 'pColl2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:4966:19: style: Variable 'pX' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:5129:37: style: Parameter 'pWInfo' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/where.c:5656:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:5791:59: style: Parameter 'pExpr' can be declared as pointer to const. However it seems that 'exprNodeIsDeterministic' is a callback function, if 'pExpr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/where.c:5808:21: note: You might need to cast the function pointer here sqlite3-3.46.1/src/where.c:5791:59: note: Parameter 'pExpr' can be declared as pointer to const sqlite3-3.46.1/src/where.c:5899:24: style: Variable 'pEnd' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:5900:14: style: Variable 'pItem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:5901:16: style: Variable 'pLoop' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:6017:12: style: Variable 'pDef' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:6128:14: style: Variable 'pItem' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:6819:14: style: Variable 'pSrc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:6930:14: style: Variable 'pIdx' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/where.c:7076:19: style: Variable 'pLastOp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:129:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable explain [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:433:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Affinity [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:603:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_EQ [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:829:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Null [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:925:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_String8 [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:1189:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_DeferredSeek [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:1227:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_SELECT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:1262:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_AND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:1316:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_MustBeInt [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:1438:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Integer [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:2762:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Null [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/wherecode.c:138:11: style: Variable 'zMsg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:245:9: style: Variable 'zMsg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:372:37: style: Parameter 'pLevel' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wherecode.c:410:69: style: Parameter 'zAff' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wherecode.c:454:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:497:9: style: Parameter 'pX' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wherecode.c:877:13: style: Variable 'pRight' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:917:15: style: Parameter 'pLevel' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wherecode.c:1267:11: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:1345:41: style: Parameter 'pLoop' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/wherecode.c:1526:17: style: Variable 'pOp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2078:14: style: Variable 'pPk' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2201:16: style: Variable 'origSrc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2637:21: style: Variable 'pRJ' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2741:19: style: Variable 'pRJ' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2745:14: style: Variable 'pLoop' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2756:14: style: Variable 'pRight' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/wherecode.c:2775:18: style: Variable 'pTerm' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:90:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eOperator [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_GT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:112:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_VECTOR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:137:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_IN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:202:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_VARIABLE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:358:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:525:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_LT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:662:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_OR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:917:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_IS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1014:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_GT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1087:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLLATE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1574:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_INTEGER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1648:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1758:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_IF_NULL_ROW [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1780:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:1852:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/whereexpr.c:180:18: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:719:20: style: Variable 'pOther' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:790:13: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:864:13: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:913:51: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/whereexpr.c:915:12: style: Variable 'pColl' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:1239:15: style: Variable 'pList' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:1284:13: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:1327:11: style: Variable 'pLeft' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:1564:9: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/whereexpr.c:1647:15: style: Variable 'pExpr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:1693:16: style: Variable 'aLast' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/whereexpr.c:1835:13: style: Variable 'pArgs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:679:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RANGE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:760:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_COLUMN [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:913:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1041:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_SUBTYPE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1170:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_NULL [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1191:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_RANGE [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1313:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_FUNCTION [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1397:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OpenEphemeral [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1490:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Integer [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1630:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Column [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1670:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UNBOUNDED [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1780:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_UNBOUNDED [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1843:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Rowid [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:1935:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Null [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:2001:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Null [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:2062:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Compare [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:2111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_Add [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:2241:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_ROWS [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:2808:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TK_PRECEDING [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/src/window.c:158:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:398:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:454:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:666:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:933:51: style: Parameter 'pWalker' can be declared as pointer to const. However it seems that 'sqlite3WindowExtraAggFuncDepth' is a callback function, if 'pWalker' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/src/window.c:1099:27: note: You might need to cast the function pointer here sqlite3-3.46.1/src/window.c:933:51: note: Parameter 'pWalker' can be declared as pointer to const sqlite3-3.46.1/src/window.c:1255:10: style: Parameter 'pBase' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/src/window.c:1280:13: style: Variable 'pExist' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:1425:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:1486:14: style: Variable 'aOp' can be declared as const array [constVariable] sqlite3-3.46.1/src/window.c:1623:13: style: Variable 'pOrderBy' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:1927:16: style: Variable 'pFunc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:1999:14: style: Variable 'pFunc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:2029:14: style: Variable 'pFunc' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/src/window.c:2433:50: style: Parameter 'pExpr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/atrc.c:47:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/atrc.c:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/atrc.c:123:9: style: Variable 'zDbName' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/crashtest1.c:91:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sqlite3-3.46.1/test/dbfuzz.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/dbfuzz.c:550:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/dbfuzz.c:717:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/dbfuzz.c:226:10: style: Variable 'pVFile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/dbfuzz.c:272:36: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemSync' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:311:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:272:36: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:279:36: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:313:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:279:36: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:282:38: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemUnlock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:314:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:282:38: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:289:43: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemFileControl' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:316:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:289:43: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:289:64: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'inmemFileControl' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:316:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:289:64: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:292:42: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemSectorSize' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:317:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:292:42: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:295:53: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemDeviceCharacteristics' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz.c:318:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz.c:295:53: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz.c:379:10: style: Variable 'pVFile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/dbfuzz.c:401:16: style: Variable 'pDefault' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/dbfuzz.c:477:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/dbfuzz2.c:192:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/dbfuzz2.c:279:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/dbfuzz2.c:250:15: style: Redundant condition: The condition 'z[0]' is redundant since 'z[0] == 'v'' is sufficient. [redundantCondition] sqlite3-3.46.1/test/dbfuzz2.c:198:14: error: Resource leak: db [resourceLeak] sqlite3-3.46.1/test/dbfuzz2.c:195:21: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/test/dbfuzz2.c:169:35: style: Parameter 'pNotUsed' can be declared as pointer to const. However it seems that 'progress_handler' is a callback function, if 'pNotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/dbfuzz2.c:211:38: note: You might need to cast the function pointer here sqlite3-3.46.1/test/dbfuzz2.c:169:35: note: Parameter 'pNotUsed' can be declared as pointer to const sqlite3-3.46.1/test/dbfuzz2.c:265:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/dbfuzz2.c:316:15: style: Variable 'zType' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/dbfuzz2.c:188:14: style: Variable 'zErr' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/fp-speed-1.c:132:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:173:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:371:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:751:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:831:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:1014:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_RECOVER_LOST_AND_FOUND [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:1048:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:1206:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:2061:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzcheck.c:802:18: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] sqlite3-3.46.1/test/fuzzcheck.c:804:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] sqlite3-3.46.1/test/fuzzcheck.c:1794:15: style: Redundant condition: The condition 'z[0]' is redundant since 'z[0] == 'v'' is sufficient. [redundantCondition] sqlite3-3.46.1/test/fuzzcheck.c:1290:16: style: Condition 'maxDbSize>0' is always true [knownConditionTrueFalse] sqlite3-3.46.1/test/fuzzcheck.c:830:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/fuzzcheck.c:2416:11: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/fuzzcheck.c:2510:11: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/fuzzcheck.c:469:1: error: Memory leak: pBuf [memleak] sqlite3-3.46.1/test/fuzzcheck.c:525:31: warning: If memory allocation fails, then there is a possible null pointer dereference: z2 [nullPointerOutOfMemory] sqlite3-3.46.1/test/fuzzcheck.c:521:25: note: Assuming allocation function fails sqlite3-3.46.1/test/fuzzcheck.c:521:25: note: Assignment 'z2=sqlite3_mprintf("%s WHERE rowid=%d",zSql,onlyId)', assigned value is 0 sqlite3-3.46.1/test/fuzzcheck.c:525:31: note: Null pointer dereference sqlite3-3.46.1/test/fuzzcheck.c:1237:21: error: Null pointer dereference [nullPointer] sqlite3-3.46.1/test/fuzzcheck.c:293:69: style: Parameter 'pData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/fuzzcheck.c:315:35: style: Parameter 'aLine' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/fuzzcheck.c:330:18: style: Parameter 'zSql' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/fuzzcheck.c:428:9: style: Variable 'pBuf' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/fuzzcheck.c:994:31: style: Parameter 'pCtx' can be declared as pointer to const. However it seems that 'recoverSqlCb' is a callback function, if 'pCtx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1012:44: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:994:31: note: Parameter 'pCtx' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1427:10: style: Variable 'pVFile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/fuzzcheck.c:1468:36: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemSync' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1507:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1468:36: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1475:36: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemLock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1509:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1475:36: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1478:38: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemUnlock' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1510:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1478:38: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1485:43: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemFileControl' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1512:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1485:43: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1485:64: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'inmemFileControl' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1512:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1485:64: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1488:42: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemSectorSize' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1513:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1488:42: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1491:53: style: Parameter 'pFile' can be declared as pointer to const. However it seems that 'inmemDeviceCharacteristics' is a callback function, if 'pFile' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/fuzzcheck.c:1514:22: note: You might need to cast the function pointer here sqlite3-3.46.1/test/fuzzcheck.c:1491:53: note: Parameter 'pFile' can be declared as pointer to const sqlite3-3.46.1/test/fuzzcheck.c:1575:10: style: Variable 'pVFile' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/fuzzcheck.c:1605:16: style: Variable 'pDefault' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/fuzzcheck.c:1869:9: style: Variable 'zMsg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/fuzzcheck.c:1887:16: style: Variable 'pDfltVfs' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/fuzzinvariants.c:165:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_DBCONFIG_REVERSE_SCANORDER [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/fuzzinvariants.c:513:18: error: Allocation with sqlite3_expanded_sql, printf doesn't release it. [leakNoVarFunctionCall] sqlite3-3.46.1/test/fuzzinvariants.c:516:18: error: Allocation with sqlite3_expanded_sql, printf doesn't release it. [leakNoVarFunctionCall] sqlite3-3.46.1/test/fuzzinvariants.c:407:11: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/test/fuzzinvariants.c:373:11: note: x is assigned sqlite3-3.46.1/test/fuzzinvariants.c:407:11: note: x is overwritten sqlite3-3.46.1/test/fuzzinvariants.c:373:53: warning: Comparison of identical string variables. [stringCompare] sqlite3-3.46.1/test/kvtest.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/kvtest.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/kvtest.c:410:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/kvtest.c:564:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/kvtest.c:722:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/kvtest.c:603:17: error: Resource leak: in [resourceLeak] sqlite3-3.46.1/test/kvtest.c:274:15: warning: If memory allocation fails, then there is a possible null pointer dereference: zLayer1 [nullPointerOutOfMemory] sqlite3-3.46.1/test/kvtest.c:272:36: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:272:36: note: Assignment 'zLayer1=sqlite3_mprintf("%s/00",zPath)', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:274:15: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:418:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/test/kvtest.c:414:25: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:414:25: note: Assignment 'zSql=sqlite3_mprintf("SELECT count(*), min(length(v)), max(length(v)), avg(length(v)) FROM kv")', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:418:31: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:431:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/test/kvtest.c:430:25: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:430:25: note: Assignment 'zSql=sqlite3_mprintf("PRAGMA page_size")', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:431:31: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:439:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/test/kvtest.c:438:25: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:438:25: note: Assignment 'zSql=sqlite3_mprintf("PRAGMA page_count")', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:439:31: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:447:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/test/kvtest.c:446:25: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:446:25: note: Assignment 'zSql=sqlite3_mprintf("PRAGMA freelist_count")', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:447:31: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:491:15: warning: If memory allocation fails, then there is a possible null pointer dereference: zDir [nullPointerOutOfMemory] sqlite3-3.46.1/test/kvtest.c:521:28: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:521:28: note: Assignment 'zFN=sqlite3_mprintf("%s/00",zDir)', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:522:20: note: Calling function 'kvtest_mkdir', 1st argument 'zFN' value is 0 sqlite3-3.46.1/test/kvtest.c:491:15: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:562:46: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] sqlite3-3.46.1/test/kvtest.c:561:16: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:561:16: note: Assignment 'out=fopen(zFN,"wb")', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:562:46: note: Null pointer dereference sqlite3-3.46.1/test/kvtest.c:563:12: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] sqlite3-3.46.1/test/kvtest.c:561:16: note: Assuming allocation function fails sqlite3-3.46.1/test/kvtest.c:561:16: note: Assignment 'out=fopen(zFN,"wb")', assigned value is 0 sqlite3-3.46.1/test/kvtest.c:563:12: note: Null pointer dereference sqlite3-3.46.1/test/optfuzz.c:143:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/optfuzz.c:191:17: error: Resource leak: in [resourceLeak] sqlite3-3.46.1/test/ossfuzz.c:197:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/ossfuzz.c:112:24: style: Checking if unsigned expression 'p->execCnt--' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/test/ossshell.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:730:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:746:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:760:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:780:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:799:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:832:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_CHANGESET_OMIT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:846:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:886:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/sessionfuzz.c:807:5: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/sessionfuzz.c:727:26: warning: If memory allocation fails, then there is a possible null pointer dereference: pOut [nullPointerOutOfMemory] sqlite3-3.46.1/test/sessionfuzz.c:726:33: note: Assuming allocation function fails sqlite3-3.46.1/test/sessionfuzz.c:726:33: note: Assignment 'pOut=sqlite3_malloc(sz)', assigned value is 0 sqlite3-3.46.1/test/sessionfuzz.c:727:26: note: Null pointer dereference sqlite3-3.46.1/test/sessionfuzz.c:722:9: style: Checking if unsigned expression 'sz' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/test/speedtest1.c:132:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:406:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:454:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:641:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:755:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:1277:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:1383:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:1873:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:1959:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:2373:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/speedtest1.c:447:5: portability: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'u64 {aka unsigned long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/test/speedtest1.c:2149:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/speedtest1.c:2149:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/speedtest1.c:2149:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/speedtest1.c:2546:15: style: The comparison 'mmapSize > 0' is always false. [knownConditionTrueFalse] sqlite3-3.46.1/test/speedtest1.c:2264:18: note: 'mmapSize' is assigned value '0' here. sqlite3-3.46.1/test/speedtest1.c:2546:15: note: The comparison 'mmapSize > 0' is always false. sqlite3-3.46.1/test/speedtest1.c:781:3: style: Variable 'n' is assigned an expression that holds the same value. [redundantAssignment] sqlite3-3.46.1/test/speedtest1.c:762:5: note: n is assigned 'sz' here. sqlite3-3.46.1/test/speedtest1.c:781:3: note: Variable 'n' is assigned an expression that holds the same value. sqlite3-3.46.1/test/speedtest1.c:974:3: style: Variable 'n' is assigned an expression that holds the same value. [redundantAssignment] sqlite3-3.46.1/test/speedtest1.c:958:5: note: n is assigned 'sz' here. sqlite3-3.46.1/test/speedtest1.c:974:3: note: Variable 'n' is assigned an expression that holds the same value. sqlite3-3.46.1/test/speedtest1.c:2244:34: style: Parameter 'pCtx' can be declared as pointer to const. However it seems that 'xCompileOptions' is a callback function, if 'pCtx' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/speedtest1.c:2647:50: note: You might need to cast the function pointer here sqlite3-3.46.1/test/speedtest1.c:2244:34: note: Parameter 'pCtx' can be declared as pointer to const sqlite3-3.46.1/test/speedtest1.c:82:17: style: struct member 'HashContext::isInit' is never used. [unusedStructMember] sqlite3-3.46.1/test/speedtest1.c:95:7: style: struct member 'Global::bWithoutRowid' is never used. [unusedStructMember] sqlite3-3.46.1/test/speedtest1.c:2253:13: style: Variable 'nHeap' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2253:25: style: Variable 'mnHeap' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2257:13: style: Variable 'nLook' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2257:26: style: Variable 'szLook' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2260:15: style: Variable 'nPCache' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2260:29: style: Variable 'szPCache' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2261:16: style: Variable 'doPCache' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2326:15: style: Variable 'nHeap' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2327:16: style: Variable 'mnHeap' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2339:15: style: Variable 'nLook' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2340:16: style: Variable 'szLook' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2386:17: style: Variable 'nPCache' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2387:18: style: Variable 'szPCache' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2388:18: style: Variable 'doPCache' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/speedtest1.c:2277:7: style: Unused variable: iCur [unusedVariable] sqlite3-3.46.1/test/speedtest1.c:2277:13: style: Unused variable: iHi [unusedVariable] sqlite3-3.46.1/test/speedtest1.c:2279:7: style: Unused variable: rc [unusedVariable] sqlite3-3.46.1/test/startup.c:607:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zAux [nullPointerOutOfMemory] sqlite3-3.46.1/test/startup.c:606:27: note: Assuming allocation function fails sqlite3-3.46.1/test/startup.c:606:27: note: Assignment 'zAux=sqlite3_mprintf("%s-journal",zDbName)', assigned value is 0 sqlite3-3.46.1/test/startup.c:607:12: note: Null pointer dereference sqlite3-3.46.1/test/startup.c:610:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zAux [nullPointerOutOfMemory] sqlite3-3.46.1/test/startup.c:609:27: note: Assuming allocation function fails sqlite3-3.46.1/test/startup.c:609:27: note: Assignment 'zAux=sqlite3_mprintf("%s-wal",zDbName)', assigned value is 0 sqlite3-3.46.1/test/startup.c:610:12: note: Null pointer dereference sqlite3-3.46.1/test/threadtest1.c:86:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest1.c:121:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest1.c:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest1.c:180:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest1.c:206:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest1.c:53:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] sqlite3-3.46.1/test/threadtest1.c:123:5: error: Mismatching allocation and deallocation: zSql [mismatchAllocDealloc] sqlite3-3.46.1/test/threadtest1.c:109:10: note: Mismatching allocation and deallocation: zSql sqlite3-3.46.1/test/threadtest1.c:123:5: note: Mismatching allocation and deallocation: zSql sqlite3-3.46.1/test/threadtest1.c:271:14: warning: If memory allocation fails, then there is a possible null pointer dereference: zJournal [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest1.c:269:39: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest1.c:269:39: note: Assignment 'zJournal=sqlite3_mprintf("%s-journal",zDb)', assigned value is 0 sqlite3-3.46.1/test/threadtest1.c:271:14: note: Null pointer dereference sqlite3-3.46.1/test/threadtest1.c:50:31: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'db_is_locked' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/threadtest1.c:213:30: note: You might need to cast the function pointer here sqlite3-3.46.1/test/threadtest1.c:50:31: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/test/threadtest1.c:176:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/threadtest1.c:117:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/threadtest1.c:196:9: style: Unused variable: azErr [unusedVariable] sqlite3-3.46.1/test/threadtest2.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest2.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest2.c:79:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest2.c:111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest2.c:106:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zJournal [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest2.c:104:37: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest2.c:104:37: note: Assignment 'zJournal=sqlite3_mprintf("%s-journal","test.db")', assigned value is 0 sqlite3-3.46.1/test/threadtest2.c:106:12: note: Null pointer dereference sqlite3-3.46.1/test/threadtest2.c:87:8: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/threadtest3.c:414:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest3.c:484:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest3.c:852:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest3.c:898:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest3.c:1542:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest3.c:639:33: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest3.c:633:24: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest3.c:633:24: note: Assignment 'pRet=sqlite3_malloc(sizeof(struct Statement))', assigned value is 0 sqlite3-3.46.1/test/threadtest3.c:635:9: note: Assuming condition is false sqlite3-3.46.1/test/threadtest3.c:639:33: note: Null pointer dereference sqlite3-3.46.1/test/threadtest3.c:641:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pRet [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest3.c:633:24: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest3.c:633:24: note: Assignment 'pRet=sqlite3_malloc(sizeof(struct Statement))', assigned value is 0 sqlite3-3.46.1/test/threadtest3.c:635:9: note: Assuming condition is false sqlite3-3.46.1/test/threadtest3.c:641:3: note: Null pointer dereference sqlite3-3.46.1/test/threadtest3.c:804:12: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest3.c:803:33: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest3.c:803:9: note: Assignment 'p=(struct Thread*)sqlite3_malloc(sizeof(struct Thread))', assigned value is 0 sqlite3-3.46.1/test/threadtest3.c:804:12: note: Null pointer dereference sqlite3-3.46.1/test/threadtest3.c:805:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest3.c:803:33: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest3.c:803:9: note: Assignment 'p=(struct Thread*)sqlite3_malloc(sizeof(struct Thread))', assigned value is 0 sqlite3-3.46.1/test/threadtest3.c:805:5: note: Null pointer dereference sqlite3-3.46.1/test/threadtest3.c:806:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest3.c:803:33: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest3.c:803:9: note: Assignment 'p=(struct Thread*)sqlite3_malloc(sizeof(struct Thread))', assigned value is 0 sqlite3-3.46.1/test/threadtest3.c:806:5: note: Null pointer dereference sqlite3-3.46.1/test/threadtest3.c:807:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest3.c:803:33: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest3.c:803:9: note: Assignment 'p=(struct Thread*)sqlite3_malloc(sizeof(struct Thread))', assigned value is 0 sqlite3-3.46.1/test/threadtest3.c:807:5: note: Null pointer dereference sqlite3-3.46.1/test/tt3_stress.c:314:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pCtx [nullPointerOutOfMemory] sqlite3-3.46.1/test/tt3_stress.c:313:36: note: Assuming allocation function fails sqlite3-3.46.1/test/tt3_stress.c:313:36: note: Assignment 'pCtx=sqlite3_malloc(sizeof(struct Stress2Ctx))', assigned value is 0 sqlite3-3.46.1/test/tt3_stress.c:314:3: note: Null pointer dereference sqlite3-3.46.1/test/tt3_stress.c:315:3: warning: If memory allocation fails, then there is a possible null pointer dereference: pCtx [nullPointerOutOfMemory] sqlite3-3.46.1/test/tt3_stress.c:313:36: note: Assuming allocation function fails sqlite3-3.46.1/test/tt3_stress.c:313:36: note: Assignment 'pCtx=sqlite3_malloc(sizeof(struct Stress2Ctx))', assigned value is 0 sqlite3-3.46.1/test/tt3_stress.c:315:3: note: Null pointer dereference sqlite3-3.46.1/test/threadtest3.c:1116:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/test/threadtest3.c:1117:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/test/tt3_stress.c:154:3: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/test/threadtest3.c:375:46: style: Parameter 'digest' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/threadtest3.c:539:30: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'busyhandler' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/threadtest3.c:563:37: note: You might need to cast the function pointer here sqlite3-3.46.1/test/threadtest3.c:539:30: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/test/threadtest3.c:660:12: style: Variable 'pArg' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/threadtest3.c:867:10: style: Parameter 'pErr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/threadtest3.c:953:10: style: Parameter 'pErr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/threadtest3.c:963:10: style: Parameter 'pErr' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/threadtest3.c:994:11: style: Variable 'z1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/threadtest3.c:994:16: style: Variable 'z2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/threadtest3.c:994:21: style: Variable 'z3' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/tt3_stress.c:263:49: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'stress2_workload19' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/tt3_stress.c:359:3: note: You might need to cast the function pointer here sqlite3-3.46.1/test/tt3_stress.c:263:49: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/test/threadtest4.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:140:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:193:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:291:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:389:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest4.c:190:24: warning: If memory allocation fails, then there is a possible null pointer dereference: zFile [nullPointerOutOfMemory] sqlite3-3.46.1/test/threadtest4.c:187:26: note: Assuming allocation function fails sqlite3-3.46.1/test/threadtest4.c:187:26: note: Assignment 'zFile=sqlite3_mprintf("tt4-test%d.db",aOrder[x][0])', assigned value is 0 sqlite3-3.46.1/test/threadtest4.c:190:24: note: Null pointer dereference sqlite3-3.46.1/test/threadtest4.c:69:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/threadtest4.c:89:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/test/threadtest5.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest5.c:78:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest5.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest5.c:156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/threadtest5.c:149:27: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'worker' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/threadtest5.c:302:36: note: You might need to cast the function pointer here sqlite3-3.46.1/test/threadtest5.c:149:27: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/test/tt3_stress.c:154:50: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] sqlite3-3.46.1/test/tt3_stress.c:263:49: style: Parameter 'pArg' can be declared as pointer to const. However it seems that 'stress2_workload19' is a callback function, if 'pArg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/tt3_stress.c:359:33: note: You might need to cast the function pointer here sqlite3-3.46.1/test/tt3_stress.c:263:49: note: Parameter 'pArg' can be declared as pointer to const sqlite3-3.46.1/test/vt02.c:592:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iColumn [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/vt02.c:753:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable usable [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/vt02.c:396:13: warning: Assert statement calls a function which may have desired side effects: 'sqlite3_value_type'. [assertWithSideEffect] sqlite3-3.46.1/test/vt02.c:213:9: style: Parameter 'pAux' can be declared as pointer to const. However it seems that 'vt02Connect' is a callback function, if 'pAux' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/vt02.c:969:24: note: You might need to cast the function pointer here sqlite3-3.46.1/test/vt02.c:213:9: note: Parameter 'pAux' can be declared as pointer to const sqlite3-3.46.1/test/vt02.c:294:13: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/vt02.c:437:13: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/vt02.c:452:13: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/test/vt02.c:828:8: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/test/wordcount.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/wordcount.c:209:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/wordcount.c:287:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/test/wordcount.c:566:7: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'signed long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/test/wordcount.c:135:33: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'traceCallback' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/wordcount.c:383:35: note: You might need to cast the function pointer here sqlite3-3.46.1/test/wordcount.c:135:33: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/test/wordcount.c:141:30: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'printResult' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/test/wordcount.c:604:9: note: You might need to cast the function pointer here sqlite3-3.46.1/test/wordcount.c:141:30: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/tool/dbhash.c:227:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/dbhash.c:241:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/dbhash.c:299:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/dbhash.c:440:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/dbhash.c:380:19: style: Variable 'zDb' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/dbtotxt.c:80:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/dbtotxt.c:44:35: style: Parameter 'aLine' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/dbtotxt.c:65:18: style: Variable 'aHdr' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/enlargedb.c:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/extract.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/extract.c:40:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/extract.c:34:5: error: Resource leak: f [resourceLeak] sqlite3-3.46.1/tool/extract.c:41:5: error: Memory leak: zBuf [memleak] sqlite3-3.46.1/tool/extract.c:45:3: error: Memory leak: zBuf [memleak] sqlite3-3.46.1/tool/fast_vacuum.c:60:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fast_vacuum.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fast_vacuum.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fast_vacuum.c:120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fast_vacuum.c:77:18: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/tool/fast_vacuum.c:98:8: style: Obsolete function 'sqlite3_prepare' called. It is recommended to use 'sqlite3_prepare_v2' instead. [prohibitedsqlite3_prepareCalled] sqlite3-3.46.1/tool/fast_vacuum.c:225:55: warning: If memory allocation fails, then there is a possible null pointer dereference: zBackupDb [nullPointerOutOfMemory] sqlite3-3.46.1/tool/fast_vacuum.c:140:30: note: Assuming allocation function fails sqlite3-3.46.1/tool/fast_vacuum.c:140:30: note: Assignment 'zBackupDb=sqlite3_mprintf("%s-backup-%016llx",zDbToVacuum,r)', assigned value is 0 sqlite3-3.46.1/tool/fast_vacuum.c:225:55: note: Null pointer dereference sqlite3-3.46.1/tool/fast_vacuum.c:226:23: warning: If memory allocation fails, then there is a possible null pointer dereference: zBackupDb [nullPointerOutOfMemory] sqlite3-3.46.1/tool/fast_vacuum.c:140:30: note: Assuming allocation function fails sqlite3-3.46.1/tool/fast_vacuum.c:140:30: note: Assignment 'zBackupDb=sqlite3_mprintf("%s-backup-%016llx",zDbToVacuum,r)', assigned value is 0 sqlite3-3.46.1/tool/fast_vacuum.c:226:23: note: Null pointer dereference sqlite3-3.46.1/tool/fast_vacuum.c:227:42: warning: If memory allocation fails, then there is a possible null pointer dereference: zTempDb [nullPointerOutOfMemory] sqlite3-3.46.1/tool/fast_vacuum.c:139:28: note: Assuming allocation function fails sqlite3-3.46.1/tool/fast_vacuum.c:139:28: note: Assignment 'zTempDb=sqlite3_mprintf("%s-vacuum-%016llx",zDbToVacuum,r)', assigned value is 0 sqlite3-3.46.1/tool/fast_vacuum.c:227:42: note: Null pointer dereference sqlite3-3.46.1/tool/fast_vacuum.c:228:10: warning: If memory allocation fails, then there is a possible null pointer dereference: zTempDb [nullPointerOutOfMemory] sqlite3-3.46.1/tool/fast_vacuum.c:139:28: note: Assuming allocation function fails sqlite3-3.46.1/tool/fast_vacuum.c:139:28: note: Assignment 'zTempDb=sqlite3_mprintf("%s-vacuum-%016llx",zDbToVacuum,r)', assigned value is 0 sqlite3-3.46.1/tool/fast_vacuum.c:228:10: note: Null pointer dereference sqlite3-3.46.1/tool/fuzzershell.c:136:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:153:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:208:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:222:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:627:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable argvIndex [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:1003:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/fuzzershell.c:1150:12: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/tool/fuzzershell.c:1139:14: note: rc is assigned sqlite3-3.46.1/tool/fuzzershell.c:1150:12: note: rc is overwritten sqlite3-3.46.1/tool/fuzzershell.c:1150:12: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/tool/fuzzershell.c:1145:14: note: rc is assigned sqlite3-3.46.1/tool/fuzzershell.c:1150:12: note: rc is overwritten sqlite3-3.46.1/tool/fuzzershell.c:187:32: style: Parameter 'pNotUsed' can be declared as pointer to const. However it seems that 'shellLogNoop' is a callback function, if 'pNotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/tool/fuzzershell.c:931:62: note: You might need to cast the function pointer here sqlite3-3.46.1/tool/fuzzershell.c:187:32: note: Parameter 'pNotUsed' can be declared as pointer to const sqlite3-3.46.1/tool/fuzzershell.c:211:27: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'execNoop' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/tool/fuzzershell.c:1145:39: note: You might need to cast the function pointer here sqlite3-3.46.1/tool/fuzzershell.c:211:27: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/tool/fuzzershell.c:224:29: style: Parameter 'NotUsed' can be declared as pointer to const. However it seems that 'traceNoop' is a callback function, if 'NotUsed' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/tool/fuzzershell.c:1107:57: note: You might need to cast the function pointer here sqlite3-3.46.1/tool/fuzzershell.c:224:29: note: Parameter 'NotUsed' can be declared as pointer to const sqlite3-3.46.1/tool/fuzzershell.c:269:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/fuzzershell.c:478:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/fuzzershell.c:495:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/fuzzershell.c:505:18: style: Variable 'pCur' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/getlock.c:19:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/getlock.c:41:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETLK [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/getlock.c:81:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/getlock.c:119:7: error: Memory leak: zShm [memleak] sqlite3-3.46.1/tool/getlock.c:122:7: error: Memory leak: zShm [memleak] sqlite3-3.46.1/tool/index_usage.c:172:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/index_usage.c:166:33: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/index_usage.c:165:27: note: Assuming allocation function fails sqlite3-3.46.1/tool/index_usage.c:165:27: note: Assignment 'zSql=sqlite3_mprintf("EXPLAIN QUERY PLAN %s",zLog)', assigned value is 0 sqlite3-3.46.1/tool/index_usage.c:166:33: note: Null pointer dereference sqlite3-3.46.1/tool/index_usage.c:134:6: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/tool/index_usage.c:127:6: note: rc is assigned sqlite3-3.46.1/tool/index_usage.c:134:6: note: rc is overwritten sqlite3-3.46.1/tool/lemon.c:94:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:213:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:578:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:704:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:774:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1579:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1594:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1611:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1637:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1756:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:2975:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:3041:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:3221:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:3291:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:3320:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:3375:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:3747:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:4207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:4637:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:5103:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/lemon.c:1340:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] sqlite3-3.46.1/tool/lemon.c:1336:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant sqlite3-3.46.1/tool/lemon.c:1338:24: note: Assuming that condition 'spx->precprec' is not redundant sqlite3-3.46.1/tool/lemon.c:1340:24: note: Condition 'spx->prec==spy->prec' is always true sqlite3-3.46.1/tool/lemon.c:1342:24: style: Condition 'spx->prec==spy->prec' is always true [knownConditionTrueFalse] sqlite3-3.46.1/tool/lemon.c:1336:24: note: Assuming that condition 'spx->prec>spy->prec' is not redundant sqlite3-3.46.1/tool/lemon.c:1338:24: note: Assuming that condition 'spx->precprec' is not redundant sqlite3-3.46.1/tool/lemon.c:1342:24: note: Condition 'spx->prec==spy->prec' is always true sqlite3-3.46.1/tool/lemon.c:1357:24: style: Condition 'spx->precprec' is always true [knownConditionTrueFalse] sqlite3-3.46.1/tool/lemon.c:1352:29: note: Assuming that condition 'spx->prec==spy->prec' is not redundant sqlite3-3.46.1/tool/lemon.c:1357:24: note: Condition 'spx->precprec' is always true sqlite3-3.46.1/tool/lemon.c:3846:10: style: Condition 'cp==0' is always false [knownConditionTrueFalse] sqlite3-3.46.1/tool/lemon.c:1074:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:1073:5: note: Assuming that condition '(stp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:1074:5: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:1075:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:1073:5: note: Assuming that condition '(stp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:1075:5: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:1076:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:1073:5: note: Assuming that condition '(stp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:1076:5: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:1077:5: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:1073:5: note: Assuming that condition '(stp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:1077:5: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:1078:22: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:1073:5: note: Assuming that condition '(stp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:1078:22: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:1114:11: warning: Either the condition '(stp)==0' is redundant or there is possible null pointer dereference: stp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:1073:5: note: Assuming that condition '(stp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:1079:22: note: Calling function 'buildshifts', 2nd argument 'stp' value is 0 sqlite3-3.46.1/tool/lemon.c:1114:11: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:5523:5: warning: Either the condition '(sp)==0' is redundant or there is possible null pointer dereference: sp. [nullPointerRedundantCheck] sqlite3-3.46.1/tool/lemon.c:5522:5: note: Assuming that condition '(sp)==0' is not redundant sqlite3-3.46.1/tool/lemon.c:5523:5: note: Null pointer dereference sqlite3-3.46.1/tool/lemon.c:2166:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] sqlite3-3.46.1/tool/lemon.c:91:12: style: Checking if unsigned expression 'nByte' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/tool/lemon.c:3051:26: style:inconclusive: Function 'Parse' argument 1 names different: declaration 'lemp' definition 'gp'. [funcArgNamesDifferent] sqlite3-3.46.1/tool/lemon.c:286:26: note: Function 'Parse' argument 1 names different: declaration 'lemp' definition 'gp'. sqlite3-3.46.1/tool/lemon.c:3051:26: note: Function 'Parse' argument 1 names different: declaration 'lemp' definition 'gp'. sqlite3-3.46.1/tool/lemon.c:110:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:117:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:868:32: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:937:24: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:1087:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:1087:50: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:1322:18: style: Variable 'spx' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:1322:24: style: Variable 'spy' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:1634:35: style: Parameter 'z' can be declared as pointer to const. However it seems that 'handle_d_option' is a callback function, if 'z' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/tool/lemon.c:1729:29: note: You might need to cast the function pointer here sqlite3-3.46.1/tool/lemon.c:1634:35: note: Parameter 'z' can be declared as pointer to const sqlite3-3.46.1/tool/lemon.c:1644:35: style: Parameter 'z' can be declared as pointer to const. However it seems that 'handle_T_option' is a callback function, if 'z' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sqlite3-3.46.1/tool/lemon.c:1747:28: note: You might need to cast the function pointer here sqlite3-3.46.1/tool/lemon.c:1644:35: note: Parameter 'z' can be declared as pointer to const sqlite3-3.46.1/tool/lemon.c:3278:9: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3335:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3353:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3386:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3457:21: style: Variable 'stp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3560:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3583:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3664:42: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:3700:30: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:3740:9: style: Variable 'tpltname' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3742:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3791:56: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:3803:62: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:3871:35: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:3871:53: style: Parameter 'lemp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:4141:16: style: Parameter 'rp' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:4217:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4236:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4351:17: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4352:17: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4369:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4403:9: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4472:24: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4729:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4890:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4928:22: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:4962:20: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:5129:21: style: Variable 'rp2' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:5344:30: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/lemon.c:5470:15: style: Variable 'oldnp' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/lemon.c:3620:17: style: Variable 'pathbuf' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/lempar.c:26:1: error: syntax error [syntaxError] sqlite3-3.46.1/tool/loadfts.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/loadfts.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/loadfts.c:118:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_STATIC [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/loadfts.c:148:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DIR [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/loadfts.c:57:1: error: Memory leak: pBuf [memleak] sqlite3-3.46.1/tool/loadfts.c:176:11: style: Variable 'zOpt' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/loadfts.c:161:12: style: Variable 'bMap' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/logest.c:166:7: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/logest.c:169:7: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/logest.c:169:7: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/mkkeywordhash.c:443:16: style: Variable 'pOther' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/mkkeywordhash.c:461:16: style: Variable 'pOther' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/mkkeywordhash.c:545:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/mkkeywordhash.c:641:11: style: Variable 'zToken' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/mksourceid.c:735:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/mksourceid.c:775:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/mksourceid.c:482:43: style: Parameter 'digest' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/offsets.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/offsets.c:307:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/offsets.c:80:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/offsets.c:78:25: note: Assuming allocation function fails sqlite3-3.46.1/tool/offsets.c:78:25: note: Assignment 'zSql=sqlite3_mprintf("SELECT rootpage FROM sqlite_schema WHERE name=%Q",zTable)', assigned value is 0 sqlite3-3.46.1/tool/offsets.c:80:31: note: Null pointer dereference sqlite3-3.46.1/tool/offsets.c:94:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/offsets.c:93:25: note: Assuming allocation function fails sqlite3-3.46.1/tool/offsets.c:93:25: note: Assignment 'zSql=sqlite3_mprintf("PRAGMA table_info(%Q)",zTable)', assigned value is 0 sqlite3-3.46.1/tool/offsets.c:94:31: note: Null pointer dereference sqlite3-3.46.1/tool/offsets.c:114:31: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/offsets.c:113:25: note: Assuming allocation function fails sqlite3-3.46.1/tool/offsets.c:113:25: note: Assignment 'zSql=sqlite3_mprintf("PRAGMA page_size")', assigned value is 0 sqlite3-3.46.1/tool/offsets.c:114:31: note: Null pointer dereference sqlite3-3.46.1/tool/offsets.c:50:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/offsets.c:188:7: style: Variable 'a' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/offsets.c:206:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/pagesig.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/pagesig.c:78:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/rollback-test.c:19:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/rollback-test.c:33:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/rollback-test.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/rollback-test.c:95:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/rollback-test.c:18:25: style: Parameter 'argv0' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/rollback-test.c:46:9: style: Variable 'z' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/showdb.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:217:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:244:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:1109:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:1119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:1199:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showdb.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] sqlite3-3.46.1/tool/showdb.c:244:3: portability: %llx in format string (no. 2) requires 'unsigned long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/showdb.c:244:3: portability: %llx in format string (no. 3) requires 'unsigned long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/showdb.c:350:7: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:361:9: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:363:9: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:436:5: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:446:5: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:523:7: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:525:7: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:525:7: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:525:7: portability: %lld in format string (no. 3) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:536:5: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:599:12: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:629:5: portability: %lld in format string (no. 1) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:749:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:757:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:788:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:794:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:920:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:925:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:963:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:1084:5: portability: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'u64 {aka unsigned long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/showdb.c:1084:5: portability: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'u64 {aka unsigned long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/showdb.c:1084:5: portability: %llu in format string (no. 3) requires 'unsigned long long' but the argument type is 'u64 {aka unsigned long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/showdb.c:1097:7: portability: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'u64 {aka unsigned long}'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/showdb.c:1109:5: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:1170:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:1238:9: portability: %d in format string (no. 1) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showdb.c:700:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zMap [nullPointerOutOfMemory] sqlite3-3.46.1/tool/showdb.c:699:26: note: Assuming allocation function fails sqlite3-3.46.1/tool/showdb.c:699:26: note: Assignment 'zMap=sqlite3_malloc(g.pagesize)', assigned value is 0 sqlite3-3.46.1/tool/showdb.c:700:12: note: Null pointer dereference sqlite3-3.46.1/tool/showdb.c:701:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zMap [nullPointerOutOfMemory] sqlite3-3.46.1/tool/showdb.c:699:26: note: Assuming allocation function fails sqlite3-3.46.1/tool/showdb.c:699:26: note: Assignment 'zMap=sqlite3_malloc(g.pagesize)', assigned value is 0 sqlite3-3.46.1/tool/showdb.c:701:12: note: Null pointer dereference sqlite3-3.46.1/tool/showdb.c:787:11: style: Checking if unsigned expression 'pgno' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/tool/showdb.c:875:11: style: Checking if unsigned expression 'pgno' is less than zero. [unsignedLessThanZero] sqlite3-3.46.1/tool/showdb.c:254:18: style: Parameter 'aData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showdb.c:451:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/showdb.c:468:18: style: Parameter 'aData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showdb.c:469:18: style: Parameter 'aStart' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showdb.c:645:9: style: Parameter 'zArgs' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showdb.c:980:35: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showdb.c:424:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:458:11: style: Variable 'nDesc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:506:12: style: Variable 'nCol' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:812:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:816:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:819:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:824:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showdb.c:832:7: style: Variable 'n' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showjournal.c:20:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showjournal.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showjournal.c:111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showjournal.c:125:17: style: Variable 'nPage' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showlocks.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showlocks.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showlocks.c:60:7: error: Common realloc mistake: 'aPending' nulled but not freed upon failure [memleakOnRealloc] sqlite3-3.46.1/tool/showshm.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showshm.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showshm.c:58:18: style: Parameter 'aData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showstat4.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showstat4.c:127:11: portability: %lld in format string (no. 2) requires 'long long' but the argument type is 'i64 {aka signed long}'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showstat4.c:72:67: warning: If memory allocation fails, then there is a possible null pointer dereference: zIdx [nullPointerOutOfMemory] sqlite3-3.46.1/tool/showstat4.c:69:29: note: Assuming allocation function fails sqlite3-3.46.1/tool/showstat4.c:69:29: note: Assignment 'zIdx=sqlite3_mprintf("%s",sqlite3_column_text(pStmt,0))', assigned value is 0 sqlite3-3.46.1/tool/showstat4.c:72:67: note: Null pointer dereference sqlite3-3.46.1/tool/showstat4.c:124:24: warning: If memory allocation fails, then there is a possible null pointer dereference: z [nullPointerOutOfMemory] sqlite3-3.46.1/tool/showstat4.c:123:30: note: Assuming allocation function fails sqlite3-3.46.1/tool/showstat4.c:123:30: note: Assignment 'z=sqlite3_mprintf("%s%!.15g",zSep,r)', assigned value is 0 sqlite3-3.46.1/tool/showstat4.c:124:24: note: Null pointer dereference sqlite3-3.46.1/tool/showwal.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showwal.c:154:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showwal.c:210:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showwal.c:236:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showwal.c:526:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showwal.c:536:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/showwal.c:236:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showwal.c:236:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] sqlite3-3.46.1/tool/showwal.c:489:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zMap [nullPointerOutOfMemory] sqlite3-3.46.1/tool/showwal.c:488:18: note: Assuming allocation function fails sqlite3-3.46.1/tool/showwal.c:488:18: note: Assignment 'zMap=malloc(pagesize)', assigned value is 0 sqlite3-3.46.1/tool/showwal.c:489:12: note: Null pointer dereference sqlite3-3.46.1/tool/showwal.c:490:12: warning: If memory allocation fails, then there is a possible null pointer dereference: zMap [nullPointerOutOfMemory] sqlite3-3.46.1/tool/showwal.c:488:18: note: Assuming allocation function fails sqlite3-3.46.1/tool/showwal.c:488:18: note: Assignment 'zMap=malloc(pagesize)', assigned value is 0 sqlite3-3.46.1/tool/showwal.c:490:12: note: Null pointer dereference sqlite3-3.46.1/tool/showwal.c:602:26: style: Variable 'hdrSize' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/tool/showwal.c:601:19: note: hdrSize is assigned sqlite3-3.46.1/tool/showwal.c:602:26: note: hdrSize is overwritten sqlite3-3.46.1/tool/showwal.c:609:14: style: Variable 'ofst' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/tool/showwal.c:602:16: note: ofst is assigned sqlite3-3.46.1/tool/showwal.c:609:14: note: ofst is overwritten sqlite3-3.46.1/tool/showwal.c:609:14: style: Variable 'ofst' is reassigned a value before the old one has been used. [redundantAssignment] sqlite3-3.46.1/tool/showwal.c:606:16: note: ofst is assigned sqlite3-3.46.1/tool/showwal.c:609:14: note: ofst is overwritten sqlite3-3.46.1/tool/showwal.c:135:18: style: Parameter 'aData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showwal.c:176:18: style: Parameter 'aData' can be declared as pointer to const [constParameterPointer] sqlite3-3.46.1/tool/showwal.c:429:20: style: Variable 'b' can be declared as pointer to const [constVariablePointer] sqlite3-3.46.1/tool/showwal.c:402:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/showwal.c:436:11: style: Variable 'nDesc' is assigned a value that is never used. [unreadVariable] sqlite3-3.46.1/tool/speedtest16.c:114:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/speedtest16.c:82:3: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:89:5: warning: %llu in format string (no. 3) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:95:5: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:134:3: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:160:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:164:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:165:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:166:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:167:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:168:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest16.c:52:5: warning: If memory allocation fails, then there is a possible null pointer dereference: z16 [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest16.c:50:15: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:50:15: note: Assignment 'z16=malloc(n*2+2)', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:52:5: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: z16 [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest16.c:50:15: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:50:15: note: Assignment 'z16=malloc(n*2+2)', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:53:5: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:120:9: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:120:9: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:121:16: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:121:16: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:123:9: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:123:9: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:124:16: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest16.c:122:16: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:122:16: note: Assignment 'zSql=malloc(nSql+1)', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:124:16: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:124:31: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:119:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:124:31: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:125:3: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest16.c:122:16: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:122:16: note: Assignment 'zSql=malloc(nSql+1)', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:125:3: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest16.c:137:9: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest16.c:122:16: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest16.c:122:16: note: Assignment 'zSql=malloc(nSql+1)', assigned value is 0 sqlite3-3.46.1/tool/speedtest16.c:137:9: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8.c:174:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/speedtest8.c:65:7: style: The if condition is the same as the previous if condition [duplicateCondition] sqlite3-3.46.1/tool/speedtest8.c:62:7: note: First condition sqlite3-3.46.1/tool/speedtest8.c:65:7: note: Second condition sqlite3-3.46.1/tool/speedtest8.c:163:13: style: Condition 'argc>3' is always true [knownConditionTrueFalse] sqlite3-3.46.1/tool/speedtest8.c:117:14: note: Assuming that condition 'argc>3' is not redundant sqlite3-3.46.1/tool/speedtest8.c:135:16: note: Assuming condition is false sqlite3-3.46.1/tool/speedtest8.c:163:13: note: Condition 'argc>3' is always true sqlite3-3.46.1/tool/speedtest8.c:71:5: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:80:7: warning: %llu in format string (no. 3) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:88:7: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:203:16: warning: %llu in format string (no. 2) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:233:16: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:238:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:239:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:240:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:241:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:242:3: warning: %llu in format string (no. 1) requires 'unsigned long long' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] sqlite3-3.46.1/tool/speedtest8.c:187:9: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest8.c:187:9: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8.c:188:16: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest8.c:188:16: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8.c:190:9: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest8.c:190:9: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8.c:191:16: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest8.c:189:16: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest8.c:189:16: note: Assignment 'zSql=malloc(nSql+1)', assigned value is 0 sqlite3-3.46.1/tool/speedtest8.c:191:16: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8.c:191:31: warning: If resource allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfResources] sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest8.c:186:13: note: Assignment 'in=fopen(argv[2],"r")', assigned value is 0 sqlite3-3.46.1/tool/speedtest8.c:191:31: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8.c:192:3: warning: If memory allocation fails, then there is a possible null pointer dereference: zSql [nullPointerOutOfMemory] sqlite3-3.46.1/tool/speedtest8.c:189:16: note: Assuming allocation function fails sqlite3-3.46.1/tool/speedtest8.c:189:16: note: Assignment 'zSql=malloc(nSql+1)', assigned value is 0 sqlite3-3.46.1/tool/speedtest8.c:192:3: note: Null pointer dereference sqlite3-3.46.1/tool/speedtest8inst1.c:54:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINARYLOG_PREPARE_V2 [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/speedtest8inst1.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:95:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:517:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:1458:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:1664:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:1826:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SQLITE_TRANSIENT [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:1894:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:1920:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sqlite3-3.46.1/tool/sqldiff.c:1151:14: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] sqlite3-3.46.1/tool/sqldiff.c:1780:15: style: Condition 'pOut