xen-4.19.2-2.fc43
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: CPPCHECK_WARNING (CWE-476): [#def146]
xen-4.19.2/extras/mini-os/9pfront.c:371: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: target
Error: CPPCHECK_WARNING (CWE-476): [#def147]
xen-4.19.2/extras/mini-os/9pfront.c:377: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: target
Error: CPPCHECK_WARNING (CWE-682): [#def148]
xen-4.19.2/extras/mini-os/9pfront.c:378: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def149]
xen-4.19.2/extras/mini-os/9pfront.c:436: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: str
Error: CPPCHECK_WARNING (CWE-476): [#def150]
xen-4.19.2/extras/mini-os/9pfront.c:984: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: f9pfs
Error: CPPCHECK_WARNING (CWE-476): [#def151]
xen-4.19.2/extras/mini-os/9pfront.c:985: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: f9pfs
Error: CPPCHECK_WARNING (CWE-476): [#def152]
xen-4.19.2/extras/mini-os/9pfront.c:1086: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: GCC_ANALYZER_WARNING (CWE-688): [#def153]
xen-4.19.2/extras/mini-os/9pfront.c:1086:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dev’ where non-null expected
xen-4.19.2/extras/mini-os/9pfront.c:1085:11: acquire_memory: this call could return NULL
xen-4.19.2/extras/mini-os/9pfront.c:1086:5: danger: argument 1 (‘dev’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def154]
xen-4.19.2/extras/mini-os/9pfront.c:1087: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def155]
xen-4.19.2/extras/mini-os/9pfront.c:1088: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def156]
xen-4.19.2/extras/mini-os/9pfront.c:1092: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def157]
xen-4.19.2/extras/mini-os/9pfront.c:1096: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def158]
xen-4.19.2/extras/mini-os/9pfront.c:1097: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def159]
xen-4.19.2/extras/mini-os/9pfront.c:1099: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def160]
xen-4.19.2/extras/mini-os/9pfront.c:1101: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-457): [#def161]
xen-4.19.2/extras/mini-os/arch/x86/gnttab.c:70: warning[uninitvar]: Uninitialized variable: frames
Error: GCC_ANALYZER_WARNING (CWE-787): [#def162]
xen-4.19.2/extras/mini-os/arch/x86/mm.c:747:5: warning[-Wanalyzer-out-of-bounds]: buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-476): [#def163]
xen-4.19.2/extras/mini-os/arch/x86/mm.c:754:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pgt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
xen-4.19.2/extras/mini-os/console.c:320:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intf’
xen-4.19.2/extras/mini-os/include/console.h:94:5: enter_function: entry to ‘xencons_ring_avail’
xen-4.19.2/extras/mini-os/console.c:315:8: branch_true: following ‘true’ branch (when ‘dev’ is NULL)...
xen-4.19.2/extras/mini-os/console.c:316:16: call_function: inlined call to ‘xencons_interface’ from ‘xencons_ring_avail’
xen-4.19.2/extras/mini-os/console.c:320:5: branch_false: ...to here
xen-4.19.2/extras/mini-os/console.c:320:5: danger: dereference of NULL ‘intf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def165]
xen-4.19.2/extras/mini-os/console.c:340:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘intf’
xen-4.19.2/extras/mini-os/include/console.h:95:5: enter_function: entry to ‘xencons_ring_recv’
xen-4.19.2/extras/mini-os/console.c:335:8: branch_true: following ‘true’ branch (when ‘dev’ is NULL)...
xen-4.19.2/extras/mini-os/console.c:336:16: call_function: inlined call to ‘xencons_interface’ from ‘xencons_ring_recv’
xen-4.19.2/extras/mini-os/console.c:340:5: branch_false: ...to here
xen-4.19.2/extras/mini-os/console.c:340:5: danger: dereference of NULL ‘intf’
Error: CPPCHECK_WARNING (CWE-476): [#def166]
xen-4.19.2/extras/mini-os/console.c:368: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: GCC_ANALYZER_WARNING (CWE-688): [#def167]
xen-4.19.2/extras/mini-os/console.c:368:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dev’ where non-null expected
xen-4.19.2/extras/mini-os/console.c:364:8: branch_false: following ‘false’ branch...
xen-4.19.2/extras/mini-os/console.c:367:11: branch_false: ...to here
xen-4.19.2/extras/mini-os/console.c:367:11: acquire_memory: this call could return NULL
xen-4.19.2/extras/mini-os/console.c:368:5: danger: argument 1 (‘dev’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def168]
xen-4.19.2/extras/mini-os/console.c:369: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def169]
xen-4.19.2/extras/mini-os/console.c:370: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def170]
xen-4.19.2/extras/mini-os/console.c:371: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def171]
xen-4.19.2/extras/mini-os/console.c:372: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def172]
xen-4.19.2/extras/mini-os/console.c:375: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def173]
xen-4.19.2/extras/mini-os/console.c:385: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def174]
xen-4.19.2/extras/mini-os/console.c:386: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def175]
xen-4.19.2/extras/mini-os/console.c:388: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def176]
xen-4.19.2/extras/mini-os/console.c:395: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: GCC_ANALYZER_WARNING (CWE-835): [#def177]
xen-4.19.2/extras/mini-os/gnttab.c:138:12: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.19.2/extras/mini-os/gnttab.c:138:12: danger: infinite loop here
xen-4.19.2/extras/mini-os/gnttab.c:138:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
branch_true: ...to here
Error: CPPCHECK_WARNING (CWE-476): [#def178]
xen-4.19.2/extras/mini-os/include/posix/pthread.h:14: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: *key
Error: CPPCHECK_WARNING (CWE-758): [#def179]
xen-4.19.2/extras/mini-os/kernel.c:71: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-369): [#def180]
xen-4.19.2/extras/mini-os/lib/math.c:163: error[zerodiv]: Division by zero.
Error: CPPCHECK_WARNING (CWE-476): [#def181]
xen-4.19.2/extras/mini-os/lib/sys.c:678: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
xen-4.19.2/extras/mini-os/lib/sys.c:678:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
xen-4.19.2/extras/mini-os/lib/sys.c:677:11: acquire_memory: this call could return NULL
xen-4.19.2/extras/mini-os/lib/sys.c:678:5: danger: ‘ret’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def183]
xen-4.19.2/extras/mini-os/lib/sys.c:679: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def184]
xen-4.19.2/extras/mini-os/lib/sys.c:680: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def185]
xen-4.19.2/extras/mini-os/lib/sys.c:681: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def186]
xen-4.19.2/extras/mini-os/lib/sys.c:682: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def187]
xen-4.19.2/extras/mini-os/lib/sys.c:683: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def188]
xen-4.19.2/extras/mini-os/lib/sys.c:1531: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mfns
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
xen-4.19.2/extras/mini-os/lib/sys.c:1531:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mfns’
xen-4.19.2/extras/mini-os/lib/sys.c:1514:8: branch_false: following ‘false’ branch...
xen-4.19.2/extras/mini-os/lib/sys.c:1516:10: branch_false: ...to here
xen-4.19.2/extras/mini-os/lib/sys.c:1521:12: acquire_memory: this call could return NULL
xen-4.19.2/extras/mini-os/lib/sys.c:1522:17: branch_true: following ‘true’ branch (when ‘i < n’)...
xen-4.19.2/extras/mini-os/lib/sys.c:1531:19: branch_true: ...to here
xen-4.19.2/extras/mini-os/lib/sys.c:1531:9: danger: ‘mfns + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def190]
xen-4.19.2/extras/mini-os/lib/xs.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: GCC_ANALYZER_WARNING (CWE-131): [#def191]
xen-4.19.2/extras/mini-os/lib/xs.c:193:15: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
xen-4.19.2/extras/mini-os/lib/xs.c:183:8: branch_false: following ‘false’ branch (when ‘msg’ is NULL)...
branch_false: ...to here
xen-4.19.2/extras/mini-os/lib/xs.c:190:17: branch_true: following ‘true’ branch...
xen-4.19.2/extras/mini-os/lib/xs.c:191:17: branch_true: ...to here
xen-4.19.2/extras/mini-os/lib/xs.c:190:17: branch_false: following ‘false’ branch...
xen-4.19.2/extras/mini-os/lib/xs.c:193:15: branch_false: ...to here
xen-4.19.2/extras/mini-os/lib/xs.c:193:15: danger: allocated ‘(long unsigned int)n * 8 + (long unsigned int)size’ bytes and assigned to ‘char **’ here; ‘sizeof (char *)’ is ‘8’
Error: CPPCHECK_WARNING (CWE-476): [#def192]
xen-4.19.2/extras/mini-os/lib/xs.c:200: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: entries
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
xen-4.19.2/extras/mini-os/lib/xs.c:200:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entries’
xen-4.19.2/extras/mini-os/lib/xs.c:183:8: branch_false: following ‘false’ branch (when ‘msg’ is NULL)...
branch_false: ...to here
xen-4.19.2/extras/mini-os/lib/xs.c:193:15: acquire_memory: this call could return NULL
xen-4.19.2/extras/mini-os/lib/xs.c:196:17: branch_true: following ‘true’ branch (when ‘i < n’)...
xen-4.19.2/extras/mini-os/lib/xs.c:197:27: branch_true: ...to here
xen-4.19.2/extras/mini-os/lib/xs.c:200:9: danger: ‘entries + (long unsigned int)i * 8’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-570): [#def194]
xen-4.19.2/extras/mini-os/main.c:70: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def195]
xen-4.19.2/extras/mini-os/main.c:70:46: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: CPPCHECK_WARNING (CWE-476): [#def196]
xen-4.19.2/extras/mini-os/xenbus.c:148: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: event
Error: CPPCHECK_WARNING (CWE-682): [#def197]
xen-4.19.2/extras/mini-os/xenbus.c:313: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def198]
xen-4.19.2/extras/mini-os/xenbus.c:353: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-682): [#def199]
xen-4.19.2/extras/mini-os/xenbus.c:354: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
xen-4.19.2/extras/mini-os/xenbus.c:407:14: warning[-Wanalyzer-malloc-leak]: leak of ‘xenbus_read(0, "domid", &dom_id)’
xen-4.19.2/extras/mini-os/include/xenbus.h:126:9: enter_function: entry to ‘xenbus_get_self_id’
xen-4.19.2/extras/mini-os/xenbus.c:988:5: call_function: calling ‘xenbus_read’ from ‘xenbus_get_self_id’
xen-4.19.2/extras/mini-os/xenbus.c:988:5: return_function: returning to ‘xenbus_get_self_id’ from ‘xenbus_read’
xen-4.19.2/extras/mini-os/xenbus.c:407:14: danger: ‘xenbus_read(0, "domid", &dom_id)’ leaks here; was allocated at [(44)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/43)
Error: CPPCHECK_WARNING (CWE-476): [#def201]
xen-4.19.2/extras/mini-os/xenbus.c:629: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def202]
xen-4.19.2/extras/mini-os/xenbus.c:630: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def203]
xen-4.19.2/extras/mini-os/xenbus.c:665: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def204]
xen-4.19.2/extras/mini-os/xenbus.c:666: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def205]
xen-4.19.2/extras/mini-os/xenbus.c:670: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def206]
xen-4.19.2/extras/mini-os/xenbus.c:693: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def207]
xen-4.19.2/extras/mini-os/xenbus.c:694: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def208]
xen-4.19.2/extras/mini-os/xenbus.c:821: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: CPPCHECK_WARNING (CWE-476): [#def209]
xen-4.19.2/extras/mini-os/xenbus.c:822: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: res
Error: GCC_ANALYZER_WARNING (CWE-688): [#def210]
xen-4.19.2/extras/mini-os/xenbus.c:938:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
xen-4.19.2/extras/mini-os/include/xenbus.h:111:5: enter_function: entry to ‘xenbus_read_uuid’
xen-4.19.2/extras/mini-os/xenbus.c:930:11: call_function: calling ‘xenbus_read’ from ‘xenbus_read_uuid’
xen-4.19.2/extras/mini-os/xenbus.c:930:11: return_function: returning to ‘xenbus_read_uuid’ from ‘xenbus_read’
xen-4.19.2/extras/mini-os/xenbus.c:931:8: branch_false: following ‘false’ branch (when ‘res’ is NULL)...
xen-4.19.2/extras/mini-os/xenbus.c:938:10: branch_false: ...to here
xen-4.19.2/extras/mini-os/xenbus.c:938:10: danger: argument 1 (‘buf’) from [(47)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/46) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
xen-4.19.2/extras/mini-os/xenbus.c:992:1: warning[-Wanalyzer-malloc-leak]: leak of ‘dom_id’
xen-4.19.2/extras/mini-os/include/xenbus.h:126:9: enter_function: entry to ‘xenbus_get_self_id’
xen-4.19.2/extras/mini-os/xenbus.c:988:5: call_function: calling ‘xenbus_read’ from ‘xenbus_get_self_id’
xen-4.19.2/extras/mini-os/xenbus.c:988:5: return_function: returning to ‘xenbus_get_self_id’ from ‘xenbus_read’
xen-4.19.2/extras/mini-os/xenbus.c:988:5: branch_false: following ‘false’ branch...
xen-4.19.2/extras/mini-os/xenbus.c:989:5: branch_false: ...to here
xen-4.19.2/extras/mini-os/xenbus.c:992:1: danger: ‘dom_id’ leaks here; was allocated at [(47)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/46)
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def212]
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:140:55: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:518:19: enter_function: entry to ‘read_bunzip’
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:524:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:528:9: branch_false: ...to here
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:536:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:605:20: branch_false: ...to here
xen-4.19.2/stubdom/include/../../xen/common/bunzip2.c:605:20: call_function: calling ‘get_next_block’ from ‘read_bunzip’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def213]
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:575:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*rc.ptr’
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:552:12: branch_false: following ‘false’ branch (when ‘buf’ is NULL)...
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:555:25: branch_false: ...to here
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:556:12: branch_false: following ‘false’ branch (when ‘inbuf’ is non-NULL)...
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:561:9: branch_false: ...to here
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:572:21: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:573:21: branch_true: ...to here
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:573:20: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:575:50: branch_false: ...to here
xen-4.19.2/stubdom/include/../../xen/common/unlzma.c:575:49: danger: use of uninitialized value ‘*rc.ptr’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def214]
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:182:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def215]
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:185:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def216]
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:188:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def217]
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:191:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def218]
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def219]
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def220]
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:87:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch (when ‘nullfd >= 0’)...
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:84:9: acquire_resource: opened here
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:85:8: branch_false: following ‘false’ branch (when ‘r >= 0’)...
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:87:5: branch_false: ...to here
xen-4.19.2/stubdom/libs-x86_64/toolcore/handlereg.c:87:5: danger: ‘r’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING: [#def221]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:38: included_from: Included from here.
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘init_string_with_size’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:67:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def222]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘init_string’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:76:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def223]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘find’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:83:18: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def224]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘write_buffer’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:101:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def225]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘delete_string’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:108:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def226]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘addr’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:115:20: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def227]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘at’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:122:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def228]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘catchar’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:133:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def229]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘overwrite_string’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:147:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def230]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘catstr’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:157:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def231]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘cattext’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:169:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def232]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘catbuf’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:181:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def233]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘skip_white_and_stars’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:197:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def234]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘exec’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:240:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING (CWE-704): [#def235]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘push_number’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:271:12: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def236]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘remove_noncomments’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:299:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def237]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘iscommand’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:777:8: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def238]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘copy_past_newline’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:802:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def239]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘nextword’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1066:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def240]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘lookup_word’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1144:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def241]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘newentry’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1198:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: CPPCHECK_WARNING (CWE-476): [#def242]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1202: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def243]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1203: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def244]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1205: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def245]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1206: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: CPPCHECK_WARNING (CWE-476): [#def246]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1207: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new
Error: COMPILER_WARNING: [#def247]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_to_definition’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1214:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def248]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_intrinsic’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1237:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def249]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_var’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1253:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def250]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘compile’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1267:7: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING (CWE-704): [#def251]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘bang’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1343:2: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def252]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘atsign’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1351:15: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING: [#def253]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘read_in’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1364:19: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def254]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘main’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1389:11: warning[-Wold-style-definition]: old-style function definition
xen-4.19.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: CPPCHECK_WARNING (CWE-476): [#def255]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:33: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: name_str
Error: CPPCHECK_WARNING (CWE-476): [#def256]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:46: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: name_str
Error: COMPILER_WARNING: [#def257]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/errno/errno.c:11:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def258]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:22:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def259]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:23:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def260]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:24:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def261]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:25:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def262]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:179:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def263]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:222:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def264]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/__dprintf.c:256:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def265]
xen-4.19.2/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): [#def266]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:36: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-570): [#def267]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:42: error[subtractPointers]: Subtracting pointers that point to different objects
Error: CPPCHECK_WARNING (CWE-570): [#def268]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:54: error[subtractPointers]: Subtracting pointers that point to different objects
Error: COMPILER_WARNING: [#def269]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:106:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING (CWE-457): [#def270]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.h:171:29: warning[-Wmaybe-uninitialized]: ‘freep’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: note: in expansion of macro ‘SETBIT’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c: scope_hint: In function ‘__add_ovflpage’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:670:21: note: ‘freep’ was declared here
Error: COMPILER_WARNING (CWE-691): [#def271]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_bigkey.c: scope_hint: In function ‘__big_insert’
xen-4.19.2/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): [#def272]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c: scope_hint: In function ‘__get_buf’
xen-4.19.2/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.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:122:22: note: ‘segment_ndx’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def273]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:153:29: warning[-Wmaybe-uninitialized]: ‘segp’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:123:17: note: ‘segp’ was declared here
Error: COMPILER_WARNING (CWE-1164): [#def274]
xen-4.19.2/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): [#def275]
xen-4.19.2/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): [#def276]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_func.c:118:1: warning[-Wunused-function]: ‘hash3’ defined but not used
Error: COMPILER_WARNING: [#def277]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_log2.c:47:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING (CWE-563): [#def278]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c:126:32: warning[-Wunused-variable]: unused variable ‘ie’
Error: COMPILER_WARNING (CWE-563): [#def279]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c: scope_hint: In function ‘hdestroy_r’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c:127:16: warning[-Wunused-variable]: unused variable ‘idx’
Error: COMPILER_WARNING: [#def280]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/qsort.c:84:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def281]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/qsort.c:130:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def282]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/search/qsort.c:142:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def283]
xen-4.19.2/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): [#def284]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c: scope_hint: In function ‘_asiprintf_r’
xen-4.19.2/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): [#def285]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c: scope_hint: In function ‘asiprintf’
xen-4.19.2/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): [#def286]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c: scope_hint: In function ‘_asprintf_r’
xen-4.19.2/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): [#def287]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c: scope_hint: In function ‘asprintf’
xen-4.19.2/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: COMPILER_WARNING (CWE-681): [#def288]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fread.c: scope_hint: In function ‘_fread_r’
xen-4.19.2/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): [#def289]
xen-4.19.2/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): [#def290]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/open_memstream.c: scope_hint: In function ‘_open_memstream_r’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/open_memstream.c:257:7: warning[-Wunused-variable]: unused variable ‘flags’
Error: COMPILER_WARNING (CWE-681): [#def291]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vasiprintf.c: scope_hint: In function ‘_vasiprintf_r’
xen-4.19.2/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): [#def292]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vasprintf.c: scope_hint: In function ‘_vasprintf_r’
xen-4.19.2/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: [#def293]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:229:12: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def294]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c: scope_hint: In function ‘__svfscanf_r’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:302:3: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def295]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:506:11: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def296]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:512:11: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def297]
xen-4.19.2/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): [#def298]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:1403: error[nullPointer]: Null pointer dereference
Error: COMPILER_WARNING (CWE-681): [#def299]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c: scope_hint: In function ‘btowc’
xen-4.19.2/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.2/stubdom/newlib-1.16.0/newlib/libc/include/wchar.h:4: included_from: Included from here.
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c:1: included_from: Included from here.
xen-4.19.2/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: [#def300]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv.c: scope_hint: In function ‘getenv’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv.c:89:3: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def301]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv_r.c: scope_hint: In function ‘_getenv_r’
xen-4.19.2/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: [#def302]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:722:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def303]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mallocr.c:1014:41: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mallocr.c:3412:13: note: in expansion of macro ‘malloc_update_mallinfo’
Error: COMPILER_WARNING: [#def304]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mlock.c:47:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def305]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mlock.c:56:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: CPPCHECK_WARNING (CWE-476): [#def306]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/strtod.c:1176: error[nullPointer]: Null pointer dereference
Error: COMPILER_WARNING: [#def307]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/system.c:64:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def308]
xen-4.19.2/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-681): [#def309]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c: scope_hint: In function ‘wctob’
xen-4.19.2/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.2/stubdom/newlib-1.16.0/newlib/libc/include/sys/reent.h:13: included_from: Included from here.
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/include/reent.h:48: included_from: Included from here.
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c:1: included_from: Included from here.
xen-4.19.2/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: [#def310]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libc/time/mktime.c:68:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING (CWE-457): [#def311]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:21: included_from: Included from here.
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c: scope_hint: In function ‘__ieee754_rem_pio2’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/common/fdlibm.h:335:14: warning[-Wmaybe-uninitialized]: ‘z’ may be used uninitialized
xen-4.19.2/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.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:92:16: note: ‘z’ was declared here
Error: CPPCHECK_WARNING (CWE-758): [#def312]
xen-4.19.2/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): [#def313]
xen-4.19.2/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): [#def314]
xen-4.19.2/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): [#def315]
xen-4.19.2/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): [#def316]
xen-4.19.2/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): [#def317]
xen-4.19.2/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): [#def318]
xen-4.19.2/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): [#def319]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_atan2.c: scope_hint: In function ‘__ieee754_atan2’
xen-4.19.2/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): [#def320]
xen-4.19.2/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): [#def321]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152: error[legacyUninitvar]: Uninitialized variable: k
Error: COMPILER_WARNING (CWE-457): [#def322]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: warning[-Wmaybe-uninitialized]: ‘k’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:112:19: note: ‘k’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def323]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:153:37: warning[-Wmaybe-uninitialized]: ‘lo’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:111:21: note: ‘lo’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def324]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c: scope_hint: In function ‘__ieee754_exp’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:153:52: warning[-Wmaybe-uninitialized]: ‘hi’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:111:18: note: ‘hi’ was declared here
Error: CPPCHECK_WARNING (CWE-758): [#def325]
xen-4.19.2/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): [#def326]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/e_pow.c: scope_hint: In function ‘__ieee754_pow’
xen-4.19.2/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): [#def327]
xen-4.19.2/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): [#def328]
xen-4.19.2/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: COMPILER_WARNING (CWE-457): [#def329]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: warning[-Wmaybe-uninitialized]: ‘k’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:50:19: note: ‘k’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def330]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:88:37: warning[-Wmaybe-uninitialized]: ‘lo’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:49:20: note: ‘lo’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def331]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c: scope_hint: In function ‘__ieee754_expf’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:88:59: warning[-Wmaybe-uninitialized]: ‘hi’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:49:17: note: ‘hi’ was declared here
Error: COMPILER_WARNING: [#def332]
xen-4.19.2/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): [#def333]
xen-4.19.2/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): [#def334]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_pow.c: scope_hint: In function ‘__ieee754_powf’
xen-4.19.2/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): [#def335]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_sqrt.c: scope_hint: In function ‘__ieee754_sqrtf’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_sqrt.c:32:25: warning[-Wunused-variable]: unused variable ‘sign’
Error: COMPILER_WARNING (CWE-457): [#def336]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c: scope_hint: In function ‘__ieee754_lgamma_r’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c:307:20: warning[-Wmaybe-uninitialized]: ‘nadj’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c:219:22: note: ‘nadj’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def337]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c: scope_hint: In function ‘__ieee754_lgammaf_r’
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c:242:20: warning[-Wmaybe-uninitialized]: ‘nadj’ may be used uninitialized
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c:154:21: note: ‘nadj’ was declared here
Error: COMPILER_WARNING (CWE-483): [#def338]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2’
xen-4.19.2/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.2/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: COMPILER_WARNING (CWE-483): [#def339]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2f’
xen-4.19.2/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.2/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: COMPILER_WARNING: [#def340]
xen-4.19.2/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: [#def341]
xen-4.19.2/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: [#def342]
xen-4.19.2/stubdom/newlib-1.16.0/newlib/libm/math/wf_cabs.c:16:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: COMPILER_WARNING: [#def343]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:67:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def344]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:76:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def345]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:83:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def346]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:101:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def347]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:108:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def348]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:115:14: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def349]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:122:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def350]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:133:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def351]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:147:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def352]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:157:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def353]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:169:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def354]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:181:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def355]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:197:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def356]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:240:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-704): [#def357]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:271:12: warning[-Wpointer-to-int-cast]: cast from pointer to integer of different size
Error: COMPILER_WARNING: [#def358]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:299:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def359]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:777:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def360]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:802:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def361]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1066:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def362]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1144:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def363]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1198:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-476): [#def364]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1202:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1389:5: enter_function: entry to ‘main’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1406:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: COMPILER_WARNING: [#def365]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1214:1: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-401): [#def366]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1221:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1389:5: enter_function: entry to ‘main’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1406:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def367]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1225:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*entry.code + (long unsigned int)*entry.code_end * 8’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1389:5: enter_function: entry to ‘main’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1406:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: COMPILER_WARNING: [#def368]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1237:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def369]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1253:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def370]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1267:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-704): [#def371]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1343:2: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING (CWE-704): [#def372]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1351:15: warning[-Wint-to-pointer-cast]: cast to pointer from integer of different size
Error: COMPILER_WARNING: [#def373]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1364:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def374]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/doc/../../../../newlib-1.16.0/newlib/doc/makedoc.c:1389:5: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:68:1: warning[-Wanalyzer-malloc-leak]: leak of ‘running’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:30:6: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:39:13: acquire_memory: allocated here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:49:5: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:68:1: danger: ‘running’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_replace.c:73:9: warning[-Wanalyzer-malloc-leak]: leak of ‘new_argz_iter’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_replace.c:46:6: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_replace.c:48:26: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_replace.c:48:26: acquire_memory: allocated here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_replace.c:73:9: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/argz_replace.c:73:9: danger: ‘new_argz_iter’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def377]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../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
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:30:10: branch_true: following ‘true’ branch (when ‘override == 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:32:22: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:32:22: acquire_memory: this call could return NULL
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:33:23: danger: argument 1 (‘name_str’) from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def378]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: warning[-Wanalyzer-malloc-leak]: leak of ‘name_str’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: acquire_memory: allocated here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:47:13: branch_false: following ‘false’ branch (when ‘name_iter’ is NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:57:20: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:30:10: branch_false: following ‘false’ branch (when ‘override != 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: danger: ‘name_str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def379]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../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
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: acquire_memory: this call could return NULL
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz/../../../../../newlib-1.16.0/newlib/libc/argz/envz_merge.c:46:23: danger: argument 1 (‘name_str’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def380]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:160:15: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:69:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:72:14: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:72:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:90:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:93:9: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:98:14: acquire_resource: opened here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:99:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:104:13: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:104:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:107:13: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:107:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:109:30: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:124:12: branch_false: following ‘false’ branch (when ‘lbuf’ is non-NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:126:16: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:129:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:131:13: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:131:13: release_resource: first ‘close’ here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:160:15: danger: second ‘close’ here; first ‘close’ was at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:173:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:171:21: branch_true: following ‘true’ branch (when ‘p < plim’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:172:21: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/locale/../../../../../newlib-1.16.0/newlib/libc/locale/ldpart.c:173:17: danger: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def382]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/misc/../../../../../newlib-1.16.0/newlib/libc/misc/init.c:36:31: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def383]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/misc/../../../../../newlib-1.16.0/newlib/libc/misc/init.c:42:28: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def384]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/misc/../../../../../newlib-1.16.0/newlib/libc/misc/init.c:54:28: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:814:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:781:25: branch_true: following ‘true’ branch (when ‘bp’ is NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:782:22: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:782:20: branch_true: following ‘true’ branch (when ‘bufp’ is NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:783:39: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:784:29: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:794:25: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:795:28: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:806:24: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:814:22: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:814:22: danger: dereference of NULL ‘bp’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def386]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:912:17: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:908:12: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:909:17: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:912:17: danger: assigned to ‘BUFHEAD ***’ {{aka ‘struct _bufhead ***’}} here; ‘sizeof (SEGMENT {{aka struct _bufhead **}})’ is ‘8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:962:21: warning[-Wanalyzer-malloc-leak]: leak of ‘store’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:947:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:956:38: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:956:22: acquire_memory: allocated here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:955:12: branch_false: following ‘false’ branch (when ‘store’ is non-NULL)...
branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:962:21: branch_false: following ‘false’ branch (when ‘i >= nsegs’)...
branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash.c:962:21: danger: ‘store’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-131): [#def388]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../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-457): [#def389]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘freep’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:685:31: branch_false: following ‘false’ branch (when ‘i > free_page’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:709:29: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:712:13: branch_false: following ‘false’ branch (when ‘splitnum == 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:711:9: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:715:12: branch_false: following ‘false’ branch (when ‘offset <= 2047’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:727:26: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:727:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:768:17: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: danger: use of uninitialized value ‘freep’ here
Error: GCC_ANALYZER_WARNING (CWE-131): [#def390]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:918:13: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:916:12: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:918:54: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/search/../../../../../newlib-1.16.0/newlib/libc/search/hash_page.c:918:13: danger: assigned to ‘__uint32_t *’ {{aka ‘unsigned int *’}} here; ‘sizeof (__uint32_t {{aka unsigned int}})’ is ‘4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def391]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:313:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:282:6: branch_false: following ‘false’ branch (when ‘flags != 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:284:6: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:284:6: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:289:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:291:27: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:291:6: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:303:3: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:309:6: branch_true: following ‘true’ branch (when ‘buf’ is NULL)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:312:25: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdio/../../../../../newlib-1.16.0/newlib/libc/stdio/fmemopen.c:313:7: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def392]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:2490:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[2]’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3249:1: enter_function: entry to ‘asctoeg’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3263:4: branch_false: following ‘false’ branch (when ‘c > 200’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3267:21: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:11: branch_true: following ‘true’ branch (when ‘k < c’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:23: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:16: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:11: branch_true: following ‘true’ branch (when ‘k < c’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:23: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3295:1: call_function: inlined call to ‘ecleaz’ from ‘asctoeg’
branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3300:3: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3354:1: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3445:8: branch_false: following ‘false’ branch (when ‘nexp <= 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3457:10: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3457:10: call_function: calling ‘enormlz’ from ‘asctoeg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sp’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3263:4: branch_false: following ‘false’ branch (when ‘c > 200’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3267:21: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3267:21: acquire_memory: this call could return NULL
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:11: branch_true: following ‘true’ branch (when ‘k < c’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:23: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:13: danger: ‘sp’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def394]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3329:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yy[2]’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3249:1: enter_function: entry to ‘asctoeg’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3263:4: branch_false: following ‘false’ branch (when ‘c > 200’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3267:21: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:11: branch_true: following ‘true’ branch (when ‘k < c’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:23: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:16: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:11: branch_true: following ‘true’ branch (when ‘k < c’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:23: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3295:1: call_function: inlined call to ‘ecleaz’ from ‘asctoeg’
branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3300:3: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3303:13: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3303:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3306:13: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3306:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3329:13: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3329:13: danger: use of uninitialized value ‘yy[2]’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def395]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:184:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:418:1: enter_function: entry to ‘__pow5mult’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:425:6: branch_true: following ‘true’ branch (when ‘i != 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:426:30: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:426:9: call_function: calling ‘__multadd’ from ‘__pow5mult’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def396]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:206:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:190:1: enter_function: entry to ‘__s2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:204:7: call_function: calling ‘_Balloc’ from ‘__s2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:204:7: return_function: return of NULL to ‘__s2b’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:206:3: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:321:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:315:1: enter_function: entry to ‘__i2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:319:7: call_function: calling ‘_Balloc’ from ‘__i2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:319:7: return_function: return of NULL to ‘__i2b’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:321:3: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def398]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:413:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:326:1: enter_function: entry to ‘__multiply’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:348:7: call_function: calling ‘_Balloc’ from ‘__multiply’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:348:7: return_function: return of NULL to ‘__multiply’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:349:32: branch_false: following ‘false’ branch (when ‘x >= xa’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:351:3: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:357:10: branch_false: following ‘false’ branch (when ‘xb >= xbe’)...
branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:413:3: danger: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:512:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:563:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:548:1: enter_function: entry to ‘__mdiff’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:560:6: branch_true: following ‘true’ branch (when ‘i == 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: call_function: calling ‘_Balloc’ from ‘__mdiff’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: return_function: return of NULL to ‘__mdiff’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:563:7: danger: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:577:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:548:1: enter_function: entry to ‘__mdiff’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:560:6: branch_false: following ‘false’ branch (when ‘i != 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:567:6: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:576:7: call_function: calling ‘_Balloc’ from ‘__mdiff’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:576:7: return_function: return of NULL to ‘__mdiff’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:577:3: danger: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:1: enter_function: entry to ‘__d2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: call_function: calling ‘_Balloc’ from ‘__d2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: return_function: return of NULL to ‘__d2b’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:800:6: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:802:7: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:804:10: branch_true: following ‘true’ branch (when ‘k != 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:21: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:10: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:1: enter_function: entry to ‘__d2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: call_function: calling ‘_Balloc’ from ‘__d2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: return_function: return of NULL to ‘__d2b’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:800:6: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:802:7: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:804:10: branch_false: following ‘false’ branch (when ‘k == 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:9: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:9: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:821:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:1: enter_function: entry to ‘__d2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: call_function: calling ‘_Balloc’ from ‘__d2b’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: return_function: return of NULL to ‘__d2b’ from ‘_Balloc’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:800:6: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:820:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/stdlib/../../../../../newlib-1.16.0/newlib/libc/stdlib/mprec.c:821:7: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def405]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘k’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:133:11: branch_false: following ‘false’ branch (when ‘hx <= 1071001154’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:144:16: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:144:16: branch_true: following ‘true’ branch (when ‘hx <= 1043333119’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:145:16: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:145:15: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:150:9: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: danger: use of uninitialized value ‘k’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def406]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘z’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:100:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:102:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:102:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:127:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:127:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:165:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:165:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:170:9: danger: use of uninitialized value ‘z’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def407]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘k’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:58:11: branch_false: following ‘false’ branch (when ‘hx <= 2139095040’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:60:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:60:11: branch_false: following ‘false’ branch (when ‘hx != 2139095040’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:62:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:62:11: branch_false: following ‘false’ branch (when ‘sx <= 1118925335’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:64:12: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:64:11: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:68:11: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:68:11: branch_false: following ‘false’ branch (when ‘hx <= 1051816472’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:79:16: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:79:16: branch_true: following ‘true’ branch (when ‘hx <= 830472191’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:80:16: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:80:15: branch_false: following ‘false’ branch...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:85:9: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: danger: use of uninitialized value ‘k’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def408]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:209:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iq[<unknown>]’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:196:30: branch_false: following ‘false’ branch (when ‘j <= 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:203:14: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:208:11: branch_true: following ‘true’ branch (when ‘q0 > 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:209:22: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:209:19: danger: use of uninitialized value ‘iq[<unknown>]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def409]
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:99:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘iq[<unknown>]’
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:86:30: branch_false: following ‘false’ branch (when ‘j <= 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:93:14: branch_false: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:98:11: branch_true: following ‘true’ branch (when ‘q0 > 0’)...
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:99:22: branch_true: ...to here
xen-4.19.2/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libm/math/../../../../../newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:99:19: danger: use of uninitialized value ‘iq[<unknown>]’ here
Error: CPPCHECK_WARNING (CWE-476): [#def410]
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:73: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: a
Error: GCC_ANALYZER_WARNING (CWE-688): [#def411]
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:73:3: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘a’ where non-null expected
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:70:26: acquire_memory: this call could return NULL
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:73:3: danger: argument 1 (‘a’) from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-404): [#def412]
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:119:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:115:3: acquire_resource: ‘va_start’ called here
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:119:1: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def413]
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:205:3: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:201:1: enter_function: entry to ‘pci_alloc_dev’
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:203:23: call_function: calling ‘pci_malloc’ from ‘pci_alloc_dev’
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:203:23: return_function: returning to ‘pci_alloc_dev’ from ‘pci_malloc’
xen-4.19.2/stubdom/pciutils-x86_64/lib/access.c:205:3: danger: argument 1 (‘d’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def414]
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c: scope_hint: In function ‘dump_validate’
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:44:7: warning[-Wunused-value]: value computed is not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def415]
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:67:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘z’
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:60:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:62:10: branch_true: following ‘true’ branch...
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:64:17: branch_true: ...to here
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:65:10: branch_true: following ‘true’ branch (when ‘z’ is NULL)...
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:66:9: branch_true: ...to here
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:67:7: danger: dereference of NULL ‘z’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def416]
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:110:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:60:13: acquire_resource: opened here
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:60:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
branch_false: ...to here
xen-4.19.2/stubdom/pciutils-x86_64/lib/dump.c:110:1: danger: ‘f’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-563): [#def417]
xen-4.19.2/stubdom/pciutils-x86_64/lib/generic.c: scope_hint: In function ‘pci_generic_fill_info’
xen-4.19.2/stubdom/pciutils-x86_64/lib/generic.c:134:27: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def418]
xen-4.19.2/stubdom/pciutils-x86_64/lib/generic.c:147:31: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def419]
xen-4.19.2/stubdom/pciutils-x86_64/lib/generic.c:179:35: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def420]
xen-4.19.2/stubdom/pciutils-x86_64/lib/generic.c:212:23: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def421]
xen-4.19.2/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_detect’
xen-4.19.2/stubdom/pciutils-x86_64/lib/minios.c:15:34: warning[-Wunused-parameter]: unused parameter ‘a’
Error: COMPILER_WARNING (CWE-563): [#def422]
xen-4.19.2/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_init’
xen-4.19.2/stubdom/pciutils-x86_64/lib/minios.c:21:32: warning[-Wunused-parameter]: unused parameter ‘a’
Error: COMPILER_WARNING (CWE-563): [#def423]
xen-4.19.2/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_cleanup’
xen-4.19.2/stubdom/pciutils-x86_64/lib/minios.c:26:35: warning[-Wunused-parameter]: unused parameter ‘a’
Error: CPPCHECK_WARNING (CWE-476): [#def424]
xen-4.19.2/stubdom/pciutils-x86_64/lib/names.c:36: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_name
Error: CPPCHECK_WARNING (CWE-476): [#def425]
xen-4.19.2/stubdom/pciutils-x86_64/lib/names.c:37: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: new_name
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
xen-4.19.2/tools/9pfsd/io.c:378:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
xen-4.19.2/tools/9pfsd/io.c:1406:7: enter_function: entry to ‘io_thread’
xen-4.19.2/tools/9pfsd/io.c:1415:8: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/9pfsd/io.c:1421:13: branch_false: following ‘false’ branch...
xen-4.19.2/tools/9pfsd/io.c:1423:9: branch_false: ...to here
xen-4.19.2/tools/9pfsd/io.c:1432:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/9pfsd/io.c:1435:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/9pfsd/io.c:1437:16: branch_false: ...to here
xen-4.19.2/tools/9pfsd/io.c:1437:16: branch_true: following ‘true’ branch (when ‘in_hdr != 0’)...
xen-4.19.2/tools/9pfsd/io.c:1439:26: branch_true: ...to here
xen-4.19.2/tools/9pfsd/io.c:1440:20: branch_false: following ‘false’ branch (when ‘count == 7’)...
xen-4.19.2/tools/9pfsd/io.c:1442:44: branch_false: ...to here
xen-4.19.2/tools/9pfsd/io.c:1443:20: branch_false: following ‘false’ branch...
xen-4.19.2/tools/9pfsd/io.c:1454:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/9pfsd/io.c:1457:13: branch_false: ...to here
xen-4.19.2/tools/9pfsd/io.c:1462:17: call_function: calling ‘p9_version’ from ‘io_thread’
Error: CPPCHECK_WARNING (CWE-909): [#def427]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:256: error[uninitStructMember]: Uninitialized struct member: device.devid
Error: CPPCHECK_WARNING (CWE-909): [#def428]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:256: error[uninitStructMember]: Uninitialized struct member: device.domid
Error: CPPCHECK_WARNING (CWE-457): [#def429]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:256: error[uninitvar]: Uninitialized variable: device
Error: CPPCHECK_WARNING (CWE-401): [#def430]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:304: error[memleak]: Memory leak: device
Error: CPPCHECK_WARNING (CWE-909): [#def431]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:617: error[uninitStructMember]: Uninitialized struct member: device.last_seen
Error: CPPCHECK_WARNING (CWE-457): [#def432]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:617: error[uninitvar]: Uninitialized variable: device
Error: CPPCHECK_WARNING (CWE-909): [#def433]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:688: error[uninitStructMember]: Uninitialized struct member: device.num_rings
Error: CPPCHECK_WARNING (CWE-457): [#def434]
xen-4.19.2/tools/9pfsd/xen-9pfsd.c:688: error[uninitvar]: Uninitialized variable: device
Error: GCC_ANALYZER_WARNING (CWE-775): [#def435]
xen-4.19.2/tools/console/client/main.c:200:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.19.2/tools/console/client/main.c:324:5: enter_function: entry to ‘main’
xen-4.19.2/tools/console/client/main.c:399:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/console/client/main.c:405:28: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:414:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/console/client/main.c:418:9: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:421:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/console/client/main.c:423:12: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:426:20: branch_false: following ‘false’ branch...
xen-4.19.2/tools/console/client/main.c:428:21: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:428:20: branch_false: following ‘false’ branch...
xen-4.19.2/tools/console/client/main.c:433:21: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:440:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
xen-4.19.2/tools/console/client/main.c:442:12: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:456:12: branch_false: following ‘false’ branch (when ‘type != 3’)...
xen-4.19.2/tools/console/client/main.c:465:12: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:465:12: branch_false: following ‘false’ branch (when ‘domid != 0’)...
xen-4.19.2/tools/console/client/main.c:470:9: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:470:9: call_function: calling ‘console_lock’ from ‘main’
xen-4.19.2/tools/console/client/main.c:470:9: return_function: returning to ‘main’ from ‘console_lock’
xen-4.19.2/tools/console/client/main.c:474:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/console/client/main.c:476:16: branch_true: ...to here
xen-4.19.2/tools/console/client/main.c:482:16: call_function: calling ‘get_pty_fd’ from ‘main’
xen-4.19.2/tools/console/client/main.c:482:16: return_function: returning to ‘main’ from ‘get_pty_fd’
xen-4.19.2/tools/console/client/main.c:483:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/console/client/main.c:487:9: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:488:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:494:12: branch_false: following ‘false’ branch (when ‘start_notify_fd == -1’)...
xen-4.19.2/tools/console/client/main.c:509:9: branch_false: ...to here
xen-4.19.2/tools/console/client/main.c:509:9: call_function: calling ‘console_loop’ from ‘main’
Error: CPPCHECK_WARNING (CWE-457): [#def436]
xen-4.19.2/tools/console/daemon/io.c:204: warning[uninitvar]: Uninitialized variable: ret
Error: CPPCHECK_WARNING (CWE-457): [#def437]
xen-4.19.2/tools/console/daemon/io.c:226: warning[uninitvar]: Uninitialized variable: ret
Error: CPPCHECK_WARNING (CWE-457): [#def438]
xen-4.19.2/tools/console/daemon/io.c:1399: error[legacyUninitvar]: Uninitialized variable: poll_timeout
Error: GCC_ANALYZER_WARNING: [#def439]
xen-4.19.2/tools/console/daemon/utils.c:75:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘i’
xen-4.19.2/tools/console/daemon/utils.c:54:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.19.2/tools/console/daemon/utils.c:56:19: branch_false: ...to here
xen-4.19.2/tools/console/daemon/utils.c:56:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.19.2/tools/console/daemon/utils.c:60:9: branch_false: ...to here
xen-4.19.2/tools/console/daemon/utils.c:62:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.19.2/tools/console/daemon/utils.c:64:19: branch_false: ...to here
xen-4.19.2/tools/console/daemon/utils.c:64:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.19.2/tools/console/daemon/utils.c:69:19: branch_false: ...to here
xen-4.19.2/tools/console/daemon/utils.c:69:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/console/daemon/utils.c:73:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
xen-4.19.2/tools/console/daemon/utils.c:74:17: branch_true: ...to here
xen-4.19.2/tools/console/daemon/utils.c:74:17: release_resource: closed here
xen-4.19.2/tools/console/daemon/utils.c:75:17: danger: ‘i’ could be invalid
Error: CPPCHECK_WARNING (CWE-682): [#def440]
xen-4.19.2/tools/debugger/gdbsx/gx/gx_comm.c:286: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def441]
xen-4.19.2/tools/debugger/gdbsx/gx/gx_comm.c:286: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p++
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
xen-4.19.2/tools/debugger/gdbsx/gx/gx_comm.c:286:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
xen-4.19.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: this call could return NULL
xen-4.19.2/tools/debugger/gdbsx/gx/gx_comm.c:286:5: danger: ‘buf2’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-823): [#def443]
xen-4.19.2/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): [#def444]
xen-4.19.2/tools/firmware/hvmloader/hvmloader.c:331:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def445]
xen-4.19.2/tools/firmware/hvmloader/util.c:520:17: 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.2/tools/firmware/hvmloader/util.c:707:21: enter_function: entry to ‘get_shared_info’
xen-4.19.2/tools/firmware/hvmloader/util.c:721:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def446]
xen-4.19.2/tools/firmware/hvmloader/util.c:520:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.2/tools/firmware/hvmloader/util.c:690:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.19.2/tools/firmware/hvmloader/util.c:700:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def447]
xen-4.19.2/tools/firmware/hvmloader/util.c:529:17: 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.2/tools/firmware/hvmloader/util.c:707:21: enter_function: entry to ‘get_shared_info’
xen-4.19.2/tools/firmware/hvmloader/util.c:721:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def448]
xen-4.19.2/tools/firmware/hvmloader/util.c:529:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.2/tools/firmware/hvmloader/util.c:690:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.19.2/tools/firmware/hvmloader/util.c:700:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def449]
xen-4.19.2/tools/firmware/hvmloader/util.c:552:13: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘char *’ but received ‘int’ for variadic argument 2 of ‘ap’
xen-4.19.2/tools/firmware/hvmloader/util.c:707:21: enter_function: entry to ‘get_shared_info’
xen-4.19.2/tools/firmware/hvmloader/util.c:721:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def450]
xen-4.19.2/tools/firmware/hvmloader/util.c:552:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.2/tools/firmware/hvmloader/util.c:690:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.19.2/tools/firmware/hvmloader/util.c:700:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def451]
xen-4.19.2/tools/firmware/hvmloader/util.c:565:23: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[7]’ for variadic argument 1 of ‘ap’
xen-4.19.2/tools/firmware/hvmloader/util.c:707:21: enter_function: entry to ‘get_shared_info’
xen-4.19.2/tools/firmware/hvmloader/util.c:721:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def452]
xen-4.19.2/tools/firmware/hvmloader/util.c:565:23: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.19.2/tools/firmware/hvmloader/util.c:690:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.19.2/tools/firmware/hvmloader/util.c:700:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def453]
xen-4.19.2/tools/firmware/hvmloader/xenbus.c:124:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data + done’
xen-4.19.2/tools/firmware/hvmloader/xenbus.c:176:13: enter_function: entry to ‘xenbus_send’
xen-4.19.2/tools/firmware/hvmloader/xenbus.c:188:5: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/hvmloader/xenbus.c:191:5: branch_false: ...to here
xen-4.19.2/tools/firmware/hvmloader/xenbus.c:209:5: call_function: inlined call to ‘ring_write’ from ‘xenbus_send’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/./arch/x86/include/asm/shared.h:81:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/traps.c:131:22: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/traps.c:133:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/traps.c:145:28: call_function: inlined call to ‘arch_get_cr2’ from ‘show_registers’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def455]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/./arch/x86/include/asm/uaccess.h:310:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:677:21: enter_function: entry to ‘rep_outs’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:692:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:695:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:695:10: call_function: calling ‘read_segment’ from ‘rep_outs’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:695:10: return_function: returning to ‘rep_outs’ from ‘read_segment’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:696:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:699:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:699:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:701:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:701:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:702:12: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:712:13: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:714:22: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:717:14: call_function: calling ‘pv_emul_virt_to_linear’ from ‘rep_outs’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:717:14: return_function: returning to ‘rep_outs’ from ‘pv_emul_virt_to_linear’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:719:12: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:722:20: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:192:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:176:6: enter_function: entry to ‘unmap_domain_page’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:184:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:189:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:189:9: call_function: calling ‘mapcache_current_vcpu’ from ‘unmap_domain_page’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:189:9: return_function: return of NULL to ‘unmap_domain_page’ from ‘mapcache_current_vcpu’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:192:15: danger: dereference of NULL ‘v’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def457]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:55:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:59:13: enter_function: entry to ‘sort_exception_tables’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:61:5: call_function: calling ‘sort_exception_table’ from ‘sort_exception_tables’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def458]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:76:21: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:219:26: enter_function: entry to ‘search_pre_exception_table’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:222:27: call_function: calling ‘search_one_extable’ from ‘search_pre_exception_table’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def459]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:276:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘desc’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2150:5: enter_function: entry to ‘map_domain_pirq’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2163:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2166:8: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2166:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2176:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2177:11: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2176:10: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2193:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2207:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2209:8: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2214:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2224:15: call_function: inlined call to ‘boot_cpu_has’ from ‘map_domain_pirq’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2224:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2227:16: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2228:12: branch_false: following ‘false’ branch (when ‘pdev’ is non-NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2231:15: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2232:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2242:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2244:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2256:17: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2258:18: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2270:16: branch_false: following ‘false’ branch (when ‘type != 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2271:26: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2270:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2270:18: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2270:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2275:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/irq.c:2280:19: call_function: calling ‘create_irq’ from ‘map_domain_pirq’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:886:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msi’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:753:12: enter_function: entry to ‘msix_capability_init’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:769:8: branch_false: following ‘false’ branch (when ‘pos != 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:774:15: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:786:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:793:8: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:793:8: branch_true: following ‘true’ branch (when ‘desc’ is non-NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:795:17: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:795:17: call_function: calling ‘alloc_msi_entry’ from ‘msix_capability_init’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:795:17: return_function: returning to ‘msix_capability_init’ from ‘alloc_msi_entry’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:796:12: branch_false: following ‘false’ branch (when ‘entry’ is non-NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:806:20: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:807:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:818:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:820:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:836:23: call_function: calling ‘read_pci_mem_bar’ from ‘msix_capability_init’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:836:23: return_function: returning to ‘msix_capability_init’ from ‘read_pci_mem_bar’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:839:12: branch_false: following ‘false’ branch (when ‘table_paddr != 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:850:24: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:860:21: call_function: calling ‘read_pci_mem_bar’ from ‘msix_capability_init’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:860:21: return_function: returning to ‘msix_capability_init’ from ‘read_pci_mem_bar’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:883:8: branch_true: following ‘true’ branch (when ‘entry’ is non-NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:886:41: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/msi.c:886:41: danger: dereference of NULL ‘msi’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def461]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/percpu.c:33:35: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/percpu.c:30:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/percpu.c:33:35: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/percpu.c:33:35: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def462]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/percpu.c:54:27: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def463]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:496:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:968:33: enter_function: entry to ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1010:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1013:9: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1028:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1039:5: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1343:5: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1343:5: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1366:35: branch_true: following ‘true’ branch (when ‘i >= 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1371:14: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1416:13: call_function: calling ‘move_xen’ from ‘__start_xen’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def464]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1339:40: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1010:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1013:9: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1028:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1039:5: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1329:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1338:42: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1339:40: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-127): [#def465]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1556:25: warning[-Wanalyzer-out-of-bounds]: buffer under-read
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:968:33: enter_function: entry to ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1010:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1013:9: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1028:8: branch_true: following ‘true’ branch (when ‘kextra’ is non-NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1035:9: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1343:5: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1343:5: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1477:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1484:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1484:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1488:10: call_function: inlined call to ‘using_2M_mapping’ from ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1511:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1516:14: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1516:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1520:14: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1523:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1526:14: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1546:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1548:18: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1548:16: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1550:23: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1552:24: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1556:25: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1556:25: danger: out-of-bounds read from byte -16 till byte -9 but ‘boot_e820’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def466]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1556:49: warning[-Wanalyzer-out-of-bounds]: buffer under-read
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:968:33: enter_function: entry to ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1010:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1013:9: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1028:8: branch_true: following ‘true’ branch (when ‘kextra’ is non-NULL)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1035:9: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1343:5: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1343:5: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1477:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1484:10: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1484:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1488:10: call_function: inlined call to ‘using_2M_mapping’ from ‘__start_xen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1511:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1516:14: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1516:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1520:14: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1523:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1526:14: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1546:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1548:18: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1548:16: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1550:23: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1552:24: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1556:25: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1556:49: danger: out-of-bounds read from byte -8 till byte -1 but ‘boot_e820’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-469): [#def467]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:725:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:715:13: enter_function: entry to ‘zap_low_mappings’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:717:5: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:720:5: call_function: inlined call to ‘write_u64_atomic’ from ‘zap_low_mappings’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:725:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def468]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:140:55: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:518:19: enter_function: entry to ‘read_bunzip’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:524:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:528:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:536:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:605:20: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:605:20: call_function: calling ‘get_next_block’ from ‘read_bunzip’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:672:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:820:13: enter_function: entry to ‘setup_system_domains’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:829:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:734:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:820:13: enter_function: entry to ‘setup_system_domains’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:829:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def471]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:123:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ch[12]’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:84:16: branch_true: following ‘true’ branch (when ‘len > 110’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:85:22: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:85:20: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:94:37: branch_true: following ‘true’ branch (when ‘i != 0’)...
branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:96:32: branch_true: following ‘true’ branch (when ‘j != 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:97:33: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:96:32: branch_true: following ‘true’ branch (when ‘j != 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:97:33: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:94:37: branch_false: following ‘false’ branch (when ‘i == 0’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:118:22: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:118:20: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:121:17: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/earlycpio.c:123:24: danger: use of uninitialized value ‘ch[12]’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def472]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def473]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def475]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:394:5: enter_function: entry to ‘rangeset_merge’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:396:12: call_function: calling ‘rangeset_report_ranges’ from ‘rangeset_merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def477]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:160:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def479]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/sched/cpupool.c:137:16: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/common/sched/cpupool.c:1298:28: enter_function: entry to ‘cpupool_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1547:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdev’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1527:12: enter_function: entry to ‘assign_device’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1533:11: call_function: inlined call to ‘is_iommu_enabled’ from ‘assign_device’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1536:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1541:31: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1541:12: call_function: calling ‘pci_get_pdev’ from ‘assign_device’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1541:12: return_function: return of NULL to ‘assign_device’ from ‘pci_get_pdev’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1547:10: danger: dereference of NULL ‘pdev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def481]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:92:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:114:6: enter_function: entry to ‘list_sort’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:124:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:127:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:129:9: release_memory: ‘0’ is NULL
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:132:16: branch_false: following ‘false’ branch (when ‘list’ is NULL)...
branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:152:23: branch_false: following ‘false’ branch (when ‘lev >= max_lev’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:156:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:156:9: release_memory: ‘list’ is NULL
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:156:9: call_function: calling ‘merge_and_restore_back_links’ from ‘list_sort’
Error: GCC_ANALYZER_WARNING (CWE-127): [#def482]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:327:30: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:385:5: enter_function: entry to ‘main’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:390:12: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:393:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:397:9: call_function: calling ‘xprintf’ from ‘main’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:397:9: return_function: returning to ‘main’ from ‘xprintf’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:399:15: call_function: calling ‘read_file’ from ‘main’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:399:15: return_function: returning to ‘main’ from ‘read_file’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:400:9: call_function: calling ‘parse_dep_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def483]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:96:9: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:988:12: enter_function: entry to ‘conf_touch_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1001:9: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1003:20: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1043:27: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1052:38: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1052:23: call_function: calling ‘conf_touch_dep’ from ‘conf_touch_deps’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3338:33: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4156:14: enter_function: entry to ‘expand_token’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4167:21: call_function: calling ‘input’ from ‘expand_token’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def485]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-file-leak]: leak of FILE
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def486]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
xen-4.19.2/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.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:20: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
Error: CPPCHECK_WARNING (CWE-476): [#def488]
xen-4.19.2/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): [#def489]
xen-4.19.2/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-401): [#def490]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3724:19: warning[-Wanalyzer-malloc-leak]: leak of ‘yy_create_buffer(zconf_fopen(*file.name), 16384)’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def491]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1073:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prop’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: call_function: calling ‘sym_check_print_recursive’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def492]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1218:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1261:17: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1262:24: call_function: inlined call to ‘sym_get_choice_prop’ from ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1263:24: call_function: calling ‘sym_check_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1261:17: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1262:24: call_function: inlined call to ‘sym_get_choice_prop’ from ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1263:24: call_function: calling ‘sym_check_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1300:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1261:17: branch_true: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1263:24: call_function: inlined call to ‘prop_get_symbol’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def495]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:120:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:584:5: enter_function: entry to ‘main’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:614:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:617:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:617:9: call_function: calling ‘read_map’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def496]
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:175:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*s.sym’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:584:5: enter_function: entry to ‘main’
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:614:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:617:9: branch_false: ...to here
xen-4.19.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:617:9: call_function: calling ‘read_map’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def497]
xen-4.19.2/tools/flask/utils/label-pci.c:78:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
xen-4.19.2/tools/flask/utils/label-pci.c:46:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/flask/utils/label-pci.c:49:12: branch_false: ...to here
xen-4.19.2/tools/flask/utils/label-pci.c:56:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/flask/utils/label-pci.c:64:9: branch_false: ...to here
xen-4.19.2/tools/flask/utils/label-pci.c:70:13: acquire_resource: opened here
xen-4.19.2/tools/flask/utils/label-pci.c:71:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/flask/utils/label-pci.c:78:15: branch_false: ...to here
xen-4.19.2/tools/flask/utils/label-pci.c:78:15: danger: ‘fopen(&buf, "r")’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
xen-4.19.2/tools/flask/utils/label-pci.c:78:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
xen-4.19.2/tools/flask/utils/label-pci.c:46:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/flask/utils/label-pci.c:49:12: branch_false: ...to here
xen-4.19.2/tools/flask/utils/label-pci.c:56:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/flask/utils/label-pci.c:64:9: branch_false: ...to here
xen-4.19.2/tools/flask/utils/label-pci.c:70:13: acquire_memory: allocated here
xen-4.19.2/tools/flask/utils/label-pci.c:71:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/flask/utils/label-pci.c:78:15: branch_false: ...to here
xen-4.19.2/tools/flask/utils/label-pci.c:78:15: danger: ‘fopen(&buf, "r")’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def499]
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:182:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def500]
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:185:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def501]
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:188:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def502]
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:191:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def503]
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def504]
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/fuzz/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def505]
xen-4.19.2/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.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:55:8: branch_false: following ‘false’ branch (when ‘max != 0’)...
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:10: branch_false: ...to here
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: branch_false: ...to here
xen-4.19.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: danger: argument 4 (‘fp’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def506]
xen-4.19.2/tools/helpers/init-xenstore-domain.c:109:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/xen/xenbus_backend", 2)’
xen-4.19.2/tools/helpers/init-xenstore-domain.c:102:13: acquire_resource: opened here
xen-4.19.2/tools/helpers/init-xenstore-domain.c:103:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/helpers/init-xenstore-domain.c:109:10: branch_false: ...to here
xen-4.19.2/tools/helpers/init-xenstore-domain.c:109:10: danger: ‘open("/dev/xen/xenbus_backend", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-758): [#def507]
xen-4.19.2/tools/libacpi/mk_dsdt.c:443: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-688): [#def508]
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:182:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def509]
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:185:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def510]
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:188:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def511]
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:191:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def512]
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def513]
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/tools/libs/guest/../../../xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: CPPCHECK_WARNING (CWE-758): [#def514]
xen-4.19.2/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): [#def515]
xen-4.19.2/tools/libs/guest/xg_sr_common.h:211: error[memleak]: Memory leak: ptr
Error: CPPCHECK_WARNING (CWE-457): [#def516]
xen-4.19.2/tools/libs/guest/xg_sr_restore_x86_pv.c:1006: warning[uninitvar]: Uninitialized variable: pfns
Error: CPPCHECK_WARNING (CWE-758): [#def517]
xen-4.19.2/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): [#def518]
xen-4.19.2/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.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.19.2/tools/libs/guest/xg_sr_save_x86_pv.c:1044:10: call_function: calling ‘map_shinfo’ from ‘x86_pv_setup’
xen-4.19.2/tools/libs/guest/xg_sr_save_x86_pv.c:1044:10: return_function: returning to ‘x86_pv_setup’ from ‘map_shinfo’
xen-4.19.2/tools/libs/guest/xg_sr_save_x86_pv.c:1045:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: branch_false: ...to here
xen-4.19.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: CPPCHECK_WARNING (CWE-401): [#def519]
xen-4.19.2/tools/libs/hypfs/core.c:149: error[memleakOnRealloc]: Common realloc mistake: 'content' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
xen-4.19.2/tools/libs/light/libxl_aoutils.c:295:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf’
xen-4.19.2/tools/libs/light/libxl_aoutils.c:219:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_aoutils.c:222:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_aoutils.c:222:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_aoutils.c:229:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_aoutils.c:229:5: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_aoutils.c:274:12: branch_false: following ‘false’ branch (when ‘r != 0’)...
xen-4.19.2/tools/libs/light/libxl_aoutils.c:294:13: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_aoutils.c:295:43: danger: dereference of NULL ‘buf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:298:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:204:5: enter_function: entry to ‘colo_proxy_setup’
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:211:14: release_memory: ‘buff’ is NULL
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:217:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:257:12: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:258:8: branch_false: following ‘false’ branch (when ‘skfd >= 0’)...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:262:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:269:8: branch_false: following ‘false’ branch (when ‘i != 11’)...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:274:11: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:278:15: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:283:18: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:284:11: call_function: calling ‘colo_proxy_send’ from ‘colo_proxy_setup’
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:284:11: return_function: returning to ‘colo_proxy_setup’ from ‘colo_proxy_send’
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:285:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:289:12: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:289:12: call_function: calling ‘colo_proxy_recv’ from ‘colo_proxy_setup’
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:289:12: return_function: returning to ‘colo_proxy_setup’ from ‘colo_proxy_recv’
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:290:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:296:8: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:296:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:297:9: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:297:9: release_memory: ‘buff’ is NULL
xen-4.19.2/tools/libs/light/libxl_colo_proxy.c:298:13: danger: dereference of NULL ‘h’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:87:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘policy’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:83:8: branch_true: following ‘true’ branch (when ‘policy’ is NULL)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:84:24: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:84:24: acquire_memory: this call could return NULL
xen-4.19.2/tools/libs/light/libxl_cpuid.c:87:9: danger: ‘policy’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def523]
xen-4.19.2/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.2/tools/libs/light/libxl_cpuid.c:232:5: enter_function: entry to ‘libxl_cpuid_parse_config’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:357:8: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:360:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:362:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:363:38: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:369:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:372:12: call_function: inlined call to ‘bsearch’ from ‘libxl_cpuid_parse_config’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:376:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:379:31: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:391:16: call_function: calling ‘cpuid_add’ from ‘libxl_cpuid_parse_config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def524]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:149:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘resstr’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:101:12: enter_function: entry to ‘cpuid_add’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:104:35: call_function: calling ‘cpuid_find_match’ from ‘cpuid_add’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:104:35: return_function: returning to ‘cpuid_add’ from ‘cpuid_find_match’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:113:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:128:8: branch_true: following ‘true’ branch (when ‘resstr’ is NULL)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:129:18: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:129:18: acquire_memory: this call could return NULL
xen-4.19.2/tools/libs/light/libxl_cpuid.c:135:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:148:17: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:148:15: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:149:9: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:149:9: danger: ‘resstr’ could be NULL: unchecked value from [(10)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def525]
xen-4.19.2/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.2/tools/libs/light/libxl_cpuid.c:232:5: enter_function: entry to ‘libxl_cpuid_parse_config’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:357:8: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:360:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:362:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:363:38: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:369:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:372:12: call_function: inlined call to ‘bsearch’ from ‘libxl_cpuid_parse_config’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:376:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:379:31: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:391:16: call_function: calling ‘cpuid_add’ from ‘libxl_cpuid_parse_config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def526]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:168:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘policy’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:165:8: branch_true: following ‘true’ branch (when ‘policy’ is NULL)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:166:24: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:166:24: acquire_memory: this call could return NULL
xen-4.19.2/tools/libs/light/libxl_cpuid.c:168:9: danger: ‘policy’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def527]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:177:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:165:8: branch_true: following ‘true’ branch (when ‘policy’ is NULL)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:166:24: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:168:9: release_memory: ‘0’ is NULL
xen-4.19.2/tools/libs/light/libxl_cpuid.c:168:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:176:64: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:177:16: release_memory: ‘0’ is NULL
xen-4.19.2/tools/libs/light/libxl_cpuid.c:177:5: danger: dereference of NULL ‘realloc(*policy.msr, (long unsigned int)(i + 2) * 72) + (long unsigned int)i * 72’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def528]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:459:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc(33, 1)’ where non-null expected
xen-4.19.2/tools/libs/light/libxl_cpuid.c:413:5: enter_function: entry to ‘libxl_cpuid_parse_config_xend’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:423:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:426:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:428:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:436:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:436:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:440:13: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:440:13: call_function: calling ‘cpuid_find_match’ from ‘libxl_cpuid_parse_config_xend’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:440:13: return_function: returning to ‘libxl_cpuid_parse_config_xend’ from ‘cpuid_find_match’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:441:28: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:442:12: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:442:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:447:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:452:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:455:13: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:455:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:458:32: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:458:32: acquire_memory: this call could return NULL
xen-4.19.2/tools/libs/light/libxl_cpuid.c:459:9: danger: argument 1 (‘calloc(33, 1)’) from [(28)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/27) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:669:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:633:5: enter_function: entry to ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:668:13: call_function: inlined call to ‘libxl__json_object_get_array’ from ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:669:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:669:10: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def530]
xen-4.19.2/tools/libs/light/libxl_cpuid.c:743:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.19.2/tools/libs/light/libxl_cpuid.c:633:5: enter_function: entry to ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:713:8: branch_false: following ‘false’ branch (when ‘cpuid_only == 0’)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:716:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:721:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:723:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:729:17: branch_true: following ‘true’ branch (when ‘i < size’)...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:732:13: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:732:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:735:14: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:739:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:740:24: call_function: inlined call to ‘libxl__json_object_get_integer’ from ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:742:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_cpuid.c:743:13: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘libxl__cpuid_policy_list_parse_json’
xen-4.19.2/tools/libs/light/libxl_cpuid.c:743:13: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_cpuid.c:743:13: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def531]
xen-4.19.2/tools/libs/light/libxl_device.c:2143:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir’
xen-4.19.2/tools/libs/light/libxl_device.c:2126:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_device.c:2133:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_device.c:2136:32: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_device.c:2139:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_device.c:2140:9: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_device.c:2142:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_device.c:2143:22: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_device.c:2143:22: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_device.c:2143:43: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_device.c:2143:43: danger: dereference of NULL ‘dir’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def532]
xen-4.19.2/tools/libs/light/libxl_dm.c:1151:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘**dmss.build_state.dm_monitor_fd’
xen-4.19.2/tools/libs/light/libxl_dm.c:2872:6: enter_function: entry to ‘libxl__spawn_local_dm’
xen-4.19.2/tools/libs/light/libxl_dm.c:2898:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:2902:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:2902:10: call_function: calling ‘libxl__domain_device_model’ from ‘libxl__spawn_local_dm’
xen-4.19.2/tools/libs/light/libxl_dm.c:2902:10: return_function: returning to ‘libxl__spawn_local_dm’ from ‘libxl__domain_device_model’
xen-4.19.2/tools/libs/light/libxl_dm.c:2903:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:2907:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:2907:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:2913:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:2914:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:2917:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:2917:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:2919:9: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:2917:9: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:2923:14: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:2923:14: call_function: calling ‘libxl__pre_open_qmp_socket’ from ‘libxl__spawn_local_dm’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def533]
xen-4.19.2/tools/libs/light/libxl_dm.c:3132:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.19.2/tools/libs/light/libxl_dm.c:3104:13: enter_function: entry to ‘device_model_qmp_cb’
xen-4.19.2/tools/libs/light/libxl_dm.c:3116:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/tools/libs/light/libxl_dm.c:3119:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:3120:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:3127:14: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘device_model_qmp_cb’
xen-4.19.2/tools/libs/light/libxl_dm.c:3128:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:3132:9: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def534]
xen-4.19.2/tools/libs/light/libxl_dm.c:3355:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/libs/light/libxl_dm.c:3346:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/tools/libs/light/libxl_dm.c:3348:41: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:3349:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_dm.c:3355:33: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_dm.c:3355:33: danger: dereference of NULL ‘libxl__dm_vnc(((libxl__dm_spawn_state *)((char *)qmp + 608))[16709007313142709].guest_config)’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def535]
xen-4.19.2/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.2/tools/libs/light/libxl_exec.c:182:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_exec.c:187:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:191:5: branch_true: following ‘true’ branch (when ‘spawning’ is NULL)...
branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:193:12: branch_false: following ‘false’ branch (when ‘rc <= 0’)...
xen-4.19.2/tools/libs/light/libxl_exec.c:193:12: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:193:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_exec.c:212:9: release_memory: first ‘free’ here
xen-4.19.2/tools/libs/light/libxl_exec.c:213:9: branch_true: following ‘true’ branch (when ‘__i != 16’)...
xen-4.19.2/tools/libs/light/libxl_exec.c:213:9: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:216:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_exec.c:217:17: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:217:16: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_exec.c:218:21: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:219:20: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_exec.c:222:21: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_exec.c:212:9: danger: second ‘free’ here; first ‘free’ was at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def536]
xen-4.19.2/tools/libs/light/libxl_save_helper.c:159:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.19.2/tools/libs/light/libxl_save_helper.c:151:13: acquire_resource: opened here
xen-4.19.2/tools/libs/light/libxl_save_helper.c:152:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_save_helper.c:158:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_save_helper.c:159:1: danger: ‘r’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def537]
xen-4.19.2/tools/libs/light/libxl_utils.c:347:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
xen-4.19.2/tools/libs/light/libxl_utils.c:335:9: acquire_resource: opened here
xen-4.19.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:347:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:353:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:353:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:359:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:361:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:363:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.19.2/tools/libs/light/libxl_utils.c:365:14: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:366:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:367:17: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:367:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:369:22: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:347:10: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def538]
xen-4.19.2/tools/libs/light/libxl_utils.c:347:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
xen-4.19.2/tools/libs/light/libxl_utils.c:335:9: acquire_memory: allocated here
xen-4.19.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:347:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:353:9: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:353:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:359:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:361:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:363:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.19.2/tools/libs/light/libxl_utils.c:365:14: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:366:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:367:17: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:367:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:369:22: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:347:10: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def539]
xen-4.19.2/tools/libs/light/libxl_utils.c:1083:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
xen-4.19.2/tools/libs/light/libxl_utils.c:1082:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1083:5: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1083:5: danger: dereference of NULL ‘cmsg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def540]
xen-4.19.2/tools/libs/light/libxl_utils.c:1144:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
xen-4.19.2/tools/libs/light/libxl_utils.c:1139:12: branch_false: following ‘false’ branch (when ‘r != 0’)...
xen-4.19.2/tools/libs/light/libxl_utils.c:1143:16: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1143:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1144:13: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1144:13: danger: dereference of NULL ‘cmsg’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def541]
xen-4.19.2/tools/libs/light/libxl_utils.c:1170:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
xen-4.19.2/tools/libs/light/libxl_utils.c:1139:12: branch_false: following ‘false’ branch (when ‘r != 0’)...
xen-4.19.2/tools/libs/light/libxl_utils.c:1143:16: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1143:16: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1143:9: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1144:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1149:13: branch_false: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1149:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1167:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1169:17: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1170:17: release_resource: first ‘close’ here
xen-4.19.2/tools/libs/light/libxl_utils.c:1167:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/light/libxl_utils.c:1169:17: branch_true: ...to here
xen-4.19.2/tools/libs/light/libxl_utils.c:1170:17: danger: second ‘close’ here; first ‘close’ was at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-401): [#def542]
xen-4.19.2/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): [#def543]
xen-4.19.2/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.2/tools/libs/stat/xenstat_linux.c:77:13: acquire_memory: this call could return NULL
xen-4.19.2/tools/libs/stat/xenstat_linux.c:78:22: danger: argument 1 (‘opendir("/sys/class/net")’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-401): [#def544]
xen-4.19.2/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): [#def545]
xen-4.19.2/tools/libs/stat/xenstat_linux.c:231:54: warning[-Wanalyzer-null-argument]: use of NULL ‘tmp’ where non-null expected
xen-4.19.2/tools/libs/stat/xenstat_linux.c:269:5: enter_function: entry to ‘xenstat_collect_networks’
xen-4.19.2/tools/libs/stat/xenstat_linux.c:276:34: call_function: inlined call to ‘get_priv_data’ from ‘xenstat_collect_networks’
xen-4.19.2/tools/libs/stat/xenstat_linux.c:284:13: branch_true: ...to here
xen-4.19.2/tools/libs/stat/xenstat_linux.c:284:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/stat/xenstat_linux.c:308:9: branch_false: ...to here
xen-4.19.2/tools/libs/stat/xenstat_linux.c:315:16: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/stat/xenstat_linux.c:320:17: branch_true: ...to here
xen-4.19.2/tools/libs/stat/xenstat_linux.c:320:17: call_function: calling ‘parseNetDevLine’ from ‘xenstat_collect_networks’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:220:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:418:6: enter_function: entry to ‘read_attributes_qdisk’
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:427:20: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:430:29: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:431:29: branch_true: ...to here
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:431:28: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:432:33: branch_true: ...to here
xen-4.19.2/tools/libs/stat/xenstat_qmp.c:432:33: call_function: calling ‘read_attributes_qdisk_dom’ from ‘read_attributes_qdisk’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def547]
xen-4.19.2/tools/libs/store/xs.c:304:13: warning[-Wanalyzer-null-argument]: use of NULL ‘connect_to’ where non-null expected
xen-4.19.2/tools/libs/store/xs.c:1387:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.19.2/tools/libs/store/xs.c:1395:10: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def548]
xen-4.19.2/tools/libs/store/xs.c:312:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(connect_to, 524290)’
xen-4.19.2/tools/libs/store/xs.c:1387:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.19.2/tools/libs/store/xs.c:1395:10: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: CPPCHECK_WARNING (CWE-401): [#def549]
xen-4.19.2/tools/libs/store/xs.c:826: error[memleakOnRealloc]: Common realloc mistake: 'strings' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-775): [#def550]
xen-4.19.2/tools/libs/toolcore/handlereg.c:87:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.19.2/tools/libs/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.19.2/tools/libs/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.19.2/tools/libs/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.19.2/tools/libs/toolcore/handlereg.c:84:9: acquire_resource: opened here
xen-4.19.2/tools/libs/toolcore/handlereg.c:85:8: branch_false: following ‘false’ branch (when ‘r >= 0’)...
xen-4.19.2/tools/libs/toolcore/handlereg.c:87:5: branch_false: ...to here
xen-4.19.2/tools/libs/toolcore/handlereg.c:87:5: danger: ‘r’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1721:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1707:21: enter_function: entry to ‘xlu__cfg_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1711:31: call_function: inlined call to ‘xlu__cfg_yyalloc’ from ‘xlu__cfg_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1712:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1715:9: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1721:12: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def552]
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1721:12: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__cfg_yyalloc(64, yyscanner)’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1707:21: enter_function: entry to ‘xlu__cfg_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1711:31: call_function: calling ‘xlu__cfg_yyalloc’ from ‘xlu__cfg_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1711:31: return_function: returning to ‘xlu__cfg_yy_create_buffer’ from ‘xlu__cfg_yyalloc’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1712:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1715:9: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1721:12: danger: ‘xlu__cfg_yyalloc(64, yyscanner)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1763:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1354:12: enter_function: entry to ‘yy_get_next_buffer’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1362:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1366:14: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1366:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1388:33: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1452:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1454:40: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1454:20: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1457:25: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1457:25: call_function: calling ‘xlu__cfg_yyrestart’ from ‘yy_get_next_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1981:32: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1965:17: enter_function: entry to ‘xlu__cfg_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1974:24: call_function: inlined call to ‘xlu__cfg_yyalloc’ from ‘xlu__cfg_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1975:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1983:13: call_function: calling ‘xlu__cfg_yy_scan_buffer’ from ‘xlu__cfg_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def555]
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1981:32: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__cfg_yyalloc(n, yyscanner)’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1965:17: enter_function: entry to ‘xlu__cfg_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1974:24: call_function: calling ‘xlu__cfg_yyalloc’ from ‘xlu__cfg_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1974:24: return_function: returning to ‘xlu__cfg_yy_scan_bytes’ from ‘xlu__cfg_yyalloc’
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1975:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_l.c:1983:13: call_function: calling ‘xlu__cfg_yy_scan_buffer’ from ‘xlu__cfg_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def556]
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1275:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1231:6: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1237:43: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1263:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1265:7: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1273:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1275:9: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1275:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def557]
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1394:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.string’
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1231:6: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1298:6: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1298:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1301:3: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1313:6: branch_true: following ‘true’ branch (when ‘yyn == -18’)...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1314:5: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1374:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1376:3: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_cfg_y.c:1394:3: danger: use of uninitialized value ‘*<unknown>.string’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2389:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2375:21: enter_function: entry to ‘xlu__disk_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2379:24: call_function: inlined call to ‘xlu__disk_yyalloc’ from ‘xlu__disk_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2380:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2383:2: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2389:12: danger: ‘malloc(64)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2389:12: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__disk_yyalloc(64, yyscanner)’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2375:21: enter_function: entry to ‘xlu__disk_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2379:24: call_function: calling ‘xlu__disk_yyalloc’ from ‘xlu__disk_yy_create_buffer’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2379:24: return_function: returning to ‘xlu__disk_yy_create_buffer’ from ‘xlu__disk_yyalloc’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2380:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2383:2: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2389:12: danger: ‘xlu__disk_yyalloc(64, yyscanner)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2431:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2064:12: enter_function: entry to ‘yy_get_next_buffer’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2072:5: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2076:7: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2076:5: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2098:33: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2114:11: branch_false: following ‘false’ branch (when ‘num_to_read > 0’)...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2122:6: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2132:5: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2134:40: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2134:20: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2137:25: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2137:25: call_function: calling ‘xlu__disk_yyrestart’ from ‘yy_get_next_buffer’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def561]
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2633:17: enter_function: entry to ‘xlu__disk_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2642:24: call_function: inlined call to ‘xlu__disk_yyalloc’ from ‘xlu__disk_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2643:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2651:6: call_function: calling ‘xlu__disk_yy_scan_buffer’ from ‘xlu__disk_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2649:25: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__disk_yyalloc(n, yyscanner)’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2633:17: enter_function: entry to ‘xlu__disk_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2642:24: call_function: calling ‘xlu__disk_yyalloc’ from ‘xlu__disk_yy_scan_bytes’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2642:24: return_function: returning to ‘xlu__disk_yy_scan_bytes’ from ‘xlu__disk_yyalloc’
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2643:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_disk_l.c:2651:6: call_function: calling ‘xlu__disk_yy_scan_buffer’ from ‘xlu__disk_yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def563]
xen-4.19.2/tools/libs/util/libxlu_pci.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
xen-4.19.2/tools/libs/util/libxlu_pci.c:142:5: enter_function: entry to ‘xlu_pci_parse_spec_string’
xen-4.19.2/tools/libs/util/libxlu_pci.c:152:8: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:169:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_pci.c:172:15: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:172:15: call_function: calling ‘parse_key_val’ from ‘xlu_pci_parse_spec_string’
xen-4.19.2/tools/libs/util/libxlu_pci.c:172:15: return_function: returning to ‘xlu_pci_parse_spec_string’ from ‘parse_key_val’
xen-4.19.2/tools/libs/util/libxlu_pci.c:173:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_pci.c:176:14: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:176:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:179:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:179:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:181:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:181:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:183:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:183:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:185:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:185:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:187:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:187:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:189:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:191:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:196:13: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:196:13: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_pci.c:211:1: danger: ‘key’ leaks here; was allocated at [(10)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
xen-4.19.2/tools/libs/util/libxlu_pci.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘val’
xen-4.19.2/tools/libs/util/libxlu_pci.c:142:5: enter_function: entry to ‘xlu_pci_parse_spec_string’
xen-4.19.2/tools/libs/util/libxlu_pci.c:152:8: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:169:12: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_pci.c:172:15: branch_true: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:172:15: call_function: calling ‘parse_key_val’ from ‘xlu_pci_parse_spec_string’
xen-4.19.2/tools/libs/util/libxlu_pci.c:172:15: return_function: returning to ‘xlu_pci_parse_spec_string’ from ‘parse_key_val’
xen-4.19.2/tools/libs/util/libxlu_pci.c:173:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/libs/util/libxlu_pci.c:176:14: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:176:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:179:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:179:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:181:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:181:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:183:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:183:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:185:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:185:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:187:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:187:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:189:21: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:191:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/libs/util/libxlu_pci.c:196:13: branch_false: ...to here
xen-4.19.2/tools/libs/util/libxlu_pci.c:196:13: branch_true: following ‘true’ branch...
xen-4.19.2/tools/libs/util/libxlu_pci.c:211:1: danger: ‘val’ leaks here; was allocated at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
Error: CPPCHECK_WARNING (CWE-476): [#def565]
xen-4.19.2/tools/misc/xen-access.c:206: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: CPPCHECK_WARNING (CWE-476): [#def566]
xen-4.19.2/tools/misc/xen-access.c:209: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: GCC_ANALYZER_WARNING (CWE-476): [#def567]
xen-4.19.2/tools/misc/xen-access.c:209:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xenaccess’
xen-4.19.2/tools/misc/xen-access.c:198:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xen-access.c:201:5: branch_false: ...to here
xen-4.19.2/tools/misc/xen-access.c:205:17: acquire_memory: this call could return NULL
xen-4.19.2/tools/misc/xen-access.c:209:5: danger: ‘xenaccess’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def568]
xen-4.19.2/tools/misc/xen-access.c:212: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: CPPCHECK_WARNING (CWE-476): [#def569]
xen-4.19.2/tools/misc/xen-access.c:215: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: CPPCHECK_WARNING (CWE-476): [#def570]
xen-4.19.2/tools/misc/xen-access.c:216: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: CPPCHECK_WARNING (CWE-476): [#def571]
xen-4.19.2/tools/misc/xen-access.c:217: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: CPPCHECK_WARNING (CWE-476): [#def572]
xen-4.19.2/tools/misc/xen-access.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: xenaccess
Error: GCC_ANALYZER_WARNING (CWE-775): [#def573]
xen-4.19.2/tools/misc/xencov.c:83:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.19.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.19.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.19.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.19.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.19.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:71:13: acquire_resource: opened here
xen-4.19.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.19.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:76:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:79:9: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:79:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:82:5: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:83:1: danger: ‘f’ leaks here; was opened at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
xen-4.19.2/tools/misc/xencov.c:83:1: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.19.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.19.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.19.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.19.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.19.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.19.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:71:13: acquire_memory: allocated here
xen-4.19.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.19.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:76:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:79:9: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:79:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xencov.c:82:5: branch_false: ...to here
xen-4.19.2/tools/misc/xencov.c:83:1: danger: ‘f’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def575]
xen-4.19.2/tools/misc/xenpm.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.triggers’
xen-4.19.2/tools/misc/xenpm.c:264:6: enter_function: entry to ‘cxstat_func’
xen-4.19.2/tools/misc/xenpm.c:277:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:278:18: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:278:18: call_function: calling ‘show_cxstat_by_cpuid’ from ‘cxstat_func’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def576]
xen-4.19.2/tools/misc/xenpm.c:156:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.triggers’
xen-4.19.2/tools/misc/xenpm.c:264:6: enter_function: entry to ‘cxstat_func’
xen-4.19.2/tools/misc/xenpm.c:277:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:278:18: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:278:18: call_function: calling ‘show_cxstat_by_cpuid’ from ‘cxstat_func’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
xen-4.19.2/tools/misc/xenpm.c:160:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.triggers’
xen-4.19.2/tools/misc/xenpm.c:264:6: enter_function: entry to ‘cxstat_func’
xen-4.19.2/tools/misc/xenpm.c:277:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:278:18: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:278:18: call_function: calling ‘show_cxstat_by_cpuid’ from ‘cxstat_func’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
xen-4.19.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.cc’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:478:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:478:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:477:38: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
xen-4.19.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.pc’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:478:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:478:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:477:38: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
xen-4.19.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.residencies’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:478:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:478:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:477:38: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
xen-4.19.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.triggers’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:478:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:478:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:477:38: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def582]
xen-4.19.2/tools/misc/xenpm.c:189:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def583]
xen-4.19.2/tools/misc/xenpm.c:190:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def584]
xen-4.19.2/tools/misc/xenpm.c:191:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def585]
xen-4.19.2/tools/misc/xenpm.c:192:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def586]
xen-4.19.2/tools/misc/xenpm.c:204:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def587]
xen-4.19.2/tools/misc/xenpm.c:205:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def588]
xen-4.19.2/tools/misc/xenpm.c:206:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def589]
xen-4.19.2/tools/misc/xenpm.c:207:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:474:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def590]
xen-4.19.2/tools/misc/xenpm.c:300:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pxstatinfo.pt’
xen-4.19.2/tools/misc/xenpm.c:358:12: enter_function: entry to ‘show_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:363:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘show_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:363:11: return_function: returning to ‘show_pxstat_by_cpuid’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:364:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:375:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:375:5: call_function: calling ‘print_pxstat’ from ‘show_pxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def591]
xen-4.19.2/tools/misc/xenpm.c:322:24: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘malloc’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def592]
xen-4.19.2/tools/misc/xenpm.c:326:18: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘malloc’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
xen-4.19.2/tools/misc/xenpm.c:327:8: warning[-Wanalyzer-malloc-leak]: leak of ‘*pxstat.pt’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:493:19: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:493:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:492:38: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
xen-4.19.2/tools/misc/xenpm.c:327:8: warning[-Wanalyzer-malloc-leak]: leak of ‘*pxstat.trans_pt’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:493:19: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:493:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:492:38: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def595]
xen-4.19.2/tools/misc/xenpm.c:329:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def596]
xen-4.19.2/tools/misc/xenpm.c:337:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def597]
xen-4.19.2/tools/misc/xenpm.c:338:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def598]
xen-4.19.2/tools/misc/xenpm.c:455:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:456:26: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:455:9: danger: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
xen-4.19.2/tools/misc/xenpm.c:481:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:474:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:478:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:478:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:478:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:478:16: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:479:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:481:45: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:481:45: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:481:70: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:481:45: danger: dereference of NULL ‘*<unknown>.residencies + (long unsigned int)j * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
xen-4.19.2/tools/misc/xenpm.c:495:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:477:22: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:488:11: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:488:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:488:11: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:489:8: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:492:22: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:493:19: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:493:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:493:19: return_function: returning to ‘signal_int_handler’ from ‘get_pxstat_by_cpuid’
xen-4.19.2/tools/misc/xenpm.c:493:16: branch_true: following ‘true’ branch...
branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:494:30: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:495:21: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:495:34: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:495:50: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:495:34: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:495:50: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:495:34: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:495:50: release_memory: ‘0’ is NULL
xen-4.19.2/tools/misc/xenpm.c:495:34: danger: dereference of NULL ‘*<unknown>.pt + (long unsigned int)j * 24’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def601]
xen-4.19.2/tools/misc/xenpm.c:502:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:502:5: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def602]
xen-4.19.2/tools/misc/xenpm.c:508:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:500:9: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:508:9: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:508:9: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def603]
xen-4.19.2/tools/misc/xenpm.c:637:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:637:20: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:637:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def604]
xen-4.19.2/tools/misc/xenpm.c:638:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:637:20: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:638:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def605]
xen-4.19.2/tools/misc/xenpm.c:639:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:637:20: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:639:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def606]
xen-4.19.2/tools/misc/xenpm.c:640:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:637:20: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:640:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def607]
xen-4.19.2/tools/misc/xenpm.c:641:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:637:20: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:641:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def608]
xen-4.19.2/tools/misc/xenpm.c:642:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_true: following ‘true’ branch...
xen-4.19.2/tools/misc/xenpm.c:637:20: branch_true: ...to here
xen-4.19.2/tools/misc/xenpm.c:642:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def609]
xen-4.19.2/tools/misc/xenpm.c:644:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:644:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:644:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def610]
xen-4.19.2/tools/misc/xenpm.c:645:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:644:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:645:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def611]
xen-4.19.2/tools/misc/xenpm.c:646:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:644:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:646:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def612]
xen-4.19.2/tools/misc/xenpm.c:647:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:453:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:460:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:461:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.19.2/tools/misc/xenpm.c:467:10: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:472:16: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:499:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:502:46: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:503:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:546:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:635:18: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:644:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:647:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def613]
xen-4.19.2/tools/misc/xenpm.c:649:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:649:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def614]
xen-4.19.2/tools/misc/xenpm.c:651:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
xen-4.19.2/tools/misc/xenpm.c:654:6: enter_function: entry to ‘start_gather_func’
xen-4.19.2/tools/misc/xenpm.c:669:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:674:18: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:677:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:679:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:680:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:685:14: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:686:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:692:15: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:693:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/misc/xenpm.c:700:5: branch_false: ...to here
xen-4.19.2/tools/misc/xenpm.c:445:13: enter_function: entry to ‘signal_int_handler’
xen-4.19.2/tools/misc/xenpm.c:651:5: danger: call to ‘exit’ from within signal handler
Error: CPPCHECK_WARNING (CWE-768): [#def615]
xen-4.19.2/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): [#def616]
xen-4.19.2/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: [#def617]
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:497:52: warning[-Wanalyzer-fd-type-mismatch]: ‘accept’ on non-stream-socket file descriptor ‘socket_fd’
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:444:13: branch_true: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:496:17: branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:496:16: branch_true: following ‘true’ branch (when the strings are non-equal)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:497:52: branch_true: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:497:52: danger: ‘accept’ expects a socket file descriptor but ‘socket_fd’ is not a socket
Error: GCC_ANALYZER_WARNING: [#def618]
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:497:52: warning[-Wanalyzer-fd-use-without-check]: ‘accept’ on possibly invalid file descriptor ‘socket_fd’
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:444:13: branch_true: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:496:17: branch_false: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:496:16: branch_true: following ‘true’ branch (when the strings are non-equal)...
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:497:52: branch_true: ...to here
xen-4.19.2/tools/vchan/vchan-socket-proxy.c:497:52: danger: ‘socket_fd’ could be invalid
Error: CPPCHECK_WARNING (CWE-457): [#def619]
xen-4.19.2/tools/xenmon/xenbaked.c:413: warning[uninitvar]: Uninitialized variable: pfn_list
Error: GCC_ANALYZER_WARNING (CWE-688): [#def620]
xen-4.19.2/tools/xentrace/xenalyze.c:312:12: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fn, "rb")’ where non-null expected
xen-4.19.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def621]
xen-4.19.2/tools/xentrace/xenalyze.c:314:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fn, "rb")’
xen-4.19.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
xen-4.19.2/tools/xentrace/xenalyze.c:314:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fn, "rb")’
xen-4.19.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def623]
xen-4.19.2/tools/xentrace/xenalyze.c:320:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘G.symbols’
xen-4.19.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def624]
xen-4.19.2/tools/xentrace/xenalyze.c:2474:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.19.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:10950:5: call_function: calling ‘init_pcpus’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def625]
xen-4.19.2/tools/xentrace/xenalyze.c:2561: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def626]
xen-4.19.2/tools/xentrace/xenalyze.c:2563: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def627]
xen-4.19.2/tools/xentrace/xenalyze.c:2569: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-688): [#def628]
xen-4.19.2/tools/xentrace/xenalyze.c:2828:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
xen-4.19.2/tools/xentrace/xenalyze.c:3290:6: enter_function: entry to ‘hvm_pf_xen_postprocess’
xen-4.19.2/tools/xentrace/xenalyze.c:3302:13: call_function: calling ‘update_eip’ from ‘hvm_pf_xen_postprocess’
Error: CPPCHECK_WARNING (CWE-476): [#def629]
xen-4.19.2/tools/xentrace/xenalyze.c:2884: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def630]
xen-4.19.2/tools/xentrace/xenalyze.c:2886: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def631]
xen-4.19.2/tools/xentrace/xenalyze.c:2898: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def632]
xen-4.19.2/tools/xentrace/xenalyze.c:3004: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: GCC_ANALYZER_WARNING (CWE-476): [#def633]
xen-4.19.2/tools/xentrace/xenalyze.c:3004:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.19.2/tools/xentrace/xenalyze.c:4321:6: enter_function: entry to ‘hvm_vmcall_postprocess’
xen-4.19.2/tools/xentrace/xenalyze.c:4333:9: call_function: calling ‘__hvm_set_summary_handler’ from ‘hvm_vmcall_postprocess’
Error: CPPCHECK_WARNING (CWE-476): [#def634]
xen-4.19.2/tools/xentrace/xenalyze.c:3005: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: CPPCHECK_WARNING (CWE-476): [#def635]
xen-4.19.2/tools/xentrace/xenalyze.c:3006: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: GCC_ANALYZER_WARNING (CWE-688): [#def636]
xen-4.19.2/tools/xentrace/xenalyze.c:3793:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
xen-4.19.2/tools/xentrace/xenalyze.c:3831:6: enter_function: entry to ‘hvm_io_write_postprocess’
xen-4.19.2/tools/xentrace/xenalyze.c:3834:9: call_function: calling ‘update_io_address’ from ‘hvm_io_write_postprocess’
Error: CPPCHECK_WARNING (CWE-476): [#def637]
xen-4.19.2/tools/xentrace/xenalyze.c:4034: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-476): [#def638]
xen-4.19.2/tools/xentrace/xenalyze.c:4034:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qsort_array’
xen-4.19.2/tools/xentrace/xenalyze.c:4030:19: acquire_memory: this call could return NULL
xen-4.19.2/tools/xentrace/xenalyze.c:4033:22: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.19.2/tools/xentrace/xenalyze.c:4034:20: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:4034:9: danger: ‘qsort_array + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def639]
xen-4.19.2/tools/xentrace/xenalyze.c:4037: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-688): [#def640]
xen-4.19.2/tools/xentrace/xenalyze.c:4037:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘qsort_array’ where non-null expected
xen-4.19.2/tools/xentrace/xenalyze.c:4030:19: acquire_memory: this call could return NULL
xen-4.19.2/tools/xentrace/xenalyze.c:4033:22: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.19.2/tools/xentrace/xenalyze.c:4037:5: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:4037:5: danger: argument 1 (‘qsort_array’) from [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def641]
xen-4.19.2/tools/xentrace/xenalyze.c:4052: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-688): [#def642]
xen-4.19.2/tools/xentrace/xenalyze.c:6704:5: warning[-Wanalyzer-null-argument]: use of NULL ‘v’ where non-null expected
xen-4.19.2/tools/xentrace/xenalyze.c:8971:6: enter_function: entry to ‘process_lost_records_end’
xen-4.19.2/tools/xentrace/xenalyze.c:8991:9: call_function: calling ‘update_cycles’ from ‘process_lost_records_end’
xen-4.19.2/tools/xentrace/xenalyze.c:8991:9: return_function: returning to ‘process_lost_records_end’ from ‘update_cycles’
xen-4.19.2/tools/xentrace/xenalyze.c:8993:11: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:8994:23: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:8997:15: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:9001:16: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:9001:15: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:9010:16: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:9010:15: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:9013:13: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:9013:13: call_function: calling ‘vcpu_find’ from ‘process_lost_records_end’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def643]
xen-4.19.2/tools/xentrace/xenalyze.c:6725:5: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected
xen-4.19.2/tools/xentrace/xenalyze.c:8971:6: enter_function: entry to ‘process_lost_records_end’
xen-4.19.2/tools/xentrace/xenalyze.c:8991:9: call_function: calling ‘update_cycles’ from ‘process_lost_records_end’
xen-4.19.2/tools/xentrace/xenalyze.c:8991:9: return_function: returning to ‘process_lost_records_end’ from ‘update_cycles’
xen-4.19.2/tools/xentrace/xenalyze.c:8993:11: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:8994:23: branch_true: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:8997:15: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:9001:16: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:9001:15: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:9010:16: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:9010:15: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xentrace/xenalyze.c:9013:13: branch_false: ...to here
xen-4.19.2/tools/xentrace/xenalyze.c:9013:13: call_function: calling ‘vcpu_find’ from ‘process_lost_records_end’
Error: CPPCHECK_WARNING (CWE-457): [#def644]
xen-4.19.2/tools/xentrace/xentrace.c:520: warning[uninitvar]: Uninitialized variable: pfn_list
Error: GCC_ANALYZER_WARNING (CWE-457): [#def645]
xen-4.19.2/tools/xl/xl_parse.c:840:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘resolution’
xen-4.19.2/tools/xl/xl_parse.c:1287:6: enter_function: entry to ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1313:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1319:5: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1322:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1327:8: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1328:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1333:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1392:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1397:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1472:5: call_function: calling ‘parse_vnuma_config’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1472:5: return_function: returning to ‘parse_config_data’ from ‘parse_vnuma_config’
xen-4.19.2/tools/xl/xl_parse.c:1479:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1482:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1482:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1487:5: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1528:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1528:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1528:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1533:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1535:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1535:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1535:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1540:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1542:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1542:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1542:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1548:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1550:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1550:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1550:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1555:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1557:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1557:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1557:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1564:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1577:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1580:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1580:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1588:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1690:23: call_function: calling ‘parse_cmdline’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1690:23: return_function: returning to ‘parse_config_data’ from ‘parse_cmdline’
xen-4.19.2/tools/xl/xl_parse.c:2024:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:2039:14: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:2315:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xl/xl_parse.c:2316:9: branch_true: ...to here
xen-4.19.2/tools/xl/xl_parse.c:2318:16: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xl/xl_parse.c:2320:27: branch_true: ...to here
xen-4.19.2/tools/xl/xl_parse.c:2326:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
branch_true: ...to here
xen-4.19.2/tools/xl/xl_parse.c:2329:21: call_function: calling ‘parse_vdispl_config’ from ‘parse_config_data’
Error: CPPCHECK_WARNING (CWE-476): [#def646]
xen-4.19.2/tools/xl/xl_parse.c:1260: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: str
Error: CPPCHECK_WARNING (CWE-476): [#def647]
xen-4.19.2/tools/xl/xl_parse.c:1261: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: str
Error: CPPCHECK_WARNING (CWE-476): [#def648]
xen-4.19.2/tools/xl/xl_parse.c:1262: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: str
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
xen-4.19.2/tools/xl/xl_parse.c:1629:16: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(buf)’
xen-4.19.2/tools/xl/xl_parse.c:1287:6: enter_function: entry to ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1313:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1319:5: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1322:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1327:8: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1328:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1333:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1392:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1397:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1398:12: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1406:5: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1472:5: call_function: calling ‘parse_vnuma_config’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1472:5: return_function: returning to ‘parse_config_data’ from ‘parse_vnuma_config’
xen-4.19.2/tools/xl/xl_parse.c:1479:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1482:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1482:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1487:5: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1528:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1528:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1528:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1533:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1535:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1535:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1535:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1540:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1542:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1542:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1542:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1548:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1550:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1550:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1550:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1555:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1557:10: call_function: calling ‘parse_action_on_shutdown’ from ‘parse_config_data’
xen-4.19.2/tools/xl/xl_parse.c:1557:10: return_function: returning to ‘parse_config_data’ from ‘parse_action_on_shutdown’
xen-4.19.2/tools/xl/xl_parse.c:1557:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1564:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1577:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1580:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1580:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1588:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1618:8: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1619:9: branch_true: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1621:21: branch_true: following ‘true’ branch...
xen-4.19.2/tools/xl/xl_parse.c:1624:21: branch_true: ...to here
xen-4.19.2/tools/xl/xl_parse.c:1628:27: acquire_memory: allocated here
xen-4.19.2/tools/xl/xl_parse.c:1629:16: danger: ‘strdup(buf)’ leaks here; was allocated at [(64)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/63)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def650]
xen-4.19.2/tools/xl/xl_vcpu.c:253:30: warning[-Wanalyzer-null-argument]: use of NULL ‘soft_str’ where non-null expected
xen-4.19.2/tools/xl/xl_vcpu.c:211:16: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_vcpu.c:214:14: branch_false: ...to here
xen-4.19.2/tools/xl/xl_vcpu.c:227:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_vcpu.c:228:9: branch_false: ...to here
xen-4.19.2/tools/xl/xl_vcpu.c:227:9: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_vcpu.c:245:10: branch_false: ...to here
xen-4.19.2/tools/xl/xl_vcpu.c:245:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/xl/xl_vcpu.c:253:17: branch_true: ...to here
xen-4.19.2/tools/xl/xl_vcpu.c:253:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xl/xl_vcpu.c:253:30: branch_false: ...to here
xen-4.19.2/tools/xl/xl_vcpu.c:253:30: danger: argument 1 (‘soft_str’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-909): [#def651]
xen-4.19.2/tools/xl/xl_vmcontrol.c:805: error[uninitStructMember]: Uninitialized struct member: hdr.mandatory_flags
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
xen-4.19.2/tools/xs-clients/xenstore_control.c:20:5: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.19.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.19.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
xen-4.19.2/tools/xs-clients/xenstore_control.c:36:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.19.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.19.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
xen-4.19.2/tools/xs-clients/xenstore_control.c:113:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.19.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.19.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.19.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.19.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.19.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.19.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
xen-4.19.2/xen/./arch/x86/include/asm/shared.h:81:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.2/xen/arch/x86/x86_64/traps.c:126:6: enter_function: entry to ‘show_registers’
xen-4.19.2/xen/arch/x86/x86_64/traps.c:131:22: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/x86_64/traps.c:133:10: call_function: inlined call to ‘get_cpu_info’ from ‘show_registers’
xen-4.19.2/xen/arch/x86/x86_64/traps.c:133:10: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/x86_64/traps.c:142:14: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/x86_64/traps.c:145:28: call_function: inlined call to ‘arch_get_cr2’ from ‘show_registers’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def656]
xen-4.19.2/xen/./arch/x86/include/asm/uaccess.h:310:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:677:21: enter_function: entry to ‘rep_outs’
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:692:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:695:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:695:10: call_function: calling ‘read_segment’ from ‘rep_outs’
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:695:10: return_function: returning to ‘rep_outs’ from ‘read_segment’
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:696:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:699:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:699:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:701:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:701:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:702:12: branch_false: ...to here
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:712:13: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:714:22: branch_true: ...to here
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:717:14: call_function: calling ‘pv_emul_virt_to_linear’ from ‘rep_outs’
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:717:14: return_function: returning to ‘rep_outs’ from ‘pv_emul_virt_to_linear’
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:719:12: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.19.2/xen/arch/x86/pv/emul-priv-op.c:722:20: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def657]
xen-4.19.2/xen/./include/xen/iocap.h:18:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:686:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:689:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:689:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:693:17: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:693:17: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:694:19: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:694:19: call_function: calling ‘iomem_permit_access’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
xen-4.19.2/xen/./include/xen/iocap.h:35:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:686:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:689:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:689:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:693:17: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:693:17: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:696:19: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:696:19: call_function: calling ‘iomem_deny_access’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def659]
xen-4.19.2/xen/./include/xen/sched.h:1170:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/xen/arch/x86/emul-i8254.c:549:17: enter_function: entry to ‘speaker_ioport_read’
xen-4.19.2/xen/arch/x86/emul-i8254.c:555:14: call_function: calling ‘pit_get_out’ from ‘speaker_ioport_read’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def660]
xen-4.19.2/xen/./include/xen/sched.h:1170:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.2/xen/arch/x86/x86_64/traps.c:126:6: enter_function: entry to ‘show_registers’
xen-4.19.2/xen/arch/x86/x86_64/traps.c:131:22: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/x86_64/traps.c:133:10: call_function: inlined call to ‘get_cpu_info’ from ‘show_registers’
xen-4.19.2/xen/arch/x86/x86_64/traps.c:133:30: call_function: inlined call to ‘is_hvm_vcpu’ from ‘show_registers’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
xen-4.19.2/xen/arch/x86/domain_page.c:192:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.2/xen/arch/x86/domain_page.c:176:6: enter_function: entry to ‘unmap_domain_page’
xen-4.19.2/xen/arch/x86/domain_page.c:184:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/domain_page.c:189:9: branch_false: ...to here
xen-4.19.2/xen/arch/x86/domain_page.c:189:9: call_function: calling ‘mapcache_current_vcpu’ from ‘unmap_domain_page’
xen-4.19.2/xen/arch/x86/domain_page.c:189:9: return_function: return of NULL to ‘unmap_domain_page’ from ‘mapcache_current_vcpu’
xen-4.19.2/xen/arch/x86/domain_page.c:192:15: danger: dereference of NULL ‘v’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def662]
xen-4.19.2/xen/arch/x86/extable.c:55:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/arch/x86/extable.c:59:13: enter_function: entry to ‘sort_exception_tables’
xen-4.19.2/xen/arch/x86/extable.c:61:5: call_function: calling ‘sort_exception_table’ from ‘sort_exception_tables’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def663]
xen-4.19.2/xen/arch/x86/extable.c:76:21: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/arch/x86/extable.c:219:26: enter_function: entry to ‘search_pre_exception_table’
xen-4.19.2/xen/arch/x86/extable.c:222:27: call_function: calling ‘search_one_extable’ from ‘search_pre_exception_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
xen-4.19.2/xen/arch/x86/hvm/rtc.c:151:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.19.2/xen/arch/x86/hvm/rtc.c:699:21: enter_function: entry to ‘handle_rtc_io’
xen-4.19.2/xen/arch/x86/hvm/rtc.c:704:8: branch_false: following ‘false’ branch (when ‘bytes == 1’)...
xen-4.19.2/xen/arch/x86/hvm/rtc.c:711:8: branch_false: ...to here
xen-4.19.2/xen/arch/x86/hvm/rtc.c:711:8: branch_true: following ‘true’ branch (when ‘dir == 0’)...
xen-4.19.2/xen/arch/x86/hvm/rtc.c:713:52: branch_true: ...to here
xen-4.19.2/xen/arch/x86/hvm/rtc.c:713:14: call_function: calling ‘rtc_ioport_write’ from ‘handle_rtc_io’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
xen-4.19.2/xen/arch/x86/hvm/vioapic.c:340:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vioapic’
xen-4.19.2/xen/arch/x86/hvm/vioapic.c:354:21: enter_function: entry to ‘vioapic_write’
xen-4.19.2/xen/arch/x86/hvm/vioapic.c:370:9: call_function: calling ‘vioapic_write_indirect’ from ‘vioapic_write’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def666]
xen-4.19.2/xen/arch/x86/irq.c:276:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘desc’
xen-4.19.2/xen/arch/x86/irq.c:2150:5: enter_function: entry to ‘map_domain_pirq’
xen-4.19.2/xen/arch/x86/irq.c:2163:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2166:8: branch_true: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2166:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2176:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2177:11: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2176:10: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2193:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2207:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.19.2/xen/arch/x86/irq.c:2209:8: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2214:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2224:15: call_function: inlined call to ‘boot_cpu_has’ from ‘map_domain_pirq’
xen-4.19.2/xen/arch/x86/irq.c:2224:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2227:16: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2228:12: branch_false: following ‘false’ branch (when ‘pdev’ is non-NULL)...
xen-4.19.2/xen/arch/x86/irq.c:2231:15: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2232:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
xen-4.19.2/xen/arch/x86/irq.c:2242:9: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2244:12: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2256:17: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.19.2/xen/arch/x86/irq.c:2258:18: branch_true: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2270:16: branch_false: following ‘false’ branch (when ‘type != 0’)...
xen-4.19.2/xen/arch/x86/irq.c:2271:26: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2270:18: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2270:18: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2270:18: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/irq.c:2275:13: branch_false: ...to here
xen-4.19.2/xen/arch/x86/irq.c:2280:19: call_function: calling ‘create_irq’ from ‘map_domain_pirq’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def667]
xen-4.19.2/xen/arch/x86/machine_kexec.c:120:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-457): [#def668]
xen-4.19.2/xen/arch/x86/mm/p2m.c:2127:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘order’
xen-4.19.2/xen/arch/x86/mm/p2m.c:2084:5: enter_function: entry to ‘relinquish_p2m_mapping’
xen-4.19.2/xen/arch/x86/mm/p2m.c:2090:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/mm/p2m.c:2093:5: branch_false: ...to here
xen-4.19.2/xen/arch/x86/mm/p2m.c:2093:5: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/mm/p2m.c:2095:5: call_function: inlined call to ‘p2m_lock’ from ‘relinquish_p2m_mapping’
xen-4.19.2/xen/arch/x86/mm/p2m.c:2100:13: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/mm/p2m.c:2101:42: branch_true: ...to here
xen-4.19.2/xen/arch/x86/mm/p2m.c:2100:13: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/mm/p2m.c:2107:9: branch_true: ...to here
xen-4.19.2/xen/arch/x86/mm/p2m.c:2107:9: call_function: calling ‘_get_gfn_type_access’ from ‘relinquish_p2m_mapping’
xen-4.19.2/xen/arch/x86/mm/p2m.c:2107:9: return_function: returning to ‘relinquish_p2m_mapping’ from ‘_get_gfn_type_access’
xen-4.19.2/xen/arch/x86/mm/p2m.c:2110:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/mm/p2m.c:2127:16: branch_false: ...to here
xen-4.19.2/xen/arch/x86/mm/p2m.c:2127:16: danger: use of uninitialized value ‘order’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def669]
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:114:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:98:1: enter_function: entry to ‘hvm_read’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:109:10: call_function: calling ‘hvm_translate_virtual_addr’ from ‘hvm_read’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:109:10: return_function: returning to ‘hvm_read’ from ‘hvm_translate_virtual_addr’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:111:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:114:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:114:10: danger: use of uninitialized value ‘addr’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def670]
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:352:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:315:31: enter_function: entry to ‘shadow_init_emulation’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:349:11: call_function: calling ‘hvm_translate_virtual_addr’ from ‘shadow_init_emulation’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:349:11: return_function: returning to ‘shadow_init_emulation’ from ‘hvm_translate_virtual_addr’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:348:5: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:352:11: branch_true: ...to here
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:352:11: danger: use of uninitialized value ‘addr’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def671]
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:383:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:364:6: enter_function: entry to ‘shadow_continue_emulation’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:376:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:380:15: branch_true: ...to here
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:380:15: call_function: calling ‘hvm_translate_virtual_addr’ from ‘shadow_continue_emulation’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:380:15: return_function: returning to ‘shadow_continue_emulation’ from ‘hvm_translate_virtual_addr’
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:379:9: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:383:15: branch_true: ...to here
xen-4.19.2/xen/arch/x86/mm/shadow/hvm.c:383:15: danger: use of uninitialized value ‘addr’ here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def672]
xen-4.19.2/xen/arch/x86/percpu.c:33:35: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/arch/x86/percpu.c:30:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/percpu.c:33:35: branch_false: ...to here
xen-4.19.2/xen/arch/x86/percpu.c:33:35: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def673]
xen-4.19.2/xen/arch/x86/percpu.c:54:27: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-835): [#def674]
xen-4.19.2/xen/arch/x86/physdev.c:58:13: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.19.2/xen/arch/x86/physdev.c:30:12: enter_function: entry to ‘physdev_hvm_map_pirq’
xen-4.19.2/xen/arch/x86/physdev.c:58:13: danger: infinite loop here
xen-4.19.2/xen/arch/x86/physdev.c:58:13: branch_true: if it ever follows ‘true’ branch, it will always do so...
xen-4.19.2/xen/arch/x86/physdev.c:61:31: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def675]
xen-4.19.2/xen/arch/x86/setup.c:496:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/arch/x86/setup.c:968:33: enter_function: entry to ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1028:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.19.2/xen/arch/x86/setup.c:1039:5: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1343:5: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1343:5: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/xen/arch/x86/setup.c:1366:35: branch_true: following ‘true’ branch (when ‘i >= 0’)...
xen-4.19.2/xen/arch/x86/setup.c:1371:14: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1371:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1375:14: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1378:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1381:12: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1395:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1409:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1416:13: call_function: calling ‘move_xen’ from ‘__start_xen’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def676]
xen-4.19.2/xen/arch/x86/setup.c:1339:40: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1028:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.19.2/xen/arch/x86/setup.c:1039:5: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1329:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1338:42: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1339:40: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-127): [#def677]
xen-4.19.2/xen/arch/x86/setup.c:1556:25: warning[-Wanalyzer-out-of-bounds]: buffer under-read
xen-4.19.2/xen/arch/x86/setup.c:968:33: enter_function: entry to ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1028:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.19.2/xen/arch/x86/setup.c:1039:5: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1342:24: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1342:24: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/xen/arch/x86/setup.c:1343:5: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1343:5: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/xen/arch/x86/setup.c:1477:18: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1484:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1484:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1488:10: call_function: inlined call to ‘using_2M_mapping’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1511:18: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1516:14: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1516:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1520:14: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1523:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1526:14: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1546:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1548:18: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1548:16: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1550:23: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1552:24: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1556:25: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1556:25: danger: out-of-bounds read from byte -16 till byte -9 but ‘boot_e820’ starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-127): [#def678]
xen-4.19.2/xen/arch/x86/setup.c:1556:49: warning[-Wanalyzer-out-of-bounds]: buffer under-read
xen-4.19.2/xen/arch/x86/setup.c:968:33: enter_function: entry to ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1021:14: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1025:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1028:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.19.2/xen/arch/x86/setup.c:1039:5: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1128:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1342:24: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1342:24: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/xen/arch/x86/setup.c:1343:5: call_function: calling ‘bootstrap_map’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1343:5: return_function: returning to ‘__start_xen’ from ‘bootstrap_map’
xen-4.19.2/xen/arch/x86/setup.c:1477:18: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1484:10: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1484:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1488:10: call_function: inlined call to ‘using_2M_mapping’ from ‘__start_xen’
xen-4.19.2/xen/arch/x86/setup.c:1511:18: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1516:14: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1516:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1520:14: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1523:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1526:14: branch_false: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1546:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1548:18: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1548:16: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1550:23: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1552:24: branch_true: following ‘true’ branch...
xen-4.19.2/xen/arch/x86/setup.c:1556:25: branch_true: ...to here
xen-4.19.2/xen/arch/x86/setup.c:1556:49: danger: out-of-bounds read from byte -8 till byte -1 but ‘boot_e820’ starts at byte 0
Error: COMPILER_WARNING: [#def679]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c: scope_hint: Assembler messages
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:34: Error: bad expression
Error: COMPILER_WARNING: [#def680]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:34: Error: junk at end of line, first unrecognized character is `#'
Error: COMPILER_WARNING: [#def681]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:35: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def682]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:36: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def683]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:37: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def684]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:38: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def685]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:39: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def686]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:40: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def687]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:41: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def688]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:42: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def689]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:43: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def690]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:44: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def691]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:45: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def692]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:46: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def693]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:47: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def694]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:48: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def695]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:49: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def696]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:50: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def697]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:51: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def698]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:52: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def699]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:53: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def700]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:54: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def701]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:55: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def702]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:56: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def703]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:57: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def704]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:67: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def705]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:68: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def706]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:69: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def707]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:70: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def708]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:76: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def709]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:77: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def710]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:79: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def711]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:80: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def712]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:84: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def713]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:85: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def714]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:86: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def715]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:87: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def716]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:88: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def717]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:89: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def718]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:90: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def719]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:91: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def720]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:92: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def721]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:93: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def722]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:94: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def723]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:96: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def724]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:97: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def725]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:98: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def726]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:100: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def727]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:101: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def728]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:102: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def729]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:103: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def730]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:104: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def731]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:105: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def732]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:106: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def733]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:107: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def734]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:108: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def735]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:109: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def736]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:110: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def737]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:111: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def738]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:112: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def739]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:113: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def740]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:114: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def741]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:115: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def742]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:118: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def743]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:119: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def744]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:120: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def745]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:122: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def746]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:123: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def747]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:124: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def748]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:125: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def749]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:126: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def750]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:127: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def751]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:129: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def752]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:130: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def753]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:131: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def754]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:132: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def755]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:136: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def756]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:137: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def757]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:139: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def758]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:140: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def759]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:141: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def760]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:145: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def761]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:146: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def762]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:147: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def763]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:150: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def764]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:151: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def765]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:152: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def766]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:153: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def767]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:154: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def768]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:155: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def769]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:156: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def770]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:157: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def771]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:158: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def772]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:159: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def773]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:160: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def774]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:161: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def775]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:162: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def776]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:163: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def777]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:164: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def778]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:165: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def779]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:166: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def780]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:167: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def781]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:170: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def782]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:171: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def783]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:172: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def784]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:173: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def785]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:174: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def786]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:176: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def787]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:177: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def788]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:178: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def789]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:179: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def790]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:180: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def791]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:183: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def792]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:184: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def793]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:191: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def794]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:192: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def795]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:193: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def796]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:195: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def797]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:196: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def798]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:198: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def799]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:199: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def800]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:200: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def801]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:201: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def802]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:203: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def803]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:204: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def804]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:205: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def805]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:206: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def806]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:207: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def807]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:208: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def808]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:209: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def809]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:210: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def810]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:211: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def811]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:212: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def812]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:214: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def813]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:215: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def814]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:218: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def815]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:219: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def816]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:220: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def817]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:221: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def818]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:222: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def819]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:223: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def820]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:224: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def821]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:225: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def822]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:226: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def823]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:227: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def824]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:228: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def825]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:229: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def826]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:230: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def827]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:231: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def828]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:232: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def829]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:233: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def830]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:234: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def831]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:235: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def832]
xen-4.19.2/xen/arch/x86/x86_64/asm-offsets.c:236: Error: symbol `.ascii' is already defined
Error: GCC_ANALYZER_WARNING (CWE-469): [#def833]
xen-4.19.2/xen/arch/x86/x86_64/mm.c:725:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/arch/x86/x86_64/mm.c:715:13: enter_function: entry to ‘zap_low_mappings’
xen-4.19.2/xen/arch/x86/x86_64/mm.c:717:5: branch_false: following ‘false’ branch...
xen-4.19.2/xen/arch/x86/x86_64/mm.c:720:5: call_function: inlined call to ‘write_u64_atomic’ from ‘zap_low_mappings’
xen-4.19.2/xen/arch/x86/x86_64/mm.c:725:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: CPPCHECK_WARNING (CWE-758): [#def834]
xen-4.19.2/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): [#def835]
xen-4.19.2/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): [#def836]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:1014: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def837]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:2051: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def838]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:2381: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def839]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:2556: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def840]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:3101: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def841]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:3901: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def842]
xen-4.19.2/xen/arch/x86/x86_emulate/x86_emulate.c:6319: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-190): [#def843]
xen-4.19.2/xen/common/bunzip2.c:140: error[integerOverflow]: Signed integer overflow for expression '1<<bits_wanted'.
Error: CPPCHECK_WARNING (CWE-758): [#def844]
xen-4.19.2/xen/common/bunzip2.c:140: error[shiftTooManyBits]: Shifting 32-bit value by 32 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def845]
xen-4.19.2/xen/common/bunzip2.c:140:55: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
xen-4.19.2/xen/common/bunzip2.c:518:19: enter_function: entry to ‘read_bunzip’
xen-4.19.2/xen/common/bunzip2.c:524:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/bunzip2.c:528:9: branch_false: ...to here
xen-4.19.2/xen/common/bunzip2.c:536:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/bunzip2.c:605:20: branch_false: ...to here
xen-4.19.2/xen/common/bunzip2.c:605:20: call_function: calling ‘get_next_block’ from ‘read_bunzip’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def846]
xen-4.19.2/xen/common/domain.c:672:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.19.2/xen/common/domain.c:820:13: enter_function: entry to ‘setup_system_domains’
xen-4.19.2/xen/common/domain.c:829:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def847]
xen-4.19.2/xen/common/domain.c:734:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.19.2/xen/common/domain.c:820:13: enter_function: entry to ‘setup_system_domains’
xen-4.19.2/xen/common/domain.c:829:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def848]
xen-4.19.2/xen/common/domctl.c:74:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:546:9: call_function: calling ‘getdomaininfo’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def849]
xen-4.19.2/xen/common/domctl.c:226:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:826:17: call_function: calling ‘vnuma_init’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def850]
xen-4.19.2/xen/common/domctl.c:350:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:349:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:350:23: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:350:23: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def851]
xen-4.19.2/xen/common/domctl.c:464:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:463:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:464:22: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:464:22: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def852]
xen-4.19.2/xen/common/domctl.c:558:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:558:40: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def853]
xen-4.19.2/xen/common/domctl.c:607:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:607:40: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def854]
xen-4.19.2/xen/common/domctl.c:636:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:636:9: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def855]
xen-4.19.2/xen/common/domctl.c:642:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:642:9: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def856]
xen-4.19.2/xen/common/domctl.c:652:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:647:14: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:647:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:651:13: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:652:13: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def857]
xen-4.19.2/xen/common/domctl.c:672:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:663:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:668:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:668:15: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:671:17: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:672:19: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:672:19: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def858]
xen-4.19.2/xen/common/domctl.c:674:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:663:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:668:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:668:15: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:671:17: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:674:19: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:674:19: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def859]
xen-4.19.2/xen/common/domctl.c:723:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:709:12: branch_false: following ‘false’ branch (when ‘mfn <= mfn_end’)...
xen-4.19.2/xen/common/domctl.c:710:15: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:709:14: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:711:15: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:709:14: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:722:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:722:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:723:15: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:723:15: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def860]
xen-4.19.2/xen/common/domctl.c:774:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:770:12: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
xen-4.19.2/xen/common/domctl.c:774:12: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:774:12: branch_false: following ‘false’ branch (when ‘d != e’)...
xen-4.19.2/xen/common/domctl.c:774:27: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:774:27: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def861]
xen-4.19.2/xen/common/domctl.c:795:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.19.2/xen/common/domctl.c:281:6: enter_function: entry to ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:288:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:291:10: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:291:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/domctl.c:294:14: branch_false: ...to here
xen-4.19.2/xen/common/domctl.c:325:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.19.2/xen/common/domctl.c:331:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/domctl.c:339:14: branch_true: ...to here
xen-4.19.2/xen/common/domctl.c:795:9: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def862]
xen-4.19.2/xen/common/earlycpio.c:123:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ch[12]’
xen-4.19.2/xen/common/earlycpio.c:84:16: branch_true: following ‘true’ branch (when ‘len > 110’)...
xen-4.19.2/xen/common/earlycpio.c:85:22: branch_true: ...to here
xen-4.19.2/xen/common/earlycpio.c:85:20: branch_false: following ‘false’ branch...
branch_false: ...to here
xen-4.19.2/xen/common/earlycpio.c:94:37: branch_true: following ‘true’ branch (when ‘i != 0’)...
branch_true: ...to here
xen-4.19.2/xen/common/earlycpio.c:96:32: branch_true: following ‘true’ branch (when ‘j != 0’)...
xen-4.19.2/xen/common/earlycpio.c:97:33: branch_true: ...to here
xen-4.19.2/xen/common/earlycpio.c:96:32: branch_true: following ‘true’ branch (when ‘j != 0’)...
xen-4.19.2/xen/common/earlycpio.c:97:33: branch_true: ...to here
xen-4.19.2/xen/common/earlycpio.c:94:37: branch_false: following ‘false’ branch (when ‘i == 0’)...
xen-4.19.2/xen/common/earlycpio.c:118:22: branch_false: ...to here
xen-4.19.2/xen/common/earlycpio.c:118:20: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/earlycpio.c:121:17: branch_false: ...to here
xen-4.19.2/xen/common/earlycpio.c:123:24: danger: use of uninitialized value ‘ch[12]’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def863]
xen-4.19.2/xen/common/grant_table.c:2218:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘raw_shah’
xen-4.19.2/xen/common/compat/grant_table.c:63:5: enter_function: entry to ‘compat_grant_table_op’
xen-4.19.2/xen/common/compat/grant_table.c:135:16: call_function: calling ‘do_grant_table_op’ from ‘compat_grant_table_op’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def864]
xen-4.19.2/xen/common/grant_table.c:4323:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sha’
xen-4.19.2/xen/common/grant_table.c:4286:13: enter_function: entry to ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4296:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4296:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4305:20: branch_true: following ‘true’ branch (when ‘ref != nr_ents’)...
xen-4.19.2/xen/common/grant_table.c:4312:15: call_function: inlined call to ‘active_entry_acquire’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4313:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/grant_table.c:4319:15: branch_false: ...to here
xen-4.19.2/xen/common/grant_table.c:4319:15: call_function: calling ‘shared_entry_header’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4319:15: return_function: return of NULL to ‘gnttab_usage_print’ from ‘shared_entry_header’
xen-4.19.2/xen/common/grant_table.c:4321:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/grant_table.c:4323:13: branch_true: ...to here
xen-4.19.2/xen/common/grant_table.c:4323:13: danger: dereference of NULL ‘sha’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def865]
xen-4.19.2/xen/common/grant_table.c:4337:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sha’
xen-4.19.2/xen/common/grant_table.c:4286:13: enter_function: entry to ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4296:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4296:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4305:20: branch_true: following ‘true’ branch (when ‘ref != nr_ents’)...
xen-4.19.2/xen/common/grant_table.c:4312:15: call_function: inlined call to ‘active_entry_acquire’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4313:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/grant_table.c:4319:15: branch_false: ...to here
xen-4.19.2/xen/common/grant_table.c:4319:15: call_function: calling ‘shared_entry_header’ from ‘gnttab_usage_print’
xen-4.19.2/xen/common/grant_table.c:4319:15: return_function: return of NULL to ‘gnttab_usage_print’ from ‘shared_entry_header’
xen-4.19.2/xen/common/grant_table.c:4321:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/grant_table.c:4328:21: branch_false: ...to here
xen-4.19.2/xen/common/grant_table.c:4337:16: danger: dereference of NULL ‘sha’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def866]
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def867]
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:584:18: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:586:16: branch_true: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:587:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:590:14: branch_true: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:590:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:597:13: branch_false: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:597:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:600:22: branch_false: ...to here
xen-4.19.2/xen/common/libelf/libelf-dominfo.c:600:22: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def868]
xen-4.19.2/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def869]
xen-4.19.2/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.2/xen/common/rangeset.c:394:5: enter_function: entry to ‘rangeset_merge’
xen-4.19.2/xen/common/rangeset.c:396:12: call_function: calling ‘rangeset_report_ranges’ from ‘rangeset_merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def870]
xen-4.19.2/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def871]
xen-4.19.2/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.2/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def872]
xen-4.19.2/xen/common/rangeset.c:160:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.19.2/xen/common/rangeset.c:387:21: enter_function: entry to ‘merge’
xen-4.19.2/xen/common/rangeset.c:391:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def873]
xen-4.19.2/xen/common/sched/cpupool.c:137:16: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.19.2/xen/common/sched/cpupool.c:1298:28: enter_function: entry to ‘cpupool_init’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def874]
xen-4.19.2/xen/drivers/passthrough/pci.c:1547:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdev’
xen-4.19.2/xen/drivers/passthrough/pci.c:1527:12: enter_function: entry to ‘assign_device’
xen-4.19.2/xen/drivers/passthrough/pci.c:1533:11: call_function: inlined call to ‘is_iommu_enabled’ from ‘assign_device’
xen-4.19.2/xen/drivers/passthrough/pci.c:1536:8: branch_true: following ‘true’ branch...
xen-4.19.2/xen/drivers/passthrough/pci.c:1541:31: branch_true: ...to here
xen-4.19.2/xen/drivers/passthrough/pci.c:1541:12: call_function: calling ‘pci_get_pdev’ from ‘assign_device’
xen-4.19.2/xen/drivers/passthrough/pci.c:1541:12: return_function: return of NULL to ‘assign_device’ from ‘pci_get_pdev’
xen-4.19.2/xen/drivers/passthrough/pci.c:1547:10: danger: dereference of NULL ‘pdev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def875]
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:752:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pirqs[i]’
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:748:22: branch_true: following ‘true’ branch (when ‘i < n’)...
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:750:47: branch_true: ...to here
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:752:20: danger: dereference of NULL ‘pirqs[i]’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def876]
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:753:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:734:5: enter_function: entry to ‘pt_pirq_iterate’
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:748:22: branch_true: following ‘true’ branch (when ‘i < n’)...
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:750:47: branch_true: ...to here
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:750:47: call_function: inlined call to ‘_pirq_dpci’ from ‘pt_pirq_iterate’
xen-4.19.2/xen/drivers/passthrough/x86/hvm.c:753:19: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def877]
xen-4.19.2/xen/drivers/vpci/vpci.c:162:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.19.2/xen/drivers/vpci/vpci.c:137:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/drivers/vpci/vpci.c:144:29: branch_false: ...to here
xen-4.19.2/xen/drivers/vpci/vpci.c:149:8: branch_false: following ‘false’ branch...
xen-4.19.2/xen/drivers/vpci/vpci.c:152:5: branch_false: ...to here
xen-4.19.2/xen/drivers/vpci/vpci.c:162:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def878]
xen-4.19.2/xen/lib/list-sort.c:92:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
xen-4.19.2/xen/lib/list-sort.c:114:6: enter_function: entry to ‘list_sort’
xen-4.19.2/xen/lib/list-sort.c:124:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/lib/list-sort.c:127:9: branch_false: ...to here
xen-4.19.2/xen/lib/list-sort.c:129:9: release_memory: ‘0’ is NULL
xen-4.19.2/xen/lib/list-sort.c:132:16: branch_false: following ‘false’ branch (when ‘list’ is NULL)...
branch_false: ...to here
xen-4.19.2/xen/lib/list-sort.c:152:23: branch_false: following ‘false’ branch (when ‘lev >= max_lev’)...
xen-4.19.2/xen/lib/list-sort.c:156:9: branch_false: ...to here
xen-4.19.2/xen/lib/list-sort.c:156:9: release_memory: ‘list’ is NULL
xen-4.19.2/xen/lib/list-sort.c:156:9: call_function: calling ‘merge_and_restore_back_links’ from ‘list_sort’
Error: CPPCHECK_WARNING (CWE-457): [#def879]
xen-4.19.2/xen/lib/x86/cpuid.c:468: error[uninitvar]: Uninitialized variable: data.leaf
Error: CPPCHECK_WARNING (CWE-457): [#def880]
xen-4.19.2/xen/lib/x86/msr.c:80: error[uninitvar]: Uninitialized variable: data.flags
Error: GCC_ANALYZER_WARNING (CWE-127): [#def881]
xen-4.19.2/xen/tools/fixdep.c:327:30: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
xen-4.19.2/xen/tools/fixdep.c:385:5: enter_function: entry to ‘main’
xen-4.19.2/xen/tools/fixdep.c:390:12: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.19.2/xen/tools/fixdep.c:393:9: branch_false: ...to here
xen-4.19.2/xen/tools/fixdep.c:397:9: call_function: calling ‘xprintf’ from ‘main’
xen-4.19.2/xen/tools/fixdep.c:397:9: return_function: returning to ‘main’ from ‘xprintf’
xen-4.19.2/xen/tools/fixdep.c:399:15: call_function: calling ‘read_file’ from ‘main’
xen-4.19.2/xen/tools/fixdep.c:399:15: return_function: returning to ‘main’ from ‘read_file’
xen-4.19.2/xen/tools/fixdep.c:400:9: call_function: calling ‘parse_dep_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def882]
xen-4.19.2/xen/tools/kconfig/confdata.c:96:9: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xen-4.19.2/xen/tools/kconfig/confdata.c:988:12: enter_function: entry to ‘conf_touch_deps’
xen-4.19.2/xen/tools/kconfig/confdata.c:1001:9: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/confdata.c:1003:20: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/confdata.c:1043:27: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/confdata.c:1052:38: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/confdata.c:1052:23: call_function: calling ‘conf_touch_dep’ from ‘conf_touch_deps’
Error: CPPCHECK_WARNING (CWE-404): [#def883]
xen-4.19.2/xen/tools/kconfig/confdata.c:1090: error[resourceLeak]: Resource leak: tristate
Error: GCC_ANALYZER_WARNING (CWE-401): [#def884]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3338:33: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4156:14: enter_function: entry to ‘expand_token’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4167:21: call_function: calling ‘input’ from ‘expand_token’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def885]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-file-leak]: leak of FILE
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def886]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3594:12: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def887]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3644:12: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:20: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
Error: CPPCHECK_WARNING (CWE-476): [#def888]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3684: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def889]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3685: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:3724:19: warning[-Wanalyzer-malloc-leak]: leak of ‘yy_create_buffer(zconf_fopen(*file.name), 16384)’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4268:30: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.19.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def891]
xen-4.19.2/xen/tools/kconfig/symbol.c:1073:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prop’
xen-4.19.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1251:17: call_function: calling ‘sym_check_print_recursive’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def892]
xen-4.19.2/xen/tools/kconfig/symbol.c:1218:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1257:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1261:17: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1262:24: call_function: inlined call to ‘sym_get_choice_prop’ from ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1263:24: call_function: calling ‘sym_check_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def893]
xen-4.19.2/xen/tools/kconfig/symbol.c:1250:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
xen-4.19.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1257:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1261:17: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1262:24: call_function: inlined call to ‘sym_get_choice_prop’ from ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1263:24: call_function: calling ‘sym_check_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def894]
xen-4.19.2/xen/tools/kconfig/symbol.c:1300:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.19.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.19.2/xen/tools/kconfig/symbol.c:1257:12: branch_true: following ‘true’ branch...
xen-4.19.2/xen/tools/kconfig/symbol.c:1261:17: branch_true: ...to here
xen-4.19.2/xen/tools/kconfig/symbol.c:1263:24: call_function: inlined call to ‘prop_get_symbol’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def895]
xen-4.19.2/xen/tools/symbols.c:120:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
xen-4.19.2/xen/tools/symbols.c:584:5: enter_function: entry to ‘main’
xen-4.19.2/xen/tools/symbols.c:614:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.19.2/xen/tools/symbols.c:617:9: branch_false: ...to here
xen-4.19.2/xen/tools/symbols.c:617:9: call_function: calling ‘read_map’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def896]
xen-4.19.2/xen/tools/symbols.c:175:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*s.sym’
xen-4.19.2/xen/tools/symbols.c:584:5: enter_function: entry to ‘main’
xen-4.19.2/xen/tools/symbols.c:614:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.19.2/xen/tools/symbols.c:617:9: branch_false: ...to here
xen-4.19.2/xen/tools/symbols.c:617:9: call_function: calling ‘read_map’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def897]
xen-4.19.2/xen/tools/symbols.c:352: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: markers
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
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-77.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | xen-4.19.2-2.fc43 |
store-results-to | /tmp/tmptfd0ac4q/xen-4.19.2-2.fc43.tar.xz |
time-created | 2025-04-25 16:13:26 |
time-finished | 2025-04-25 16:26:21 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmptfd0ac4q/xen-4.19.2-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmptfd0ac4q/xen-4.19.2-2.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |