2024-04-24 13:56 ftp://ftp.de.debian.org/debian/pool/main/f/f2fs-tools/f2fs-tools_1.16.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-23) 13.2.0 cppcheck: head 2.14.0 head-info: 9fab9b9 (2024-04-24 10:46:48 +0200) count: 609 609 elapsed-time: 4.3 4.3 head-timing-info: old-timing-info: head results: f2fs-tools-1.16.0/fsck/f2fs.h:327:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_INLINE_RESERVED_SIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:335:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OFFSET_BIT_SHIFT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:378:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_LARGE_NAT_BITMAP_FLAG [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:518:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAT_ENTRY_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:525:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:539:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:549:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:614:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_ADDRS_PER_INODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:620:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __le32 [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:629:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DIR_HASH_DEPTH [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:637:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DIR_HASH_DEPTH [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.h:161:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_UMOUNT_FLAG [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/defrag.c:50:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/compress.c:144:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filter [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/f2fs.h:352:24: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] f2fs-tools-1.16.0/fsck/f2fs.h:550:23: style: Variable 'curseg' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/defrag.c:85:20: style: Condition 'migrate_block(sbi,idx,target)' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/defrag.c:85:20: note: Calling function 'migrate_block' returns 0 f2fs-tools-1.16.0/fsck/defrag.c:85:20: note: Condition 'migrate_block(sbi,idx,target)' is always false f2fs-tools-1.16.0/fsck/dict.c:947:42: debug: Function::addArguments found argument 'dict_context' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/dict.c:952:52: debug: Function::addArguments found argument 'dict_context' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/node.h:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NODE_DIR1_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.h:82:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NODE_DIR1_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.h:116:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.h:145:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_NOCRC_RECOVERY_FLAG [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.h:169:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLD_BIT_SHIFT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NR_DENTRY_IN_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:145:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:239:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:343:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:384:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:441:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_EXTENSION_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:471:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FT_DIR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:562:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_INLINE_DENTRY [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:684:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dir.c:830:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dict.c:441:11: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dict.c:839:11: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dict.c:854:11: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dict.c:871:11: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dict.c:896:11: style: Variable 'nil' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dict.c:927:32: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/dict.c:932:26: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/dict.c:937:25: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/dict.c:984:26: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/dict.c:989:35: style: Parameter 'dnode' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/dir.c:836:6: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/fsck/dir.c:856:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/fsck/dir.c:234:27: warning: Either the condition 'parent==NULL' is redundant or there is possible null pointer dereference: parent. [nullPointerRedundantCheck] f2fs-tools-1.16.0/fsck/dir.c:238:13: note: Assuming that condition 'parent==NULL' is not redundant f2fs-tools-1.16.0/fsck/dir.c:234:27: note: Null pointer dereference f2fs-tools-1.16.0/fsck/dir.c:235:27: warning: Either the condition 'parent==NULL' is redundant or there is possible null pointer dereference: parent. [nullPointerRedundantCheck] f2fs-tools-1.16.0/fsck/dir.c:238:13: note: Assuming that condition 'parent==NULL' is not redundant f2fs-tools-1.16.0/fsck/dir.c:235:27: note: Null pointer dereference f2fs-tools-1.16.0/fsck/dir.c:42:29: style: Variable 't' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dir.c:465:26: style: Variable 'ckpt' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dir.c:654:22: style: Parameter 'de' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/dir.c:827:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dump.c:415:52: debug: Function::addArguments found argument 'sbi' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/dump.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:122:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:184:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:252:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:307:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:429:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_INLINE_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:478:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_NAME_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:558:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:608:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_file_map [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:633:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbg_lv [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:644:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:681:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:716:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_INLINE_DENTRY [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:749:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_PRINT_NAMELEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/dump.c:804:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2531:67: debug: Function::addArguments found argument 'sbi' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/fsck.c:3107:62: debug: Function::addArguments found argument 'sbi' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/dump.c:502:8: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] f2fs-tools-1.16.0/fsck/dump.c:112:20: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/dump.c:557:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:117:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:155:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:253:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_ADDRS_PER_INODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:280:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:357:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FT_MAX [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:399:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:541:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:577:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_WARM_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:635:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:681:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:700:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1211:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_COMPR_FL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1275:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1318:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1383:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_NAME_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1403:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_PRINT_NAMELEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1468:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_PRINT_NAMELEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1486:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DIR_HASH_DEPTH [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1571:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f2fs_dir_entry [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1588:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_PRINT_NAMELEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1777:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_NAME_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1820:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_NAME_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1857:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1896:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHEADER_PGOFS_NONE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:1975:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHEADER_PGOFS_NONE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2024:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_MAX_QUOTAS [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2076:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2178:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ckpt_flags [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2218:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quota_fixed [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2277:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2300:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fix_chksum [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2316:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alloc_failed [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2546:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2583:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2595:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2619:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_COLD_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2639:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2709:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2742:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2775:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2805:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2839:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:2918:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:3122:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zoned_model [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:3141:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/fsck.c:3188:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_file_map [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/main.c:200:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable auto_fix [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/main.c:205:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable defset [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/main.c:236:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/main.c:840:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fix_on [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/main.c:1106:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/main.c:357:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/fsck/main.c:364:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/fsck/main.c:1209:11: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] f2fs-tools-1.16.0/fsck/quotaio.h:238:9: error: Memory leak: pp [memleak] f2fs-tools-1.16.0/fsck/quotaio.h:250:9: error: Memory leak: pp [memleak] f2fs-tools-1.16.0/fsck/main.c:169:28: style: Parameter 'optarg' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/main.c:179:29: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/main.c:235:17: style: Variable 'long_opt' can be declared as const array [constVariable] f2fs-tools-1.16.0/fsck/mkquota.c:135:58: debug: Function::addArguments found argument 'context' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/mkquota.c:215:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mkquota.c:69:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mkquota.c:149:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mkquota.c:370:16: style: Variable 'dq' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:1951:13: style: Expression is always true because 'else if' condition is opposite to previous condition at line 1946. [multiCondition] f2fs-tools-1.16.0/fsck/fsck.c:1946:8: note: first condition f2fs-tools-1.16.0/fsck/fsck.c:1951:13: note: else if condition is opposite to first condition f2fs-tools-1.16.0/fsck/fsck.c:625:46: style: Condition 'ei->len' is always true [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/fsck.c:1949:13: style: Condition 'ret' is always true [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/fsck.c:3344:9: warning: scanf() without field width limits can crash with huge input data. [invalidscanf] f2fs-tools-1.16.0/fsck/fsck.c:1418:3: error: Common realloc mistake: 'tree_mark' nulled but not freed upon failure [memleakOnRealloc] f2fs-tools-1.16.0/fsck/fsck.c:994:7: style: Local variable 'nid' shadows outer argument [shadowArgument] f2fs-tools-1.16.0/fsck/fsck.c:689:55: note: Shadowed declaration f2fs-tools-1.16.0/fsck/fsck.c:994:7: note: Shadow variable f2fs-tools-1.16.0/fsck/fsck.c:147:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:150:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:272:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:275:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:615:22: style: Variable 'ei' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:1392:58: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/fsck.c:1899:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2013:20: style: Variable 'fsck' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2062:20: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2176:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2190:23: style: Variable 'sm_i' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2280:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2295:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2297:19: style: Variable 'sit_i' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2541:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:3135:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/fsck.c:2306:23: portability: 'bitmap_offset' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] f2fs-tools-1.16.0/fsck/fsck.c:147:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/fsck.c:272:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/fsck.c:1895:14: style: Variable 'blk_cnt' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/fsck.c:1899:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/fsck.c:2176:29: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/fsck.c:2541:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/fsck.c:3135:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:92:48: debug: Function::addArguments found argument 'sbi' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/mount.c:2796:69: debug: Function::addArguments found argument 'sbi' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/mount.c:123:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbg_lv [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:242:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_PRINT_NAMELEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:362:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEF_ADDRS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:370:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_VOLUME_NAME [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:381:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:436:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable layout [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:493:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable show_file_map [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:536:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FEATURE_ENCRYPT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:601:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable force_stop [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:637:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fs_errors [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:657:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_ENTRY_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:710:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_ENTRY_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:747:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:850:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SB_CHKSUM_OFFSET [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:869:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_SUPER_MAGIC [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1005:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1059:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_sectors_per_block [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1124:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable checksum_offset [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1147:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1174:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cp_pack_total_block_count [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1211:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_CP_PAYLOAD [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1286:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STOP_CP_REASON_MAX [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1300:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_F2FS_ERRORS [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1314:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fix_on [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1333:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ckpt_flags [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1471:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITS_PER_BYTE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1528:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1561:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_nat [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1578:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_nat [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1651:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_nat [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1734:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nat_blkaddr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1764:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1787:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1860:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable summary_footer [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1880:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1933:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1958:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1997:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2021:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2040:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NR_CURSEG_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2093:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_ENTRY_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2139:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_VBLOCK_MAP_SIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2155:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_VBLOCK_MAP_SIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2169:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_VBLOCK_MAP_SIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2216:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NR_CURSEG_NODE_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2272:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f2fs_summary [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2293:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAT_ENTRY_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2367:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAT_ENTRY_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2389:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2403:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_COLD_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2476:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2505:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2521:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_VBLOCK_MAP_SIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2560:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_COLD_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2610:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_COLD_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2644:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2708:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIT_VBLOCK_MAP_SIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2723:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zoned_model [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2812:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_main [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2882:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2930:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2945:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2954:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_CHECK_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2973:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:2990:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3036:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_blocks_per_seg [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3078:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CP_UMOUNT_FLAG [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3175:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3313:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sector_size [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3332:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FEATURE_ENCRYPT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3363:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3393:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable list [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3408:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_WARM_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3484:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_WARM_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3550:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_WARM_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3618:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NR_CURSEG_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3764:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.c:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.c:174:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NIDS_PER_BLOCK [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.c:278:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alloc_failed [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/node.c:285:21: style: Local variable 'ni' shadows outer variable [shadowVariable] f2fs-tools-1.16.0/fsck/node.c:251:19: note: Shadowed declaration f2fs-tools-1.16.0/fsck/node.c:285:21: note: Shadow variable f2fs-tools-1.16.0/fsck/node.c:111:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/node.c:114:26: style: Variable 'ckpt' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/node.c:111:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/quotaio.c:93:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio.c:117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio.c:187:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio.c:226:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:3628:6: style: Condition 'ret' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/mount.c:3627:25: note: Calling function 'check_sector_size' returns 0 f2fs-tools-1.16.0/fsck/mount.c:3627:25: note: Assignment 'ret=check_sector_size(sb)', assigned value is 0 f2fs-tools-1.16.0/fsck/mount.c:3628:6: note: Condition 'ret' is always false f2fs-tools-1.16.0/fsck/mount.c:2090:20: style:inconclusive: Function 'current_sit_addr' argument 2 names different: declaration 'start' definition 'segno'. [funcArgNamesDifferent] f2fs-tools-1.16.0/fsck/mount.c:683:20: note: Function 'current_sit_addr' argument 2 names different: declaration 'start' definition 'segno'. f2fs-tools-1.16.0/fsck/mount.c:2090:20: note: Function 'current_sit_addr' argument 2 names different: declaration 'start' definition 'segno'. f2fs-tools-1.16.0/fsck/mount.c:2971:29: style:inconclusive: Function 'lookup_nat_in_journal' argument 3 names different: declaration 'ne' definition 'raw_nat'. [funcArgNamesDifferent] f2fs-tools-1.16.0/fsck/f2fs.h:623:92: note: Function 'lookup_nat_in_journal' argument 3 names different: declaration 'ne' definition 'raw_nat'. f2fs-tools-1.16.0/fsck/mount.c:2971:29: note: Function 'lookup_nat_in_journal' argument 3 names different: declaration 'ne' definition 'raw_nat'. f2fs-tools-1.16.0/fsck/mount.c:1896:23: style: Local variable 'curseg' shadows outer variable [shadowVariable] f2fs-tools-1.16.0/fsck/mount.c:1872:22: note: Shadowed declaration f2fs-tools-1.16.0/fsck/mount.c:1896:23: note: Shadow variable f2fs-tools-1.16.0/fsck/mount.c:109:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:313:9: style: Variable 'flag' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:596:52: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:632:47: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:1161:48: style: Parameter 'sbi' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:1165:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1202:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1282:50: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:1296:53: style: Parameter 'sb' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:1332:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1728:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1729:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1731:17: style: Variable 'version_bitmap' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1775:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1776:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1780:8: style: Variable 'src_bitmap' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1908:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1989:27: style: Parameter 'sum' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:1991:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:1995:20: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2124:23: style: Variable 'sm_info' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2207:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2469:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2470:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2514:23: style: Variable 'sm_i' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2519:20: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2699:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2807:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:2875:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:3033:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:3178:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:3358:68: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:3389:52: style: Parameter 'head' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/mount.c:3399:22: style: Variable 'curseg' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:3544:22: style: Variable 'curseg' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/mount.c:3853:54: style: Parameter 'sbi' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:81:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:313:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:333:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:374:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:463:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:489:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:542:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_tree.c:595:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/mount.c:1185:5: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1202:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1332:29: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1728:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1729:29: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1775:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1776:26: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:1991:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:2207:29: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:2469:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:2470:29: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:2807:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:2875:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:3033:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/mount.c:3178:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/quotaio_v2.c:324:50: debug: Function::addArguments found argument 'h' with varid 0. [varid0] f2fs-tools-1.16.0/fsck/quotaio_v2.c:161:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_v2.c:194:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_v2.c:326:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/quotaio_v2.c:217:3: portability: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'f2fs_ino_t {aka signed int}'. [invalidPrintfArgType_uint] f2fs-tools-1.16.0/fsck/quotaio_v2.c:224:3: portability: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'f2fs_ino_t {aka signed int}'. [invalidPrintfArgType_uint] f2fs-tools-1.16.0/fsck/quotaio_v2.c:153:6: style: Variable 'file_magics' can be declared as const array [constVariable] f2fs-tools-1.16.0/fsck/quotaio_v2.c:175:24: style: Variable 'info' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/quotaio_v2.c:301:21: style: Variable 'b' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:460:21: warning: Either the condition '!buf' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] f2fs-tools-1.16.0/fsck/quotaio_tree.c:462:6: note: Assuming that condition '!buf' is not redundant f2fs-tools-1.16.0/fsck/quotaio_tree.c:460:21: note: Null pointer addition f2fs-tools-1.16.0/fsck/quotaio_tree.c:35:49: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:35:61: style: Parameter 'disk' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:45:49: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:592:49: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:644:41: style: Parameter 'bmp' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/quotaio_tree.c:660:27: style: Variable 'info' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:21:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_blocksize [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:197:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:225:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUM_TYPE_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:239:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ssa_blkaddr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:282:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nat_blkaddr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:330:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nat_blkaddr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:400:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_sit [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:455:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable checkpoint_ver [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:612:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_main [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:648:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_nat [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:706:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_nat [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:754:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable target_sectors [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURSEG_HOT_NODE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:126:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:222:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:287:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:395:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPRESS_ADDR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:434:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:454:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable readonly [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:512:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_INLINE_DATA [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/segment.c:590:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/resize.c:79:13: style: Local variable 'diff' shadows outer variable [shadowVariable] f2fs-tools-1.16.0/fsck/resize.c:17:39: note: Shadowed declaration f2fs-tools-1.16.0/fsck/resize.c:79:13: note: Shadow variable f2fs-tools-1.16.0/fsck/resize.c:238:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:280:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:328:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:402:20: style: Variable 'se' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:457:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:608:26: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:751:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/resize.c:543:25: portability: '(void*)new_cp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] f2fs-tools-1.16.0/fsck/resize.c:544:15: portability: '(void*)cp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] f2fs-tools-1.16.0/fsck/resize.c:238:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/resize.c:280:27: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/resize.c:328:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/resize.c:457:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/resize.c:608:29: style: Variable 'cp' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/resize.c:751:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/segment.c:587:3: warning: Either the condition 'found_hardlink' is redundant or there is possible null pointer dereference: found_hardlink. [nullPointerRedundantCheck] f2fs-tools-1.16.0/fsck/segment.c:583:7: note: Assuming that condition 'found_hardlink' is not redundant f2fs-tools-1.16.0/fsck/segment.c:587:3: note: Null pointer dereference f2fs-tools-1.16.0/fsck/segment.c:30:7: style: Local variable 'is_node' shadows outer function [shadowFunction] f2fs-tools-1.16.0/fsck/node.h:159:19: note: Shadowed declaration f2fs-tools-1.16.0/fsck/segment.c:30:7: note: Shadow variable f2fs-tools-1.16.0/fsck/segment.c:120:27: style: Variable 'sb' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/fsck/segment.c:474:25: style: Parameter 's_ext' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/fsck/segment.c:120:30: style: Variable 'sb' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/fsck/sload.c:53:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FT_DIR [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/sload.c:110:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mount_point [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/sload.c:163:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FT_REG_FILE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/sload.c:210:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alphasort [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/sload.c:364:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable from_dir [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/sload.c:280:7: style: Condition 'ret' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/sload.c:278:9: note: Assignment 'ret=0', assigned value is 0 f2fs-tools-1.16.0/fsck/sload.c:280:7: note: Condition 'ret' is always false f2fs-tools-1.16.0/fsck/sload.c:353:6: style: Condition 'ret' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/sload.c:352:23: note: Calling function 'configure_files' returns 0 f2fs-tools-1.16.0/fsck/sload.c:352:23: note: Assignment 'ret=configure_files()', assigned value is 0 f2fs-tools-1.16.0/fsck/sload.c:353:6: note: Condition 'ret' is always false f2fs-tools-1.16.0/fsck/sload.c:373:6: style: Condition 'ret' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/fsck/sload.c:371:8: note: Assignment 'ret=0', assigned value is 0 f2fs-tools-1.16.0/fsck/sload.c:373:6: note: Condition 'ret' is always false f2fs-tools-1.16.0/fsck/xattr.c:27:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/xattr.c:106:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XATTR_NODE_OFFSET [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/xattr.c:147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EILSEQ [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EILSEQ [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:353:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BITS_PER_BYTE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:468:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_HASH_COL_BIT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:480:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:502:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_COMPR_FL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:510:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_COMPR_FL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:518:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_COMPR_FL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:544:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_SUPER_MAGIC [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:565:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable chksum_seed [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:582:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_SUPER_MAGIC [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:593:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:609:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:671:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:709:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ro [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:796:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:815:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ndevs [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:824:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_NAME_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:848:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION_LEN [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:873:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable func [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:903:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable devices [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:1190:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ndevs [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:1200:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable wanted_total_sectors [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:1287:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable feature [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:1334:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:1387:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/fsck/xattr.c:54:36: portability: 'txattr_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] f2fs-tools-1.16.0/fsck/xattr.c:123:33: portability: 'txattr_addr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] f2fs-tools-1.16.0/lib/libf2fs_io.c:504:41: debug: Function::addArguments found argument 'block' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_io.c:510:42: debug: Function::addArguments found argument 'block' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_io.c:516:49: debug: Function::addArguments found argument 'block' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_io.c:550:47: debug: Function::addArguments found argument 'len' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_io.c:56:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE_BITS [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_io.c:136:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_io.c:324:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_io.c:528:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_io.c:572:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_io.c:611:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_io.c:801:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs.c:1361:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/lib/libf2fs.c:1389:7: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/lib/libf2fs.c:644:8: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] f2fs-tools-1.16.0/lib/libf2fs.c:230:10: style: Checking if unsigned expression 'num' is less than zero. [unsignedLessThanZero] f2fs-tools-1.16.0/lib/libf2fs.c:531:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/lib/libf2fs.c:610:17: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/lib/libf2fs.c:871:32: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/lib/libf2fs.c:890:11: style: Unused variable: sector_size [unusedVariable] f2fs-tools-1.16.0/lib/libf2fs.c:1363:13: style: Variable 'neg' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/lib/libf2fs_io.c:597:26: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/lib/libf2fs_io.c:365:7: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] f2fs-tools-1.16.0/lib/libf2fs_zoned.c:539:45: debug: Function::addArguments found argument 'sector' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_zoned.c:546:56: debug: Function::addArguments found argument 'report_zones_cb' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_zoned.c:580:41: debug: Function::addArguments found argument 'blkzone' with varid 0. [varid0] f2fs-tools-1.16.0/lib/libf2fs_zoned.c:555:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable devices [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_zoned.c:564:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable devices [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/libf2fs_zoned.c:594:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_main [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:126:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_MAX_EXTENSION [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:143:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable extension_count [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:193:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NR_CURSEG_TYPE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:240:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_blocks_per_seg [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:628:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_blocksize [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:662:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable log_blocksize [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:706:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1163:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable segment_count_main [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1220:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1306:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1382:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1495:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1542:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1632:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_BLKSIZE [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1698:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_MAX_QUOTAS [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format.c:164:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/mkfs/f2fs_format.c:174:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/mkfs/f2fs_format.c:376:13: style: Local variable 'diff' shadows outer variable [shadowVariable] f2fs-tools-1.16.0/mkfs/f2fs_format.c:219:36: note: Shadowed declaration f2fs-tools-1.16.0/mkfs/f2fs_format.c:376:13: note: Shadow variable f2fs-tools-1.16.0/mkfs/f2fs_format.c:1059:12: style: Local variable 'i' shadows outer variable [shadowVariable] f2fs-tools-1.16.0/mkfs/f2fs_format.c:698:15: note: Shadowed declaration f2fs-tools-1.16.0/mkfs/f2fs_format.c:1059:12: note: Shadow variable f2fs-tools-1.16.0/mkfs/f2fs_format.c:127:9: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1242:17: 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] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1561:17: 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] f2fs-tools-1.16.0/mkfs/f2fs_format.c:1162:24: style: Variable 'next_blkaddr' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/lib/nls_utf8.c:910:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENAMETOOLONG [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/lib/nls_utf8.c:931:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_ENC_UTF8_12_1 [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:129:53: debug: Function::addArguments found argument 'min_major' with varid 0. [varid0] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:100:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_ANDROID [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:147:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F2FS_FEATURE_RO [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:181:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:439:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MKFS [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:283:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:290:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:450:26: style: Condition 'f2fs_check_overwrite()' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:450:26: note: Calling function 'f2fs_check_overwrite' returns 0 f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:450:26: note: Condition 'f2fs_check_overwrite()' is always false f2fs-tools-1.16.0/mkfs/f2fs_format_main.c:177:48: style: Parameter 'argv' can be declared as const array [constParameter] f2fs-tools-1.16.0/mkfs/f2fs_format_utils.c:116:35: debug: Function::addArguments found argument 'i' with varid 0. [varid0] f2fs-tools-1.16.0/mkfs/f2fs_format_utils.c:170:40: debug: Function::addArguments found argument 'i' with varid 0. [varid0] f2fs-tools-1.16.0/mkfs/f2fs_format_utils.c:180:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ndevs [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/mkfs/f2fs_format_utils.c:181:41: style: Condition 'trim_device(i)' is always false [knownConditionTrueFalse] f2fs-tools-1.16.0/mkfs/f2fs_format_utils.c:181:41: note: Calling function 'trim_device' returns 0 f2fs-tools-1.16.0/mkfs/f2fs_format_utils.c:181:41: note: Condition 'trim_device(i)' is always false f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:76:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:168:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:192:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:230:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:307:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:350:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:382:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:428:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:464:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:535:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:665:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:749:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:890:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:909:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:950:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECT [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1019:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1044:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1069:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1097:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1126:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1153:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1175:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1214:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1267:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1296:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1390:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:616:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:367:2: portability: %d in format string (no. 2) requires 'int' but the argument type is 'u32 {aka unsigned int}'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:395:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:77:2: style: Statements following noreturn function 'do_die()' will never be executed. [unreachableCode] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:87:2: style: Statements following noreturn function 'do_die()' will never be executed. [unreachableCode] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:608:16: style: Checking if unsigned expression 'max_time' is less than zero. [unsignedLessThanZero] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:607:30: note: Calling function 'get_current_us' returns 0 f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:607:33: note: Assignment 'max_time_t=get_current_us()-max_time_t', assigned value is 0 f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:608:16: note: Unsigned less than zero f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1349:67: style:inconclusive: Function 'do_help' argument 3 names different: declaration 'cmd' definition 'UNUSED_cmd'. [funcArgNamesDifferent] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1318:67: note: Function 'do_help' argument 3 names different: declaration 'cmd' definition 'UNUSED_cmd'. f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1349:67: note: Function 'do_help' argument 3 names different: declaration 'cmd' definition 'UNUSED_cmd'. f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:978:9: style: Variable 'src_addr' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1378:63: style: Parameter 'UNUSED_siginfo' can be declared as pointer to const. However it seems that 'die_signal_handler' is a callback function, if 'UNUSED_siginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1389:20: note: You might need to cast the function pointer here f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1378:63: note: Parameter 'UNUSED_siginfo' can be declared as pointer to const f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1379:11: style: Parameter 'UNUSED_context' can be declared as pointer to const. However it seems that 'die_signal_handler' is a callback function, if 'UNUSED_context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1389:20: note: You might need to cast the function pointer here f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:1379:11: note: Parameter 'UNUSED_context' can be declared as pointer to const f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:389:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:528:47: style: Variable 'max_time_t' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:654:24: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/tools/f2fs_io/f2fs_io.c:739:24: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] f2fs-tools-1.16.0/tools/f2fscrypt.c:287:43: debug: Function::addArguments found argument 'signum' with varid 0. [varid0] f2fs-tools-1.16.0/tools/f2fscrypt.c:891:74: debug: Function::addArguments found argument 'cmd' with varid 0. [varid0] f2fs-tools-1.16.0/tools/f2fscrypt.c:855:52: debug: Function::addArguments found argument 'argv' with varid 0. [varid0] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_info [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:124:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:159:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_info [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:175:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid_info [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:273:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:169:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:172:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:183:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:186:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:187:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:190:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:193:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:195:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:198:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:217:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:219:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:227:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:230:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:92:2: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:257:3: warning: %lld in format string (no. 3) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:257:3: warning: %lld in format string (no. 4) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:262:4: warning: %lld in format string (no. 1) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:262:4: warning: %lld in format string (no. 2) requires 'long long' but the argument type is 'unsigned long long'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:187:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:186:6: note: ptr is assigned f2fs-tools-1.16.0/tools/f2fs_io_parse.c:187:6: note: ptr is overwritten f2fs-tools-1.16.0/tools/f2fs_io_parse.c:195:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:193:6: note: ptr is assigned f2fs-tools-1.16.0/tools/f2fs_io_parse.c:195:6: note: ptr is overwritten f2fs-tools-1.16.0/tools/f2fs_io_parse.c:198:6: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:195:6: note: ptr is assigned f2fs-tools-1.16.0/tools/f2fs_io_parse.c:198:6: note: ptr is overwritten f2fs-tools-1.16.0/tools/f2fs_io_parse.c:219:7: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:217:7: note: ptr is assigned f2fs-tools-1.16.0/tools/f2fs_io_parse.c:219:7: note: ptr is overwritten f2fs-tools-1.16.0/tools/f2fscrypt.c:150:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_keyctl [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:159:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_add_key [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:268:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:300:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:345:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:418:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:521:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHO [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:534:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:638:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:713:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:774:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:816:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:861:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fscrypt.c:900:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:89:30: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:156:14: error: Uninitialized variable: entry->pid [uninitvar] f2fs-tools-1.16.0/tools/f2fs_io_parse.c:258:12: error: Uninitialized variable: entry->pid [uninitvar] f2fs-tools-1.16.0/tools/fibmap.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/fibmap.c:107:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/fibmap.c:154:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] f2fs-tools-1.16.0/tools/fibmap.c:56:33: style: Parameter 'ext' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/tools/fibmap.c:141:8: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:638:17: style: Condition 'rc==-1' is always true [knownConditionTrueFalse] f2fs-tools-1.16.0/tools/f2fscrypt.c:633:9: note: Assuming that condition 'rc!=-1' is not redundant f2fs-tools-1.16.0/tools/f2fscrypt.c:638:17: note: Condition 'rc==-1' is always true f2fs-tools-1.16.0/tools/f2fscrypt.c:480:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fscrypt.c:485:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] f2fs-tools-1.16.0/tools/f2fscrypt.c:594:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] f2fs-tools-1.16.0/tools/f2fscrypt.c:865:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] f2fs-tools-1.16.0/tools/f2fscrypt.c:870:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] f2fs-tools-1.16.0/tools/f2fscrypt.c:184:44: style: Parameter 'argv' can be declared as const array [constParameter] f2fs-tools-1.16.0/tools/f2fscrypt.c:214:17: style: Variable 'h' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:214:21: style: Variable 'l' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:248:49: style: Parameter 'salt' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:372:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:372:22: style: Variable 'l' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:407:26: style: Parameter 'argv' can be declared as const array [constParameter] f2fs-tools-1.16.0/tools/f2fscrypt.c:409:15: style: Variable 'salt' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:464:64: style: Parameter 'salt' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:477:9: style: Variable 'temp_u32' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:617:71: style: Parameter 'salt' can be declared as pointer to const [constParameterPointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:705:8: style: Variable 'keyring' can be declared as pointer to const [constVariablePointer] f2fs-tools-1.16.0/tools/f2fscrypt.c:549:9: style: struct member 'keyring_map::name_len' is never used. [unusedStructMember] diff: DONE