2025-11-22 14:13 ftp://ftp.de.debian.org/debian/pool/main/libx/libxkbfile/libxkbfile_1.1.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 309 309 elapsed-time: 1.1 1.2 head-timing-info: old-timing-info: head results: libxkbfile-1.1.0/src/XKBfileInt.h:79:0: debug: Failed to parse 'typedef _XFUNCPROTOEND struct _Node { struct _Node * left ; struct _Node * right ; Atom a ; unsigned int fingerPrint ; char * string ; } NodeRec , * NodePtr ;'. The checking continues anyway. [simplifyTypedef] libxkbfile-1.1.0/src/xkbatom.c:136:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NodeRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbatom.c:188:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NodePtr [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbatom.c:197:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbatom.c:210:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbatom.c:224:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/srvmisc.c:50:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbAllMapComponentsMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/srvmisc.c:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkmSymbolsMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/srvmisc.c:137:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/XKBfileInt.h:79:0: debug: Failed to parse 'typedef _XFUNCPROTOEND struct { int line_num ; int sz_line ; int num_line ; char buf [ 128 ] ; char * line ; } InputLine ;'. The checking continues anyway. [simplifyTypedef] libxkbfile-1.1.0/src/srvmisc.c:41:31: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/srvmisc.c:129:51: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbatom.c:189:5: warning: If memory allocation fails, then there is a possible null pointer dereference: nodeTable [nullPointerOutOfMemory] libxkbfile-1.1.0/src/xkbatom.c:188:29: note: Assuming allocation function fails libxkbfile-1.1.0/src/xkbatom.c:188:17: note: Assignment 'nodeTable=(NodePtr*)malloc(100*sizeof(NodePtr))', assigned value is 0 libxkbfile-1.1.0/src/xkbatom.c:189:5: note: Null pointer dereference libxkbfile-1.1.0/src/xkbatom.c:222:11: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbatom.c:235:23: style: Parameter 'dpy' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbbells.c:87:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbBI_NumBells [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbbells.c:98:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbBI_NumBells [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:50:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumVirtualMods [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:79:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:119:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:140:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:178:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:270:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:321:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:365:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:385:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:489:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumIndicators [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:569:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_points [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:671:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:741:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:802:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:918:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:1065:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbdraw.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbDrawableRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbdraw.c:79:23: style: Local variable 'section' shadows outer argument [shadowArgument] libxkbfile-1.1.0/src/xkbdraw.c:72:59: note: Shadowed declaration libxkbfile-1.1.0/src/xkbdraw.c:79:23: note: Shadow variable libxkbfile-1.1.0/src/maprules.c:139:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:316:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumKbdGroups [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:489:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_Option [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:569:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumKbdGroups [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:641:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_PendingMatch [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:745:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_PendingMatch [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:760:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_PendingMatch [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:771:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_PendingMatch [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:791:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_Option [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:916:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbComponentNamesRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:949:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_RuleRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:973:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_GroupRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1000:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_GroupRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1070:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_VarDescRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1107:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_DescribeVarsRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1137:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_VarDescRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1270:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_RulesRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1288:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_RulesRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1319:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1374:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRF_RuleRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1408:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XKB_RF_NAMES_PROP_ATOM [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/maprules.c:1478:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XKB_RF_NAMES_PROP_ATOM [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:58:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_A [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:192:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:243:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbFileInfo [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:431:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BadImplementation [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:444:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:477:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbGBN_TypesMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:516:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbClientMapMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbmisc.c:561:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkmKeyNamesMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:67:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:79:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_Integer [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:171:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_EOL [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:255:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbRepeatKeysMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:293:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbAX_SKPressFBMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:329:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbConfigUnboundModRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:394:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:424:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_MergeRemove [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:481:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_Equals [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:862:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:880:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbComponentNamesMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:922:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbAllControlsMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1045:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_Destroy [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1140:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbConfigFieldsRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1195:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_Apply [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbConfigRtrnPrivRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1226:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCF_Destroy [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1251:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbConfigRtrnRec [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/cout.c:146:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/cout.c:158:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/cout.c:107:33: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/cout.c:150:19: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/cout.c:996:42: style: Parameter 'result' can be declared as pointer to const. However it seems that 'WriteCHdrLayout' is a callback function, if 'result' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/cout.c:1055:16: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/cout.c:996:42: note: Parameter 'result' can be declared as pointer to const libxkbfile-1.1.0/src/cout.c:1010:45: style: Parameter 'result' can be declared as pointer to const. However it seems that 'WriteCHdrSemantics' is a callback function, if 'result' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/cout.c:1052:16: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/cout.c:1010:45: note: Parameter 'result' can be declared as pointer to const libxkbfile-1.1.0/src/cout.c:1024:42: style: Parameter 'result' can be declared as pointer to const. However it seems that 'WriteCHdrKeymap' is a callback function, if 'result' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/cout.c:1058:16: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/cout.c:1024:42: note: Parameter 'result' can be declared as pointer to const libxkbfile-1.1.0/src/xkbmisc.c:243:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkbmisc.c:383:15: style: Variable 'wantNames' is reassigned a value before the old one has been used. [redundantAssignment] libxkbfile-1.1.0/src/xkbmisc.c:350:23: note: wantNames is assigned libxkbfile-1.1.0/src/xkbmisc.c:383:15: note: wantNames is overwritten libxkbfile-1.1.0/src/xkbmisc.c:221:25: style: Parameter 'priv' can be declared as pointer to const. However it seems that '_AddIncl' is a callback function, if 'priv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/xkbmisc.c:416:57: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/xkbmisc.c:221:25: note: Parameter 'priv' can be declared as pointer to const libxkbfile-1.1.0/src/xkbmisc.c:437:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbout.c:64:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumVirtualMods [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:101:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbXKBFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:123:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:192:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:266:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbIM_NoExplicit [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:312:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:398:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:612:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbMessage [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:651:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbMessage [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:743:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:779:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbXKBFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:880:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:1101:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:92:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumVirtualMods [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:157:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:242:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:270:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:363:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:381:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:413:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSI_OpMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:455:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbIM_UseAnyMods [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:497:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbMessage [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:544:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbAllNewKeyboardEventsMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:639:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:691:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbXKMFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:756:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:783:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:839:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_LastAction [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:888:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_UseModMapMods [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:930:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_GroupAbsolute [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:958:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_MoveAbsoluteX [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:994:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_LockPtrBtn [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1023:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_AffectDfltBtn [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1043:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_ISODfltIsGroup [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1127:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_SwitchAbsolute [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbAllBooleanCtrlsMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1251:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_MessageOnPress [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1292:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1344:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSA_LockDeviceBtn [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1430:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbtext.c:1459:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbCFile [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbout.c:141:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:154:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:239:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:356:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:417:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:548:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:557:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:920:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbout.c:93:41: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbout.c:217:19: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbout.c:605:11: style: Variable 'iStr' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbout.c:645:20: style: Variable 'i_str' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbout.c:737:20: style: Variable 'i_str' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbout.c:751:19: style: Variable 'over' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbout.c:751:26: style: Variable 'under' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/XKBfileInt.h:79:0: debug: Failed to parse 'typedef _XFUNCPROTOEND struct _XkmInfo { unsigned short bound_vmods ; unsigned short named_vmods ; unsigned char num_bound ; unsigned char group_compat ; unsigned short num_group_compat ; unsigned short num_leds ; int total_vmodmaps ; } XkmInfo ;'. The checking continues anyway. [simplifyTypedef] libxkbfile-1.1.0/src/xkmout.c:140:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:182:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumVirtualMods [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:211:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:245:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:275:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:346:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmKeyTypeDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:394:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:460:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmSymInterpretDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:494:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:557:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:684:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumIndicators [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:729:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbNumIndicators [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:768:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmAnyDoodadDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:786:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmSectionDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:838:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmGeometryDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:938:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:974:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmOverlayDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:1014:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmSectionDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:1085:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmGeometryDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:1314:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmSectionInfo [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:1397:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkbconfig.c:1231:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkbconfig.c:1234:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkbconfig.c:1251:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkbconfig.c:1344:5: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] libxkbfile-1.1.0/src/xkbconfig.c:251:44: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbconfig.c:289:29: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbconfig.c:324:58: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbconfig.c:1296:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbconfig.c:121:30: style: Variable 'stop' is assigned a value that is never used. [unreadVariable] libxkbfile-1.1.0/src/xkbtext.c:1159:64: style: Condition 'nOut>0' is always false [knownConditionTrueFalse] libxkbfile-1.1.0/src/xkbtext.c:1156:20: note: Assignment 'nOut=0', assigned value is 0 libxkbfile-1.1.0/src/xkbtext.c:1159:64: note: Condition 'nOut>0' is always false libxkbfile-1.1.0/src/xkbtext.c:124:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbtext.c:350:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbtext.c:797:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbtext.c:813:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbtext.c:1299:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libxkbfile-1.1.0/src/xkbtext.c:124:18: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] libxkbfile-1.1.0/src/xkbtext.c:123:24: note: Assuming allocation function fails libxkbfile-1.1.0/src/xkbtext.c:123:15: note: Assignment 'tmp=(char*)malloc(20*sizeof(char))', assigned value is 0 libxkbfile-1.1.0/src/xkbtext.c:124:18: note: Null pointer dereference libxkbfile-1.1.0/src/xkbtext.c:127:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] libxkbfile-1.1.0/src/xkbtext.c:123:24: note: Assuming allocation function fails libxkbfile-1.1.0/src/xkbtext.c:123:15: note: Assignment 'tmp=(char*)malloc(20*sizeof(char))', assigned value is 0 libxkbfile-1.1.0/src/xkbtext.c:127:18: note: Null pointer dereference libxkbfile-1.1.0/src/xkbtext.c:1476:19: style: Local variable 'tmp' shadows outer variable [shadowVariable] libxkbfile-1.1.0/src/xkbtext.c:1457:21: note: Shadowed declaration libxkbfile-1.1.0/src/xkbtext.c:1476:19: note: Shadow variable libxkbfile-1.1.0/src/xkbtext.c:151:11: style: Variable 'mm' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:171:15: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:377:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbtext.c:872:27: style: Parameter 'dpy' can be declared as pointer to const. However it seems that 'CopyNoActionArgs' is a callback function, if 'dpy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/xkbtext.c:1412:5: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/xkbtext.c:872:27: note: Parameter 'dpy' can be declared as pointer to const libxkbfile-1.1.0/src/xkbtext.c:872:59: style: Parameter 'action' can be declared as pointer to const. However it seems that 'CopyNoActionArgs' is a callback function, if 'action' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/xkbtext.c:1412:5: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/xkbtext.c:872:59: note: Parameter 'action' can be declared as pointer to const libxkbfile-1.1.0/src/xkbtext.c:873:24: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'CopyNoActionArgs' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/xkbtext.c:1412:5: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/xkbtext.c:873:24: note: Parameter 'buf' can be declared as pointer to const libxkbfile-1.1.0/src/xkbtext.c:873:34: style: Parameter 'sz' can be declared as pointer to const. However it seems that 'CopyNoActionArgs' is a callback function, if 'sz' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libxkbfile-1.1.0/src/xkbtext.c:1412:5: note: You might need to cast the function pointer here libxkbfile-1.1.0/src/xkbtext.c:873:34: note: Parameter 'sz' can be declared as pointer to const libxkbfile-1.1.0/src/xkbtext.c:979:22: style: Variable 'act' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1246:23: style: Variable 'act' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1283:21: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1293:15: style: Variable 'kn' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1331:25: style: Variable 'act' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1369:19: style: Variable 'act' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1455:47: style: Parameter 'behavior' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbtext.c:1494:19: style: Variable 'kn' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkbtext.c:1542:34: style: Parameter 'def' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkbtext.c:1512:30: error: Uninitialized variable: buf [legacyUninitvar] libxkbfile-1.1.0/src/xkbtext.c:1100:17: style: Variable 'nOut' is assigned a value that is never used. [unreadVariable] libxkbfile-1.1.0/src/xkbtext.c:1221:17: style: Variable 'nOut' is assigned a value that is never used. [unreadVariable] libxkbfile-1.1.0/src/maprules.c:298:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:463:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:549:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:809:11: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] libxkbfile-1.1.0/src/maprules.c:828:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] libxkbfile-1.1.0/src/maprules.c:840:15: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] libxkbfile-1.1.0/src/maprules.c:916:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:963:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:985:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:999:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1000:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1007:21: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1013:21: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1125:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1137:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1142:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libxkbfile-1.1.0/src/maprules.c:1181:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libxkbfile-1.1.0/src/maprules.c:1374:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1420:12: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/maprules.c:1431:19: warning: Either the condition 'out' is redundant or there is possible null pointer dereference: out. [nullPointerRedundantCheck] libxkbfile-1.1.0/src/maprules.c:1429:9: note: Assuming that condition 'out' is not redundant libxkbfile-1.1.0/src/maprules.c:1431:19: note: Null pointer dereference libxkbfile-1.1.0/src/maprules.c:1428:15: warning: Either the condition 'out' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] libxkbfile-1.1.0/src/maprules.c:1429:9: note: Assuming that condition 'out' is not redundant libxkbfile-1.1.0/src/maprules.c:1428:15: note: Null pointer addition libxkbfile-1.1.0/src/maprules.c:311:27: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/maprules.c:390:18: style: Parameter 'wanted' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:392:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/maprules.c:519:27: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:652:40: style: Parameter 'group_name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:652:58: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:1024:29: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:1024:41: style: Parameter 'locale' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:1100:52: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:1229:36: style: Parameter 'base' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:1229:48: style: Parameter 'locale' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:1405:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/maprules.c:1462:40: style: Parameter 'rules_file' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/maprules.c:189:35: style: Variable 'inComment' is assigned a value that is never used. [unreadVariable] libxkbfile-1.1.0/src/maprules.c:1454:13: style: Variable 'out' is assigned a value that is never used. [unreadVariable] libxkbfile-1.1.0/src/xkmread.c:88:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:119:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:137:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:169:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbVirtualModsMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:228:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:290:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:433:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:511:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:564:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:608:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbSymbolsNameMask [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:768:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmDoodadDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:827:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmOverlayDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:868:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmSectionDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:947:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmGeometryDesc [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:1078:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkmFileVersion [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:1097:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkmFileVersion [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:1129:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:1145:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:1224:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xkmSectionInfo [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmread.c:1256:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _XkbErrCode [valueFlowBailoutIncompleteVar] libxkbfile-1.1.0/src/xkmout.c:585:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:909:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:969:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:970:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:971:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:1113:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:1403:5: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmout.c:519:31: style: Local variable 'name' shadows outer variable [shadowVariable] libxkbfile-1.1.0/src/xkmout.c:490:11: note: Shadowed declaration libxkbfile-1.1.0/src/xkmout.c:519:31: note: Shadow variable libxkbfile-1.1.0/src/xkmout.c:85:38: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:105:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:129:33: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:171:46: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:202:30: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:234:43: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:238:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] libxkbfile-1.1.0/src/xkmout.c:265:30: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:313:43: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:382:31: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:425:44: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:425:61: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:483:29: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:546:42: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:546:59: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:667:32: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:715:45: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:715:62: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:900:45: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmout.c:956:46: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:71:13: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmread.c:668:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmread.c:669:9: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] libxkbfile-1.1.0/src/xkmread.c:671:26: style: Local variable 'g' shadows outer variable [shadowVariable] libxkbfile-1.1.0/src/xkmread.c:592:21: note: Shadowed declaration libxkbfile-1.1.0/src/xkmread.c:671:26: note: Shadow variable libxkbfile-1.1.0/src/xkmread.c:161:45: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:206:42: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:275:42: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:419:43: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:501:44: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:590:41: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:1124:30: style: Parameter 'finfo' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:1137:37: style: Parameter 'toc' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:1207:52: style: Parameter 'toc' can be declared as pointer to const [constParameterPointer] libxkbfile-1.1.0/src/xkmread.c:1250:25: style: Variable 'nRead' is assigned a value that is never used. [unreadVariable] diff: DONE