2026-05-03 07:52 ftp://ftp.de.debian.org/debian/pool/main/libs/libsfdo/libsfdo_0.1.4.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 150 146 elapsed-time: 1.0 0.9 head-timing-info: old-timing-info: head results: libsfdo-0.1.4/common/hash.c:18:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfdo_hashmap_entry [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/common/hash.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/common/hash.c:59:32: style: Variable 'src' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/common/log.c:11:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/common/log.c:38:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/common/membuild.c:9:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/common/strbuild.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/common/strpool.c:59:47: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/common/strpool.c:68:45: style: Parameter 'pool' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/common/strpool.c:73:81: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/examples/basedir-dump.c:17:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/basedir-dump.c:24:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-dump.c:12:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-dump.c:40:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-dump.c:32:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/examples/desktop-exec.c:14:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-exec.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-exec.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-exec.c:76:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/examples/desktop-file-query.c:19:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_LOAD_OPTIONS_DEFAULT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-file-query.c:22:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/examples/desktop-load.c:13:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-load.c:55:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-load.c:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/desktop-load.c:73:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/examples/icon-lookup.c:14:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/icon-lookup.c:30:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_THEME_LOAD_OPTIONS_DEFAULT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/examples/icon-lookup.c:34:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-basedir/basedir.c:231:28: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-basedir/basedir.c:237:22: style: Variable 'data_home' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-basedir/basedir.c:245:28: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-basedir/basedir.c:251:28: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-basedir/basedir.c:257:22: style: Variable 'config_home' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-basedir/basedir.c:265:28: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:119:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:197:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_ERROR_OOM [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:208:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_ERROR_OOM [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:268:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_ERROR_INVALID_GROUP_CHARACTER [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:341:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_ERROR_UNEXPECTED_ENTRY [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:610:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_ERROR_NO_DEFAULT_VALUE [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:713:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_SIZED_NUL [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:751:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_FILE_LOAD_OPTION_ALLOW_DUPLICATE_GROUPS [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:884:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop-file/file.c:195:70: style: Parameter 'bytes' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:607:36: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:816:38: style: Parameter 'document' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:860:35: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:865:35: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:873:35: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:887:38: style: Variable 'map_entry' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:896:35: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop-file/file.c:923:35: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/db.c:1402:31: error: Syntax Error: AST broken, 'basedir' doesn't have a parent. [internalAstError] libsfdo-0.1.4/sfdo-desktop/desktop.c:45:17: error: Syntax Error: AST broken, 'data_dir' doesn't have a parent. [internalAstError] libsfdo-0.1.4/sfdo-desktop/entry.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:68:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:74:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:79:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:87:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:92:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:98:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:105:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:112:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:125:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:132:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:138:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:143:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_LINK [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:148:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:153:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-desktop/entry.c:9:54: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:17:30: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:39:76: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:58:24: style: Variable 'ex' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-desktop/entry.c:118:30: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:180:74: style: Parameter 'exec' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:184:77: style: Parameter 'exec' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:188:76: style: Parameter 'exec' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-desktop/entry.c:274:37: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-icon/cache.c:47:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:58:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:71:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:106:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_ERROR [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:120:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_INFO [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:248:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:351:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_DEBUG [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/cache.c:324:30: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-icon/icon.c:62:17: error: Syntax Error: AST broken, 'data_dir' doesn't have a parent. [internalAstError] libsfdo-0.1.4/sfdo-icon/load.c:407:31: error: Syntax Error: AST broken, 'basedir' doesn't have a parent. [internalAstError] libsfdo-0.1.4/sfdo-icon/lookup.c:56:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_SUBDIR_SCALABLE [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/lookup.c:124:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/lookup.c:141:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_THEME_LOOKUP_OPTION_NO_RESCAN [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/lookup.c:240:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_FILE_INVALID [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/lookup.c:248:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_FILE_INVALID [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/lookup.c:256:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_FILE_INVALID [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/sfdo-icon/lookup.c:71:31: style: Variable 'list' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-icon/lookup.c:106:31: style: Variable 'list' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/sfdo-icon/lookup.c:247:69: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-icon/lookup.c:255:86: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] libsfdo-0.1.4/sfdo-icon/scan.c:221:31: error: Syntax Error: AST broken, 'basedir' doesn't have a parent. [internalAstError] libsfdo-0.1.4/sfdo-icon/state.c:15:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfdo_icon_image_list [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/basedir.c:12:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/basedir.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/basedir.c:77:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/basedir.c:98:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/basedir.c:32:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/basedir.c:30:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/basedir.c:30:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/basedir.c:32:3: note: Null pointer dereference libsfdo-0.1.4/tests/basedir.c:33:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/basedir.c:30:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/basedir.c:30:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/basedir.c:33:3: note: Null pointer dereference libsfdo-0.1.4/tests/basedir.c:34:7: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/basedir.c:30:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/basedir.c:30:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/basedir.c:34:7: note: Null pointer dereference libsfdo-0.1.4/tests/desktop-file.c:11:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop-file.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop-file.c:48:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop-file.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop-file.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop-file.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop-file.c:108:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop-file.c:108:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop-file.c:110:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop-file.c:111:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop-file.c:108:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop-file.c:108:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop-file.c:111:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop-file.c:111:23: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop-file.c:108:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop-file.c:108:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop-file.c:111:23: note: Null pointer dereference libsfdo-0.1.4/tests/desktop-file.c:24:37: style: Variable 'doc' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/tests/desktop.c:11:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:27:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:66:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:119:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:129:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:140:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:176:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_DESKTOP_ENTRY_APPLICATION [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/desktop.c:27:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:25:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:25:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:27:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:28:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:25:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:25:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:28:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:28:23: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:25:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:25:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:28:23: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:66:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:64:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:64:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:66:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:67:3: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:64:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:64:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:67:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:67:23: warning: If memory allocation fails, then there is a possible null pointer dereference: exp [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:64:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:64:34: note: Assignment 'exp=calloc(exp_len,sizeof(*exp))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:67:23: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:85:3: warning: If memory allocation fails, then there is a possible null pointer dereference: got [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:83:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:83:34: note: Assignment 'got=calloc(exp_len,sizeof(*got))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:85:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:86:3: warning: If memory allocation fails, then there is a possible null pointer dereference: got [nullPointerOutOfMemory] libsfdo-0.1.4/tests/desktop.c:83:34: note: Assuming allocation function fails libsfdo-0.1.4/tests/desktop.c:83:34: note: Assignment 'got=calloc(exp_len,sizeof(*got))', assigned value is 0 libsfdo-0.1.4/tests/desktop.c:86:3: note: Null pointer dereference libsfdo-0.1.4/tests/desktop.c:309:76: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libsfdo-0.1.4/tests/desktop.c:311:12: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libsfdo-0.1.4/tests/desktop.c:316:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libsfdo-0.1.4/tests/desktop.c:319:82: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libsfdo-0.1.4/tests/desktop.c:328:28: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libsfdo-0.1.4/tests/desktop.c:330:54: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] libsfdo-0.1.4/tests/desktop.c:129:29: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/tests/icon.c:13:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_LOG_LEVEL_SILENT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:55:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_NT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:69:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:117:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFDO_ICON_THEME_LOAD_OPTIONS_DEFAULT [valueFlowBailoutIncompleteVar] libsfdo-0.1.4/tests/icon.c:106:2: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] libsfdo-0.1.4/tests/icon.c:107:2: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] libsfdo-0.1.4/tests/icon.c:108:2: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] libsfdo-0.1.4/tests/icon.c:45:26: style: Variable 'theme' can be declared as pointer to const [constVariablePointer] libsfdo-0.1.4/tests/icon.c:97:25: style: Variable 'file' can be declared as pointer to const [constVariablePointer] diff: head libsfdo-0.1.4/examples/desktop-dump.c:32:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] head libsfdo-0.1.4/examples/desktop-exec.c:76:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] head libsfdo-0.1.4/examples/desktop-load.c:73:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] head libsfdo-0.1.4/examples/icon-lookup.c:34:8: style: Variable 'prog' can be declared as pointer to const [constVariablePointer] DONE