2026-05-03 09:01 ftp://ftp.de.debian.org/debian/pool/main/libu/libusbgx/libusbgx_0.3.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 223 223 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: libusbgx-libusbgx-v0.3.0/examples/gadget-acm-ecm.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-export.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-ffs.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-hid.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-import.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-midi.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-ms.c:40:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-printer.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-rndis-os-desc.c:37:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-uac2.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-uvc.c:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-vid-pid-remove.c:44:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-vid-pid-remove.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/examples/gadget-vid-pid-remove.c:36:12: style: Variable 'u' can be declared as pointer to const [constVariablePointer] libusbgx-libusbgx-v0.3.0/examples/show-gadgets.c:345:3: error: There is an unknown macro here somewhere. Configuration is required. If usbg_for_each_function is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/examples/show-udcs.c:32:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:61:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:34:49: style: Parameter 'f' can be declared as pointer to const. However it seems that 'p9fs_set_attrs' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:68:15: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:34:49: note: Parameter 'f' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:52:56: style: Parameter 'f' can be declared as pointer to const. However it seems that 'p9fs_libconfig_import' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:71:12: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:52:56: note: Parameter 'f' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:53:25: style: Parameter 'root' can be declared as pointer to const. However it seems that 'p9fs_libconfig_import' is a callback function, if 'root' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:71:12: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:53:25: note: Parameter 'root' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:58:56: style: Parameter 'f' can be declared as pointer to const. However it seems that 'p9fs_libconfig_export' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:72:12: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:58:56: note: Parameter 'f' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:59:25: style: Parameter 'root' can be declared as pointer to const. However it seems that 'p9fs_libconfig_export' is a callback function, if 'root' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:72:12: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:59:25: note: Parameter 'root' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:88:43: style: Parameter 'p9fs' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/function/9pfs.c:100:45: style: Parameter 'p9fs' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/function/ether.c:78:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/ffs.c:26:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/hid.c:201:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/loopback.c:36:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/midi.c:65:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/ms.c:152:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/phonet.c:26:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/printer.c:24:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/serial.c:25:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/uac2.c:90:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/function/uvc.c:272:1: error: There is an unknown macro here somewhere. Configuration is required. If GENERIC_ALLOC_INST is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/usbg.c:84:1: error: There is an unknown macro here somewhere. Configuration is required. If ARRAY_SIZE_SENTINEL is a macro then please configure it. [unknownMacro] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUID_BIN_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:54:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_PATH_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:85:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:113:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:125:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:154:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_FILE_SIZE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:176:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_FILE_SIZE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:202:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_PATH_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:261:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:272:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:290:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:308:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:330:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:396:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:406:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 1) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 2) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 3) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 4) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 5) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 6) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 7) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 8) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 9) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 10) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 11) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 12) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 13) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 14) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 15) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:35:8: warning: %hhx in format string (no. 16) requires 'unsigned char *' but the argument type is 'char *'. [invalidScanfArgType_int] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:380:21: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] libusbgx-libusbgx-v0.3.0/src/usbg_common.c:394:34: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:26:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_VALUE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:99:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_INT [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:114:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_INT [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:133:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_BOOL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:148:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_STRING [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:160:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_STR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:175:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONFIG_TYPE_GROUP [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:195:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUID_CHAR_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_common_libconfig.c:80:21: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] libusbgx-libusbgx-v0.3.0/src/usbg_error.c:24:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:148:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:178:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:219:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:267:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:300:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:321:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:378:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:417:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:469:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:521:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:549:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:595:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NO_MEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:729:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:756:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:783:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:807:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:847:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:874:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:882:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:895:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:958:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_MISSING_TAG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1014:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fnode [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1045:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_OTHER_ERROR [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1069:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_MISSING_TAG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1137:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1195:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1220:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1262:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_MISSING_TAG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1344:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1450:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1489:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_SUCCESS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1515:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1559:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_TYPE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1627:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_MISSING_TAG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1726:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1770:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_libconfig.c:1814:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_INVALID_PARAM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:19:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:39:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:47:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:66:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:77:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:88:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_ERROR_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:16:66: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:17:36: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:22:62: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:23:41: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:28:62: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:29:41: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:34:64: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:35:36: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:42:62: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:43:41: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:50:61: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:51:41: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:59:40: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:64:75: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:70:40: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:75:77: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:81:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:86:76: style: Parameter 's' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/src/usbg_schemes_none.c:91:56: style: Parameter 'config' can be declared as pointer to const [constParameterPointer] libusbgx-libusbgx-v0.3.0/tests/test.c:429:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_FILE_SIZE [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:481:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_SERIAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:487:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_SERIAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:493:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_ACM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:499:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_ACM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:505:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_OBEX [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_OBEX [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:517:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_ECM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:523:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_ECM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:529:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_SUBSET [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:535:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_SUBSET [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:541:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_NCM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:547:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_NCM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:553:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_EEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:559:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_EEM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:565:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_RNDIS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:571:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_RNDIS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:577:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_PHONET [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:583:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_PHONET [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:589:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_FFS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:595:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_FFS [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:717:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:750:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:815:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_ACM [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:835:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_F_SERIAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:953:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_MAX_NAME_LENGTH [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1085:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1315:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_GADGET_ATTR_MIN [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1375:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_BCD_USB [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1413:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USBG_GADGET_ATTR_MIN [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1444:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG_US_ENG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1504:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG_US_ENG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1605:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG_US_ENG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1631:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG_US_ENG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:1660:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG_US_ENG [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:2582:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:2593:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:2679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:2687:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:2704:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/test.c:2746:7: style: Condition 'ret' is always true [knownConditionTrueFalse] libusbgx-libusbgx-v0.3.0/tests/test.c:368:16: style: Variable 'g[0].writable' is reassigned a value before the old one has been used. [redundantAssignment] libusbgx-libusbgx-v0.3.0/tests/test.c:365:16: note: g[0].writable is assigned libusbgx-libusbgx-v0.3.0/tests/test.c:368:16: note: g[0].writable is overwritten libusbgx-libusbgx-v0.3.0/tests/test.c:678:73: style: Parameter 'tg' can be declared as pointer to const. However it seems that 'try_get_gadget_name_len' is a callback function, if 'tg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/tests/test.c:699:30: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/tests/test.c:678:73: note: Parameter 'tg' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/tests/test.c:1016:30: style: Parameter 'tf' can be declared as pointer to const. However it seems that 'try_get_function_instance_len' is a callback function, if 'tf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/tests/test.c:1037:32: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/tests/test.c:1016:30: note: Parameter 'tf' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/tests/test.c:1575:59: style: Parameter 'tb' can be declared as pointer to const. However it seems that 'try_get_binding_name_len' is a callback function, if 'tb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libusbgx-libusbgx-v0.3.0/tests/test.c:1595:26: note: You might need to cast the function pointer here libusbgx-libusbgx-v0.3.0/tests/test.c:1575:59: note: Parameter 'tb' can be declared as pointer to const libusbgx-libusbgx-v0.3.0/tests/test.c:2706:23: style: Variable 'long_options' can be declared as const array [constVariable] libusbgx-libusbgx-v0.3.0/tests/test.c:203:21: style: struct member 'test_data::state' is never used. [unusedStructMember] libusbgx-libusbgx-v0.3.0/tests/test.c:204:21: style: struct member 'test_data::usbg_state' is never used. [unusedStructMember] libusbgx-libusbgx-v0.3.0/tests/test.c:1819:9: style: union member 'Anonymous3::ffs_dev_name' is never used. [unusedStructMember] libusbgx-libusbgx-v0.3.0/tests/test.c:1822:7: style: union member 'Anonymous3::serial_port_num' is never used. [unusedStructMember] libusbgx-libusbgx-v0.3.0/tests/test.c:1823:9: style: union member 'Anonymous3::phonet_ifname' is never used. [unusedStructMember] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:175:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:202:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:213:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:118:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:114:17: note: Assuming allocation function fails libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:114:17: note: Assignment 'entry=malloc(sizeof(*entry))', assigned value is 0 libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:118:10: note: Null pointer dereference libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:119:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: entry [nullPointerOutOfMemory] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:114:17: note: Assuming allocation function fails libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:114:17: note: Assignment 'entry=malloc(sizeof(*entry))', assigned value is 0 libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:119:3: note: Null pointer dereference libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:45:8: style: Variable 'data' can be declared as pointer to const [constVariablePointer] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:99:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libusbgx-libusbgx-v0.3.0/tests/usbg-io-wrappers.c:147:8: style: Variable 'res' can be declared as pointer to const [constVariablePointer] libusbgx-libusbgx-v0.3.0/tests/usbg-test.c:1208:2: error: There is an unknown macro here somewhere. Configuration is required. If usbg_for_each_binding is a macro then please configure it. [unknownMacro] diff: DONE