xen-4.19.0-4.fc42
List of Findings
Error: SHELLCHECK_WARNING (CWE-571): [#def1]
/etc/xen/scripts/block:101:13: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def2]
/etc/xen/scripts/block:130:17: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def3]
/etc/xen/scripts/block:158:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/etc/xen/scripts/block:250:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-563): [#def5]
/etc/xen/scripts/block:261:5: warning[SC2034]: FRONTEND_UUID appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-758): [#def6]
/etc/xen/scripts/block-common.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-457): [#def7]
/etc/xen/scripts/block-common.sh:23:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-571): [#def8]
/etc/xen/scripts/block-common.sh:111:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def9]
/etc/xen/scripts/block-common.sh:113:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def10]
/etc/xen/scripts/block-common.sh:115:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def11]
/etc/xen/scripts/block-common.sh:116:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def12]
/etc/xen/scripts/block-common.sh:118:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-477): [#def13]
/etc/xen/scripts/block-common.sh:123:35: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def14]
/etc/xen/scripts/block-common.sh:123:63: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def15]
/etc/xen/scripts/block-common.sh:124:32: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-140): [#def16]
/etc/xen/scripts/block-drbd-probe:34:26: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-140): [#def17]
/etc/xen/scripts/block-drbd-probe:35:26: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-88): [#def18]
/etc/xen/scripts/block-drbd-probe:39:26: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-88): [#def19]
/etc/xen/scripts/block-drbd-probe:50:26: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
Error: SHELLCHECK_WARNING (CWE-140): [#def20]
/etc/xen/scripts/block-dummy:39:13: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-457): [#def21]
/etc/xen/scripts/block-enbd:13:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-149): [#def22]
/etc/xen/scripts/block-iscsi:31:26: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING: [#def23]
/etc/xen/scripts/block-iscsi:76:18: error[SC2144]: -e doesn't work with globs. Use a for loop.
Error: SHELLCHECK_WARNING (CWE-398): [#def24]
/etc/xen/scripts/block-iscsi:79:20: warning[SC2050]: This expression is constant. Did you forget the $ on a variable?
Error: SHELLCHECK_WARNING (CWE-457): [#def25]
/etc/xen/scripts/block-nbd:13:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-149): [#def26]
/etc/xen/scripts/block-tap:36:26: warning[SC2027]: The surrounding quotes actually unquote this. Remove or escape them.
Error: SHELLCHECK_WARNING (CWE-140): [#def27]
/etc/xen/scripts/block-tap:50:13: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING (CWE-156): [#def28]
/etc/xen/scripts/block-tap:119:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def29]
/etc/xen/scripts/block-tap:132:19: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def30]
/etc/xen/scripts/block-tap:142:27: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING: [#def31]
/etc/xen/scripts/block-tap:143:53: error[SC2286]: This empty string is interpreted as a command name. Double check syntax (or use 'true' as a no-op).
Error: SHELLCHECK_WARNING (CWE-457): [#def32]
/etc/xen/scripts/block-tap:173:30: warning[SC2154]: _lockfd is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def33]
/etc/xen/scripts/block-tap:267:1: warning[SC2034]: FRONTEND_UUID appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def34]
/etc/xen/scripts/colo-proxy-setup:9:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-477): [#def35]
/etc/xen/scripts/colo-proxy-setup:9:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def36]
/etc/xen/scripts/colo-proxy-setup:26:27: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def37]
/etc/xen/scripts/external-device-migrate:71:23: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def38]
/etc/xen/scripts/external-device-migrate:72:23: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def39]
/etc/xen/scripts/external-device-migrate:73:23: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-569): [#def40]
/etc/xen/scripts/external-device-migrate:90:35: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-569): [#def41]
/etc/xen/scripts/external-device-migrate:93:35: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-758): [#def42]
/etc/xen/scripts/hotplugpath.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-563): [#def43]
/etc/xen/scripts/hotplugpath.sh:1:1: warning[SC2034]: sbindir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def44]
/etc/xen/scripts/hotplugpath.sh:2:1: warning[SC2034]: bindir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def45]
/etc/xen/scripts/hotplugpath.sh:3:1: warning[SC2034]: LIBEXEC appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def46]
/etc/xen/scripts/hotplugpath.sh:4:1: warning[SC2034]: LIBEXEC_BIN appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def47]
/etc/xen/scripts/hotplugpath.sh:5:1: warning[SC2034]: libdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def48]
/etc/xen/scripts/hotplugpath.sh:6:1: warning[SC2034]: SHAREDIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def49]
/etc/xen/scripts/hotplugpath.sh:7:1: warning[SC2034]: XENFIRMWAREDIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def50]
/etc/xen/scripts/hotplugpath.sh:8:1: warning[SC2034]: XEN_CONFIG_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def51]
/etc/xen/scripts/hotplugpath.sh:9:1: warning[SC2034]: XEN_SCRIPT_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def52]
/etc/xen/scripts/hotplugpath.sh:10:1: warning[SC2034]: XEN_LOCK_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def53]
/etc/xen/scripts/hotplugpath.sh:11:1: warning[SC2034]: XEN_RUN_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def54]
/etc/xen/scripts/hotplugpath.sh:12:1: warning[SC2034]: XEN_PAGING_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def55]
/etc/xen/scripts/hotplugpath.sh:13:1: warning[SC2034]: XEN_DUMP_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def56]
/etc/xen/scripts/hotplugpath.sh:14:1: warning[SC2034]: XEN_LOG_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def57]
/etc/xen/scripts/hotplugpath.sh:15:1: warning[SC2034]: XEN_LIB_DIR appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def58]
/etc/xen/scripts/hotplugpath.sh:16:1: warning[SC2034]: XEN_RUN_STORED appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-138): [#def59]
/etc/xen/scripts/launch-xenstore:42:25: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-758): [#def60]
/etc/xen/scripts/locking.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-477): [#def61]
/etc/xen/scripts/locking.sh:28:32: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-758): [#def62]
/etc/xen/scripts/logging.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-138): [#def63]
/etc/xen/scripts/logging.sh:20:55: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-457): [#def64]
/etc/xen/scripts/remus-netbuf-setup:82:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-477): [#def65]
/etc/xen/scripts/remus-netbuf-setup:82:28: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-571): [#def66]
/etc/xen/scripts/remus-netbuf-setup:121:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def67]
/etc/xen/scripts/remus-netbuf-setup:132:19: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def68]
/etc/xen/scripts/remus-netbuf-setup:200:15: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def69]
/etc/xen/scripts/vif-bridge:79:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-457): [#def70]
/etc/xen/scripts/vif-bridge:81:36: warning[SC2154]: dev is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def71]
/etc/xen/scripts/vif-bridge:82:35: warning[SC2154]: type_if is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-477): [#def72]
/etc/xen/scripts/vif-bridge:95:23: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-758): [#def73]
/etc/xen/scripts/vif-common.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-457): [#def74]
/etc/xen/scripts/vif-common.sh:24:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-457): [#def75]
/etc/xen/scripts/vif-common.sh:47:13: warning[SC2154]: vif is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def76]
/etc/xen/scripts/vif-common.sh:141:10: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-477): [#def77]
/etc/xen/scripts/vif-common.sh:157:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def78]
/etc/xen/scripts/vif-common.sh:169:34: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def79]
/etc/xen/scripts/vif-common.sh:169:60: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-571): [#def80]
/etc/xen/scripts/vif-common.sh:238:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-156): [#def81]
/etc/xen/scripts/vif-nat:64:8: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-571): [#def82]
/etc/xen/scripts/vif-nat:96:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def83]
/etc/xen/scripts/vif-nat:97:13: warning[SC2154]: dev is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-571): [#def84]
/etc/xen/scripts/vif-nat:108:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def85]
/etc/xen/scripts/vif-nat:121:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def86]
/etc/xen/scripts/vif-nat:159:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-571): [#def87]
/etc/xen/scripts/vif-openvswitch:49:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def88]
/etc/xen/scripts/vif-openvswitch:50:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def89]
/etc/xen/scripts/vif-openvswitch:51:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def90]
/etc/xen/scripts/vif-openvswitch:53:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def91]
/etc/xen/scripts/vif-openvswitch:55:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def92]
/etc/xen/scripts/vif-openvswitch:61:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-571): [#def93]
/etc/xen/scripts/vif-openvswitch:80:11: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-457): [#def94]
/etc/xen/scripts/vif-openvswitch:88:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-457): [#def95]
/etc/xen/scripts/vif-openvswitch:102:7: warning[SC2154]: type_if is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-477): [#def96]
/etc/xen/scripts/vif-openvswitch:107:23: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-457): [#def97]
/etc/xen/scripts/vif-route:24:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-457): [#def98]
/etc/xen/scripts/vif-route:26:18: warning[SC2154]: dev is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def99]
/etc/xen/scripts/vif-route:38:7: warning[SC2154]: type_if is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def100]
/etc/xen/scripts/vif-route:52:13: warning[SC2154]: ip is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def101]
/etc/xen/scripts/vif-setup:3:10: warning[SC2154]: script is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-569): [#def102]
/etc/xen/scripts/vif-setup:5:18: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-569): [#def103]
/etc/xen/scripts/vif-setup:7:38: warning[SC2048]: Use "$@" (with quotes) to prevent whitespace problems.
Error: SHELLCHECK_WARNING (CWE-457): [#def104]
/etc/xen/scripts/vscsi:12:7: warning[SC2154]: command is referenced but not assigned (for output from commands, use "$(command ...)" ).
Error: SHELLCHECK_WARNING (CWE-758): [#def105]
/etc/xen/scripts/xen-hotplug-common.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-457): [#def106]
/etc/xen/scripts/xen-hotplug-common.sh:25:14: warning[SC2154]: bindir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def107]
/etc/xen/scripts/xen-hotplug-common.sh:25:24: warning[SC2154]: sbindir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def108]
/etc/xen/scripts/xen-hotplug-common.sh:26:25: warning[SC2154]: libdir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def109]
/etc/xen/scripts/xen-hotplug-common.sh:28:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-138): [#def110]
/etc/xen/scripts/xen-hotplug-common.sh:43:18: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-138): [#def111]
/etc/xen/scripts/xen-hotplug-common.sh:47:34: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-571): [#def112]
/etc/xen/scripts/xen-hotplug-common.sh:64:9: warning[SC2155]: Declare and assign separately to avoid masking return values.
Error: SHELLCHECK_WARNING (CWE-138): [#def113]
/etc/xen/scripts/xen-hotplug-common.sh:65:42: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-138): [#def114]
/etc/xen/scripts/xen-hotplug-common.sh:87:22: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-138): [#def115]
/etc/xen/scripts/xen-hotplug-common.sh:98:42: error[SC2145]: Argument mixes string and array. Use * or separate argument.
Error: SHELLCHECK_WARNING (CWE-398): [#def116]
/etc/xen/scripts/xen-network-common.sh:57:8: error[SC1073]: Couldn't parse this test expression. Fix to allow more checks.
Error: SHELLCHECK_WARNING (CWE-398): [#def117]
/etc/xen/scripts/xen-network-common.sh:57:16: error[SC1072]: Expected comparison operator (don't wrap commands in []/[[]]). Fix any mentioned problems and try again.
Error: SHELLCHECK_WARNING (CWE-758): [#def118]
/etc/xen/scripts/xen-script-common.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: SHELLCHECK_WARNING (CWE-563): [#def119]
/etc/xen/scripts/xen-script-common.sh:39:7: warning[SC2034]: command appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def120]
/usr/libexec/xen/bin/xendomains:32:5: warning[SC2154]: sbindir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def121]
/usr/libexec/xen/bin/xendomains:37:7: warning[SC2319]: This $? refers to a condition, not a command. Assign to a variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-398): [#def122]
/usr/libexec/xen/bin/xendomains:80:9: warning[SC1010]: Use semicolon or linefeed before 'done' (or quote to make it literal).
Error: SHELLCHECK_WARNING: [#def123]
/usr/libexec/xen/bin/xendomains:132:9: error[SC2151]: Only one integer 0-255 can be returned. Use stdout for other data.
Error: SHELLCHECK_WARNING (CWE-156): [#def124]
/usr/libexec/xen/bin/xendomains:173:23: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def125]
/usr/libexec/xen/bin/xendomains:208:15: warning[SC2154]: bindir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def126]
/usr/libexec/xen/bin/xendomains:217:19: warning[SC2076]: Remove quotes from right-hand side of =~ to match as a regex rather than literally.
Error: SHELLCHECK_WARNING: [#def127]
/usr/libexec/xen/bin/xendomains:219:21: warning[SC2076]: Remove quotes from right-hand side of =~ to match as a regex rather than literally.
Error: SHELLCHECK_WARNING: [#def128]
/usr/libexec/xen/bin/xendomains:221:21: warning[SC2076]: Remove quotes from right-hand side of =~ to match as a regex rather than literally.
Error: SHELLCHECK_WARNING (CWE-477): [#def129]
/usr/libexec/xen/bin/xendomains:229:18: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-691): [#def130]
/usr/libexec/xen/bin/xendomains:243:7: warning[SC2254]: Quote expansions in case patterns to match literally rather than as a glob.
Error: SHELLCHECK_WARNING (CWE-156): [#def131]
/usr/libexec/xen/bin/xendomains:258:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def132]
/usr/libexec/xen/bin/xendomains:276:35: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def133]
/usr/libexec/xen/bin/xendomains:310:17: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-457): [#def134]
/usr/libexec/xen/bin/xendomains:328:11: warning[SC2154]: state is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def135]
/usr/libexec/xen/bin/xendomains:348:5: warning[SC2034]: no appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def136]
/usr/libexec/xen/bin/xendomains:358:10: warning[SC2034]: PSF appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def137]
/usr/libexec/xen/bin/xendomains:358:14: warning[SC2034]: PSUID appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def138]
/usr/libexec/xen/bin/xendomains:358:26: warning[SC2034]: PSPPID appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def139]
/usr/libexec/xen/bin/xendomains:403:17: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def140]
/usr/libexec/xen/bin/xendomains:421:13: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def141]
/usr/libexec/xen/bin/xendomains:441:13: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def142]
/usr/libexec/xen/bin/xendomains:459:13: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING: [#def143]
/usr/libexec/xen/bin/xendomains:478:16: warning[SC2320]: This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.
Error: SHELLCHECK_WARNING (CWE-691): [#def144]
/usr/libexec/xen/bin/xendomains:497:7: warning[SC2254]: Quote expansions in case patterns to match literally rather than as a glob.
Error: SHELLCHECK_WARNING (CWE-563): [#def145]
/usr/libexec/xen/bin/xendomains:514:2: warning[SC2034]: found appears unused. Verify use (or export if used externally).
Error: GCC_ANALYZER_WARNING (CWE-688): [#def146]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c: scope_hint: In function ‘copy_bufs’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c:371:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘target’ where non-null expected
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c:17: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def147]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c:377:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘target’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def148]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c:389:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def149]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c: scope_hint: In function ‘init_9pfront’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/9pfront.c:1086:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dev’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def150]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/arch/x86/gnttab.c:70: warning[uninitvar]: Uninitialized variable: frames
Error: GCC_ANALYZER_WARNING (CWE-787): [#def151]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/arch/x86/mm.c: scope_hint: In function ‘clear_bootstrap’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/arch/x86/mm.c:746:5: warning[-Wanalyzer-out-of-bounds]: buffer overflow
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/mm.h:41: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h:39: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/hypervisor.h:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/x86/os.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/arch/x86/mm.c:38: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/arch/x86/mm.c:746:5: note: write of 4095 bytes to beyond the end of ‘_text’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def152]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/arch/x86/mm.c:753:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pgt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c: scope_hint: In function ‘xencons_ring_avail’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c:320:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intf’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/lib.h:132: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c:43: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c: scope_hint: In function ‘xencons_ring_avail’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c: scope_hint: In function ‘xencons_ring_recv’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c:340:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intf’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c: scope_hint: In function ‘xencons_ring_recv’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def155]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c: scope_hint: In function ‘xencons_ring_init’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/console.c:368:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dev’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-835): [#def156]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/gnttab.c: scope_hint: In function ‘gnttab_end_transfer’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/gnttab.c:138:12: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: CPPCHECK_WARNING (CWE-758): [#def157]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/kernel.c:71: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-369): [#def158]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/math.c:163: error[zerodiv]: Division by zero.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def159]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/sys.c: scope_hint: In function ‘opendir’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/sys.c:678:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/sys.c: scope_hint: In function ‘sparse’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/sys.c:1531:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mfns’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/mm.h:41: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/x86/x86_64/hypercall-x86_64.h:39: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/hypervisor.h:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/x86/os.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/sys.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def161]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/xs.c: scope_hint: In function ‘xs_talkv’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/xs.c:143:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-131): [#def162]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/xs.c: scope_hint: In function ‘xs_directory’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/xs.c:193:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/lib/xs.c:200:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entries’
Error: CPPCHECK_WARNING (CWE-570): [#def164]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/main.c:70: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def165]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/main.c: scope_hint: In function ‘call_main’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/main.c:70:61: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:407:27: warning[-Wanalyzer-malloc-leak]: leak of ‘xenbus_read(0, "domid", &dom_id)’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘xenbus_get_self_id’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def167]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘errmsg’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:629:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘res’ where non-null expected
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘errmsg’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def168]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘xenbus_read’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:693:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘res’ where non-null expected
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘xenbus_read’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘xenbus_get_self_id’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:992:1: warning[-Wanalyzer-malloc-leak]: leak of ‘dom_id’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/console.h:44: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/lib.h:132: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:22: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:27: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/waittypes.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/sys/lock.h:8: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include/sys/_types.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include/sys/types.h:61: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include/sys/time.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/sys/time.h:24: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/time.h:49: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/cross-root-x86_64/x86_64-xen-elf/include/sys/stat.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/posix/sys/stat.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/include/lib.h:70: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c: scope_hint: In function ‘xenbus_get_self_id’
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:32: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/extras/mini-os/xenbus.c:30: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def170]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘newentry’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1170:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def171]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_to_definition’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1186:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def172]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1190:34: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*entry.code + (long unsigned int)*entry.code_end * 8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def173]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c: scope_hint: In function ‘argz_create_sep’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:68:1: warning[-Wanalyzer-malloc-leak]: leak of ‘running’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def174]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c: scope_hint: In function ‘argz_replace’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:61:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_argz_iter’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def175]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:70:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_argz_iter’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def176]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_argz_iter’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def177]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c: scope_hint: In function ‘envz_merge’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:33:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name_str’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: warning[-Wanalyzer-malloc-leak]: leak of ‘name_str’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def179]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:46:23: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘name_str’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: COMPILER_WARNING: [#def180]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/errno/errno.c:11:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def181]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c: scope_hint: In function ‘__part_load_locale’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:160:15: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c: scope_hint: In function ‘split_lines’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:173:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
Error: COMPILER_WARNING: [#def183]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:22:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def184]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:23:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def185]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:24:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def186]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:25:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def187]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:179:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def188]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:222:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def189]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:256:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def190]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:267:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: CPPCHECK_WARNING (CWE-570): [#def191]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:36: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def192]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c: scope_hint: In function ‘__libc_init_array’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:36:31: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: CPPCHECK_WARNING (CWE-570): [#def193]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:42: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def194]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:42:28: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: CPPCHECK_WARNING (CWE-570): [#def195]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:54: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def196]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c: scope_hint: In function ‘__libc_fini_array’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:54:28: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: COMPILER_WARNING: [#def197]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:106:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-476): [#def198]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c: scope_hint: In function ‘hash_seq’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:814:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def199]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c: scope_hint: In function ‘hash_realloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:912:24: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c: scope_hint: In function ‘alloc_segs’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:962:23: warning[-Wanalyzer-malloc-leak]: leak of ‘store’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:57: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:956:45: note: in expansion of macro ‘SSHIFT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def201]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:73: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c: scope_hint: In function ‘overflow_page’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.h:171:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘freep’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: note: in expansion of macro ‘SETBIT’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:727:33: note: in expansion of macro ‘BSIZE’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: note: in expansion of macro ‘SETBIT’
Error: COMPILER_WARNING (CWE-457): [#def202]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash.h:171:29: warning[-Wmaybe-uninitialized]: ‘freep’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: note: in expansion of macro ‘SETBIT’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c: scope_hint: In function ‘__add_ovflpage’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:670:21: note: ‘freep’ was declared here
Error: COMPILER_WARNING (CWE-691): [#def203]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_bigkey.c: scope_hint: In function ‘__big_insert’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_bigkey.c:126:20: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: COMPILER_WARNING (CWE-457): [#def204]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c: scope_hint: In function ‘__get_buf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:153:29: warning[-Wmaybe-uninitialized]: ‘segment_ndx’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:122:22: note: ‘segment_ndx’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def205]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:153:29: warning[-Wmaybe-uninitialized]: ‘segp’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:123:17: note: ‘segp’ was declared here
Error: COMPILER_WARNING (CWE-1164): [#def206]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_func.c:69:1: warning[-Wunused-function]: ‘hash1’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def207]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_func.c:89:1: warning[-Wunused-function]: ‘hash2’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def208]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_func.c:118:1: warning[-Wunused-function]: ‘hash3’ defined but not used
Error: COMPILER_WARNING: [#def209]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_log2.c:47:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-131): [#def210]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c: scope_hint: In function ‘__ibitmap’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:636:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-131): [#def211]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c: scope_hint: In function ‘fetch_bitmap’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:918:31: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:918:61: note: in expansion of macro ‘BSIZE’
Error: COMPILER_WARNING (CWE-563): [#def212]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c:126:32: warning[-Wunused-variable]: unused variable ‘ie’
Error: COMPILER_WARNING (CWE-563): [#def213]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c: scope_hint: In function ‘hdestroy_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c:127:16: warning[-Wunused-variable]: unused variable ‘idx’
Error: COMPILER_WARNING: [#def214]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/qsort.c:84:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def215]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/qsort.c:130:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def216]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/qsort.c:142:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def217]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/search/tdestroy.c:29:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING (CWE-681): [#def218]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c: scope_hint: In function ‘_asiprintf_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c:48:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def219]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c: scope_hint: In function ‘asiprintf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c:75:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def220]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c: scope_hint: In function ‘_asprintf_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c:48:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def221]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c: scope_hint: In function ‘asprintf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c:75:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c: scope_hint: In function ‘_fmemopen_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:313:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: COMPILER_WARNING (CWE-681): [#def223]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/fread.c: scope_hint: In function ‘_fread_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/fread.c:182:25: warning[-Wpointer-sign]: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def224]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/fread.c:184:18: warning[-Wpointer-sign]: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness
Error: COMPILER_WARNING (CWE-563): [#def225]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/open_memstream.c: scope_hint: In function ‘_open_memstream_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/open_memstream.c:257:7: warning[-Wunused-variable]: unused variable ‘flags’
Error: COMPILER_WARNING (CWE-681): [#def226]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vasiprintf.c: scope_hint: In function ‘_vasiprintf_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vasiprintf.c:60:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: COMPILER_WARNING (CWE-681): [#def227]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vasprintf.c: scope_hint: In function ‘_vasprintf_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vasprintf.c:60:13: warning[-Wpointer-sign]: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness
Error: COMPILER_WARNING: [#def228]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:229:12: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def229]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c: scope_hint: In function ‘__svfscanf_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:302:3: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def230]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:506:11: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def231]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:512:11: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def232]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:634:11: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: CPPCHECK_WARNING (CWE-476): [#def233]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:1403: error[nullPointer]: Null pointer dereference
Error: COMPILER_WARNING (CWE-681): [#def234]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c: scope_hint: In function ‘btowc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c:22:37: warning[-Wpointer-sign]: pointer targets in passing argument 3 of ‘_mbtowc_r’ differ in signedness
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/include/wchar.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c:1: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/include/stdlib.h:91:9: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
Error: COMPILER_WARNING: [#def235]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv.c: scope_hint: In function ‘getenv’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv.c:89:3: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def236]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv_r.c: scope_hint: In function ‘_getenv_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv_r.c:133:3: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def237]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:722:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-457): [#def238]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c: scope_hint: In function ‘enormlz’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:2490:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[2]’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c: scope_hint: In function ‘asctoeg’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:20: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sp’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def240]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3329:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yy[2]’
Error: COMPILER_WARNING: [#def241]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mallocr.c:1014:41: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mallocr.c:3412:13: note: in expansion of macro ‘malloc_update_mallinfo’
Error: COMPILER_WARNING: [#def242]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mlock.c:47:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def243]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mlock.c:56:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__multadd’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:184:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:83: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:418:9: note: in expansion of macro ‘pow5mult’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:87: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:426:9: note: in expansion of macro ‘multadd’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:143:9: note: in expansion of macro ‘multadd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__s2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:206:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:190:9: note: in expansion of macro ‘s2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:204:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:204:7: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def246]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__i2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:321:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:315:9: note: in expansion of macro ‘i2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:319:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:319:7: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def247]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__multiply’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:413:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:326:9: note: in expansion of macro ‘mult’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:348:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:348:7: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def248]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__lshift’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:512:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__mdiff’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:563:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:548:9: note: in expansion of macro ‘diff’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:577:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:548:9: note: in expansion of macro ‘diff’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:576:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:576:7: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c: scope_hint: In function ‘__d2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:9: note: in expansion of macro ‘d2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:9: note: in expansion of macro ‘d2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: note: in expansion of macro ‘Balloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:821:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:9: note: in expansion of macro ‘d2b’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:93:9: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: note: in expansion of macro ‘Balloc’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:820:11: note: in expansion of macro ‘lo0bits’
Error: CPPCHECK_WARNING (CWE-476): [#def254]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/strtod.c:1176: error[nullPointer]: Null pointer dereference
Error: COMPILER_WARNING: [#def255]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/system.c:64:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def256]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/system.c:121:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING (CWE-686): [#def257]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/wcstoull.c: scope_hint: In function ‘wcstoull’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/wcstoull.c:136:16: warning[-Wimplicit-function-declaration]: implicit declaration of function ‘_wcstoull_r’; did you mean ‘wcstoull’?
Error: COMPILER_WARNING (CWE-681): [#def258]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c: scope_hint: In function ‘wctob’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c:19:31: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘_wctomb_r’ differ in signedness
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/reent.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/include/reent.h:48: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c:1: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/include/stdlib.h:93:9: note: expected ‘char *’ but argument is of type ‘unsigned char *’
Error: COMPILER_WARNING: [#def259]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libc/time/mktime.c:68:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-457): [#def260]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:21: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c: scope_hint: In function ‘__ieee754_rem_pio2’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/fdlibm.h:335:14: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘z’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: note: in expansion of macro ‘SET_LOW_WORD’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: note: in expansion of macro ‘SET_LOW_WORD’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: note: in expansion of macro ‘SET_LOW_WORD’
Error: COMPILER_WARNING (CWE-457): [#def261]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:21: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c: scope_hint: In function ‘__ieee754_rem_pio2’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/fdlibm.h:335:14: warning[-Wmaybe-uninitialized]: ‘z’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: note: in expansion of macro ‘SET_LOW_WORD’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:92:16: note: ‘z’ was declared here
Error: CPPCHECK_WARNING (CWE-758): [#def262]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/s_lrint.c:59: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def263]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/s_lrint.c:75: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def264]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/s_rint.c:50: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def265]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/s_rint.c:62: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def266]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/sf_lrint.c:74: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def267]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/sf_rint.c:40: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def268]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/common/sf_rint.c:54: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-569): [#def269]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_atan2.c: scope_hint: In function ‘__ieee754_atan2’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_atan2.c:76:15: warning[-Wparentheses]: suggest parentheses around arithmetic in operand of ‘|’
Error: CPPCHECK_WARNING (CWE-758): [#def270]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_atan2.c:77: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-457): [#def271]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152: error[legacyUninitvar]: Uninitialized variable: k
Error: GCC_ANALYZER_WARNING (CWE-457): [#def272]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c: scope_hint: In function ‘__ieee754_exp’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘k’
Error: COMPILER_WARNING (CWE-457): [#def273]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: warning[-Wmaybe-uninitialized]: ‘k’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:112:19: note: ‘k’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def274]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:153:37: warning[-Wmaybe-uninitialized]: ‘lo’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:111:21: note: ‘lo’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def275]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c: scope_hint: In function ‘__ieee754_exp’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:153:52: warning[-Wmaybe-uninitialized]: ‘hi’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:111:18: note: ‘hi’ was declared here
Error: CPPCHECK_WARNING (CWE-758): [#def276]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_jn.c:84: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-691): [#def277]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_pow.c: scope_hint: In function ‘__ieee754_pow’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/e_pow.c:122:11: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: CPPCHECK_WARNING (CWE-758): [#def278]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_atan2.c:49: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def279]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:54: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-457): [#def280]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c: scope_hint: In function ‘__ieee754_expf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘k’
Error: COMPILER_WARNING (CWE-457): [#def281]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: warning[-Wmaybe-uninitialized]: ‘k’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:50:19: note: ‘k’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def282]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:88:37: warning[-Wmaybe-uninitialized]: ‘lo’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:49:20: note: ‘lo’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def283]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c: scope_hint: In function ‘__ieee754_expf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:88:59: warning[-Wmaybe-uninitialized]: ‘hi’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:49:17: note: ‘hi’ was declared here
Error: COMPILER_WARNING: [#def284]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_jn.c:23:1: warning[-Wunused-const-variable=]: ‘invsqrtpi’ defined but not used
Error: CPPCHECK_WARNING (CWE-758): [#def285]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_jn.c:58: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-691): [#def286]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_pow.c: scope_hint: In function ‘__ieee754_powf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_pow.c:79:11: warning[-Wdangling-else]: suggest explicit braces to avoid ambiguous ‘else’
Error: COMPILER_WARNING (CWE-563): [#def287]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_sqrt.c: scope_hint: In function ‘__ieee754_sqrtf’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/ef_sqrt.c:32:25: warning[-Wunused-variable]: unused variable ‘sign’
Error: COMPILER_WARNING (CWE-457): [#def288]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c: scope_hint: In function ‘__ieee754_lgamma_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c:307:20: warning[-Wmaybe-uninitialized]: ‘nadj’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c:219:22: note: ‘nadj’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def289]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c: scope_hint: In function ‘__ieee754_lgammaf_r’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c:242:20: warning[-Wmaybe-uninitialized]: ‘nadj’ may be used uninitialized
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c:154:21: note: ‘nadj’ was declared here
Error: COMPILER_WARNING (CWE-483): [#def290]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:190:13: warning[-Wmisleading-indentation]: this ‘for’ clause does not guard...
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:190:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def291]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:209:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iq[<unknown>]’
Error: COMPILER_WARNING (CWE-483): [#def292]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2f’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:80:13: warning[-Wmisleading-indentation]: this ‘for’ clause does not guard...
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:80:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def293]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2f’
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:99:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iq[<unknown>]’
Error: COMPILER_WARNING: [#def294]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/sf_cos.c:19:20: warning[-Wunused-const-variable=]: ‘one’ defined but not used
Error: COMPILER_WARNING: [#def295]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/w_cabs.c:16:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def296]
xen-4.19.0-build/xen-4.19.0/stubdom/newlib-1.16.0/newlib/libm/math/wf_cabs.c:16:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-688): [#def297]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/access.c: scope_hint: In function ‘pci_alloc’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/access.c:73:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘a’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-404): [#def298]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/access.c: scope_hint: In function ‘pci_generic_warn’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/access.c:119:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def299]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/access.c: scope_hint: In function ‘pci_alloc_dev’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/access.c:205:3: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: COMPILER_WARNING (CWE-563): [#def300]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/dump.c: scope_hint: In function ‘dump_validate’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/dump.c:44:7: warning[-Wunused-value]: value computed is not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def301]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/dump.c: scope_hint: In function ‘dump_init’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/dump.c:67:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘z’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def302]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/dump.c:110:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
Error: COMPILER_WARNING (CWE-563): [#def303]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/generic.c: scope_hint: In function ‘pci_generic_fill_info’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/generic.c:134:27: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def304]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/generic.c:147:31: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def305]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/generic.c:179:35: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def306]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/generic.c:212:23: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def307]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_detect’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/minios.c:15:34: warning[-Wunused-parameter]: unused parameter ‘a’
Error: COMPILER_WARNING (CWE-563): [#def308]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_init’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/minios.c:21:32: warning[-Wunused-parameter]: unused parameter ‘a’
Error: COMPILER_WARNING (CWE-563): [#def309]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_cleanup’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/minios.c:26:35: warning[-Wunused-parameter]: unused parameter ‘a’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def310]
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/names.c: scope_hint: In function ‘pci_open’
xen-4.19.0-build/xen-4.19.0/stubdom/pciutils-x86_64/lib/names.c:36:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new_name’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c: scope_hint: In function ‘fill_data_elem’
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c:378:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c: scope_hint: In function ‘fill_data_elem’
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c:25: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c: scope_hint: In function ‘fill_data_elem’
xen-4.19.0-build/xen-4.19.0/tools/include/xen-tools/common-macros.h:108:33: note: in expansion of macro ‘get_unaligned_t’
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c:492:19: note: in expansion of macro ‘get_unaligned’
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/io.c: scope_hint: In function ‘fill_data_elem’
Error: CPPCHECK_WARNING (CWE-909): [#def312]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:256: error[uninitStructMember]: Uninitialized struct member: device.devid
Error: CPPCHECK_WARNING (CWE-909): [#def313]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:256: error[uninitStructMember]: Uninitialized struct member: device.domid
Error: CPPCHECK_WARNING (CWE-457): [#def314]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:256: error[uninitvar]: Uninitialized variable: device
Error: CPPCHECK_WARNING (CWE-401): [#def315]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:304: error[memleak]: Memory leak: device
Error: CPPCHECK_WARNING (CWE-909): [#def316]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:617: error[uninitStructMember]: Uninitialized struct member: device.last_seen
Error: CPPCHECK_WARNING (CWE-457): [#def317]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:617: error[uninitvar]: Uninitialized variable: device
Error: CPPCHECK_WARNING (CWE-909): [#def318]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:688: error[uninitStructMember]: Uninitialized struct member: device.num_rings
Error: CPPCHECK_WARNING (CWE-457): [#def319]
xen-4.19.0-build/xen-4.19.0/tools/9pfsd/xen-9pfsd.c:688: error[uninitvar]: Uninitialized variable: device
Error: GCC_ANALYZER_WARNING (CWE-775): [#def320]
xen-4.19.0-build/xen-4.19.0/tools/console/client/main.c: scope_hint: In function ‘console_loop’
xen-4.19.0-build/xen-4.19.0/tools/console/client/main.c:200:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
/usr/include/sys/select.h:30: included_from: Included from here.
/usr/include/sys/types.h:179: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/console/client/main.c:21: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/console/client/main.c:27: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-457): [#def321]
xen-4.19.0-build/xen-4.19.0/tools/console/daemon/io.c:204: warning[uninitvar]: Uninitialized variable: ret
Error: CPPCHECK_WARNING (CWE-457): [#def322]
xen-4.19.0-build/xen-4.19.0/tools/console/daemon/io.c:226: warning[uninitvar]: Uninitialized variable: ret
Error: CPPCHECK_WARNING (CWE-457): [#def323]
xen-4.19.0-build/xen-4.19.0/tools/console/daemon/io.c:1399: error[legacyUninitvar]: Uninitialized variable: poll_timeout
Error: GCC_ANALYZER_WARNING: [#def324]
xen-4.19.0-build/xen-4.19.0/tools/console/daemon/utils.c: scope_hint: In function ‘daemonize’
xen-4.19.0-build/xen-4.19.0/tools/console/daemon/utils.c:75:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘i’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
xen-4.19.0-build/xen-4.19.0/tools/debugger/gdbsx/gx/gx_comm.c: scope_hint: In function ‘gx_putpkt’
xen-4.19.0-build/xen-4.19.0/tools/debugger/gdbsx/gx/gx_comm.c:286:10: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
Error: CPPCHECK_WARNING (CWE-823): [#def326]
xen-4.19.0-build/xen-4.19.0/tools/debugger/kdd/kdd.c:816: error[arrayIndexOutOfBounds]: Array 's->txb[56]' accessed at index 271, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/hvmloader.c:22: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/hvmloader.c: scope_hint: In function ‘main’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/hvmloader.c:331:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.h:40:28: note: in definition of macro ‘BUG_ON’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.h:40:28: note: in definition of macro ‘BUG_ON’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def328]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c: scope_hint: In function ‘_doprint’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:520:23: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long unsigned int’ but received ‘char (*)[7]’ for variadic argument 1 of ‘ap’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:721:9: note: in expansion of macro ‘BUG’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def329]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:520:23: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c: scope_hint: In function ‘_doprint’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def330]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:529:23: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘long unsigned int’ but received ‘char (*)[7]’ for variadic argument 1 of ‘ap’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:721:9: note: in expansion of macro ‘BUG’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def331]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:529:23: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c: scope_hint: In function ‘_doprint’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def332]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:552:17: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘char *’ but received ‘int’ for variadic argument 2 of ‘ap’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:721:9: note: in expansion of macro ‘BUG’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c: scope_hint: In function ‘_doprint’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def333]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:552:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c: scope_hint: In function ‘_doprint’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def334]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:565:34: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[7]’ for variadic argument 1 of ‘ap’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:721:9: note: in expansion of macro ‘BUG’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def335]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c:565:34: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/util.c: scope_hint: In function ‘_doprint’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def336]
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c: scope_hint: In function ‘ring_write.part.0’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c:124:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data + done’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c:28: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c:188:5: note: in expansion of macro ‘ASSERT’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c: scope_hint: In function ‘ring_write.part.0’
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c:33: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/firmware/hvmloader/xenbus.c:118:43: note: in expansion of macro ‘MASK_XENSTORE_IDX’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:277:46: warning[-Wanalyzer-malloc-leak]: leak of ‘yy_create_buffer(zconf_fopen(*file.name), 16384)’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_get_next_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3338:46: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3502:38: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_get_next_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_get_next_buffer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def339]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-file-leak]: leak of FILE
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3644:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_create_buffer’
Error: CPPCHECK_WARNING (CWE-476): [#def342]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3684: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def343]
xen-4.19.0-build/xen-4.19.0/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3685: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-775): [#def344]
xen-4.19.0-build/xen-4.19.0/tools/flask/utils/label-pci.c: scope_hint: In function ‘main’
xen-4.19.0-build/xen-4.19.0/tools/flask/utils/label-pci.c:78:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
xen-4.19.0-build/xen-4.19.0/tools/flask/utils/label-pci.c:78:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def346]
xen-4.19.0-build/xen-4.19.0/tools/flask/utils/loadpolicy.c: scope_hint: In function ‘main’
xen-4.19.0-build/xen-4.19.0/tools/flask/utils/loadpolicy.c:81:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘polMemCp’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def347]
xen-4.19.0-build/xen-4.19.0/tools/fuzz/x86_instruction_emulator/afl-harness.c: scope_hint: In function ‘main’
xen-4.19.0-build/xen-4.19.0/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: warning[-Wanalyzer-null-argument]: use of NULL ‘fp’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/fuzz/x86_instruction_emulator/afl-harness.c:3: included_from: Included from here.
/usr/include/stdio.h:728:15: note: argument 4 of ‘fread’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def348]
xen-4.19.0-build/xen-4.19.0/tools/helpers/init-xenstore-domain.c: scope_hint: In function ‘build’
xen-4.19.0-build/xen-4.19.0/tools/helpers/init-xenstore-domain.c:109:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/xen/xenbus_backend", 2)’
Error: CPPCHECK_WARNING (CWE-758): [#def349]
xen-4.19.0-build/xen-4.19.0/tools/libacpi/mk_dsdt.c:443: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def350]
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_core_x86.c:79: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-401): [#def351]
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_common.h:211: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-457): [#def352]
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_restore_x86_pv.c:1006: warning[uninitvar]: Uninitialized variable: pfns
Error: CPPCHECK_WARNING (CWE-758): [#def353]
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c:9: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-457): [#def354]
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c: scope_hint: In function ‘map_p2m_leaves’
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c:106:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_common.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_common_x86.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_common_x86_pv.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c:472:15: note: in expansion of macro ‘GET_FIELD’
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_private.h:47:48: note: in definition of macro ‘GET_FIELD’
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c:1: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_private.h:30: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_sr_save_x86_pv.c:369:5: note: in expansion of macro ‘DPRINTF’
Error: CPPCHECK_WARNING (CWE-401): [#def355]
xen-4.19.0-build/xen-4.19.0/tools/libs/hypfs/core.c:149: error[memleakOnRealloc]: Common realloc mistake: 'content' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def356]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_aoutils.c: scope_hint: In function ‘datacopier_readable’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_aoutils.c:295:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_internal.h:26: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_aoutils.c:17: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def357]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_colo_proxy.c: scope_hint: In function ‘colo_proxy_setup’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_colo_proxy.c:298:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘cpuid_find_match’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:87:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘policy’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def359]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘cpuid_add’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:137:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)(&flags[4])’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘cpuid_add’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:149:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘resstr’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def361]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:150:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(unsigned int *)(&flags[4])’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘cpuid_add’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def362]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:152:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘resstr’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘msr_find_match’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:168:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘policy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def364]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:177:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def365]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl_cpuid_parse_config_xend’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:459:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc(33, 1)’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strncpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:669:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def367]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c:743:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl__cpuid_policy_list_parse_json’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def368]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_device.c: scope_hint: In function ‘libxl__device_list’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_device.c:2143:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def369]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c: scope_hint: In function ‘libxl__pre_open_qmp_socket’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c:1151:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘**dmss.build_state.dm_monitor_fd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def370]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c: scope_hint: In function ‘device_model_qmp_cb’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c:3132:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c: scope_hint: In function ‘device_model_qmp_cb’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_internal.h:38: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c: scope_hint: In function ‘device_model_postconfig_vnc_passwd’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_dm.c:3355:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def372]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_exec.c: scope_hint: In function ‘libxl__xenstore_child_wait_deprecated’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_exec.c:212:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘xs_read(xs_open(0), 0, path, & len)’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_internal.h:26: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_exec.c:20: included_from: Included from here.
/usr/include/sys/select.h:30: included_from: Included from here.
/usr/include/sys/types.h:179: included_from: Included from here.
/usr/include/uuid/uuid.h:38: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_osdeps.h:44: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_exec.c:18: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def373]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_save_helper.c: scope_hint: In function ‘save_signal_handler’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_save_helper.c:159:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def374]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_internal.h:45: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c: scope_hint: In function ‘libxl_read_file_contents’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c:347:22: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c:347:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def376]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c: scope_hint: In function ‘libxl__sendmsg_fds’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c:1082:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
/usr/include/sys/socket.h:33: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_internal.h:49: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def377]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c: scope_hint: In function ‘libxl__recvmsg_fds’
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c:1143:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def378]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/libxl_utils.c:1169:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
Error: CPPCHECK_WARNING (CWE-401): [#def379]
xen-4.19.0-build/xen-4.19.0/tools/libs/light/test_common.c:41: error[memleakOnRealloc]: Common realloc mistake: 'poll_fds' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def380]
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c: scope_hint: In function ‘getBridge’
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c:78:22: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘opendir("/sys/class/net")’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c:25: included_from: Included from here.
/usr/include/dirent.h:164:23: note: argument 1 of ‘readdir’ must be non-null
Error: CPPCHECK_WARNING (CWE-401): [#def381]
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c:169: error[memleakOnRealloc]: Common realloc mistake: 'tmp' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-688): [#def382]
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c: scope_hint: In function ‘parseNetDevLine’
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c:231:54: warning[-Wanalyzer-null-argument]: use of NULL ‘tmp’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c: scope_hint: In function ‘parseNetDevLine’
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_linux.c:30: included_from: Included from here.
/usr/include/string.h:323:14: note: argument 1 of ‘strpbrk’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_qmp.c: scope_hint: In function ‘qmp_parse_stats’
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_qmp.c:220:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/tools/libs/stat/xenstat_qmp.c:38: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def384]
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c: scope_hint: In function ‘get_handle’
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c:300:13: warning[-Wanalyzer-null-argument]: use of NULL ‘connect_to’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c: scope_hint: In function ‘get_handle’
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c:37: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/include/xen-tools/xenstore-common.h: scope_hint: In function ‘get_handle’
xen-4.19.0-build/xen-4.19.0/tools/include/xen-tools/xenstore-common.h: scope_hint: In function ‘get_handle’
/usr/include/bits/types/stack_t.h:23: included_from: Included from here.
/usr/include/signal.h:313: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c:33: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c: scope_hint: In function ‘get_handle’
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c:22: included_from: Included from here.
/usr/include/sys/stat.h:205:12: note: argument 1 of ‘stat’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def385]
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c:306:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(connect_to, 524290)’
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c: scope_hint: In function ‘get_handle’
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c: scope_hint: In function ‘get_handle’
Error: CPPCHECK_WARNING (CWE-401): [#def386]
xen-4.19.0-build/xen-4.19.0/tools/libs/store/xs.c:731: error[memleakOnRealloc]: Common realloc mistake: 'strings' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-775): [#def387]
xen-4.19.0-build/xen-4.19.0/tools/libs/toolcore/handlereg.c: scope_hint: In function ‘xentoolcore__restrict_by_dup2_null’
xen-4.19.0-build/xen-4.19.0/tools/libs/toolcore/handlereg.c:87:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1721:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1707:21: note: in expansion of macro ‘yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1711:31: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_create_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def389]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1721:12: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__cfg_yyalloc(64, yyscanner)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1707:21: note: in expansion of macro ‘yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1711:31: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:2344:7: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1711:31: note: in expansion of macro ‘yyalloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def390]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1763:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1454:40: note: in expansion of macro ‘YY_MORE_ADJ’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1457:25: note: in expansion of macro ‘yyrestart’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1457:25: note: in expansion of macro ‘yyrestart’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1642:10: note: in expansion of macro ‘yyrestart’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1652:9: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1652:9: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1652:9: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1755:17: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1761:9: note: in expansion of macro ‘yy_flush_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1784:10: note: in expansion of macro ‘yy_flush_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1761:9: note: in expansion of macro ‘yy_flush_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def391]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1981:32: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1965:17: note: in expansion of macro ‘yy_scan_bytes’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1974:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1983:13: note: in expansion of macro ‘yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1915:17: note: in expansion of macro ‘yy_scan_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def392]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c: scope_hint: In function ‘xlu__cfg_yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1981:32: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__cfg_yyalloc(n, yyscanner)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1965:17: note: in expansion of macro ‘yy_scan_bytes’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1974:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:2344:7: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1974:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1983:13: note: in expansion of macro ‘yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_l.c:1915:17: note: in expansion of macro ‘yy_scan_buffer’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def393]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c: scope_hint: In function ‘xlu__cfg_yyparse’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:383:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:368:9: note: in expansion of macro ‘YYCOPY’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:1275:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:383:25: note: in definition of macro ‘YYCOPY’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:1275:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:368:9: note: in expansion of macro ‘YYCOPY’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:1275:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def394]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_cfg_y.c:1394:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.string’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2389:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2375:21: note: in expansion of macro ‘yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2379:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_create_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2389:12: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__disk_yyalloc(64, yyscanner)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2375:21: note: in expansion of macro ‘yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2379:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2996:7: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2379:24: note: in expansion of macro ‘yyalloc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2431:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2134:40: note: in expansion of macro ‘YY_MORE_ADJ’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2137:25: note: in expansion of macro ‘yyrestart’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2137:25: note: in expansion of macro ‘yyrestart’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2310:10: note: in expansion of macro ‘yyrestart’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2320:2: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2320:2: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2320:2: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2423:17: note: in expansion of macro ‘yy_init_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2429:2: note: in expansion of macro ‘yy_flush_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2452:10: note: in expansion of macro ‘yy_flush_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2429:2: note: in expansion of macro ‘yy_flush_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2633:17: note: in expansion of macro ‘yy_scan_bytes’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2642:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2651:6: note: in expansion of macro ‘yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2583:17: note: in expansion of macro ‘yy_scan_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c: scope_hint: In function ‘xlu__disk_yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__disk_yyalloc(n, yyscanner)’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2633:17: note: in expansion of macro ‘yy_scan_bytes’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2642:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2996:7: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2642:24: note: in expansion of macro ‘yyalloc’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2651:6: note: in expansion of macro ‘yy_scan_buffer’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_disk_l.c:2583:17: note: in expansion of macro ‘yy_scan_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c: scope_hint: In function ‘xlu_pci_parse_spec_string’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:196:13: note: in expansion of macro ‘XLU__PCI_ERR’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:196:13: note: in expansion of macro ‘XLU__PCI_ERR’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:196:13: note: in expansion of macro ‘XLU__PCI_ERR’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘val’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:196:13: note: in expansion of macro ‘XLU__PCI_ERR’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:196:13: note: in expansion of macro ‘XLU__PCI_ERR’
xen-4.19.0-build/xen-4.19.0/tools/libs/util/libxlu_pci.c:196:13: note: in expansion of macro ‘XLU__PCI_ERR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
xen-4.19.0-build/xen-4.19.0/tools/misc/xen-access.c: scope_hint: In function ‘xenaccess_init’
xen-4.19.0-build/xen-4.19.0/tools/misc/xen-access.c:209:26: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xenaccess’
xen-4.19.0-build/xen-4.19.0/tools/misc/xen-access.c:201:5: note: in expansion of macro ‘DPRINTF’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def403]
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c: scope_hint: In function ‘cov_read’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:83:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:25: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:322:17: note: in expansion of macro ‘HYPERCALL_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:330:5: note: in expansion of macro ‘set_xen_guest_handle_impl’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:39:5: note: in expansion of macro ‘set_xen_guest_handle’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:59:9: note: in expansion of macro ‘xc_hypercall_buffer_alloc’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:343:88: note: in expansion of macro ‘HYPERCALL_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:59:9: note: in expansion of macro ‘xc_hypercall_buffer_alloc’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:345:79: note: in expansion of macro ‘HYPERCALL_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:82:5: note: in expansion of macro ‘xc_hypercall_buffer_free’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:83:1: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:322:17: note: in expansion of macro ‘HYPERCALL_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:330:5: note: in expansion of macro ‘set_xen_guest_handle_impl’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:39:5: note: in expansion of macro ‘set_xen_guest_handle’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:59:9: note: in expansion of macro ‘xc_hypercall_buffer_alloc’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:343:88: note: in expansion of macro ‘HYPERCALL_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:59:9: note: in expansion of macro ‘xc_hypercall_buffer_alloc’
xen-4.19.0-build/xen-4.19.0/tools/include/xenctrl.h:345:79: note: in expansion of macro ‘HYPERCALL_BUFFER’
xen-4.19.0-build/xen-4.19.0/tools/misc/xencov.c:82:5: note: in expansion of macro ‘xc_hypercall_buffer_free’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c: scope_hint: In function ‘print_cxstat’
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.pc’
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:26: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:156:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.pc’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:160:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.pc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:187:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.cc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:187:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.pc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c: scope_hint: In function ‘get_cxstat_by_cpuid’
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:187:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.residencies’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:187:22: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.triggers’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def412]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:189:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def413]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:190:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def414]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:191:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def415]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:192:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def416]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:204:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def417]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:205:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def418]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:206:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def419]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:207:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-476): [#def420]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c: scope_hint: In function ‘print_pxstat’
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:300:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pxstatinfo.pt’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def421]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c: scope_hint: In function ‘get_pxstat_by_cpuid’
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:322:24: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘malloc’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def422]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:326:18: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘malloc’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:327:8: warning[-Wanalyzer-malloc-leak]: leak of ‘*pxstat.pt’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:327:8: warning[-Wanalyzer-malloc-leak]: leak of ‘*pxstat.trans_pt’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def425]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:329:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def426]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:337:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def427]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:338:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def428]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c: scope_hint: In function ‘signal_int_handler’
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:455:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-476): [#def429]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:481:70: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:495:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def431]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:502:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def432]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:508:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def433]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:637:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def434]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:638:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def435]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:639:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def436]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:640:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def437]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:641:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def438]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:642:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def439]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:644:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def440]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:645:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def441]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:646:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def442]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:647:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def443]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:649:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def444]
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:651:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
xen-4.19.0-build/xen-4.19.0/tools/misc/xenpm.c:651:5: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
Error: CPPCHECK_WARNING (CWE-768): [#def445]
xen-4.19.0-build/xen-4.19.0/tools/tests/cpu-policy/test-cpu-policy.c:319: error[unknownEvaluationOrder]: Expression '.leaf={.leaf=(0xdu+1)}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def446]
xen-4.19.0-build/xen-4.19.0/tools/tests/cpu-policy/test-cpu-policy.c:339: error[unknownEvaluationOrder]: Expression '.leaf={.leaf=0x80000000|((0x8u+1)>(0x21u+1)?(0x8u+1):(0x21u+1))}' depends on order of evaluation of side effects
Error: GCC_ANALYZER_WARNING: [#def447]
xen-4.19.0-build/xen-4.19.0/tools/vchan/vchan-socket-proxy.c: scope_hint: In function ‘main’
xen-4.19.0-build/xen-4.19.0/tools/vchan/vchan-socket-proxy.c:497:52: warning[-Wanalyzer-fd-type-mismatch]: ‘accept’ on non-stream-socket file descriptor ‘socket_fd’
Error: GCC_ANALYZER_WARNING: [#def448]
xen-4.19.0-build/xen-4.19.0/tools/vchan/vchan-socket-proxy.c:497:52: warning[-Wanalyzer-fd-use-without-check]: ‘accept’ on possibly invalid file descriptor ‘socket_fd’
Error: CPPCHECK_WARNING (CWE-457): [#def449]
xen-4.19.0-build/xen-4.19.0/tools/xenmon/xenbaked.c:413: warning[uninitvar]: Uninitialized variable: pfn_list
Error: GCC_ANALYZER_WARNING (CWE-688): [#def450]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘parse_symbol_file’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:312:12: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fn, "rb")’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:22: included_from: Included from here.
/usr/include/stdio.h:852:12: note: argument 1 of ‘feof’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def451]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:314:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fn, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:314:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fn, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:320:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘G.symbols’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘parse_symbol_file’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘interval_list_add’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:2474:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘interval_list_add’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘interval_list_add’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def455]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘update_eip’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:2828:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘update_eip’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘__hvm_set_summary_handler’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:3004:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:4333:9: note: in expansion of macro ‘hvm_set_summary_handler’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘__hvm_set_summary_handler’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def457]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘update_io_address’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:3793:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘update_io_address’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def458]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘cr3_dump_list.part.0’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:4034:23: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qsort_array’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def459]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:4037:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘qsort_array’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:23: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def460]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘vcpu_create’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:6704:5: warning[-Wanalyzer-null-argument]: use of NULL ‘v’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:40: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘vcpu_create’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def461]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘domain_init’
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c:6725:5: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xenalyze.c: scope_hint: In function ‘domain_init’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def462]
xen-4.19.0-build/xen-4.19.0/tools/xentrace/xentrace.c:520: warning[uninitvar]: Uninitialized variable: pfn_list
Error: GCC_ANALYZER_WARNING (CWE-457): [#def463]
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c: scope_hint: In function ‘parse_vdispl_config’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:840:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘resolution’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:31: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:823:16: note: in expansion of macro ‘MATCH_OPTION’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:825:16: note: in expansion of macro ‘MATCH_OPTION’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl.h:18: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:29: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c: scope_hint: In function ‘parse_config_data’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:1629:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(buf)’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:51:5: note: in expansion of macro ‘ARRAY_EXTEND_INIT__CORE’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_parse.c:1624:21: note: in expansion of macro ‘ARRAY_EXTEND_INIT_NODEVID’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def465]
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_vcpu.c: scope_hint: In function ‘main_vcpupin’
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_vcpu.c:253:30: warning[-Wanalyzer-null-argument]: use of NULL ‘soft_str’ where non-null expected
xen-4.19.0-build/xen-4.19.0/tools/include/libxl.h:843: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_vcpu.c:18: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
Error: CPPCHECK_WARNING (CWE-909): [#def466]
xen-4.19.0-build/xen-4.19.0/tools/xl/xl_vmcontrol.c:805: error[uninitStructMember]: Uninitialized struct member: hdr.mandatory_flags
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
xen-4.19.0-build/xen-4.19.0/tools/xs-clients/xenstore_control.c: scope_hint: In function ‘add_to_buf’
xen-4.19.0-build/xen-4.19.0/tools/xs-clients/xenstore_control.c:20:10: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
xen-4.19.0-build/xen-4.19.0/tools/xs-clients/xenstore_control.c: scope_hint: In function ‘live_update_start’
xen-4.19.0-build/xen-4.19.0/tools/xs-clients/xenstore_control.c:36:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
xen-4.19.0-build/xen-4.19.0/tools/xs-clients/xenstore_control.c: scope_hint: In function ‘send_kernel_blob’
xen-4.19.0-build/xen-4.19.0/tools/xs-clients/xenstore_control.c:113:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/domain_page.c: scope_hint: In function ‘unmap_domain_page’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/domain_page.c:192:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def471]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/extable.c: scope_hint: In function ‘sort_exception_table’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/extable.c:55:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/extable.c:8: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-469): [#def472]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/extable.c: scope_hint: In function ‘search_one_extable’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/extable.c:76:21: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/rtc.c: scope_hint: In function ‘rtc_timer_update’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/rtc.c:151:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/vlapic.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/vcpu.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/rtc.c:25: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/rtc.c:46:25: note: in expansion of macro ‘pt_global_vcpu_target’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/rtc.c:127:22: note: in expansion of macro ‘vrtc_vcpu’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/rtc.c:148:32: note: in expansion of macro ‘NOW’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/vioapic.c: scope_hint: In function ‘vioapic_write_indirect’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/hvm/vioapic.c:340:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vioapic’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h: scope_hint: In function ‘iomem_permit_access’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/iocap.h:19:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:18:18: note: in expansion of macro ‘cache_flush_permitted’
xen-4.19.0-build/xen-4.19.0/xen/include/xsm/xsm.h:827: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/hypercall.h:22: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:25: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘iomem_permit_access’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘iomem_permit_access’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:49:30: note: in definition of macro ‘iomem_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:687:38: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘iomem_permit_access’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:18:18: note: in expansion of macro ‘cache_flush_permitted’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/shared.h:31:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:15:34: note: in definition of macro ‘has_32bit_shinfo’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/shared.h:81:1: note: in expansion of macro ‘GET_SET_VCPU’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c: scope_hint: In function ‘show_registers’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/regs.h:9:37: note: in expansion of macro ‘guest_cpu_user_regs’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c:133:10: note: in expansion of macro ‘guest_mode’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/x86_emulate.h:17: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/mm.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/mm.h:233: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c: scope_hint: In function ‘show_registers’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c:133:10: note: in expansion of macro ‘guest_mode’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c:142:14: note: in expansion of macro ‘guest_mode’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/shared.h:81:1: note: in expansion of macro ‘GET_SET_VCPU’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:15:34: note: in definition of macro ‘has_32bit_shinfo’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/shared.h:81:1: note: in expansion of macro ‘GET_SET_VCPU’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def477]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c: scope_hint: In function ‘create_irq’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c:276:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘desc’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/io.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/domain.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/event.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/irq.h:180:31: note: in expansion of macro ‘pirq_info’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/irq.h:209:37: note: in expansion of macro ‘pirq_field’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c:2173:15: note: in expansion of macro ‘domain_pirq_to_irq’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/config.h:17: included_from: Included from here.
<command-line>: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:20:43: note: in definition of macro ‘likely’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c:2193:18: note: in expansion of macro ‘irq_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/asm_defns.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c:2224:15: note: in expansion of macro ‘cpu_has_apic’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c: scope_hint: In function ‘create_irq’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/irq.c:2242:9: note: in expansion of macro ‘spin_lock_irqsave’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def478]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/alternative.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/bitops.h:8: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/bitops.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/system.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/mm.h:68: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain_page.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/machine_kexec.c:19: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/machine_kexec.c: scope_hint: In function ‘machine_kexec_load’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/machine_kexec.c:120:52: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:76:48: note: in definition of macro ‘memcpy’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/machine_kexec.c:25: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/x86_64/page.h:26: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/desc.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/processor.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/mm.h:69: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pdx.h:214:24: note: in definition of macro ‘pdx_to_pfn’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:251:29: note: in expansion of macro ‘pdx_to_mfn’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain_page.h:47:54: note: in expansion of macro ‘page_to_mfn’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/machine_kexec.c:119:17: note: in expansion of macro ‘__map_domain_page’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:76:48: note: in definition of macro ‘memcpy’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def479]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c: scope_hint: In function ‘relinquish_p2m_mapping’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c:2117:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘order’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/config.h:17: included_from: Included from here.
<command-line>: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c:2083:5: note: in expansion of macro ‘BUG_ON’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iommu.h:25: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c:14: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c:2083:5: note: in expansion of macro ‘BUG_ON’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c:32: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c: scope_hint: In function ‘relinquish_p2m_mapping’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/grant_table.h:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/grant_table.h:31: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/p2m.c:18: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/paging.h:75:40: note: in definition of macro ‘paging_mode_translate’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def480]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘hvm_read’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c:114:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘hvm_read’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘hvm_read’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘hvm_read’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def481]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_init_emulation’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c:334:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_init_emulation’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_init_emulation’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_init_emulation’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def482]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_continue_emulation’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c:365:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_continue_emulation’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_continue_emulation’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/mm/shadow/hvm.c: scope_hint: In function ‘shadow_continue_emulation’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def483]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/percpu.c: scope_hint: In function ‘init_percpu_area’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/percpu.c:16:62: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/percpu.c:33:35: note: in expansion of macro ‘PERCPU_ORDER’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/generated/asm/percpu.h:1: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/percpu.h:30: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/percpu.c:1: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/percpu.c:33:35: note: in expansion of macro ‘PERCPU_ORDER’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/percpu.c:33:35: note: in expansion of macro ‘PERCPU_ORDER’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def484]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:2: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c: scope_hint: In function ‘move_xen’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:495:45: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:76:48: note: in definition of macro ‘memcpy’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/mm-frame.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/grant_table.h:26: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1044:20: note: in expansion of macro ‘strstr’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:76:48: note: in definition of macro ‘memcpy’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def485]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c: scope_hint: In function ‘__start_xen’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1355:56: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:49: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1044:20: note: in expansion of macro ‘strstr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/desc.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/processor.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/grant_table.h:27: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:246:30: note: in expansion of macro ‘virt_to_maddr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:270:29: note: in expansion of macro ‘__virt_to_mfn’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1354:42: note: in expansion of macro ‘virt_to_mfn’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def486]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1572:41: warning[-Wanalyzer-out-of-bounds]: buffer under-read
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1044:20: note: in expansion of macro ‘strstr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:208:8: note: in definition of macro ‘l1_table_offset’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c: scope_hint: In function ‘__start_xen’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/x86_64/page.h:26: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pdx.h:215:24: note: in definition of macro ‘pfn_to_pdx’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def487]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1572:65: warning[-Wanalyzer-out-of-bounds]: buffer under-read
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c:1044:20: note: in expansion of macro ‘strstr’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:208:8: note: in definition of macro ‘l1_table_offset’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/setup.c: scope_hint: In function ‘__start_xen’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pdx.h:215:24: note: in definition of macro ‘pfn_to_pdx’
Error: COMPILER_WARNING: [#def488]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c: scope_hint: Assembler messages
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:34: Error: bad expression
Error: COMPILER_WARNING: [#def489]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:34: Error: junk at end of line, first unrecognized character is `#'
Error: COMPILER_WARNING: [#def490]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:35: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def491]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:36: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def492]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:37: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def493]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:38: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def494]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:39: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def495]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:40: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def496]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:41: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def497]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:42: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def498]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:43: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def499]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:44: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def500]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:45: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def501]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:46: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def502]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:47: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def503]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:48: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def504]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:49: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def505]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:50: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def506]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:51: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def507]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:52: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def508]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:53: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def509]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:54: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def510]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:55: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def511]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:56: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def512]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:57: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def513]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:67: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def514]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:68: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def515]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:69: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def516]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:70: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def517]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:76: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def518]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:77: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def519]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:79: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def520]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:80: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def521]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:84: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def522]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:85: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def523]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:86: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def524]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:87: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def525]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:88: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def526]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:89: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def527]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:90: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def528]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:91: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def529]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:92: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def530]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:93: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def531]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:94: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def532]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:96: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def533]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:97: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def534]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:98: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def535]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:100: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def536]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:101: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def537]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:102: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def538]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:103: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def539]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:104: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def540]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:105: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def541]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:106: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def542]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:107: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def543]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:108: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def544]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:109: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def545]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:110: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def546]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:111: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def547]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:112: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def548]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:113: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def549]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:114: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def550]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:115: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def551]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:118: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def552]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:119: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def553]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:120: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def554]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:122: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def555]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:123: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def556]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:124: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def557]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:125: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def558]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:126: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def559]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:127: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def560]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:129: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def561]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:130: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def562]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:131: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def563]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:132: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def564]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:136: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def565]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:137: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def566]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:139: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def567]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:140: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def568]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:141: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def569]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:145: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def570]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:146: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def571]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:147: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def572]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:150: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def573]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:151: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def574]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:152: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def575]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:153: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def576]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:154: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def577]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:155: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def578]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:156: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def579]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:157: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def580]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:158: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def581]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:159: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def582]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:160: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def583]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:161: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def584]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:162: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def585]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:163: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def586]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:164: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def587]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:165: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def588]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:166: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def589]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:167: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def590]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:170: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def591]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:171: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def592]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:172: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def593]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:173: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def594]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:174: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def595]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:176: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def596]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:177: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def597]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:178: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def598]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:179: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def599]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:180: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def600]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:183: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def601]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:184: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def602]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:191: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def603]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:192: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def604]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:193: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def605]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:195: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def606]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:196: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def607]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:198: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def608]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:199: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def609]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:200: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def610]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:201: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def611]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:203: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def612]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:204: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def613]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:205: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def614]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:206: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def615]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:207: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def616]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:208: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def617]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:209: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def618]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:210: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def619]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:211: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def620]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:212: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def621]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:214: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def622]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:215: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def623]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:218: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def624]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:219: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def625]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:220: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def626]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:221: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def627]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:222: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def628]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:223: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def629]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:224: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def630]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:225: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def631]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:226: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def632]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:227: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def633]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:228: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def634]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:229: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def635]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:230: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def636]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:231: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def637]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:232: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def638]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:233: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def639]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:234: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def640]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:235: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def641]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/asm-offsets.c:236: Error: symbol `.ascii' is already defined
Error: GCC_ANALYZER_WARNING (CWE-469): [#def642]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/io.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/domain.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c:24: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c: scope_hint: In function ‘zap_low_mappings’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c:725:44: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pfn.h:7:26: note: in definition of macro ‘PFN_UP’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/config.h:27: included_from: Included from here.
<command-line>: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/mm.h:64: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c:23: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c:717:5: note: in expansion of macro ‘BUG_ON’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/mm.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/mm.h:233: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/x86_64/page.h:74:37: note: in expansion of macro ‘write_atomic’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/page.h:49:5: note: in expansion of macro ‘pte_write’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c:720:5: note: in expansion of macro ‘l4e_write’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/atomic.h:37:1: note: in expansion of macro ‘build_write_atomic’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/mm.c: scope_hint: In function ‘zap_low_mappings’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pfn.h:7:26: note: in definition of macro ‘PFN_UP’
Error: CPPCHECK_WARNING (CWE-758): [#def643]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/0f01.c:294: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def644]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/0fae.c:193: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def645]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:990: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def646]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:2027: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def647]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:2357: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def648]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:2413: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def649]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:2532: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def650]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:3077: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def651]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:3874: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def652]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_emulate/x86_emulate.c:6281: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def653]
xen-4.19.0-build/xen-4.19.0/xen/common/bunzip2.c:140: error[shiftTooManyBits]: Shifting 32-bit value by 32 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def654]
xen-4.19.0-build/xen-4.19.0/xen/common/bunzip2.c: scope_hint: In function ‘get_bits’
xen-4.19.0-build/xen-4.19.0/xen/common/bunzip2.c:140:58: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c: scope_hint: In function ‘domain_create’
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c:672:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/xmalloc.h:36:65: note: in definition of macro ‘xzalloc_array’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/config.h:17: included_from: Included from here.
<command-line>: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/trace.h:83:14: note: in expansion of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/trace.h:92:29: note: in expansion of macro ‘TRACE’
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c:630:5: note: in expansion of macro ‘TRACE_TIME’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/xmalloc.h:36:65: note: in definition of macro ‘xzalloc_array’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/xmalloc.h:36:65: note: in definition of macro ‘xzalloc_array’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def656]
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c:734:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/trace.h:83:14: note: in expansion of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/trace.h:92:29: note: in expansion of macro ‘TRACE’
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c:630:5: note: in expansion of macro ‘TRACE_TIME’
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c: scope_hint: In function ‘domain_create’
xen-4.19.0-build/xen-4.19.0/xen/common/domain.c:710:11: note: in expansion of macro ‘is_idle_domain’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def657]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘getdomaininfo’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:74:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘getdomaininfo’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘getdomaininfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘vnuma_init’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:226:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘vnuma_init’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘vnuma_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def659]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:348:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def660]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:462:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:556:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def662]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:605:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def663]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:634:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:650:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/config.h:17: included_from: Included from here.
<command-line>: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:645:28: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:772:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:793:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def667]
xen-4.19.0-build/xen-4.19.0/xen/common/earlycpio.c: scope_hint: In function ‘find_cpio_data’
xen-4.19.0-build/xen-4.19.0/xen/common/earlycpio.c:123:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ch[12]’
xen-4.19.0-build/xen-4.19.0/xen/common/earlycpio.c:33:23: note: in definition of macro ‘ALIGN’
xen-4.19.0-build/xen-4.19.0/xen/common/earlycpio.c:123:24: note: in expansion of macro ‘PTR_ALIGN’
xen-4.19.0-build/xen-4.19.0/xen/common/earlycpio.c:33:23: note: in definition of macro ‘ALIGN’
xen-4.19.0-build/xen-4.19.0/xen/common/earlycpio.c:123:24: note: in expansion of macro ‘PTR_ALIGN’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:4323:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sha’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:408:5: note: in expansion of macro ‘percpu_read_lock’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:408:5: note: in expansion of macro ‘percpu_read_lock’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:466:12: note: in expansion of macro ‘_active_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def669]
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:4337:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sha’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:408:5: note: in expansion of macro ‘percpu_read_lock’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:408:5: note: in expansion of macro ‘percpu_read_lock’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:466:12: note: in expansion of macro ‘_active_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_usage_print’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:4328:21: note: in expansion of macro ‘shared_entry_v2’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def670]
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:590:14: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:597:13: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-private.h:43: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def671]
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:590:14: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:597:13: note: in expansion of macro ‘elf_uval’
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def672]
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:18: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c: scope_hint: In function ‘elf_xen_parse_note’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-private.h:89:6: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:182:9: note: in expansion of macro ‘safe_strcpy’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-private.h:73: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:590:14: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:597:13: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:182:9: note: in expansion of macro ‘safe_strcpy’
<built-in>: note: argument 2 of ‘__builtin_strncpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:152:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:65:16: note: in expansion of macro ‘NULL’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def674]
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:152:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/rwlock.h: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:65:16: note: in expansion of macro ‘NULL’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def675]
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:157:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:74:16: note: in expansion of macro ‘NULL’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def676]
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:157:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:74:16: note: in expansion of macro ‘NULL’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def677]
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:160:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c:50:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
xen-4.19.0-build/xen-4.19.0/xen/common/rangeset.c: scope_hint: In function ‘rangeset_add_range’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def678]
xen-4.19.0-build/xen-4.19.0/xen/common/sched/cpupool.c: scope_hint: In function ‘cpupool_gran_init’
xen-4.19.0-build/xen-4.19.0/xen/common/sched/cpupool.c:137:16: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/smp.h:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/smp.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/processor.h:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/cpu.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/sched/cpupool.c:14: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/kernel.h:34:40: note: in definition of macro ‘min_t’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/bitops.h:348:36: note: in expansion of macro ‘find_next_bit’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/cpumask.h:212:39: note: in expansion of macro ‘find_first_bit’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/cpumask.h:212:16: note: in expansion of macro ‘min_t’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/cpumask.h:459:36: note: in expansion of macro ‘for_each_cpu’
xen-4.19.0-build/xen-4.19.0/xen/common/sched/cpupool.c:117:5: note: in expansion of macro ‘for_each_online_cpu’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def679]
xen-4.19.0-build/xen-4.19.0/tools/libs/guest/xg_dom_decompress_unsafe_lzma.c:8: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/unlzma.c: scope_hint: In function ‘unlzma’
xen-4.19.0-build/xen-4.19.0/xen/common/unlzma.c:575:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*rc.ptr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/pci.c: scope_hint: In function ‘assign_device’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/pci.c:1486:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdev’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/pci.c:17: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘assign_device’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/pci.c: scope_hint: In function ‘assign_device’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/io.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/domain.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:37:20: note: in expansion of macro ‘PCI_SBDF4_’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:41:25: note: in expansion of macro ‘PCI_SBDF3_’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:42:25: note: in expansion of macro ‘PCI__’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:46:30: note: in expansion of macro ‘PCI_’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/pci.c:1480:31: note: in expansion of macro ‘PCI_SBDF’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def681]
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c: scope_hint: In function ‘pt_pirq_iterate’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:744:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pirqs[i]’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:742:47: note: in expansion of macro ‘pirq_dpci’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def682]
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:745:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:742:47: note: in expansion of macro ‘pirq_dpci’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:742:47: note: in expansion of macro ‘pirq_dpci’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:35:12: note: in expansion of macro ‘pirq_dpci’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c:35:12: note: in expansion of macro ‘pirq_dpci’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/x86/hvm.c: scope_hint: In function ‘pt_pirq_iterate’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def683]
xen-4.19.0-build/xen-4.19.0/xen/drivers/vpci/vpci.c: scope_hint: In function ‘vpci_assign_device’
xen-4.19.0-build/xen-4.19.0/xen/drivers/vpci/vpci.c:41:41: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.0-build/xen-4.19.0/xen/drivers/vpci/vpci.c:162:22: note: in expansion of macro ‘NUM_VPCI_INIT’
xen-4.19.0-build/xen-4.19.0/xen/drivers/vpci/vpci.c:162:22: note: in expansion of macro ‘NUM_VPCI_INIT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def684]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h: scope_hint: In function ‘iomem_deny_access’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:35:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘iomem_deny_access’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘iomem_deny_access’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:49:30: note: in definition of macro ‘iomem_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:687:38: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘iomem_deny_access’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def685]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:49:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:721:15: note: in expansion of macro ‘iomem_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:49:30: note: in definition of macro ‘iomem_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:720:38: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:721:15: note: in expansion of macro ‘iomem_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:721:15: note: in expansion of macro ‘iomem_access_permitted’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def686]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:52:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:670:19: note: in expansion of macro ‘irq_permit_access’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:63:27: note: in definition of macro ‘pirq_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:666:37: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/pci.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/io.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/hvm/domain.h:16: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/domain.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/domain.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/irq.h:209:37: note: in expansion of macro ‘pirq_field’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:64:17: note: in expansion of macro ‘domain_pirq_to_irq’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:666:15: note: in expansion of macro ‘pirq_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:670:19: note: in expansion of macro ‘irq_permit_access’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:670:19: note: in expansion of macro ‘irq_permit_access’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def687]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:54:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:672:19: note: in expansion of macro ‘irq_deny_access’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:63:27: note: in definition of macro ‘pirq_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:666:37: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/irq.h:209:37: note: in expansion of macro ‘pirq_field’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:64:17: note: in expansion of macro ‘domain_pirq_to_irq’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:666:15: note: in expansion of macro ‘pirq_access_permitted’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:672:19: note: in expansion of macro ‘irq_deny_access’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:672:19: note: in expansion of macro ‘irq_deny_access’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def688]
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/alternative.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/nospec.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:27: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_prepare_for_transfer’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:17:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘raw_shah’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:2218:18: note: in expansion of macro ‘ACCESS_ONCE’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:3813: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/config.h:17: included_from: Included from here.
<command-line>: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/current.h:100:32: note: in expansion of macro ‘get_current’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/guest_access.h:33:18: note: in expansion of macro ‘current’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/guest_access.h:152:5: note: in expansion of macro ‘__raw_copy_from_guest’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/guest_access.h:181:5: note: in expansion of macro ‘__copy_from_guest_offset’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:2282:23: note: in expansion of macro ‘__copy_from_guest’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_prepare_for_transfer’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/iocap.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/iocap.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:2293:19: note: in expansion of macro ‘get_gfn_unshare’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/desc.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/processor.h:13: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:15: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:2312:16: note: in expansion of macro ‘mfn_to_page’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_prepare_for_transfer’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:2388:14: note: in expansion of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_prepare_for_transfer’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/compiler.h:21:43: note: in definition of macro ‘unlikely’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c: scope_hint: In function ‘gnttab_prepare_for_transfer’
xen-4.19.0-build/xen-4.19.0/xen/common/grant_table.c:2218:18: note: in expansion of macro ‘ACCESS_ONCE’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def689]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/timer.h:14: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c: scope_hint: In function ‘physdev_hvm_map_pirq’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:494:10: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c:58:13: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c:58:13: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c:58:13: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:387:5: note: in expansion of macro ‘container_of’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:495:18: note: in expansion of macro ‘list_entry’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c:58:13: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/physdev.c:58:13: note: in expansion of macro ‘list_for_each_entry’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def690]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:1170:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/emul-i8254.c: scope_hint: In function ‘get_count’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/emul-i8254.c:53:17: note: in definition of macro ‘get_guest_time’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/emul-i8254.c:44:25: note: in expansion of macro ‘pt_global_vcpu_target’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/emul-i8254.c:59:35: note: in expansion of macro ‘vpit_vcpu’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/emul-i8254.c:59:20: note: in expansion of macro ‘get_guest_time’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def691]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:1170:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c: scope_hint: In function ‘show_registers’
xen-4.19.0-build/xen-4.19.0/xen/include/asm-generic/percpu.h:8: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/generated/asm/percpu.h:1: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/percpu.h:30: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/msr.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/time.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/time.h:78: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/spinlock.h:5: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/sched.h:6: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/regs.h:9:37: note: in expansion of macro ‘guest_cpu_user_regs’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c:133:10: note: in expansion of macro ‘guest_mode’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/x86_64/traps.c: scope_hint: In function ‘show_registers’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def692]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-private.h:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:18: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c: scope_hint: In function ‘elf_xen_parse_note’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:40:24: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:194:15: note: in expansion of macro ‘strcmp’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-private.h:21: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:590:14: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:597:13: note: in expansion of macro ‘elf_uval’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:301:14: note: in expansion of macro ‘strcmp’
xen-4.19.0-build/xen-4.19.0/xen/common/libelf/libelf-dominfo.c:194:15: note: in expansion of macro ‘strcmp’
<built-in>: note: argument 1 of ‘__builtin_strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def693]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/alternative.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/bitops.h:8: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/bitops.h:7: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/system.h:4: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/acpi.h:41: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:20: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c: scope_hint: In function ‘parse_ivhd_device_special’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:72:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:841:17: note: in expansion of macro ‘memset’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/list.h:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:1081:5: note: in expansion of macro ‘BUG_ON’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu.h:153:5: note: in expansion of macro ‘list_for_each_entry’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:114:5: note: in expansion of macro ‘for_each_amd_iommu’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:27: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:765:5: note: in expansion of macro ‘AMD_IOMMU_DEBUG’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:23: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:798:18: note: in expansion of macro ‘IO_APIC_ID’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:11: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:833:46: note: in expansion of macro ‘xmalloc_array’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c: scope_hint: In function ‘parse_ivhd_device_special’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:72:48: note: in definition of macro ‘memset’
xen-4.19.0-build/xen-4.19.0/xen/drivers/passthrough/amd/iommu_acpi.c:841:17: note: in expansion of macro ‘memset’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def694]
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:10: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/include/xen/string.h:76:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:640:9: note: in expansion of macro ‘memcpy’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/arch/x86/include/asm/nospec.h:13:5: note: in expansion of macro ‘alternative’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c: scope_hint: In function ‘do_domctl’
xen-4.19.0-build/xen-4.19.0/xen/common/domctl.c:640:9: note: in expansion of macro ‘memcpy’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def695]
xen-4.19.0-build/xen-4.19.0/xen/lib/list-sort.c: scope_hint: In function ‘merge_and_restore_back_links’
xen-4.19.0-build/xen-4.19.0/xen/lib/list-sort.c:92:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
xen-4.19.0-build/xen-4.19.0/xen/include/xen/lib.h:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/lib/list-sort.c:18: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/lib/list-sort.c:127:9: note: in expansion of macro ‘memset’
Error: CPPCHECK_WARNING (CWE-457): [#def696]
xen-4.19.0-build/xen-4.19.0/xen/lib/x86/cpuid.c:468: error[uninitvar]: Uninitialized variable: data.leaf
Error: CPPCHECK_WARNING (CWE-457): [#def697]
xen-4.19.0-build/xen-4.19.0/xen/lib/x86/msr.c:80: error[uninitvar]: Uninitialized variable: data.flags
Error: GCC_ANALYZER_WARNING (CWE-127): [#def698]
xen-4.19.0-build/xen-4.19.0/xen/tools/fixdep.c: scope_hint: In function ‘parse_dep_file’
xen-4.19.0-build/xen-4.19.0/xen/tools/fixdep.c:327:30: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
Error: GCC_ANALYZER_WARNING (CWE-126): [#def699]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c: scope_hint: In function ‘make_parent_dir’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:96:9: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lkc.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:19: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:1001:9: note: in expansion of macro ‘for_all_symbols’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:96:9: note: read of 1 byte from after the end of ‘depfile_path’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:96:9: note: valid subscripts for ‘depfile_path’ are ‘[0]’ to ‘[4095]’
Error: CPPCHECK_WARNING (CWE-404): [#def700]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/confdata.c:1090: error[resourceLeak]: Resource leak: tristate
Error: GCC_ANALYZER_WARNING (CWE-476): [#def701]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lkc.h:9: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:12: included_from: Included from here.
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:52:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:1218:9: note: in expansion of macro ‘expr_list_for_each_sym’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:207:30: note: in definition of macro ‘for_all_properties’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:72:9: note: in expansion of macro ‘for_all_choices’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:210:34: note: in expansion of macro ‘for_all_properties’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:72:9: note: in expansion of macro ‘for_all_choices’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:207:30: note: in definition of macro ‘for_all_properties’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:72:9: note: in expansion of macro ‘for_all_choices’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:210:34: note: in expansion of macro ‘for_all_properties’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:72:9: note: in expansion of macro ‘for_all_choices’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_choice_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:1218:9: note: in expansion of macro ‘expr_list_for_each_sym’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:277:46: warning[-Wanalyzer-malloc-leak]: leak of ‘yy_create_buffer(zconf_fopen(*file.name), 16384)’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3594:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_get_next_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3338:46: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3502:38: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_get_next_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_get_next_buffer’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def704]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-file-leak]: leak of FILE
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3594:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3724:19: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3691:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_switch_to_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3594:14: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def706]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_create_buffer’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3644:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:4268:30: note: in expansion of macro ‘YY_CURRENT_BUFFER’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c: scope_hint: In function ‘yy_create_buffer’
Error: CPPCHECK_WARNING (CWE-476): [#def707]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3684: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def708]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/lexer.lex.c:3685: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-476): [#def709]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_print_recursive’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:1073:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def710]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:1250:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:207:30: note: in definition of macro ‘for_all_properties’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:72:9: note: in expansion of macro ‘for_all_choices’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/expr.h:210:34: note: in expansion of macro ‘for_all_properties’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:72:9: note: in expansion of macro ‘for_all_choices’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def711]
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c:1300:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_deps’
xen-4.19.0-build/xen-4.19.0/xen/tools/kconfig/symbol.c: scope_hint: In function ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def712]
xen-4.19.0-build/xen-4.19.0/xen/tools/symbols.c: scope_hint: In function ‘read_symbol’
xen-4.19.0-build/xen-4.19.0/xen/tools/symbols.c:120:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def713]
xen-4.19.0-build/xen-4.19.0/xen/tools/symbols.c:175:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*s.sym’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-123.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | xen-4.19.0-4.fc42 |
store-results-to | /tmp/tmpsul8ghsh/xen-4.19.0-4.fc42.tar.xz |
time-created | 2024-11-13 03:52:32 |
time-finished | 2024-11-13 04:08:11 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpsul8ghsh/xen-4.19.0-4.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpsul8ghsh/xen-4.19.0-4.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |