xen-4.20.2-2.fc44
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.20.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.20.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.20.2/extras/mini-os/9pfront.c:378: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def149]
xen-4.20.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.20.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.20.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.20.2/extras/mini-os/9pfront.c:1086: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def153]
xen-4.20.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): [#def154]
xen-4.20.2/extras/mini-os/9pfront.c:1088: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
xen-4.20.2/extras/mini-os/9pfront.c:1088:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘dev’
xen-4.20.2/extras/mini-os/9pfront.c:1085:11: acquire_memory: this call could return NULL
xen-4.20.2/extras/mini-os/9pfront.c:1088:5: danger: ‘dev’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def156]
xen-4.20.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.20.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.20.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.20.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.20.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.20.2/extras/mini-os/arch/x86/gnttab.c:70: warning[uninitvar]: Uninitialized variable: frames
Error: CPPCHECK_WARNING (CWE-119): [#def162]
xen-4.20.2/extras/mini-os/arch/x86/mm.c:804: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: &_text
Error: GCC_ANALYZER_WARNING (CWE-787): [#def163]
xen-4.20.2/extras/mini-os/arch/x86/mm.c:804:5: warning[-Wanalyzer-out-of-bounds]: buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-476): [#def164]
xen-4.20.2/extras/mini-os/arch/x86/mm.c:811:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pgt’
xen-4.20.2/extras/mini-os/arch/x86/mm.c:794:13: enter_function: entry to ‘clear_bootstrap’
xen-4.20.2/extras/mini-os/arch/x86/mm.c:810:11: call_function: calling ‘get_pgt’ from ‘clear_bootstrap’
xen-4.20.2/extras/mini-os/arch/x86/mm.c:810:11: return_function: return of NULL to ‘clear_bootstrap’ from ‘get_pgt’
xen-4.20.2/extras/mini-os/arch/x86/mm.c:811:5: danger: dereference of NULL ‘pgt’
Error: CPPCHECK_WARNING (CWE-476): [#def165]
xen-4.20.2/extras/mini-os/console.c:368: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: dev
Error: CPPCHECK_WARNING (CWE-476): [#def166]
xen-4.20.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): [#def167]
xen-4.20.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): [#def168]
xen-4.20.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): [#def169]
xen-4.20.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): [#def170]
xen-4.20.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): [#def171]
xen-4.20.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): [#def172]
xen-4.20.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): [#def173]
xen-4.20.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): [#def174]
xen-4.20.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): [#def175]
xen-4.20.2/extras/mini-os/gnttab.c:138:12: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.20.2/extras/mini-os/gnttab.c:138:12: danger: infinite loop here
xen-4.20.2/extras/mini-os/gnttab.c:138:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
xen-4.20.2/extras/mini-os/gnttab.c:138:12: branch_true: ...to here
Error: CPPCHECK_WARNING (CWE-476): [#def176]
xen-4.20.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): [#def177]
xen-4.20.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): [#def178]
xen-4.20.2/extras/mini-os/lib/math.c:163: error[zerodiv]: Division by zero.
Error: CPPCHECK_WARNING (CWE-476): [#def179]
xen-4.20.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): [#def180]
xen-4.20.2/extras/mini-os/lib/sys.c:678:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘ret’
xen-4.20.2/extras/mini-os/lib/sys.c:677:11: acquire_memory: this call could return NULL
xen-4.20.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): [#def181]
xen-4.20.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): [#def182]
xen-4.20.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): [#def183]
xen-4.20.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): [#def184]
xen-4.20.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): [#def185]
xen-4.20.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): [#def186]
xen-4.20.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): [#def187]
xen-4.20.2/extras/mini-os/lib/sys.c:1531:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘mfns’
xen-4.20.2/extras/mini-os/lib/sys.c:1514:8: branch_false: following ‘false’ branch...
xen-4.20.2/extras/mini-os/lib/sys.c:1516:10: branch_false: ...to here
xen-4.20.2/extras/mini-os/lib/sys.c:1521:12: acquire_memory: this call could return NULL
xen-4.20.2/extras/mini-os/lib/sys.c:1522:17: branch_true: following ‘true’ branch (when ‘i < n’)...
xen-4.20.2/extras/mini-os/lib/sys.c:1531:19: branch_true: ...to here
xen-4.20.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): [#def188]
xen-4.20.2/extras/mini-os/lib/xs.c:143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ret
Error: CPPCHECK_WARNING (CWE-476): [#def189]
xen-4.20.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): [#def190]
xen-4.20.2/extras/mini-os/lib/xs.c:200:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘entries’
xen-4.20.2/extras/mini-os/lib/xs.c:183:8: branch_false: following ‘false’ branch (when ‘msg’ is NULL)...
xen-4.20.2/extras/mini-os/lib/xs.c:183:8: branch_false: ...to here
xen-4.20.2/extras/mini-os/lib/xs.c:193:15: acquire_memory: this call could return NULL
xen-4.20.2/extras/mini-os/lib/xs.c:196:17: branch_true: following ‘true’ branch (when ‘i < n’)...
xen-4.20.2/extras/mini-os/lib/xs.c:197:27: branch_true: ...to here
xen-4.20.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/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-758): [#def191]
xen-4.20.2/extras/mini-os/main.c:70: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def192]
xen-4.20.2/extras/mini-os/main.c:70:46: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: CPPCHECK_WARNING (CWE-476): [#def193]
xen-4.20.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): [#def194]
xen-4.20.2/extras/mini-os/xenbus.c:313: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def195]
xen-4.20.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): [#def196]
xen-4.20.2/extras/mini-os/xenbus.c:354: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def197]
xen-4.20.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): [#def198]
xen-4.20.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): [#def199]
xen-4.20.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): [#def200]
xen-4.20.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): [#def201]
xen-4.20.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): [#def202]
xen-4.20.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): [#def203]
xen-4.20.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): [#def204]
xen-4.20.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): [#def205]
xen-4.20.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-401): [#def206]
xen-4.20.2/extras/mini-os/xenbus.c:992:1: warning[-Wanalyzer-malloc-leak]: leak of ‘dom_id’
xen-4.20.2/extras/mini-os/include/xenbus.h:126:9: enter_function: entry to ‘xenbus_get_self_id’
xen-4.20.2/extras/mini-os/xenbus.c:988:5: call_function: calling ‘xenbus_read’ from ‘xenbus_get_self_id’
xen-4.20.2/extras/mini-os/xenbus.c:988:5: return_function: returning to ‘xenbus_get_self_id’ from ‘xenbus_read’
xen-4.20.2/extras/mini-os/xenbus.c:988:5: branch_false: following ‘false’ branch...
xen-4.20.2/extras/mini-os/xenbus.c:989:5: branch_false: ...to here
xen-4.20.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-775): [#def207]
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:93:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch (when ‘nullfd >= 0’)...
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:84:9: acquire_resource: opened here
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:85:8: branch_false: following ‘false’ branch (when ‘r >= 0’)...
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:87:5: branch_false: ...to here
xen-4.20.2/stubdom/libs-x86_64/toolcore/handlereg.c:93:1: danger: ‘r’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING: [#def208]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:67:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def209]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:38: included_from: Included from here.
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘init_string_with_size’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:67:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def210]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:76:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def211]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘init_string’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:76:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def212]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:83:12: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def213]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘find’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:83:18: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def214]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:101:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def215]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘write_buffer’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:101:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def216]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:108:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def217]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘delete_string’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:108:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def218]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:115:14: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def219]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘addr’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:115:20: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def220]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:122:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def221]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘at’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:122:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def222]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:133:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def223]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘catchar’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:133:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def224]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:147:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def225]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘overwrite_string’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:147:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def226]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:157:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def227]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘catstr’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:157:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def228]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:169:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def229]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘cattext’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:169:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def230]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:181:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def231]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘catbuf’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:181:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def232]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:197:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def233]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘skip_white_and_stars’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:197:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def234]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:240:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def235]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘exec’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:240:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING (CWE-704): [#def236]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘push_number’
xen-4.20.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 (CWE-704): [#def237]
xen-4.20.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: [#def238]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:299:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def239]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘remove_noncomments’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:299:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def240]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:777:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def241]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘iscommand’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:777:8: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def242]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:802:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def243]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘copy_past_newline’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:802:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def244]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1066:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def245]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘nextword’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1066:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def246]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1144:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def247]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘lookup_word’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1144:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def248]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1198:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def249]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘newentry’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1198:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: CPPCHECK_WARNING (CWE-476): [#def250]
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-476): [#def251]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1202:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘new’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1389:5: enter_function: entry to ‘main’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1406:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def252]
xen-4.20.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): [#def253]
xen-4.20.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): [#def254]
xen-4.20.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): [#def255]
xen-4.20.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: [#def256]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1214:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def257]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_to_definition’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1214:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def258]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1221:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1389:5: enter_function: entry to ‘main’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1406:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def259]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1389:5: enter_function: entry to ‘main’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1406:5: call_function: calling ‘add_intrinsic’ from ‘main’
Error: COMPILER_WARNING: [#def260]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1237:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def261]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_intrinsic’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1237:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def262]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1253:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def263]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘add_var’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1253:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def264]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1267:1: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def265]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘compile’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1267:7: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING (CWE-704): [#def266]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘bang’
xen-4.20.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): [#def267]
xen-4.20.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): [#def268]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘atsign’
xen-4.20.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 (CWE-704): [#def269]
xen-4.20.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: [#def270]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1364:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def271]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘read_in’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1364:19: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: COMPILER_WARNING: [#def272]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1389:5: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def273]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c: scope_hint: In function ‘main’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/makedoc.c:1389:11: warning[-Wold-style-definition]: old-style function definition
xen-4.20.2/stubdom/newlib-1.16.0/newlib/doc/ansidecl.h:110:41: note: in definition of macro ‘DEFUN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def274]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:68:1: warning[-Wanalyzer-malloc-leak]: leak of ‘running’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:30:6: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:39:13: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:49:5: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_create_sep.c:68:1: branch_true: ...to here
xen-4.20.2/stubdom/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): [#def275]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:88:1: warning[-Wanalyzer-malloc-leak]: leak of ‘new_argz_iter’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:46:6: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:48:26: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:48:26: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:73:9: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:88:1: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:88:1: 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-401): [#def276]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:88:1: warning[-Wanalyzer-malloc-leak]: leak of ‘new_argz’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:46:6: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:48:26: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:48:26: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:55:13: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:57:15: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:73:9: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:88:1: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/argz_replace.c:88:1: danger: ‘new_argz’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def277]
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-401): [#def278]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: warning[-Wanalyzer-malloc-leak]: leak of ‘name_str’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:47:13: branch_false: following ‘false’ branch (when ‘name_iter’ is NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:57:20: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:30:10: branch_false: following ‘false’ branch (when ‘override != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: branch_false: ...to here
xen-4.20.2/stubdom/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/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def279]
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-401): [#def280]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:60:10: warning[-Wanalyzer-malloc-leak]: leak of ‘name_str’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:28:9: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:45:22: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:47:13: branch_false: following ‘false’ branch (when ‘name_iter’ is NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:57:20: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/argz/envz_merge.c:60:10: danger: ‘name_str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def281]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/errno/errno.c:11:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def282]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:160:15: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:69:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:72:14: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:72:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:90:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:93:9: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:98:14: acquire_resource: opened here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:99:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:104:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:104:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:107:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:107:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:109:30: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:124:12: branch_false: following ‘false’ branch (when ‘lbuf’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:126:16: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:129:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:131:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:131:13: release_resource: first ‘close’ here
xen-4.20.2/stubdom/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): [#def283]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:173:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:171:21: branch_true: following ‘true’ branch (when ‘p < plim’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:172:21: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:173:17: danger: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def284]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:186:1: warning[-Wanalyzer-malloc-leak]: leak of ‘lbuf’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:44:1: enter_function: entry to ‘__part_load_locale’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:69:12: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:72:14: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:72:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:79:13: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:88:20: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:90:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:93:9: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:99:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:104:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:104:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:107:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:107:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:109:30: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:112:13: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:114:20: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:114:20: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:124:12: branch_false: following ‘false’ branch (when ‘lbuf’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:126:16: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:129:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:131:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:131:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:136:13: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:136:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:138:21: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:138:21: call_function: calling ‘split_lines’ from ‘__part_load_locale’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:138:21: return_function: returning to ‘__part_load_locale’ from ‘split_lines’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:141:17: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:142:17: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:145:9: call_function: calling ‘set_from_buf’ from ‘__part_load_locale’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:145:9: return_function: returning to ‘__part_load_locale’ from ‘set_from_buf’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/locale/ldpart.c:186:1: danger: ‘lbuf’ leaks here; was allocated at [(18)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/17)
Error: COMPILER_WARNING: [#def285]
xen-4.20.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: [#def286]
xen-4.20.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: [#def287]
xen-4.20.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: [#def288]
xen-4.20.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: [#def289]
xen-4.20.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: [#def290]
xen-4.20.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: [#def291]
xen-4.20.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: [#def292]
xen-4.20.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-758): [#def293]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:36: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def294]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:36:31: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: CPPCHECK_WARNING (CWE-758): [#def295]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:42: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def296]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:42:28: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: CPPCHECK_WARNING (CWE-758): [#def297]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:54: error[subtractPointers]: Subtracting pointers that point to different objects
Error: GCC_ANALYZER_WARNING (CWE-469): [#def298]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/misc/init.c:54:28: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: COMPILER_WARNING: [#def299]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:106:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-476): [#def300]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:814:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘bp’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:781:25: branch_true: following ‘true’ branch (when ‘bp’ is NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:782:22: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:782:20: branch_true: following ‘true’ branch (when ‘bufp’ is NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:783:39: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:784:29: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:794:25: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:795:28: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:795:28: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:806:24: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:814:22: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:814:22: danger: dereference of NULL ‘bp’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def301]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:908:12: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:909:17: branch_true: ...to here
xen-4.20.2/stubdom/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): [#def302]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:965:1: warning[-Wanalyzer-malloc-leak]: leak of ‘store’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:947:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:956:38: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:956:22: acquire_memory: allocated here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:955:12: branch_false: following ‘false’ branch (when ‘store’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:955:12: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:962:21: branch_false: following ‘false’ branch (when ‘i >= nsegs’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:962:21: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.c:965:1: danger: ‘store’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-457): [#def303]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash.h:171:29: warning[-Wmaybe-uninitialized]: ‘freep’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:769:17: note: in expansion of macro ‘SETBIT’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c: scope_hint: In function ‘__add_ovflpage’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:670:21: note: ‘freep’ was declared here
Error: COMPILER_WARNING (CWE-691): [#def304]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_bigkey.c: scope_hint: In function ‘__big_insert’
xen-4.20.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): [#def305]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c: scope_hint: In function ‘__get_buf’
xen-4.20.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.20.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): [#def306]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:153:29: warning[-Wmaybe-uninitialized]: ‘segp’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_buf.c:123:17: note: ‘segp’ was declared here
Error: COMPILER_WARNING (CWE-1164): [#def307]
xen-4.20.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): [#def308]
xen-4.20.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): [#def309]
xen-4.20.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: [#def310]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_log2.c:47:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-131): [#def311]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:636:33: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
Error: GCC_ANALYZER_WARNING (CWE-457): [#def312]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:685:31: branch_false: following ‘false’ branch (when ‘i > free_page’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:709:29: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:727:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:768:17: branch_false: ...to here
xen-4.20.2/stubdom/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): [#def313]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:916:12: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hash_page.c:918:54: branch_false: ...to here
xen-4.20.2/stubdom/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: COMPILER_WARNING (CWE-563): [#def314]
xen-4.20.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): [#def315]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c: scope_hint: In function ‘hdestroy_r’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/search/hcreate_r.c:127:16: warning[-Wunused-variable]: unused variable ‘idx’
Error: COMPILER_WARNING: [#def316]
xen-4.20.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: [#def317]
xen-4.20.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: [#def318]
xen-4.20.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: [#def319]
xen-4.20.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): [#def320]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c: scope_hint: In function ‘_asiprintf_r’
xen-4.20.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): [#def321]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asiprintf.c: scope_hint: In function ‘asiprintf’
xen-4.20.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): [#def322]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c: scope_hint: In function ‘_asprintf_r’
xen-4.20.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): [#def323]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/asprintf.c: scope_hint: In function ‘asprintf’
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-476): [#def324]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:313:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:282:6: branch_false: following ‘false’ branch (when ‘flags != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:284:6: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:284:6: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:289:6: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:291:27: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:291:6: branch_false: following ‘false’ branch (when ‘c’ is non-NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:303:3: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:309:6: branch_true: following ‘true’ branch (when ‘buf’ is NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:312:25: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fmemopen.c:313:7: danger: dereference of NULL ‘0’
Error: COMPILER_WARNING (CWE-681): [#def325]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/fread.c: scope_hint: In function ‘_fread_r’
xen-4.20.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): [#def326]
xen-4.20.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): [#def327]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/open_memstream.c: scope_hint: In function ‘_open_memstream_r’
xen-4.20.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): [#def328]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vasiprintf.c: scope_hint: In function ‘_vasiprintf_r’
xen-4.20.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): [#def329]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vasprintf.c: scope_hint: In function ‘_vasprintf_r’
xen-4.20.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: [#def330]
xen-4.20.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: [#def331]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c: scope_hint: In function ‘__svfscanf_r’
xen-4.20.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: [#def332]
xen-4.20.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: [#def333]
xen-4.20.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: [#def334]
xen-4.20.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): [#def335]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdio/vfscanf.c:1403: error[nullPointer]: Null pointer dereference
Error: COMPILER_WARNING (CWE-681): [#def336]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c: scope_hint: In function ‘btowc’
xen-4.20.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.20.2/stubdom/newlib-1.16.0/newlib/libc/include/wchar.h:4: included_from: Included from here.
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/btowc.c:1: included_from: Included from here.
xen-4.20.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: [#def337]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv.c: scope_hint: In function ‘getenv’
xen-4.20.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: [#def338]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/getenv_r.c: scope_hint: In function ‘_getenv_r’
xen-4.20.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: [#def339]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:722:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-476): [#def340]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘sp’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3263:4: branch_false: following ‘false’ branch (when ‘c > 200’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3267:21: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3267:21: acquire_memory: this call could return NULL
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3278:11: branch_true: following ‘true’ branch (when ‘k < c’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:23: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/ldtoa.c:3280:13: danger: ‘sp’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def341]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mallocr.c:1014:41: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mallocr.c:3412:13: note: in expansion of macro ‘malloc_update_mallinfo’
Error: COMPILER_WARNING: [#def342]
xen-4.20.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: [#def343]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mlock.c:56:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:184:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:418:1: enter_function: entry to ‘__pow5mult’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:425:6: branch_true: following ‘true’ branch (when ‘i != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:426:30: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:426:9: call_function: calling ‘__multadd’ from ‘__pow5mult’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:321:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:418:1: enter_function: entry to ‘__pow5mult’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:428:6: branch_false: following ‘false’ branch (when ‘k != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:431:8: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:431:6: branch_true: following ‘true’ branch (when ‘p5’ is NULL)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:434:33: call_function: inlined call to ‘__i2b’ from ‘__pow5mult’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def346]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:413:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:418:1: enter_function: entry to ‘__pow5mult’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:428:6: branch_false: following ‘false’ branch (when ‘k != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:431:8: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:439:10: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:441:16: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:441:16: call_function: calling ‘__multiply’ from ‘__pow5mult’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def347]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:512:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b1’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:480:6: branch_false: following ‘false’ branch (when ‘k == 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:480:6: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:511:12: branch_false: following ‘false’ branch (when ‘xe <= x’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:512:14: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:512:3: danger: dereference of NULL ‘b1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:563:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:548:1: enter_function: entry to ‘__mdiff’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:560:6: branch_true: following ‘true’ branch (when ‘i == 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: call_function: calling ‘_Balloc’ from ‘__mdiff’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:562:11: return_function: return of NULL to ‘__mdiff’ from ‘_Balloc’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:563:7: danger: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def349]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:577:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:548:1: enter_function: entry to ‘__mdiff’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:560:6: branch_false: following ‘false’ branch (when ‘i != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:567:6: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:576:7: call_function: calling ‘_Balloc’ from ‘__mdiff’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:576:7: return_function: return of NULL to ‘__mdiff’ from ‘_Balloc’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:577:3: danger: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def350]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:1: enter_function: entry to ‘__d2b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: call_function: calling ‘_Balloc’ from ‘__d2b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: return_function: return of NULL to ‘__d2b’ from ‘_Balloc’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:800:6: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:802:7: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:804:10: branch_true: following ‘true’ branch (when ‘k != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:21: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:806:10: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:1: enter_function: entry to ‘__d2b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: call_function: calling ‘_Balloc’ from ‘__d2b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: return_function: return of NULL to ‘__d2b’ from ‘_Balloc’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:800:6: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:802:7: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:804:10: branch_false: following ‘false’ branch (when ‘k == 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:9: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:810:9: danger: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:821:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:755:1: enter_function: entry to ‘__d2b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: call_function: calling ‘_Balloc’ from ‘__d2b’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:781:7: return_function: return of NULL to ‘__d2b’ from ‘_Balloc’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:800:6: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:820:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/mprec.c:821:7: danger: dereference of NULL ‘b’
Error: CPPCHECK_WARNING (CWE-476): [#def353]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/strtod.c:1176: error[nullPointer]: Null pointer dereference
Error: COMPILER_WARNING: [#def354]
xen-4.20.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: [#def355]
xen-4.20.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): [#def356]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c: scope_hint: In function ‘wctob’
xen-4.20.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.20.2/stubdom/newlib-1.16.0/newlib/libc/include/sys/reent.h:13: included_from: Included from here.
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/include/reent.h:48: included_from: Included from here.
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libc/stdlib/wctob.c:1: included_from: Included from here.
xen-4.20.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: [#def357]
xen-4.20.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): [#def358]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:21: included_from: Included from here.
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c: scope_hint: In function ‘__ieee754_rem_pio2’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/common/fdlibm.h:335:14: warning[-Wmaybe-uninitialized]: ‘z’ may be used uninitialized
xen-4.20.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.20.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): [#def359]
xen-4.20.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): [#def360]
xen-4.20.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): [#def361]
xen-4.20.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): [#def362]
xen-4.20.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): [#def363]
xen-4.20.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): [#def364]
xen-4.20.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): [#def365]
xen-4.20.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): [#def366]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_atan2.c: scope_hint: In function ‘__ieee754_atan2’
xen-4.20.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): [#def367]
xen-4.20.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): [#def368]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152: error[legacyUninitvar]: Uninitialized variable: k
Error: GCC_ANALYZER_WARNING (CWE-457): [#def369]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:133:11: branch_false: following ‘false’ branch (when ‘hx <= 1071001154’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:144:16: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:144:16: branch_true: following ‘true’ branch (when ‘hx <= 1043333119’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:145:16: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:145:15: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:150:9: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: danger: use of uninitialized value ‘k’ here
Error: COMPILER_WARNING (CWE-457): [#def370]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:152:11: warning[-Wmaybe-uninitialized]: ‘k’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:112:19: note: ‘k’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def371]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:153:37: warning[-Wmaybe-uninitialized]: ‘lo’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:111:21: note: ‘lo’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def372]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c: scope_hint: In function ‘__ieee754_exp’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:153:52: warning[-Wmaybe-uninitialized]: ‘hi’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_exp.c:111:18: note: ‘hi’ was declared here
Error: CPPCHECK_WARNING (CWE-758): [#def373]
xen-4.20.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): [#def374]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_pow.c: scope_hint: In function ‘__ieee754_pow’
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-457): [#def375]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:100:11: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:102:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:102:11: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:127:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:127:11: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:165:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:165:11: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_rem_pio2.c:165:11: branch_false: ...to here
xen-4.20.2/stubdom/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-1335): [#def376]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:128:20: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:109:11: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:114:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:121:11: branch_true: following ‘true’ branch (when ‘m == 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:121:11: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:122:19: branch_false: following ‘false’ branch (when ‘ix0 != 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:122:19: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:126:21: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:127:18: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/e_sqrt.c:128:20: danger: shift by count ‘32’ here
Error: CPPCHECK_WARNING (CWE-758): [#def377]
xen-4.20.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): [#def378]
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-457): [#def379]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:58:11: branch_false: following ‘false’ branch (when ‘hx <= 2139095040’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:60:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:60:11: branch_false: following ‘false’ branch (when ‘hx != 2139095040’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:62:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:62:11: branch_false: following ‘false’ branch (when ‘sx <= 1118925335’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:64:12: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:64:11: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:68:11: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:68:11: branch_false: following ‘false’ branch (when ‘hx <= 1051816472’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:79:16: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:79:16: branch_true: following ‘true’ branch (when ‘hx <= 830472191’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:80:16: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:80:15: branch_false: following ‘false’ branch...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:85:9: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: danger: use of uninitialized value ‘k’ here
Error: COMPILER_WARNING (CWE-457): [#def380]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:87:11: warning[-Wmaybe-uninitialized]: ‘k’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:50:19: note: ‘k’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def381]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:88:37: warning[-Wmaybe-uninitialized]: ‘lo’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:49:20: note: ‘lo’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def382]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c: scope_hint: In function ‘__ieee754_expf’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:88:59: warning[-Wmaybe-uninitialized]: ‘hi’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_exp.c:49:17: note: ‘hi’ was declared here
Error: COMPILER_WARNING: [#def383]
xen-4.20.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): [#def384]
xen-4.20.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): [#def385]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_pow.c: scope_hint: In function ‘__ieee754_powf’
xen-4.20.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): [#def386]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/ef_sqrt.c: scope_hint: In function ‘__ieee754_sqrtf’
xen-4.20.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): [#def387]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c: scope_hint: In function ‘__ieee754_lgamma_r’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c:307:20: warning[-Wmaybe-uninitialized]: ‘nadj’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/er_lgamma.c:219:22: note: ‘nadj’ was declared here
Error: COMPILER_WARNING (CWE-457): [#def388]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c: scope_hint: In function ‘__ieee754_lgammaf_r’
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c:242:20: warning[-Wmaybe-uninitialized]: ‘nadj’ may be used uninitialized
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/erf_lgamma.c:154:21: note: ‘nadj’ was declared here
Error: COMPILER_WARNING (CWE-483): [#def389]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2’
xen-4.20.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.20.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: GCC_ANALYZER_WARNING (CWE-457): [#def390]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:196:30: branch_false: following ‘false’ branch (when ‘j <= 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:203:14: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:208:11: branch_true: following ‘true’ branch (when ‘q0 > 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:209:22: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/k_rem_pio2.c:209:19: danger: use of uninitialized value ‘iq[<unknown>]’ here
Error: COMPILER_WARNING (CWE-483): [#def391]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c: scope_hint: In function ‘__kernel_rem_pio2f’
xen-4.20.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.20.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: GCC_ANALYZER_WARNING (CWE-457): [#def392]
xen-4.20.2/stubdom/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.20.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:86:30: branch_false: following ‘false’ branch (when ‘j <= 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:93:14: branch_false: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:98:11: branch_true: following ‘true’ branch (when ‘q0 > 0’)...
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:99:22: branch_true: ...to here
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/kf_rem_pio2.c:99:19: danger: use of uninitialized value ‘iq[<unknown>]’ here
Error: COMPILER_WARNING: [#def393]
xen-4.20.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: [#def394]
xen-4.20.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: [#def395]
xen-4.20.2/stubdom/newlib-1.16.0/newlib/libm/math/wf_cabs.c:16:1: warning[-Wstrict-prototypes]: function declaration isn’t a prototype
Error: CPPCHECK_WARNING (CWE-476): [#def396]
xen-4.20.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): [#def397]
xen-4.20.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.20.2/stubdom/pciutils-x86_64/lib/access.c:70:26: acquire_memory: this call could return NULL
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:73:3: danger: argument 1 (‘a’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-404): [#def398]
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:119:1: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:115:3: acquire_resource: ‘va_start’ called here
xen-4.20.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/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def399]
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:205:3: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:201:1: enter_function: entry to ‘pci_alloc_dev’
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:203:23: call_function: calling ‘pci_malloc’ from ‘pci_alloc_dev’
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:203:23: return_function: returning to ‘pci_alloc_dev’ from ‘pci_malloc’
xen-4.20.2/stubdom/pciutils-x86_64/lib/access.c:205:3: danger: argument 1 (‘d’) NULL where non-null expected
Error: COMPILER_WARNING (CWE-563): [#def400]
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c: scope_hint: In function ‘dump_validate’
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:44:7: warning[-Wunused-value]: value computed is not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:67:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘z’
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:60:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:60:6: branch_false: ...to here
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:62:10: branch_true: following ‘true’ branch...
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:64:17: branch_true: ...to here
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:65:10: branch_true: following ‘true’ branch (when ‘z’ is NULL)...
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:66:9: branch_true: ...to here
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:67:7: danger: dereference of NULL ‘z’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def402]
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:110:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:60:13: acquire_resource: opened here
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:60:6: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/stubdom/pciutils-x86_64/lib/dump.c:60:6: branch_false: ...to here
xen-4.20.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): [#def403]
xen-4.20.2/stubdom/pciutils-x86_64/lib/generic.c: scope_hint: In function ‘pci_generic_fill_info’
xen-4.20.2/stubdom/pciutils-x86_64/lib/generic.c:134:27: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def404]
xen-4.20.2/stubdom/pciutils-x86_64/lib/generic.c:147:31: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def405]
xen-4.20.2/stubdom/pciutils-x86_64/lib/generic.c:179:35: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def406]
xen-4.20.2/stubdom/pciutils-x86_64/lib/generic.c:212:23: warning[-Wunused-variable]: unused variable ‘size’
Error: COMPILER_WARNING (CWE-563): [#def407]
xen-4.20.2/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_detect’
xen-4.20.2/stubdom/pciutils-x86_64/lib/minios.c:15:34: warning[-Wunused-parameter]: unused parameter ‘a’
Error: COMPILER_WARNING (CWE-563): [#def408]
xen-4.20.2/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_init’
xen-4.20.2/stubdom/pciutils-x86_64/lib/minios.c:21:32: warning[-Wunused-parameter]: unused parameter ‘a’
Error: COMPILER_WARNING (CWE-563): [#def409]
xen-4.20.2/stubdom/pciutils-x86_64/lib/minios.c: scope_hint: In function ‘minios_cleanup’
xen-4.20.2/stubdom/pciutils-x86_64/lib/minios.c:26:35: warning[-Wunused-parameter]: unused parameter ‘a’
Error: CPPCHECK_WARNING (CWE-476): [#def410]
xen-4.20.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): [#def411]
xen-4.20.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: CPPCHECK_WARNING (CWE-401): [#def412]
xen-4.20.2/stubdom/zlib-x86_64/gzio.c:149: error[memleak]: Memory leak: s.path
Error: GCC_ANALYZER_WARNING (CWE-404): [#def413]
xen-4.20.2/tools/9pfsd/io.c:281:17: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/9pfsd/io.c:1409:7: enter_function: entry to ‘io_thread’
xen-4.20.2/tools/9pfsd/io.c:1418:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1418:8: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1424:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1426:9: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1435:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1435:35: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1440:16: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1440:16: branch_true: following ‘true’ branch (when ‘in_hdr != 0’)...
xen-4.20.2/tools/9pfsd/io.c:1442:26: branch_true: ...to here
xen-4.20.2/tools/9pfsd/io.c:1443:20: branch_false: following ‘false’ branch (when ‘count == 7’)...
xen-4.20.2/tools/9pfsd/io.c:1445:44: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1446:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1457:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1460:13: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1465:17: call_function: calling ‘p9_version’ from ‘io_thread’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def414]
xen-4.20.2/tools/9pfsd/io.c:381:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘array’
xen-4.20.2/tools/9pfsd/io.c:1409:7: enter_function: entry to ‘io_thread’
xen-4.20.2/tools/9pfsd/io.c:1418:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1418:8: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1424:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1426:9: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1435:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1435:35: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1440:16: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1440:16: branch_true: following ‘true’ branch (when ‘in_hdr != 0’)...
xen-4.20.2/tools/9pfsd/io.c:1442:26: branch_true: ...to here
xen-4.20.2/tools/9pfsd/io.c:1443:20: branch_false: following ‘false’ branch (when ‘count == 7’)...
xen-4.20.2/tools/9pfsd/io.c:1445:44: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1446:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1457:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/9pfsd/io.c:1460:13: branch_false: ...to here
xen-4.20.2/tools/9pfsd/io.c:1465:17: call_function: calling ‘p9_version’ from ‘io_thread’
Error: CPPCHECK_WARNING (CWE-909): [#def415]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:256: error[uninitStructMember]: Uninitialized struct member: device.devid
Error: CPPCHECK_WARNING (CWE-909): [#def416]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:256: error[uninitStructMember]: Uninitialized struct member: device.domid
Error: CPPCHECK_WARNING (CWE-457): [#def417]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:256: error[uninitvar]: Uninitialized variable: device
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:299:11: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:622:13: enter_function: entry to ‘handle_watch’
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:627:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:629:9: branch_true: ...to here
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:629:9: call_function: calling ‘scan_backend’ from ‘handle_watch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:301:9: warning[-Wanalyzer-malloc-leak]: leak of ‘device’
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:622:13: enter_function: entry to ‘handle_watch’
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:627:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:629:9: branch_true: ...to here
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:629:9: call_function: calling ‘scan_backend’ from ‘handle_watch’
Error: CPPCHECK_WARNING (CWE-401): [#def420]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:304: error[memleak]: Memory leak: device
Error: CPPCHECK_WARNING (CWE-909): [#def421]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:617: error[uninitStructMember]: Uninitialized struct member: device.last_seen
Error: CPPCHECK_WARNING (CWE-457): [#def422]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:617: error[uninitvar]: Uninitialized variable: device
Error: CPPCHECK_WARNING (CWE-909): [#def423]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:688: error[uninitStructMember]: Uninitialized struct member: device.num_rings
Error: CPPCHECK_WARNING (CWE-457): [#def424]
xen-4.20.2/tools/9pfsd/xen-9pfsd.c:688: error[uninitvar]: Uninitialized variable: device
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
xen-4.20.2/tools/console/daemon/io.c:452:16: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/console/daemon/io.c:1196:13: enter_function: entry to ‘console_open_log’
xen-4.20.2/tools/console/daemon/io.c:1201:31: call_function: calling ‘create_console_log’ from ‘console_open_log’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def426]
xen-4.20.2/tools/console/daemon/io.c:650:21: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
xen-4.20.2/tools/console/daemon/io.c:795:27: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
xen-4.20.2/tools/console/daemon/io.c:795:27: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
xen-4.20.2/tools/console/daemon/io.c:799:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
xen-4.20.2/tools/console/daemon/io.c:799:25: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
xen-4.20.2/tools/console/daemon/io.c:817:17: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
xen-4.20.2/tools/console/daemon/io.c:837:18: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
xen-4.20.2/tools/console/daemon/io.c:1316:6: enter_function: entry to ‘handle_io’
xen-4.20.2/tools/console/daemon/io.c:1324:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1344:22: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/io.c:1358:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/io.c:1358:9: call_function: calling ‘enum_domains’ from ‘handle_io’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
xen-4.20.2/tools/console/daemon/main.c:85:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pidfile’
xen-4.20.2/tools/console/daemon/main.c:95:5: enter_function: entry to ‘main’
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
xen-4.20.2/tools/console/daemon/main.c:120:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:151:35: acquire_memory: allocated here
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
xen-4.20.2/tools/console/daemon/main.c:184:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:184:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:188:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:188:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:193:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:198:9: call_function: calling ‘increase_fd_limit’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
xen-4.20.2/tools/console/daemon/main.c:195:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pidfile’
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
xen-4.20.2/tools/console/daemon/main.c:120:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:151:35: acquire_memory: allocated here
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
xen-4.20.2/tools/console/daemon/main.c:184:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:184:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:188:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:188:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:193:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:195:9: throw: if ‘openlog’ throws an exception...
xen-4.20.2/tools/console/daemon/main.c:195:9: danger: ‘pidfile’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
xen-4.20.2/tools/console/daemon/main.c:201:17: warning[-Wanalyzer-malloc-leak]: leak of ‘pidfile’
xen-4.20.2/tools/console/daemon/main.c:95:5: enter_function: entry to ‘main’
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
xen-4.20.2/tools/console/daemon/main.c:120:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:151:35: acquire_memory: allocated here
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
xen-4.20.2/tools/console/daemon/main.c:184:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:184:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:188:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:188:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:193:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:198:9: call_function: calling ‘increase_fd_limit’ from ‘main’
xen-4.20.2/tools/console/daemon/main.c:198:9: return_function: returning to ‘main’ from ‘increase_fd_limit’
xen-4.20.2/tools/console/daemon/main.c:200:12: branch_false: following ‘false’ branch (when ‘is_interactive == 0’)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: following ‘true’ branch (when ‘pidfile’ is non-NULL)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:201:17: throw: if ‘daemonize’ throws an exception...
xen-4.20.2/tools/console/daemon/main.c:201:17: danger: ‘pidfile’ leaks here; was allocated at [(4)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
xen-4.20.2/tools/console/daemon/main.c:204:14: warning[-Wanalyzer-malloc-leak]: leak of ‘pidfile’
xen-4.20.2/tools/console/daemon/main.c:95:5: enter_function: entry to ‘main’
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
xen-4.20.2/tools/console/daemon/main.c:120:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:151:35: acquire_memory: allocated here
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
xen-4.20.2/tools/console/daemon/main.c:184:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:184:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:188:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:188:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:193:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:198:9: call_function: calling ‘increase_fd_limit’ from ‘main’
xen-4.20.2/tools/console/daemon/main.c:198:9: return_function: returning to ‘main’ from ‘increase_fd_limit’
xen-4.20.2/tools/console/daemon/main.c:200:12: branch_false: following ‘false’ branch (when ‘is_interactive == 0’)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: following ‘true’ branch (when ‘pidfile’ is non-NULL)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:204:14: throw: if ‘xen_setup’ throws an exception...
xen-4.20.2/tools/console/daemon/main.c:204:14: danger: ‘pidfile’ leaks here; was allocated at [(4)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
xen-4.20.2/tools/console/daemon/main.c:207:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pidfile’
xen-4.20.2/tools/console/daemon/main.c:95:5: enter_function: entry to ‘main’
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
xen-4.20.2/tools/console/daemon/main.c:120:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:151:35: acquire_memory: allocated here
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
xen-4.20.2/tools/console/daemon/main.c:184:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:184:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:188:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:188:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:193:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:198:9: call_function: calling ‘increase_fd_limit’ from ‘main’
xen-4.20.2/tools/console/daemon/main.c:198:9: return_function: returning to ‘main’ from ‘increase_fd_limit’
xen-4.20.2/tools/console/daemon/main.c:200:12: branch_false: following ‘false’ branch (when ‘is_interactive == 0’)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: following ‘true’ branch (when ‘pidfile’ is non-NULL)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:204:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/console/daemon/main.c:207:9: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:207:9: throw: if ‘handle_io’ throws an exception...
xen-4.20.2/tools/console/daemon/main.c:207:9: danger: ‘pidfile’ leaks here; was allocated at [(4)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
xen-4.20.2/tools/console/daemon/main.c:209:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pidfile’
xen-4.20.2/tools/console/daemon/main.c:95:5: enter_function: entry to ‘main’
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_true: following ‘true’ branch (when ‘ch != -1’)...
xen-4.20.2/tools/console/daemon/main.c:120:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:151:35: acquire_memory: allocated here
xen-4.20.2/tools/console/daemon/main.c:119:16: branch_false: following ‘false’ branch (when ‘ch == -1’)...
xen-4.20.2/tools/console/daemon/main.c:184:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:184:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:188:13: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:188:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/main.c:193:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:198:9: call_function: calling ‘increase_fd_limit’ from ‘main’
xen-4.20.2/tools/console/daemon/main.c:198:9: return_function: returning to ‘main’ from ‘increase_fd_limit’
xen-4.20.2/tools/console/daemon/main.c:200:12: branch_false: following ‘false’ branch (when ‘is_interactive == 0’)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_false: ...to here
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: following ‘true’ branch (when ‘pidfile’ is non-NULL)...
xen-4.20.2/tools/console/daemon/main.c:201:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:204:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/console/daemon/main.c:207:9: branch_true: ...to here
xen-4.20.2/tools/console/daemon/main.c:209:9: throw: if ‘closelog’ throws an exception...
xen-4.20.2/tools/console/daemon/main.c:209:9: danger: ‘pidfile’ leaks here; was allocated at [(4)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
xen-4.20.2/tools/console/daemon/utils.c:74:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
xen-4.20.2/tools/console/daemon/utils.c:54:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.20.2/tools/console/daemon/utils.c:56:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:56:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.20.2/tools/console/daemon/utils.c:60:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:62:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.20.2/tools/console/daemon/utils.c:64:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:64:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.20.2/tools/console/daemon/utils.c:69:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:69:19: acquire_resource: opened here
xen-4.20.2/tools/console/daemon/utils.c:69:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/utils.c:69:12: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:73:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
xen-4.20.2/tools/console/daemon/utils.c:74:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/utils.c:74:17: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/console/daemon/utils.c:74:17: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING: [#def440]
xen-4.20.2/tools/console/daemon/utils.c:75:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘i’
xen-4.20.2/tools/console/daemon/utils.c:54:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.20.2/tools/console/daemon/utils.c:56:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:56:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.20.2/tools/console/daemon/utils.c:60:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:62:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.20.2/tools/console/daemon/utils.c:64:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:64:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.20.2/tools/console/daemon/utils.c:69:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:69:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/utils.c:69:12: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:73:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
xen-4.20.2/tools/console/daemon/utils.c:74:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/utils.c:74:17: release_resource: closed here
xen-4.20.2/tools/console/daemon/utils.c:75:17: danger: ‘i’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def441]
xen-4.20.2/tools/console/daemon/utils.c:78:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
xen-4.20.2/tools/console/daemon/utils.c:54:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.20.2/tools/console/daemon/utils.c:56:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:56:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.20.2/tools/console/daemon/utils.c:60:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:62:12: branch_false: following ‘false’ branch (when ‘pid <= 0’)...
xen-4.20.2/tools/console/daemon/utils.c:64:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:64:19: branch_false: following ‘false’ branch (when ‘pid != -1’)...
xen-4.20.2/tools/console/daemon/utils.c:69:19: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:69:19: acquire_resource: opened here
xen-4.20.2/tools/console/daemon/utils.c:69:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/console/daemon/utils.c:69:12: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:73:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
xen-4.20.2/tools/console/daemon/utils.c:74:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/utils.c:73:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
xen-4.20.2/tools/console/daemon/utils.c:74:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/utils.c:73:21: branch_true: following ‘true’ branch (when ‘i != 3’)...
xen-4.20.2/tools/console/daemon/utils.c:74:17: branch_true: ...to here
xen-4.20.2/tools/console/daemon/utils.c:73:21: branch_false: following ‘false’ branch (when ‘i == 3’)...
xen-4.20.2/tools/console/daemon/utils.c:78:9: branch_false: ...to here
xen-4.20.2/tools/console/daemon/utils.c:78:9: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def442]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:90:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_fd’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:73:15: acquire_resource: stream socket created here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:74:8: branch_false: following ‘false’ branch (when ‘sock_fd >= 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:80:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:9: acquire_resource: socket created here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:90:56: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:90:9: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:90:9: danger: ‘sock_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:91:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_fd’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:73:15: acquire_resource: stream socket created here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:74:8: branch_false: following ‘false’ branch (when ‘sock_fd >= 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:80:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:9: acquire_resource: socket created here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:90:56: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:91:9: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:91:9: danger: ‘sock_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def444]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:99:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_fd’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:73:15: acquire_resource: stream socket created here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:74:8: branch_false: following ‘false’ branch (when ‘sock_fd >= 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:80:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:89:12: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:94:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:98:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:99:51: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:99:9: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:99:9: danger: ‘sock_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def445]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:100:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock_fd’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:73:15: acquire_resource: stream socket created here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:74:8: branch_false: following ‘false’ branch (when ‘sock_fd >= 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:80:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:89:12: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:88:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:94:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:98:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:99:51: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:100:9: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:100:9: danger: ‘sock_fd’ leaks here
Error: CPPCHECK_WARNING (CWE-682): [#def446]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:286: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def447]
xen-4.20.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): [#def448]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:286:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: this call could return NULL
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:286:5: danger: ‘buf2’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:293:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:293:12: throw: if ‘gx_tohex’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:293:12: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:294:12: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:294:12: throw: if ‘gx_tohex’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:294:12: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def451]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:13: throw: if ‘write’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:13: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:304:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:304:13: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:304:13: throw: if ‘perror’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:304:13: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:309:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:13: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:309:13: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:309:13: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:309:13: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:313:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:13: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:311:14: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:312:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:313:56: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:313:13: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:313:13: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:317:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:13: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:311:14: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:315:12: branch_true: following ‘true’ branch (when ‘cc <= 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:316:16: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:316:16: branch_true: following ‘true’ branch (when ‘cc == 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:317:17: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:317:17: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:317:17: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:319:17: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:13: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:311:14: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:315:12: branch_true: following ‘true’ branch (when ‘cc <= 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:316:16: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:316:16: branch_false: following ‘false’ branch (when ‘cc != 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:319:17: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:319:17: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:319:17: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:325:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf2’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:280:12: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:288:17: branch_false: following ‘false’ branch (when ‘i >= cnt’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:292:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:13: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:308:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:311:14: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:315:12: branch_false: following ‘false’ branch (when ‘cc > 0’)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:324:13: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:324:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:325:13: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:325:13: throw: if ‘gxprt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_comm.c:325:13: danger: ‘buf2’ leaks here; was allocated at [(1)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:207:17: warning[-Wanalyzer-malloc-leak]: leak of ‘xbuf’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:203:15: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:203:8: branch_false: following ‘false’ branch (when ‘xbuf’ is non-NULL)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:207:17: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:207:17: throw: if ‘xg_read_mem’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:207:17: danger: ‘xbuf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xbuf’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:229:15: acquire_memory: allocated here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:229:8: branch_false: following ‘false’ branch (when ‘xbuf’ is non-NULL)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:233:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:233:5: throw: if ‘gx_convert_ascii_to_int’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:233:5: danger: ‘xbuf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:672:9: warning[-Wanalyzer-malloc-leak]: leak of ‘remote_buf’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:639:1: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:646:5: call_function: calling ‘check_usage_n_stuff’ from ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:646:5: return_function: returning to ‘main’ from ‘check_usage_n_stuff’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:648:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:652:21: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:652:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:657:9: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:657:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: call_function: calling ‘initialize’ from ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: return_function: returning to ‘main’ from ‘initialize’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:672:9: throw: if ‘gx_remote_open’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:672:9: danger: ‘remote_buf’ leaks here; was allocated at [(27)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:673:9: warning[-Wanalyzer-malloc-leak]: leak of ‘remote_buf’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:639:1: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:646:5: call_function: calling ‘check_usage_n_stuff’ from ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:646:5: return_function: returning to ‘main’ from ‘check_usage_n_stuff’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:648:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:652:21: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:652:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:657:9: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:657:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: call_function: calling ‘initialize’ from ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: return_function: returning to ‘main’ from ‘initialize’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:672:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:673:9: branch_true: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:673:9: throw: if ‘xg_detach_deinit’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:673:9: danger: ‘remote_buf’ leaks here; was allocated at [(27)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:678:11: warning[-Wanalyzer-malloc-leak]: leak of ‘remote_buf’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:639:1: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:646:5: call_function: calling ‘check_usage_n_stuff’ from ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:646:5: return_function: returning to ‘main’ from ‘check_usage_n_stuff’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:648:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:652:21: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:652:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:657:9: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:657:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: call_function: calling ‘initialize’ from ‘main’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:668:5: return_function: returning to ‘main’ from ‘initialize’
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:672:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:672:8: branch_false: ...to here
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:678:11: throw: if ‘gx_getpkt’ throws an exception...
xen-4.20.2/tools/debugger/gdbsx/gx/gx_main.c:678:11: danger: ‘remote_buf’ leaks here; was allocated at [(27)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
xen-4.20.2/tools/debugger/kdd/kdd-xen.c:582:11: warning[-Wanalyzer-malloc-leak]: leak of ‘g’
xen-4.20.2/tools/debugger/kdd/kdd-xen.c:575:9: acquire_memory: allocated here
xen-4.20.2/tools/debugger/kdd/kdd-xen.c:576:8: branch_false: following ‘false’ branch (when ‘g’ is non-NULL)...
xen-4.20.2/tools/debugger/kdd/kdd-xen.c:578:5: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd-xen.c:582:11: throw: if ‘xc_interface_open’ throws an exception...
xen-4.20.2/tools/debugger/kdd/kdd-xen.c:582:11: danger: ‘g’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
xen-4.20.2/tools/debugger/kdd/kdd.c:806:5: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/debugger/kdd/kdd.c:1352:5: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1369:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1370:12: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: call_function: calling ‘kdd_init’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
xen-4.20.2/tools/debugger/kdd/kdd.c:809:9: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/debugger/kdd/kdd.c:1352:5: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1369:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1370:12: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: call_function: calling ‘kdd_init’ from ‘main’
Error: CPPCHECK_WARNING (CWE-823): [#def466]
xen-4.20.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-787): [#def467]
xen-4.20.2/tools/debugger/kdd/kdd.c:1079:5: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xen-4.20.2/tools/debugger/kdd/kdd.c:1278:6: enter_function: entry to ‘kdd_select_callback’
xen-4.20.2/tools/debugger/kdd/kdd.c:1304:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1309:9: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1318:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1320:9: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1320:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1327:8: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1327:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1328:9: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1329:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1330:13: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1330:13: call_function: calling ‘kdd_handle_pkt’ from ‘kdd_select_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
xen-4.20.2/tools/debugger/kdd/kdd.c:1231:9: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/debugger/kdd/kdd.c:1219:9: acquire_memory: allocated here
xen-4.20.2/tools/debugger/kdd/kdd.c:1220:8: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1225:5: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1230:8: branch_true: following ‘true’ branch (when ‘fd < 0’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1231:9: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1231:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1231:9: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1231:9: throw: if ‘fflush’ throws an exception...
xen-4.20.2/tools/debugger/kdd/kdd.c:1231:9: danger: ‘s’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def469]
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/debugger/kdd/kdd.c:1220:8: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1225:5: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1229:10: acquire_resource: stream socket created here
xen-4.20.2/tools/debugger/kdd/kdd.c:1230:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1230:8: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1239:13: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: throw: if ‘fflush’ throws an exception...
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/debugger/kdd/kdd.c:1219:9: acquire_memory: allocated here
xen-4.20.2/tools/debugger/kdd/kdd.c:1220:8: branch_false: following ‘false’ branch (when ‘s’ is non-NULL)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1225:5: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1230:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1230:8: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1239:13: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: branch_true: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: throw: if ‘fflush’ throws an exception...
xen-4.20.2/tools/debugger/kdd/kdd.c:1245:9: danger: ‘s’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
xen-4.20.2/tools/debugger/kdd/kdd.c:1261:5: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/debugger/kdd/kdd.c:1352:5: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1369:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1370:12: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: call_function: calling ‘kdd_init’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def472]
xen-4.20.2/tools/debugger/kdd/kdd.c:1269:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/debugger/kdd/kdd.c:1352:5: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1369:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1370:12: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: call_function: calling ‘kdd_init’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def473]
xen-4.20.2/tools/debugger/kdd/kdd.c:1269:9: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/debugger/kdd/kdd.c:1352:5: enter_function: entry to ‘main’
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:8: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/tools/debugger/kdd/kdd.c:1369:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1370:12: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1368:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: branch_false: ...to here
xen-4.20.2/tools/debugger/kdd/kdd.c:1371:18: call_function: calling ‘kdd_init’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
xen-4.20.2/tools/firmware/hvmloader/hvmloader.c:331:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def475]
xen-4.20.2/tools/firmware/hvmloader/util.c:511: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.20.2/tools/firmware/hvmloader/util.c:698:21: enter_function: entry to ‘get_shared_info’
xen-4.20.2/tools/firmware/hvmloader/util.c:712:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def476]
xen-4.20.2/tools/firmware/hvmloader/util.c:511:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.20.2/tools/firmware/hvmloader/util.c:681:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.20.2/tools/firmware/hvmloader/util.c:691:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def477]
xen-4.20.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.20.2/tools/firmware/hvmloader/util.c:698:21: enter_function: entry to ‘get_shared_info’
xen-4.20.2/tools/firmware/hvmloader/util.c:712:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def478]
xen-4.20.2/tools/firmware/hvmloader/util.c:520:17: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.20.2/tools/firmware/hvmloader/util.c:681:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.20.2/tools/firmware/hvmloader/util.c:691:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def479]
xen-4.20.2/tools/firmware/hvmloader/util.c:543:13: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.20.2/tools/firmware/hvmloader/util.c:681:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.20.2/tools/firmware/hvmloader/util.c:691:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def480]
xen-4.20.2/tools/firmware/hvmloader/util.c:556:23: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘char (*)[7]’ for variadic argument 1 of ‘ap’
xen-4.20.2/tools/firmware/hvmloader/util.c:698:21: enter_function: entry to ‘get_shared_info’
xen-4.20.2/tools/firmware/hvmloader/util.c:712:9: call_function: calling ‘__bug’ from ‘get_shared_info’
Error: GCC_ANALYZER_WARNING (CWE-685): [#def481]
xen-4.20.2/tools/firmware/hvmloader/util.c:556:23: warning[-Wanalyzer-va-list-exhausted]: ‘ap’ has no more arguments (0 consumed)
xen-4.20.2/tools/firmware/hvmloader/util.c:681:24: enter_function: entry to ‘get_hvm_info_table’
xen-4.20.2/tools/firmware/hvmloader/util.c:691:5: call_function: calling ‘validate_hvm_info’ from ‘get_hvm_info_table’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def482]
xen-4.20.2/tools/firmware/hvmloader/xenbus.c:124:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘data + done’
xen-4.20.2/tools/firmware/hvmloader/xenbus.c:176:13: enter_function: entry to ‘xenbus_send’
xen-4.20.2/tools/firmware/hvmloader/xenbus.c:188:5: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/hvmloader/xenbus.c:191:5: branch_false: ...to here
xen-4.20.2/tools/firmware/hvmloader/xenbus.c:209:5: call_function: inlined call to ‘ring_write’ from ‘xenbus_send’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:176:6: enter_function: entry to ‘unmap_domain_page’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:184:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/domain_page.c:189:9: branch_false: ...to here
xen-4.20.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.20.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.20.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): [#def484]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:59:13: enter_function: entry to ‘sort_exception_tables’
xen-4.20.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): [#def485]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:220:26: enter_function: entry to ‘search_pre_exception_table’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/extable.c:223:27: call_function: calling ‘search_one_extable’ from ‘search_pre_exception_table’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def486]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/traps.c:131:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/traps.c:133:10: branch_false: ...to here
xen-4.20.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): [#def487]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:678:21: enter_function: entry to ‘rep_outs’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:693:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:696:10: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:696:10: call_function: calling ‘read_segment’ from ‘rep_outs’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:696:10: return_function: returning to ‘rep_outs’ from ‘read_segment’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:697:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:700:10: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:702:10: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:702:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:703:12: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:713:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:715:22: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:718:14: call_function: calling ‘pv_emul_virt_to_linear’ from ‘rep_outs’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:718:14: return_function: returning to ‘rep_outs’ from ‘pv_emul_virt_to_linear’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:720:12: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/pv/emul-priv-op.c:723:20: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def488]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:586:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def489]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1443:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1066:33: enter_function: entry to ‘__start_xen’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1118:14: call_function: calling ‘multiboot_fill_boot_info’ from ‘__start_xen’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1118:14: return_function: returning to ‘__start_xen’ from ‘multiboot_fill_boot_info’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1138:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1150:5: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1246:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1250:8: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1431:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1442:22: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/setup.c:1443:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def490]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:727:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:717:13: enter_function: entry to ‘zap_low_mappings’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:719:5: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:722:5: call_function: inlined call to ‘write_u64_atomic’ from ‘zap_low_mappings’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/arch/x86/x86_64/mm.c:727:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def491]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:518:19: enter_function: entry to ‘read_bunzip’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:524:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:528:9: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:536:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/bunzip2.c:605:20: branch_false: ...to here
xen-4.20.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): [#def492]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:753:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:887:13: enter_function: entry to ‘setup_system_domains’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:896:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def493]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:813:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:887:13: enter_function: entry to ‘setup_system_domains’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/domain.c:896:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def494]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def495]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def496]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/percpu.c:37:35: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/percpu.c:32:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/percpu.c:37:35: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/percpu.c:37:35: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def497]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/percpu.c:58:27: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:388:21: enter_function: entry to ‘merge’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:392:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def499]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:395:5: enter_function: entry to ‘rangeset_merge’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:397:12: call_function: calling ‘rangeset_report_ranges’ from ‘rangeset_merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:395:5: enter_function: entry to ‘rangeset_merge’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:397:12: call_function: calling ‘rangeset_report_ranges’ from ‘rangeset_merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:388:21: enter_function: entry to ‘merge’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:392:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def502]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:160:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:388:21: enter_function: entry to ‘merge’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/common/rangeset.c:392:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def503]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1534:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdev’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1514:12: enter_function: entry to ‘assign_device’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1520:11: call_function: inlined call to ‘is_iommu_enabled’ from ‘assign_device’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1523:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1528:31: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1528:12: call_function: calling ‘pci_get_pdev’ from ‘assign_device’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1528:12: return_function: return of NULL to ‘assign_device’ from ‘pci_get_pdev’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/drivers/passthrough/pci.c:1534:10: danger: dereference of NULL ‘pdev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def504]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:92:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:114:6: enter_function: entry to ‘list_sort’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:124:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:127:9: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:132:16: branch_false: following ‘false’ branch (when ‘list’ is NULL)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:132:16: branch_false: ...to here
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:156:9: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/lib/list-sort.c:156:9: release_memory: ‘list’ is NULL
xen-4.20.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): [#def505]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:385:5: enter_function: entry to ‘main’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:390:12: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:393:9: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:397:9: call_function: calling ‘xprintf’ from ‘main’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:397:9: return_function: returning to ‘main’ from ‘xprintf’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:399:15: call_function: calling ‘read_file’ from ‘main’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/fixdep.c:399:15: return_function: returning to ‘main’ from ‘read_file’
xen-4.20.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): [#def506]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:96:9: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:988:12: enter_function: entry to ‘conf_touch_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1001:9: branch_true: following ‘true’ branch (when ‘i != 9973’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1001:9: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1043:27: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/confdata.c:1052:38: branch_false: ...to here
xen-4.20.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): [#def507]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3643:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.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.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-401): [#def508]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3643:54: warning[-Wanalyzer-malloc-leak]: leak of ‘yy_create_buffer(zconf_fopen(*file.name), 16384)’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.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.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.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.20.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.20.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-775): [#def509]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3651:16: warning[-Wanalyzer-file-leak]: leak of FILE
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.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.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.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.20.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.20.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): [#def510]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:3651:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.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.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.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.20.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.20.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: CPPCHECK_WARNING (CWE-476): [#def511]
xen-4.20.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): [#def512]
xen-4.20.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): [#def513]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:851:1: warning[-Wanalyzer-malloc-leak]: leak of ‘res.s’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:840:13: enter_function: entry to ‘get_relations_str’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:843:27: call_function: calling ‘str_new’ from ‘get_relations_str’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:843:27: return_function: returning to ‘get_relations_str’ from ‘str_new’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:846:21: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:847:17: call_function: calling ‘get_symbol_str’ from ‘get_relations_str’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:847:17: return_function: returning to ‘get_relations_str’ from ‘get_symbol_str’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:846:21: branch_true: following ‘true’ branch (when ‘sym_arr’ is non-NULL)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:846:46: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:846:21: branch_false: following ‘false’ branch (when ‘sym’ is NULL)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:848:12: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:848:12: branch_false: following ‘false’ branch (when ‘i != 0’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:850:16: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/menu.c:851:1: danger: ‘res.s’ leaks here; was allocated at [(47)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/46)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def514]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1073:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prop’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def515]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1080:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def516]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1085:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def517]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1090:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def518]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1095:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def519]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1100:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def520]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1106:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def521]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1112:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def522]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1218:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1265:20: call_function: inlined call to ‘sym_is_choice’ from ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1265:19: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1266:24: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1266:24: call_function: calling ‘sym_check_choice_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def523]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1257:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1265:20: call_function: inlined call to ‘sym_is_choice’ from ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1265:19: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1266:24: branch_true: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1266:24: call_function: calling ‘sym_check_choice_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def524]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1300:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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-415): [#def525]
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:120:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:594:5: enter_function: entry to ‘main’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:624:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:627:9: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:627:9: call_function: calling ‘read_map’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def526]
xen-4.20.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.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:594:5: enter_function: entry to ‘main’
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:624:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:627:9: branch_false: ...to here
xen-4.20.2/tools/firmware/xen-dir/xen-root/xen/tools/symbols.c:627:9: call_function: calling ‘read_map’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def527]
xen-4.20.2/tools/flask/utils/label-pci.c:78:15: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(&buf, "r")’
xen-4.20.2/tools/flask/utils/label-pci.c:46:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/label-pci.c:49:12: branch_false: ...to here
xen-4.20.2/tools/flask/utils/label-pci.c:56:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/label-pci.c:64:9: branch_false: ...to here
xen-4.20.2/tools/flask/utils/label-pci.c:70:13: acquire_resource: opened here
xen-4.20.2/tools/flask/utils/label-pci.c:71:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/label-pci.c:78:15: branch_false: ...to here
xen-4.20.2/tools/flask/utils/label-pci.c:78:15: throw: if ‘xc_flask_add_device’ throws an exception...
xen-4.20.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): [#def528]
xen-4.20.2/tools/flask/utils/label-pci.c:78:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(&buf, "r")’
xen-4.20.2/tools/flask/utils/label-pci.c:46:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/label-pci.c:49:12: branch_false: ...to here
xen-4.20.2/tools/flask/utils/label-pci.c:56:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/label-pci.c:64:9: branch_false: ...to here
xen-4.20.2/tools/flask/utils/label-pci.c:70:13: acquire_memory: allocated here
xen-4.20.2/tools/flask/utils/label-pci.c:71:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/label-pci.c:78:15: branch_false: ...to here
xen-4.20.2/tools/flask/utils/label-pci.c:78:15: throw: if ‘xc_flask_add_device’ throws an exception...
xen-4.20.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-775): [#def529]
xen-4.20.2/tools/flask/utils/loadpolicy.c:55:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(polFName, 0)’
xen-4.20.2/tools/flask/utils/loadpolicy.c:39:8: branch_false: following ‘false’ branch (when ‘argCnt == 2’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:42:5: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:43:13: acquire_resource: opened here
xen-4.20.2/tools/flask/utils/loadpolicy.c:44:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:52:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:53:8: branch_true: following ‘true’ branch (when ‘ret < 0’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:56:62: branch_true: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:112:8: branch_false: following ‘false’ branch (when ‘polMem’ is NULL)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:118:8: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:118:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:119:9: branch_true: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:55:9: danger: ‘open(polFName, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
xen-4.20.2/tools/flask/utils/loadpolicy.c:72:11: warning[-Wanalyzer-malloc-leak]: leak of ‘polMemCp’
xen-4.20.2/tools/flask/utils/loadpolicy.c:39:8: branch_false: following ‘false’ branch (when ‘argCnt == 2’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:42:5: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:44:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:52:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:53:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:60:23: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:60:16: acquire_memory: allocated here
xen-4.20.2/tools/flask/utils/loadpolicy.c:64:8: branch_false: following ‘false’ branch (when ‘polMem != 18446744073709551615’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:72:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:72:11: throw: if ‘xc_interface_open’ throws an exception...
xen-4.20.2/tools/flask/utils/loadpolicy.c:72:11: danger: ‘polMemCp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def531]
xen-4.20.2/tools/flask/utils/loadpolicy.c:81:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘polMemCp’ where non-null expected
xen-4.20.2/tools/flask/utils/loadpolicy.c:39:8: branch_false: following ‘false’ branch (when ‘argCnt == 2’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:42:5: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:44:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:52:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:53:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:60:23: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:60:16: acquire_memory: this call could return NULL
xen-4.20.2/tools/flask/utils/loadpolicy.c:64:8: branch_false: following ‘false’ branch (when ‘polMem != 18446744073709551615’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:72:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:73:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:81:30: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:81:5: danger: argument 1 (‘polMemCp’) from [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
xen-4.20.2/tools/flask/utils/loadpolicy.c:96:11: warning[-Wanalyzer-malloc-leak]: leak of ‘polMemCp’
xen-4.20.2/tools/flask/utils/loadpolicy.c:39:8: branch_false: following ‘false’ branch (when ‘argCnt == 2’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:42:5: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:44:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:52:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:53:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:60:23: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:60:16: acquire_memory: allocated here
xen-4.20.2/tools/flask/utils/loadpolicy.c:64:8: branch_false: following ‘false’ branch (when ‘polMem != 18446744073709551615’)...
xen-4.20.2/tools/flask/utils/loadpolicy.c:72:11: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:73:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/flask/utils/loadpolicy.c:81:30: branch_false: ...to here
xen-4.20.2/tools/flask/utils/loadpolicy.c:96:11: throw: if ‘xc_flask_load’ throws an exception...
xen-4.20.2/tools/flask/utils/loadpolicy.c:96:11: danger: ‘polMemCp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def533]
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:182:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def534]
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:185:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def535]
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:188:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def536]
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:191:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def537]
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def538]
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def539]
xen-4.20.2/tools/fuzz/libelf/libelf-loader.c:122:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/fuzz/libelf/libelf-loader.c:116:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/libelf/libelf-loader.c:118:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/libelf/libelf-loader.c:121:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/fuzz/libelf/libelf-loader.c:122:5: throw: if the called function throws an exception...
xen-4.20.2/tools/fuzz/libelf/libelf-loader.c:122:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def540]
xen-4.20.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.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.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): [#def541]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:98:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:74:45: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:75:18: acquire_resource: opened here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:76:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:98:13: throw: if ‘perror’ throws an exception...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:98:13: danger: ‘fp’ leaks here; was opened at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def542]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:98:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:74:45: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:75:18: acquire_memory: allocated here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:76:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:98:13: throw: if ‘perror’ throws an exception...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:98:13: danger: ‘fp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def543]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:74:45: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:75:18: acquire_resource: opened here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:76:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:14: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: throw: if ‘LLVMFuzzerTestOneInput’ throws an exception...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: danger: ‘fp’ leaks here; was opened at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:74:45: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:75:18: acquire_memory: allocated here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:76:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:14: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: throw: if ‘LLVMFuzzerTestOneInput’ throws an exception...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: danger: ‘fp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-910): [#def545]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:117:13: warning[-Wanalyzer-double-fclose]: double ‘fclose’ of FILE ‘fp’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:31:12: branch_true: following ‘true’ branch (when ‘c == -1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:53:11: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:61:8: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:14: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:105:13: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:115:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:117:13: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:69:21: branch_true: following ‘true’ branch (when ‘max > count’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:14: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:72:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:94:16: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:14: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:103:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:109:13: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:111:16: branch_false: following ‘false’ branch (when ‘max != 1’)...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:115:14: branch_false: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:115:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:117:13: branch_true: ...to here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/afl-harness.c:117:13: danger: second ‘fclose’ here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def546]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:51:10: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:50:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:51:10: throw: if ‘__real_vprintf’ throws an exception...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:51:10: 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-404): [#def547]
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:87:10: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:86:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:87:10: throw: if ‘__real_vsnprintf’ throws an exception...
xen-4.20.2/tools/fuzz/x86_instruction_emulator/wrappers.c:87:10: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def548]
xen-4.20.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.20.2/tools/helpers/init-xenstore-domain.c:102:13: acquire_resource: opened here
xen-4.20.2/tools/helpers/init-xenstore-domain.c:103:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/helpers/init-xenstore-domain.c:109:10: branch_false: ...to here
xen-4.20.2/tools/helpers/init-xenstore-domain.c:119:11: throw: if ‘xc_dom_allocate’ throws an exception...
xen-4.20.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): [#def549]
xen-4.20.2/tools/libacpi/mk_dsdt.c:444: error[shiftTooManyBitsSigned]: Shifting signed 32-bit value by 31 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-775): [#def550]
xen-4.20.2/tools/libfsimage/common/fsimage.c:57:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
xen-4.20.2/tools/libfsimage/common/fsimage.c:45:19: acquire_resource: opened here
xen-4.20.2/tools/libfsimage/common/fsimage.c:45:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:12: branch_false: following ‘false’ branch (when ‘fsi’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage.c:51:9: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:57:15: throw: if ‘find_plugin’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage.c:57:15: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def551]
xen-4.20.2/tools/libfsimage/common/fsimage.c:57:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fsi’
xen-4.20.2/tools/libfsimage/common/fsimage.c:45:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:20: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:12: branch_false: following ‘false’ branch (when ‘fsi’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage.c:51:9: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:57:15: throw: if ‘find_plugin’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage.c:57:15: danger: ‘fsi’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def552]
xen-4.20.2/tools/libfsimage/common/fsimage.c:67:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(path, 0)’
xen-4.20.2/tools/libfsimage/common/fsimage.c:45:19: acquire_resource: opened here
xen-4.20.2/tools/libfsimage/common/fsimage.c:45:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:48:12: branch_true: following ‘true’ branch (when ‘fsi’ is NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage.c:49:17: branch_true: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:66:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage.c:67:24: branch_true: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage.c:67:24: danger: ‘open(path, 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def553]
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:62:20: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:54:34: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:56:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:59:9: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:62:20: throw: if ‘fsip_file_alloc’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:62:20: danger: ‘data’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def554]
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:62:20: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:263:1: enter_function: entry to ‘fsig_open’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:266:22: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: call_function: calling ‘fsig_file_alloc’ from ‘fsig_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def555]
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:73:29: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:51:1: enter_function: entry to ‘fsig_file_alloc’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:54:34: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:56:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:59:9: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:60:15: call_function: calling ‘fsig_fs_buf’ from ‘fsig_file_alloc’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def556]
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:73:29: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:263:1: enter_function: entry to ‘fsig_open’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:266:22: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: call_function: calling ‘fsig_file_alloc’ from ‘fsig_open’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def557]
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:272:13: warning[-Wanalyzer-malloc-leak]: leak of ‘path’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:263:1: enter_function: entry to ‘fsig_open’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:266:22: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:12: branch_false: following ‘false’ branch (when ‘path’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: call_function: calling ‘fsig_file_alloc’ from ‘fsig_open’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:36: return_function: returning to ‘fsig_open’ from ‘fsig_file_alloc’
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:269:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:272:13: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:272:13: throw: if the called function throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_grub.c:272:13: danger: ‘path’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def558]
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:107:22: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:90:28: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:92:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:95:9: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:97:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:102:16: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:104:12: branch_false: following ‘false’ branch (when ‘init’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:107:22: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:107:22: throw: if the called function throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:107:22: danger: ‘fp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:135:12: branch_false: following ‘false’ branch (when ‘name_max != 18446744073709551615’)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: throw: if ‘opendir’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: danger: ‘tmp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def560]
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:146:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(fsdir)’
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:135:12: branch_false: following ‘false’ branch (when ‘name_max != 18446744073709551615’)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:12: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:146:22: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:146:22: danger: ‘opendir(fsdir)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def561]
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:146:22: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:135:12: branch_false: following ‘false’ branch (when ‘name_max != 18446744073709551615’)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:12: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:146:22: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:146:22: danger: ‘tmp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def562]
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:171:24: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:135:12: branch_false: following ‘false’ branch (when ‘name_max != 18446744073709551615’)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:20: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:138:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:20: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:141:12: branch_false: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:170:12: branch_true: following ‘true’ branch (when ‘dir’ is non-NULL)...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:171:24: branch_true: ...to here
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:171:24: throw: if ‘closedir’ throws an exception...
xen-4.20.2/tools/libfsimage/common/fsimage_plugin.c:171:24: danger: ‘tmp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def563]
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:44:15: warning[-Wanalyzer-malloc-leak]: leak of ‘fs’
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:40:14: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:41:12: branch_false: following ‘false’ branch (when ‘fs’ is non-NULL)...
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:44:15: branch_false: ...to here
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:44:15: throw: if ‘ext2fs_open2’ throws an exception...
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:44:15: danger: ‘fs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def564]
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:90:15: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:81:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:86:13: branch_false: ...to here
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:86:13: acquire_memory: allocated here
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:87:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:90:15: branch_false: ...to here
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:90:15: throw: if ‘ext2fs_file_open’ throws an exception...
xen-4.20.2/tools/libfsimage/ext2fs-lib/ext2fs-lib.c:90:15: danger: ‘f’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def565]
xen-4.20.2/tools/libs/call/core.c:44:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xcall’
xen-4.20.2/tools/libs/call/core.c:36:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/call/core.c:39:8: branch_false: following ‘false’ branch (when ‘xcall’ is non-NULL)...
xen-4.20.2/tools/libs/call/core.c:41:5: branch_false: ...to here
xen-4.20.2/tools/libs/call/core.c:44:5: throw: if ‘xentoolcore__register_active_handle’ throws an exception...
xen-4.20.2/tools/libs/call/core.c:44:5: danger: ‘xcall’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:104:20: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:77:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:83:13: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:83:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:83:13: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:84:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:89:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:97:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:100:12: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:100:12: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:101:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:104:20: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:104:20: throw: if ‘xc_cpumap_alloc’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:104:20: danger: ‘info’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def567]
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:116:5: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:77:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:83:13: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:83:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:83:13: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:84:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:89:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:97:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:100:12: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:100:12: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:101:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:104:20: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:105:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:110:24: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:116:5: throw: if ‘xc__hypercall_buffer_free’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_cpupool.c:116:5: danger: ‘info’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def568]
xen-4.20.2/tools/libs/ctrl/xc_foreign_memory.c:31:12: warning[-Wanalyzer-malloc-leak]: leak of ‘arr’
xen-4.20.2/tools/libs/ctrl/xc_foreign_memory.c:56:7: enter_function: entry to ‘xc_map_foreign_ranges’
xen-4.20.2/tools/libs/ctrl/xc_foreign_memory.c:71:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_foreign_memory.c:72:8: branch_false: following ‘false’ branch (when ‘arr’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_foreign_memory.c:72:8: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_foreign_memory.c:79:11: call_function: calling ‘xc_map_foreign_pages’ from ‘xc_map_foreign_ranges’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def569]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:26:10: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:67:14: enter_function: entry to ‘_gnttab_map_table’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:109:10: call_function: calling ‘xc_gnttab_op’ from ‘_gnttab_map_table’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def570]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:28:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:67:14: enter_function: entry to ‘_gnttab_map_table’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:109:10: call_function: calling ‘xc_gnttab_op’ from ‘_gnttab_map_table’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def571]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:32:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:67:14: enter_function: entry to ‘_gnttab_map_table’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:109:10: call_function: calling ‘xc_gnttab_op’ from ‘_gnttab_map_table’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def572]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:35:5: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:67:14: enter_function: entry to ‘_gnttab_map_table’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:109:10: call_function: calling ‘xc_gnttab_op’ from ‘_gnttab_map_table’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def573]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:114:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:112:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:114:9: branch_true: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:114:9: throw: if ‘xc_report_error’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:114:9: danger: ‘pfn_list’ leaks here; was allocated at [(9)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def574]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:121:11: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:112:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:121:11: throw: if ‘xc_map_foreign_pages’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:121:11: danger: ‘pfn_list’ leaks here; was allocated at [(9)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def575]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:125:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:112:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:123:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:125:9: branch_true: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:125:9: throw: if ‘xc_report_error’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:125:9: danger: ‘pfn_list’ leaks here; was allocated at [(9)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def576]
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:131:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_list’
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:76:8: branch_false: following ‘false’ branch (when ‘gnt_num’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:79:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:90:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:91:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:23: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:97:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:98:8: branch_false: following ‘false’ branch (when ‘pfn_list’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:104:5: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:131:9: throw: if ‘xc__hypercall_buffer_free’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_gnttab.c:131:9: danger: ‘pfn_list’ leaks here; was allocated at [(9)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def577]
xen-4.20.2/tools/libs/ctrl/xc_version.c:150:5: warning[-Wanalyzer-malloc-leak]: leak of ‘res’
xen-4.20.2/tools/libs/ctrl/xc_version.c:135:14: enter_function: entry to ‘varbuf_simple_string’
xen-4.20.2/tools/libs/ctrl/xc_version.c:137:26: call_function: calling ‘varbuf_op’ from ‘varbuf_simple_string’
xen-4.20.2/tools/libs/ctrl/xc_version.c:137:26: return_function: returning to ‘varbuf_simple_string’ from ‘varbuf_op’
xen-4.20.2/tools/libs/ctrl/xc_version.c:140:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_version.c:143:18: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_version.c:143:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_version.c:144:8: branch_true: following ‘true’ branch (when ‘res’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_version.c:146:9: branch_true: ...to here
xen-4.20.2/tools/libs/ctrl/xc_version.c:150:5: throw: if ‘xencall_free_buffer’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_version.c:150:5: danger: ‘res’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def578]
xen-4.20.2/tools/libs/ctrl/xc_version.c:203:5: warning[-Wanalyzer-malloc-leak]: leak of ‘res’
xen-4.20.2/tools/libs/ctrl/xc_version.c:188:7: enter_function: entry to ‘xc_xenver_buildid’
xen-4.20.2/tools/libs/ctrl/xc_version.c:190:26: call_function: calling ‘varbuf_op’ from ‘xc_xenver_buildid’
xen-4.20.2/tools/libs/ctrl/xc_version.c:190:26: return_function: returning to ‘xc_xenver_buildid’ from ‘varbuf_op’
xen-4.20.2/tools/libs/ctrl/xc_version.c:193:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/ctrl/xc_version.c:196:19: branch_false: ...to here
xen-4.20.2/tools/libs/ctrl/xc_version.c:196:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/ctrl/xc_version.c:197:8: branch_true: following ‘true’ branch (when ‘res’ is non-NULL)...
xen-4.20.2/tools/libs/ctrl/xc_version.c:199:9: branch_true: ...to here
xen-4.20.2/tools/libs/ctrl/xc_version.c:199:9: call_function: calling ‘str2hex’ from ‘xc_xenver_buildid’
xen-4.20.2/tools/libs/ctrl/xc_version.c:199:9: return_function: returning to ‘xc_xenver_buildid’ from ‘str2hex’
xen-4.20.2/tools/libs/ctrl/xc_version.c:203:5: throw: if ‘xencall_free_buffer’ throws an exception...
xen-4.20.2/tools/libs/ctrl/xc_version.c:203:5: danger: ‘res’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def579]
xen-4.20.2/tools/libs/devicemodel/core.c:45:5: warning[-Wanalyzer-malloc-leak]: leak of ‘dmod’
xen-4.20.2/tools/libs/devicemodel/core.c:37:35: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:40:8: branch_false: following ‘false’ branch (when ‘dmod’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:43:5: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:45:5: throw: if ‘xentoolcore__register_active_handle’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:45:5: danger: ‘dmod’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def580]
xen-4.20.2/tools/libs/devicemodel/core.c:107:15: warning[-Wanalyzer-malloc-leak]: leak of ‘xcall_bufs’
xen-4.20.2/tools/libs/devicemodel/core.c:103:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:104:8: branch_false: following ‘false’ branch (when ‘xcall_bufs’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:107:49: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:107:15: throw: if ‘xencall_alloc_buffer’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:107:15: danger: ‘xcall_bufs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def581]
xen-4.20.2/tools/libs/devicemodel/core.c:113:25: warning[-Wanalyzer-malloc-leak]: leak of ‘xcall_bufs’
xen-4.20.2/tools/libs/devicemodel/core.c:103:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:104:8: branch_false: following ‘false’ branch (when ‘xcall_bufs’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:107:49: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:109:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/devicemodel/core.c:109:8: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:112:17: branch_true: following ‘true’ branch (when ‘i < nr_bufs’)...
xen-4.20.2/tools/libs/devicemodel/core.c:113:63: branch_true: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:113:25: throw: if ‘xencall_alloc_buffer’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:113:25: danger: ‘xcall_bufs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def582]
xen-4.20.2/tools/libs/devicemodel/core.c:123:11: warning[-Wanalyzer-malloc-leak]: leak of ‘xcall_bufs’
xen-4.20.2/tools/libs/devicemodel/core.c:103:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:104:8: branch_false: following ‘false’ branch (when ‘xcall_bufs’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:107:49: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:109:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/devicemodel/core.c:109:8: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:112:17: branch_false: following ‘false’ branch (when ‘i >= nr_bufs’)...
xen-4.20.2/tools/libs/devicemodel/core.c:123:11: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:123:11: throw: if ‘xencall3’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:123:11: danger: ‘xcall_bufs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def583]
xen-4.20.2/tools/libs/devicemodel/core.c:134:13: warning[-Wanalyzer-malloc-leak]: leak of ‘xcall_bufs’
xen-4.20.2/tools/libs/devicemodel/core.c:103:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:104:8: branch_false: following ‘false’ branch (when ‘xcall_bufs’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:107:49: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:133:21: branch_true: following ‘true’ branch (when ‘i < nr_bufs’)...
xen-4.20.2/tools/libs/devicemodel/core.c:134:56: branch_true: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:134:13: throw: if ‘xencall_free_buffer’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:134:13: danger: ‘xcall_bufs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def584]
xen-4.20.2/tools/libs/devicemodel/core.c:136:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xcall_bufs’
xen-4.20.2/tools/libs/devicemodel/core.c:103:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:104:8: branch_false: following ‘false’ branch (when ‘xcall_bufs’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:107:49: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:136:5: throw: if ‘xencall_free_buffer’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:136:5: danger: ‘xcall_bufs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def585]
xen-4.20.2/tools/libs/devicemodel/core.c:161:11: warning[-Wanalyzer-malloc-leak]: leak of ‘bufs’
xen-4.20.2/tools/libs/devicemodel/core.c:150:12: acquire_memory: allocated here
xen-4.20.2/tools/libs/devicemodel/core.c:151:8: branch_false: following ‘false’ branch (when ‘bufs’ is non-NULL)...
xen-4.20.2/tools/libs/devicemodel/core.c:154:5: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:155:17: branch_false: following ‘false’ branch (when ‘i >= nr_bufs’)...
xen-4.20.2/tools/libs/devicemodel/core.c:159:5: branch_false: ...to here
xen-4.20.2/tools/libs/devicemodel/core.c:161:11: throw: if ‘osdep_xendevicemodel_op’ throws an exception...
xen-4.20.2/tools/libs/devicemodel/core.c:161:11: danger: ‘bufs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def586]
xen-4.20.2/tools/libs/evtchn/core.c:45:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xce’
xen-4.20.2/tools/libs/evtchn/core.c:35:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/evtchn/core.c:37:8: branch_false: following ‘false’ branch (when ‘xce’ is non-NULL)...
xen-4.20.2/tools/libs/evtchn/core.c:40:5: branch_false: ...to here
xen-4.20.2/tools/libs/evtchn/core.c:45:5: throw: if ‘xentoolcore__register_active_handle’ throws an exception...
xen-4.20.2/tools/libs/evtchn/core.c:45:5: danger: ‘xce’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def587]
xen-4.20.2/tools/libs/foreignmemory/core.c:47:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fmem’
xen-4.20.2/tools/libs/foreignmemory/core.c:37:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/foreignmemory/core.c:40:8: branch_false: following ‘false’ branch (when ‘fmem’ is non-NULL)...
xen-4.20.2/tools/libs/foreignmemory/core.c:42:5: branch_false: ...to here
xen-4.20.2/tools/libs/foreignmemory/core.c:47:5: throw: if ‘xentoolcore__register_active_handle’ throws an exception...
xen-4.20.2/tools/libs/foreignmemory/core.c:47:5: danger: ‘fmem’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def588]
xen-4.20.2/tools/libs/foreignmemory/core.c:97:11: warning[-Wanalyzer-malloc-leak]: leak of ‘err_to_free’
xen-4.20.2/tools/libs/foreignmemory/core.c:91:8: branch_true: following ‘true’ branch (when ‘err’ is NULL)...
xen-4.20.2/tools/libs/foreignmemory/core.c:92:36: branch_true: ...to here
xen-4.20.2/tools/libs/foreignmemory/core.c:92:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/foreignmemory/core.c:94:8: branch_false: following ‘false’ branch (when ‘err_to_free’ is non-NULL)...
xen-4.20.2/tools/libs/foreignmemory/core.c:97:11: branch_false: ...to here
xen-4.20.2/tools/libs/foreignmemory/core.c:97:11: throw: if ‘osdep_xenforeignmemory_map’ throws an exception...
xen-4.20.2/tools/libs/foreignmemory/core.c:97:11: danger: ‘err_to_free’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def589]
xen-4.20.2/tools/libs/foreignmemory/core.c:171:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fres’
xen-4.20.2/tools/libs/foreignmemory/core.c:149:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/foreignmemory/core.c:155:12: branch_false: ...to here
xen-4.20.2/tools/libs/foreignmemory/core.c:155:12: acquire_memory: allocated here
xen-4.20.2/tools/libs/foreignmemory/core.c:156:8: branch_false: following ‘false’ branch (when ‘fres’ is non-NULL)...
xen-4.20.2/tools/libs/foreignmemory/core.c:162:5: branch_false: ...to here
xen-4.20.2/tools/libs/foreignmemory/core.c:171:10: throw: if ‘osdep_xenforeignmemory_map_resource’ throws an exception...
xen-4.20.2/tools/libs/foreignmemory/core.c:171:10: danger: ‘fres’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def590]
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:39:13: warning[-Wanalyzer-malloc-leak]: leak of ‘xgs’
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:27:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:30:8: branch_false: following ‘false’ branch (when ‘xgs’ is non-NULL)...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:32:5: branch_false: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:36:8: branch_true: following ‘true’ branch (when ‘logger’ is NULL)...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:39:13: branch_true: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:39:13: throw: if ‘xtl_createlogger_stdiostream’ throws an exception...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:39:13: danger: ‘xgs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def591]
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:43:10: warning[-Wanalyzer-malloc-leak]: leak of ‘xgs’
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:27:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:30:8: branch_false: following ‘false’ branch (when ‘xgs’ is non-NULL)...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:32:5: branch_false: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:36:8: branch_false: following ‘false’ branch (when ‘logger’ is non-NULL)...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:43:10: branch_false: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:43:10: throw: if ‘osdep_gntshr_open’ throws an exception...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:43:10: danger: ‘xgs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def592]
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:49:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xgs’
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:27:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:30:8: branch_false: following ‘false’ branch (when ‘xgs’ is non-NULL)...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:32:5: branch_false: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:36:8: branch_true: following ‘true’ branch (when ‘logger’ is NULL)...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:39:13: branch_true: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:40:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:40:9: branch_true: ...to here
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:49:5: throw: if ‘osdep_gntshr_close’ throws an exception...
xen-4.20.2/tools/libs/gnttab/gntshr_core.c:49:5: danger: ‘xgs’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def593]
xen-4.20.2/tools/libs/gnttab/gnttab_core.c:43:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xgt’
xen-4.20.2/tools/libs/gnttab/gnttab_core.c:33:29: acquire_memory: allocated here
xen-4.20.2/tools/libs/gnttab/gnttab_core.c:36:8: branch_false: following ‘false’ branch (when ‘xgt’ is non-NULL)...
xen-4.20.2/tools/libs/gnttab/gnttab_core.c:38:5: branch_false: ...to here
xen-4.20.2/tools/libs/gnttab/gnttab_core.c:43:5: throw: if ‘xentoolcore__register_active_handle’ throws an exception...
xen-4.20.2/tools/libs/gnttab/gnttab_core.c:43:5: danger: ‘xgt’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:565:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_false: following ‘false’ branch (when ‘p2m_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:573:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:577:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:582:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def597]
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: warning[-Wanalyzer-malloc-leak]: leak of ‘strtab’
xen-4.20.2/tools/libs/guest/xg_core.c:85:14: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:86:8: branch_false: following ‘false’ branch (when ‘strtab’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:89:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:90:8: branch_true: following ‘true’ branch (when ‘strings’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:92:9: danger: ‘strtab’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def598]
xen-4.20.2/tools/libs/guest/xg_core.c:121:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:709:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:710:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def599]
xen-4.20.2/tools/libs/guest/xg_core.c:121:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:582:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:709:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:710:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def600]
xen-4.20.2/tools/libs/guest/xg_core.c:139:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:709:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:710:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def601]
xen-4.20.2/tools/libs/guest/xg_core.c:139:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:582:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:709:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:710:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def602]
xen-4.20.2/tools/libs/guest/xg_core.c:196:10: warning[-Wanalyzer-malloc-leak]: leak of ‘xc_core_shdr_init(xch)’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:196:10: danger: ‘xc_core_shdr_init(xch)’ leaks here; was allocated at [(32)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/31)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def603]
xen-4.20.2/tools/libs/guest/xg_core.c:196:10: warning[-Wanalyzer-malloc-leak]: leak of ‘xc_core_strtab_init(xch)’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:196:10: danger: ‘xc_core_strtab_init(xch)’ leaks here; was allocated at [(23)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def604]
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: throw: if ‘xc_domain_getinfo_single’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def605]
xen-4.20.2/tools/libs/guest/xg_core.c:474:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:474:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:474:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:474:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def606]
xen-4.20.2/tools/libs/guest/xg_core.c:478:19: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:478:19: throw: if ‘xc_map_foreign_range’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:478:19: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def607]
xen-4.20.2/tools/libs/guest/xg_core.c:482:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:482:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:482:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def608]
xen-4.20.2/tools/libs/guest/xg_core.c:490:14: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:487:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:490:14: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:14: throw: if ‘xc_domain_get_guest_width’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:490:14: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/34/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def609]
xen-4.20.2/tools/libs/guest/xg_core.c:492:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:487:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:490:14: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:492:13: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:492:13: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:492:13: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def610]
xen-4.20.2/tools/libs/guest/xg_core.c:524:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:521:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_true: following ‘true’ branch (when ‘ctxt’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:524:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:524:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:524:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def611]
xen-4.20.2/tools/libs/guest/xg_core.c:530:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctxt’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:521:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:521:12: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:530:14: throw: if ‘xc_vcpu_getcontext’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:530:14: danger: ‘ctxt’ leaks here; was allocated at [(7)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def612]
xen-4.20.2/tools/libs/guest/xg_core.c:530:14: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:521:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:530:14: throw: if ‘xc_vcpu_getcontext’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:530:14: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def613]
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctxt’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:521:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:521:12: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_true: following ‘true’ branch (when ‘nr_vcpus == 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: danger: ‘ctxt’ leaks here; was allocated at [(7)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def614]
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:490:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:521:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_true: following ‘true’ branch (when ‘nr_vcpus == 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:540:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def615]
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: throw: if ‘xc_core_arch_memory_map_get’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/45/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def616]
xen-4.20.2/tools/libs/guest/xg_core.c:568:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_true: following ‘true’ branch (when ‘p2m_array’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:568:13: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:568:13: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:568:13: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/46/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def617]
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_false: following ‘false’ branch (when ‘p2m_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: throw: if ‘xc_core_arch_map_p2m’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/48/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def618]
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_array’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:565:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_false: following ‘false’ branch (when ‘p2m_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: throw: if ‘xc_core_arch_map_p2m’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: danger: ‘p2m_array’ leaks here; was allocated at [(15)](sarif:/runs/0/results/49/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def619]
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_false: following ‘false’ branch (when ‘p2m_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:573:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: throw: if ‘xc_maximum_ram_page’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/51/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def620]
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_array’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:565:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_false: following ‘false’ branch (when ‘p2m_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:573:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: throw: if ‘xc_maximum_ram_page’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: danger: ‘p2m_array’ leaks here; was allocated at [(15)](sarif:/runs/0/results/50/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def621]
xen-4.20.2/tools/libs/guest/xg_core.c:585:13: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_true: following ‘true’ branch (when ‘pfn_array’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:585:13: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:585:13: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:585:13: danger: ‘dump_mem_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/52/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def622]
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(2)](sarif:/runs/0/results/54/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def623]
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:565:28: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:565:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:566:12: branch_false: following ‘false’ branch (when ‘p2m_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:572:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:573:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:576:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:577:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: danger: ‘p2m_array’ leaks here; was allocated at [(16)](sarif:/runs/0/results/58/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def624]
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:582:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:597:9: danger: ‘pfn_array’ leaks here; was allocated at [(16)](sarif:/runs/0/results/55/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def625]
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: danger: ‘<unknown>’ leaks here; was allocated at [(22)](sarif:/runs/0/results/61/codeFlows/0/threadFlows/0/locations/21)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def626]
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(2)](sarif:/runs/0/results/60/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def627]
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:582:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: danger: ‘pfn_array’ leaks here; was allocated at [(16)](sarif:/runs/0/results/62/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def628]
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: warning[-Wanalyzer-malloc-leak]: leak of ‘xc_core_strtab_init(xch)’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:603:9: danger: ‘xc_core_strtab_init(xch)’ leaks here; was allocated at [(20)](sarif:/runs/0/results/63/codeFlows/0/threadFlows/0/locations/19)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def629]
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: danger: ‘<unknown>’ leaks here; was allocated at [(114)](sarif:/runs/0/results/72/codeFlows/0/threadFlows/0/locations/113)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def630]
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dump_mem_start’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:28: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: danger: ‘dump_mem_start’ leaks here; was allocated at [(2)](sarif:/runs/0/results/68/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def631]
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfn_array’
xen-4.20.2/tools/libs/guest/xg_core.c:422:1: enter_function: entry to ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:466:8: branch_false: following ‘false’ branch (when ‘dump_mem_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:472:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:472:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:479:51: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:480:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:485:31: call_function: inlined call to ‘xc_core_arch_auto_translated_physmap’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: following ‘false’ branch (when ‘ctxt’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:522:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:528:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:530:53: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:538:8: branch_false: following ‘false’ branch (when ‘nr_vcpus != 0’)...
xen-4.20.2/tools/libs/guest/xg_core.c:545:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:548:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:560:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:562:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:582:28: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:582:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_core.c:583:12: branch_false: following ‘false’ branch (when ‘pfn_array’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_core.c:591:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: call_function: calling ‘xc_core_strtab_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:594:14: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_strtab_init’
xen-4.20.2/tools/libs/guest/xg_core.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: call_function: calling ‘xc_core_shdr_init’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:600:16: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_init’
xen-4.20.2/tools/libs/guest/xg_core.c:601:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:607:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:608:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:615:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:616:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:621:25: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:625:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:637:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:638:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:643:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:650:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:651:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:656:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:657:11: call_function: inlined call to ‘xc_core_shdr_set’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:696:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:697:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: call_function: calling ‘xc_core_shdr_get’ from ‘xc_domain_dumpcore_via_callback’
xen-4.20.2/tools/libs/guest/xg_core.c:703:12: return_function: returning to ‘xc_domain_dumpcore_via_callback’ from ‘xc_core_shdr_get’
xen-4.20.2/tools/libs/guest/xg_core.c:704:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_core.c:706:9: danger: ‘pfn_array’ leaks here; was allocated at [(19)](sarif:/runs/0/results/69/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def632]
xen-4.20.2/tools/libs/guest/xg_core_x86.c:154:26: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:378:1: enter_function: entry to ‘xc_core_arch_map_p2m_writable’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:381:12: call_function: calling ‘xc_core_arch_map_p2m_rw’ from ‘xc_core_arch_map_p2m_writable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def633]
xen-4.20.2/tools/libs/guest/xg_core_x86.c:159:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:378:1: enter_function: entry to ‘xc_core_arch_map_p2m_writable’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:381:12: call_function: calling ‘xc_core_arch_map_p2m_rw’ from ‘xc_core_arch_map_p2m_writable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def634]
xen-4.20.2/tools/libs/guest/xg_core_x86.c:183:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:378:1: enter_function: entry to ‘xc_core_arch_map_p2m_writable’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:381:12: call_function: calling ‘xc_core_arch_map_p2m_rw’ from ‘xc_core_arch_map_p2m_writable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
xen-4.20.2/tools/libs/guest/xg_core_x86.c:273:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_frame_list_list’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:378:1: enter_function: entry to ‘xc_core_arch_map_p2m_writable’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:381:12: call_function: calling ‘xc_core_arch_map_p2m_rw’ from ‘xc_core_arch_map_p2m_writable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def636]
xen-4.20.2/tools/libs/guest/xg_core_x86.c:279:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_frame_list_list’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:378:1: enter_function: entry to ‘xc_core_arch_map_p2m_writable’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:381:12: call_function: calling ‘xc_core_arch_map_p2m_rw’ from ‘xc_core_arch_map_p2m_writable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def637]
xen-4.20.2/tools/libs/guest/xg_core_x86.c:286:9: warning[-Wanalyzer-malloc-leak]: leak of ‘p2m_frame_list_list’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:378:1: enter_function: entry to ‘xc_core_arch_map_p2m_writable’
xen-4.20.2/tools/libs/guest/xg_core_x86.c:381:12: call_function: calling ‘xc_core_arch_map_p2m_rw’ from ‘xc_core_arch_map_p2m_writable’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def638]
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 4888)’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:577:5: enter_function: entry to ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: call_function: inlined call to ‘xc_cpu_policy_init’ from ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:592:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: throw: if ‘xc_domain_getinfo_single’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: danger: ‘calloc(1, 4888)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def639]
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: warning[-Wanalyzer-malloc-leak]: leak of ‘xc_cpu_policy_init()’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:577:5: enter_function: entry to ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: call_function: calling ‘xc_cpu_policy_init’ from ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: return_function: returning to ‘xc_cpuid_apply_policy’ from ‘xc_cpu_policy_init’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:592:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: throw: if ‘xc_domain_getinfo_single’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: danger: ‘xc_cpu_policy_init()’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def640]
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 4888)’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:577:5: enter_function: entry to ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: call_function: inlined call to ‘xc_cpu_policy_init’ from ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:592:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: danger: ‘calloc(1, 4888)’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def641]
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: warning[-Wanalyzer-malloc-leak]: leak of ‘xc_cpu_policy_init()’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:577:5: enter_function: entry to ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: call_function: calling ‘xc_cpu_policy_init’ from ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: return_function: returning to ‘xc_cpuid_apply_policy’ from ‘xc_cpu_policy_init’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:592:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:597:9: danger: ‘xc_cpu_policy_init()’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def642]
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:601:11: warning[-Wanalyzer-malloc-leak]: leak of ‘calloc(1, 4888)’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:577:5: enter_function: entry to ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: call_function: inlined call to ‘xc_cpu_policy_init’ from ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:592:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:601:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:604:10: call_function: calling ‘xc_get_cpu_featureset’ from ‘xc_cpuid_apply_policy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def643]
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:601:11: warning[-Wanalyzer-malloc-leak]: leak of ‘xc_cpu_policy_init()’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:577:5: enter_function: entry to ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: call_function: calling ‘xc_cpu_policy_init’ from ‘xc_cpuid_apply_policy’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:586:31: return_function: returning to ‘xc_cpuid_apply_policy’ from ‘xc_cpu_policy_init’
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:592:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:595:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:601:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_cpuid_x86.c:604:10: call_function: calling ‘xc_get_cpu_featureset’ from ‘xc_cpuid_apply_policy’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def644]
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:103:11: warning[-Wanalyzer-malloc-leak]: leak of ‘out_buf’
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:58:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:64:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:65:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:71:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:78:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:84:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:84:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:90:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:90:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:91:8: branch_false: following ‘false’ branch (when ‘out_buf’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:97:22: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:103:11: throw: if ‘BZ2_bzDecompress’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:103:11: danger: ‘out_buf’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def645]
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:580:14: warning[-Wanalyzer-malloc-leak]: leak of ‘outbuf’
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:558:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:564:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:567:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:573:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:573:14: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:574:8: branch_false: following ‘false’ branch (when ‘outbuf’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:580:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:580:14: throw: if ‘ZSTD_decompress’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_bzimageloader.c:580:14: danger: ‘outbuf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def646]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:72:5: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:740:22: enter_function: entry to ‘xc_dom_allocate’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:749:8: branch_false: following ‘false’ branch (when ‘dom’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:752:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:755:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:756:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:758:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:765:8: branch_true: following ‘true’ branch (when ‘cmdline’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:766:24: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:766:24: call_function: calling ‘xc_dom_strdup’ from ‘xc_dom_allocate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def647]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:72:5: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:740:22: enter_function: entry to ‘xc_dom_allocate’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:748:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:749:8: branch_false: following ‘false’ branch (when ‘dom’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:752:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:756:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:757:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:784:9: call_function: calling ‘xc_dom_release’ from ‘xc_dom_allocate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def648]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:72:5: warning[-Wanalyzer-malloc-leak]: leak of ‘extents’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1054:12: enter_function: entry to ‘xc_dom_load_acpi’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1061:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1070:19: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1071:12: branch_false: following ‘false’ branch (when ‘extents’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1077:9: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1078:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: call_function: calling ‘populate_acpi_pages’ from ‘xc_dom_load_acpi’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: return_function: returning to ‘xc_dom_load_acpi’ from ‘populate_acpi_pages’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1087:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1089:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1091:13: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1091:13: call_function: calling ‘xc_dom_printf’ from ‘xc_dom_load_acpi’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def649]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:72:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1112:5: enter_function: entry to ‘xc_dom_build_image’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1118:5: call_function: calling ‘xc_dom_printf’ from ‘xc_dom_build_image’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def650]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:88:5: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:809:5: enter_function: entry to ‘xc_dom_kernel_file’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:812:24: call_function: calling ‘xc_dom_malloc_filemap’ from ‘xc_dom_kernel_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def651]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:266:9: warning[-Wanalyzer-malloc-leak]: leak of ‘block’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:809:5: enter_function: entry to ‘xc_dom_kernel_file’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:812:24: call_function: calling ‘xc_dom_malloc_filemap’ from ‘xc_dom_kernel_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def652]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:749:8: branch_false: following ‘false’ branch (when ‘dom’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:752:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:755:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:756:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:758:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:765:8: branch_false: following ‘false’ branch (when ‘cmdline’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:767:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:767:8: branch_true: following ‘true’ branch (when ‘features’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:42: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:9: throw: if ‘elf_xen_parse_features’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:9: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def653]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:9: warning[-Wanalyzer-malloc-leak]: leak of ‘dom’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:748:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:749:8: branch_false: following ‘false’ branch (when ‘dom’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:752:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:756:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:758:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:765:8: branch_false: following ‘false’ branch (when ‘cmdline’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:767:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:767:8: branch_true: following ‘true’ branch (when ‘features’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:42: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:9: throw: if ‘elf_xen_parse_features’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:768:9: danger: ‘dom’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def654]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1030:14: warning[-Wanalyzer-malloc-leak]: leak of ‘extents’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1054:12: enter_function: entry to ‘xc_dom_load_acpi’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1061:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1070:19: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1071:12: branch_false: following ‘false’ branch (when ‘extents’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1077:9: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1078:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: call_function: calling ‘populate_acpi_pages’ from ‘xc_dom_load_acpi’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def655]
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1086:15: warning[-Wanalyzer-malloc-leak]: leak of ‘extents’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1054:12: enter_function: entry to ‘xc_dom_load_acpi’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1061:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1070:19: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1071:12: branch_false: following ‘false’ branch (when ‘extents’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1077:9: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1078:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: call_function: calling ‘populate_acpi_pages’ from ‘xc_dom_load_acpi’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:14: return_function: returning to ‘xc_dom_load_acpi’ from ‘populate_acpi_pages’
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1080:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1087:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1086:15: throw: if ‘xc_map_foreign_range’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_core.c:1086:15: danger: ‘extents’ leaks here; was allocated at [(4)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def656]
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:200:22: warning[-Wanalyzer-malloc-leak]: leak of ‘entries’
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:193:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:194:8: branch_false: following ‘false’ branch (when ‘entries’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:194:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:197:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:200:22: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:200:22: throw: if ‘xc_map_foreign_ranges’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_hvmloader.c:200:22: danger: ‘entries’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def657]
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1033:10: warning[-Wanalyzer-malloc-leak]: leak of ‘full_ctx’
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1005:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1014:10: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1015:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1023:16: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1023:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1024:8: branch_false: following ‘false’ branch (when ‘full_ctx’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1033:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1033:10: throw: if ‘xc_domain_hvm_getcontext’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_dom_x86.c:1033:10: danger: ‘full_ctx’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def658]
xen-4.20.2/tools/libs/guest/xg_offline_page.c:421:10: warning[-Wanalyzer-malloc-leak]: leak of ‘extent_start’
xen-4.20.2/tools/libs/guest/xg_offline_page.c:414:20: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:415:8: branch_false: following ‘false’ branch (when ‘extent_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:421:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:421:10: throw: if ‘xc_machphys_mfn_list’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:421:10: danger: ‘extent_start’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def659]
xen-4.20.2/tools/libs/guest/xg_offline_page.c:437:11: warning[-Wanalyzer-malloc-leak]: leak of ‘entries’
xen-4.20.2/tools/libs/guest/xg_offline_page.c:415:8: branch_false: following ‘false’ branch (when ‘extent_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:421:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:421:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:427:15: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:427:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:428:8: branch_false: following ‘false’ branch (when ‘entries’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:428:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:434:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:437:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_offline_page.c:437:11: throw: if ‘xc_map_foreign_ranges’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_offline_page.c:437:11: danger: ‘entries’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def660]
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
xen-4.20.2/tools/libs/guest/xg_private.c:34:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:37:23: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:37:23: acquire_resource: opened here
xen-4.20.2/tools/libs/guest/xg_private.c:37:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: throw: if ‘gzdopen’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: danger: ‘open(filename, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def661]
xen-4.20.2/tools/libs/guest/xg_private.c:56:13: warning[-Wanalyzer-malloc-leak]: leak of ‘image’
xen-4.20.2/tools/libs/guest/xg_private.c:34:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:37:23: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:37:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:43:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:49:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_true: following ‘true’ branch (when ‘tmp’ is NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:56:13: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:56:13: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_private.c:56:13: danger: ‘image’ leaks here; was allocated at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def662]
xen-4.20.2/tools/libs/guest/xg_private.c:63:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libs/guest/xg_private.c:34:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:37:23: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:37:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:43:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:49:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:63:17: throw: if ‘gzread’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_private.c:63:17: danger: ‘tmp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def663]
xen-4.20.2/tools/libs/guest/xg_private.c:67:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libs/guest/xg_private.c:34:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:37:23: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:37:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:43:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:49:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:67:13: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_private.c:67:13: danger: ‘tmp’ leaks here; was allocated at [(12)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def664]
xen-4.20.2/tools/libs/guest/xg_private.c:74:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libs/guest/xg_private.c:34:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:37:23: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:37:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:43:24: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:43:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:49:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:54:12: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_private.c:63:36: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:72:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_private.c:74:17: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_private.c:74:17: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_private.c:74:17: danger: ‘tmp’ leaks here; was allocated at [(12)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def665]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:62:14: warning[-Wanalyzer-malloc-leak]: leak of ‘cpuid.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:62:14: throw: if ‘xc_cpu_policy_init’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:62:14: danger: ‘cpuid.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def666]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:62:14: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:61:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:62:14: throw: if ‘xc_cpu_policy_init’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:62:14: danger: ‘msrs.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def667]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cpuid.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:26: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: throw: if ‘xc_report_error’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: danger: ‘cpuid.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def668]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:61:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: throw: if ‘xc_report_error’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:65:9: danger: ‘msrs.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def669]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cpuid.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:10: throw: if ‘xc_cpu_policy_get_domain’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:10: danger: ‘cpuid.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def670]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:10: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:61:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:26: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:10: throw: if ‘xc_cpu_policy_get_domain’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:10: danger: ‘msrs.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def671]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: warning[-Wanalyzer-malloc-leak]: leak of ‘cpuid.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: danger: ‘cpuid.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def672]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:61:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:26: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: throw: if ‘xc_strerror’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:72:9: danger: ‘msrs.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def673]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:76:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cpuid.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:77:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:76:10: throw: if ‘xc_cpu_policy_serialise’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:76:10: danger: ‘cpuid.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def674]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:76:10: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs.data’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:54:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:60:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:61:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:26: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:63:10: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:70:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:77:34: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:76:10: throw: if ‘xc_cpu_policy_serialise’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86.c:76:10: danger: ‘msrs.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def675]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:123:10: warning[-Wanalyzer-malloc-leak]: leak of ‘extents_start’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:105:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:111:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:115:21: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:116:8: branch_false: following ‘false’ branch (when ‘extents_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:123:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:123:10: throw: if ‘xc_machphys_mfn_list’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:123:10: danger: ‘extents_start’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def676]
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:140:23: warning[-Wanalyzer-malloc-leak]: leak of ‘entries’
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:105:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:111:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:116:8: branch_false: following ‘false’ branch (when ‘extents_start’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:123:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:123:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:129:22: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:129:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:130:8: branch_false: following ‘false’ branch (when ‘entries’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:130:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:140:23: throw: if ‘xc_map_foreign_ranges’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_common_x86_pv.c:140:23: danger: ‘entries’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def677]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:115:13: warning[-Wanalyzer-malloc-leak]: leak of ‘map_errs’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def678]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:115:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def679]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:115:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def680]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘map_errs’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def681]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def682]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def683]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:148:9: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def684]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:155:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def685]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘map_errs’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def686]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def687]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def688]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:218:9: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def689]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘map_errs’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def690]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def691]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def692]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:226:9: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def693]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:232:54: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def694]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:369:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def695]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:369:9: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def696]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:377:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def697]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:377:15: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def698]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:379:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def699]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:379:13: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def700]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:386:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def701]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:386:13: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def702]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:404:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def703]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:404:9: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def704]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:469:13: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def705]
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:481:10: warning[-Wanalyzer-malloc-leak]: leak of ‘pfns’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:756:12: enter_function: entry to ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: call_function: calling ‘setup’ from ‘restore’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:764:10: return_function: returning to ‘restore’ from ‘setup’
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:765:8: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:771:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:779:14: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore.c:789:18: call_function: calling ‘process_record’ from ‘restore’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def706]
xen-4.20.2/tools/libs/guest/xg_sr_restore_x86_pv.c:32:11: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
xen-4.20.2/tools/libs/guest/xg_sr_restore_x86_pv.c:29:5: branch_true: following ‘true’ branch (when ‘old_max < max_pfn’)...
xen-4.20.2/tools/libs/guest/xg_sr_restore_x86_pv.c:31:13: branch_true: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_restore_x86_pv.c:32:11: danger: allocated ‘(max_pfn + 1) * (long unsigned int)*ctx.<Ufe60>.x86.pv.width’ bytes and assigned to ‘xen_pfn_t *’ {{aka ‘long unsigned int *’}} here; ‘sizeof (xen_pfn_t {{aka long unsigned int}})’ is ‘8’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def707]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def708]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def709]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def710]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def711]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def712]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:122:9: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def713]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:129:30: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def714]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:129:30: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def715]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:129:30: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def716]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:129:30: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def717]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:129:30: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def718]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:129:30: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:140:10: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def720]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:140:10: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def721]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:140:10: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:140:10: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:140:10: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def724]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:140:10: warning[-Wanalyzer-malloc-leak]: leak of ‘types’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def725]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def726]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def727]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def728]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def729]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:143:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def730]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def731]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def732]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def733]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def734]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:164:25: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def736]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:164:25: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:164:25: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def738]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:164:25: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def739]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:164:25: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def740]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def741]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def742]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def743]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:168:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def744]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:180:17: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def745]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:180:17: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def746]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:180:17: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def747]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:180:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def748]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:186:18: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def749]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:186:18: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def750]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:186:18: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def751]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:186:18: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def752]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘errors’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def753]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘guest_data’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def754]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘iov’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def755]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def756]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:214:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:773:12: enter_function: entry to ‘send_domain_memory_nonlive’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:779:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:782:5: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:784:10: call_function: calling ‘send_all_pages’ from ‘send_domain_memory_nonlive’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def757]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:811:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.<U61e0>.restore.dirty_bitmap_hbuf.ubuf’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:981:5: enter_function: entry to ‘xc_domain_save’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:998:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1004:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1030:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1037:9: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1038:16: call_function: calling ‘save’ from ‘xc_domain_save’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def758]
xen-4.20.2/tools/libs/guest/xg_sr_save.c:811:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx.<U61e0>.save.deferred_pages’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:981:5: enter_function: entry to ‘xc_domain_save’
xen-4.20.2/tools/libs/guest/xg_sr_save.c:998:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1004:11: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1030:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1037:9: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save.c:1038:16: call_function: calling ‘save’ from ‘xc_domain_save’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def759]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:34:20: warning[-Wanalyzer-malloc-leak]: leak of ‘hvm_rec.data’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:19:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:26:20: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:26:20: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:27:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:34:20: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:34:20: throw: if ‘xc_domain_hvm_getcontext’ throws an exception...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_hvm.c:34:20: danger: ‘hvm_rec.data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def760]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:85:23: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def761]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:85:23: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fl’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def762]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:85:23: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def763]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def764]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fl’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def765]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:89:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def766]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:98:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def767]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:98:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fl’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def768]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:98:9: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def769]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:106:15: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def770]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:106:15: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fl’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def771]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:106:15: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def772]
xen-4.20.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.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def773]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:108:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def774]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:109:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def775]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:114:35: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def776]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:114:35: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fl’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def777]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:114:35: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def778]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:194:13: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def779]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:222:5: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def780]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:227:16: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def781]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:231:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def782]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:239:9: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def783]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:254:13: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fll’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def784]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:254:13: warning[-Wanalyzer-malloc-leak]: leak of ‘local_fl’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def785]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:388:16: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def786]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:391:13: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def787]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:412:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1032:12: enter_function: entry to ‘x86_pv_setup’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1048:10: call_function: calling ‘map_p2m’ from ‘x86_pv_setup’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def788]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:895:13: warning[-Wanalyzer-malloc-leak]: leak of ‘local_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1001:12: enter_function: entry to ‘x86_pv_normalise_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1010:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1014:8: branch_false: following ‘false’ branch (when ‘local_page’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: call_function: calling ‘normalise_pagetable’ from ‘x86_pv_normalise_page’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def789]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:960:17: warning[-Wanalyzer-malloc-leak]: leak of ‘local_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1001:12: enter_function: entry to ‘x86_pv_normalise_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1010:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1014:8: branch_false: following ‘false’ branch (when ‘local_page’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: call_function: calling ‘normalise_pagetable’ from ‘x86_pv_normalise_page’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def790]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:966:19: warning[-Wanalyzer-malloc-leak]: leak of ‘local_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1001:12: enter_function: entry to ‘x86_pv_normalise_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1010:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1014:8: branch_false: following ‘false’ branch (when ‘local_page’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: call_function: calling ‘normalise_pagetable’ from ‘x86_pv_normalise_page’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def791]
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:972:21: warning[-Wanalyzer-malloc-leak]: leak of ‘local_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1001:12: enter_function: entry to ‘x86_pv_normalise_page’
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1010:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1013:18: acquire_memory: allocated here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1014:8: branch_false: following ‘false’ branch (when ‘local_page’ is non-NULL)...
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: branch_false: ...to here
xen-4.20.2/tools/libs/guest/xg_sr_save_x86_pv.c:1021:10: call_function: calling ‘normalise_pagetable’ from ‘x86_pv_normalise_page’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def792]
xen-4.20.2/tools/libs/hypfs/core.c:60:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fshdl’
xen-4.20.2/tools/libs/hypfs/core.c:48:30: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:50:8: branch_false: following ‘false’ branch (when ‘fshdl’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:53:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:57:8: branch_true: following ‘true’ branch (when ‘logger’ is NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:60:13: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:60:13: throw: if ‘xtl_createlogger_stdiostream’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:60:13: danger: ‘fshdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def793]
xen-4.20.2/tools/libs/hypfs/core.c:65:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fshdl’
xen-4.20.2/tools/libs/hypfs/core.c:48:30: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:50:8: branch_false: following ‘false’ branch (when ‘fshdl’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:53:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:57:8: branch_false: following ‘false’ branch (when ‘logger’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:65:33: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:65:20: throw: if ‘xencall_open’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:65:20: danger: ‘fshdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def794]
xen-4.20.2/tools/libs/hypfs/core.c:70:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fshdl’
xen-4.20.2/tools/libs/hypfs/core.c:48:30: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:50:8: branch_false: following ‘false’ branch (when ‘fshdl’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:53:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:57:8: branch_false: following ‘false’ branch (when ‘logger’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:65:33: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:66:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:70:9: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:70:9: throw: if ‘xencall5’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:70:9: danger: ‘fshdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def795]
xen-4.20.2/tools/libs/hypfs/core.c:77:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fshdl’
xen-4.20.2/tools/libs/hypfs/core.c:48:30: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:50:8: branch_false: following ‘false’ branch (when ‘fshdl’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:53:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:57:8: branch_false: following ‘false’ branch (when ‘logger’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:65:33: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:77:5: throw: if ‘xencall_close’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:77:5: danger: ‘fshdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def796]
xen-4.20.2/tools/libs/hypfs/core.c:78:5: warning[-Wanalyzer-malloc-leak]: leak of ‘fshdl’
xen-4.20.2/tools/libs/hypfs/core.c:48:30: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:50:8: branch_false: following ‘false’ branch (when ‘fshdl’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:53:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:57:8: branch_false: following ‘false’ branch (when ‘logger’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:65:33: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:78:5: throw: if ‘xtl_logger_destroy’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:78:5: danger: ‘fshdl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def797]
xen-4.20.2/tools/libs/hypfs/core.c:144:15: warning[-Wanalyzer-malloc-leak]: leak of ‘content’
xen-4.20.2/tools/libs/hypfs/core.c:134:8: branch_false: following ‘false’ branch (when ‘workbuf’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:137:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:145:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:148:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:150:12: branch_false: following ‘false’ branch (when ‘content’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:154:16: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:144:15: throw: if ‘inflate’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:144:15: danger: ‘content’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def798]
xen-4.20.2/tools/libs/hypfs/core.c:144:15: warning[-Wanalyzer-malloc-leak]: leak of ‘workbuf’
xen-4.20.2/tools/libs/hypfs/core.c:133:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:134:8: branch_false: following ‘false’ branch (when ‘workbuf’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:137:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:144:15: throw: if ‘inflate’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:144:15: danger: ‘workbuf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-401): [#def799]
xen-4.20.2/tools/libs/hypfs/core.c:149: error[memleakOnRealloc]: Common realloc mistake: 'content' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def800]
xen-4.20.2/tools/libs/hypfs/core.c:158:5: warning[-Wanalyzer-malloc-leak]: leak of ‘content’
xen-4.20.2/tools/libs/hypfs/core.c:134:8: branch_false: following ‘false’ branch (when ‘workbuf’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:137:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:145:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:148:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:150:12: branch_false: following ‘false’ branch (when ‘content’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:154:16: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:158:5: throw: if ‘inflateEnd’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:158:5: danger: ‘content’ leaks here; was allocated at [(7)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def801]
xen-4.20.2/tools/libs/hypfs/core.c:158:5: warning[-Wanalyzer-malloc-leak]: leak of ‘workbuf’
xen-4.20.2/tools/libs/hypfs/core.c:133:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:134:8: branch_false: following ‘false’ branch (when ‘workbuf’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:137:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_false: following ‘false’ branch (when ‘ret != 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:158:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:158:5: throw: if ‘inflateEnd’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:158:5: danger: ‘workbuf’ leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-415): [#def802]
xen-4.20.2/tools/libs/hypfs/core.c:160:9: warning[-Wanalyzer-double-free]: double-‘free’ of ‘content’
xen-4.20.2/tools/libs/hypfs/core.c:134:8: branch_false: following ‘false’ branch (when ‘workbuf’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:137:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:145:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:148:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:149:19: release_memory: first ‘free’ here
xen-4.20.2/tools/libs/hypfs/core.c:150:12: branch_false: following ‘false’ branch (when ‘content’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:154:16: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:145:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:148:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:150:12: branch_true: following ‘true’ branch (when ‘content’ is NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:158:5: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:159:8: branch_true: following ‘true’ branch (when ‘ret != 1’)...
xen-4.20.2/tools/libs/hypfs/core.c:160:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:160:9: danger: second ‘free’ here; first ‘free’ was at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def803]
xen-4.20.2/tools/libs/hypfs/core.c:166:1: warning[-Wanalyzer-malloc-leak]: leak of ‘content’
xen-4.20.2/tools/libs/hypfs/core.c:134:8: branch_false: following ‘false’ branch (when ‘workbuf’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:137:5: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:145:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:148:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:150:12: branch_false: following ‘false’ branch (when ‘content’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:154:16: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:141:19: branch_true: following ‘true’ branch (when ‘ret == 0’)...
xen-4.20.2/tools/libs/hypfs/core.c:142:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:145:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:148:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:150:12: branch_true: following ‘true’ branch (when ‘content’ is NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:158:5: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:159:8: branch_true: following ‘true’ branch (when ‘ret != 1’)...
xen-4.20.2/tools/libs/hypfs/core.c:160:9: branch_true: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:166:1: danger: ‘content’ leaks here; was allocated at [(7)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def804]
xen-4.20.2/tools/libs/hypfs/core.c:275:5: warning[-Wanalyzer-malloc-leak]: leak of ‘content’
xen-4.20.2/tools/libs/hypfs/core.c:211:7: enter_function: entry to ‘xenhypfs_read_raw’
xen-4.20.2/tools/libs/hypfs/core.c:222:11: call_function: calling ‘xenhypfs_get_pathbuf’ from ‘xenhypfs_read_raw’
xen-4.20.2/tools/libs/hypfs/core.c:222:11: return_function: returning to ‘xenhypfs_read_raw’ from ‘xenhypfs_get_pathbuf’
xen-4.20.2/tools/libs/hypfs/core.c:223:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:223:8: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:229:12: branch_false: following ‘false’ branch (when ‘retbuf’ is NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:232:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:233:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:239:15: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:249:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:250:8: branch_false: following ‘false’ branch (when ‘content’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:252:21: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:263:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:269:31: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:275:5: throw: if ‘xencall_free_buffer’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:275:5: danger: ‘content’ leaks here; was allocated at [(17)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def805]
xen-4.20.2/tools/libs/hypfs/core.c:276:5: warning[-Wanalyzer-malloc-leak]: leak of ‘content’
xen-4.20.2/tools/libs/hypfs/core.c:211:7: enter_function: entry to ‘xenhypfs_read_raw’
xen-4.20.2/tools/libs/hypfs/core.c:222:11: call_function: calling ‘xenhypfs_get_pathbuf’ from ‘xenhypfs_read_raw’
xen-4.20.2/tools/libs/hypfs/core.c:222:11: return_function: returning to ‘xenhypfs_read_raw’ from ‘xenhypfs_get_pathbuf’
xen-4.20.2/tools/libs/hypfs/core.c:223:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:223:8: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:229:12: branch_false: following ‘false’ branch (when ‘retbuf’ is NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:232:18: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:233:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:239:15: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:249:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/hypfs/core.c:250:8: branch_false: following ‘false’ branch (when ‘content’ is non-NULL)...
xen-4.20.2/tools/libs/hypfs/core.c:252:21: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:263:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/hypfs/core.c:269:31: branch_false: ...to here
xen-4.20.2/tools/libs/hypfs/core.c:276:5: throw: if ‘xencall_free_buffer’ throws an exception...
xen-4.20.2/tools/libs/hypfs/core.c:276:5: danger: ‘content’ leaks here; was allocated at [(17)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def806]
xen-4.20.2/tools/libs/light/flexarray.c:54:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/light/flexarray.c:86:5: enter_function: entry to ‘flexarray_vappend’
xen-4.20.2/tools/libs/light/flexarray.c:92:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/libs/light/flexarray.c:93:18: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
xen-4.20.2/tools/libs/light/flexarray.c:94:14: call_function: inlined call to ‘flexarray_append’ from ‘flexarray_vappend’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def807]
xen-4.20.2/tools/libs/light/libxl.c:78:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctx’
xen-4.20.2/tools/libs/light/libxl.c:26:8: branch_false: following ‘false’ branch (when ‘version == 0’)...
xen-4.20.2/tools/libs/light/libxl.c:28:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl.c:28:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl.c:29:8: branch_false: following ‘false’ branch (when ‘ctx’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl.c:36:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl.c:78:9: throw: if ‘libxl__init_recursive_mutex’ throws an exception...
xen-4.20.2/tools/libs/light/libxl.c:78:9: danger: ‘ctx’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def808]
xen-4.20.2/tools/libs/light/libxl_bootloader.c:244:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*bl.outputpath, "r")’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:231:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:243:16: branch_true: following ‘true’ branch (when ‘l <= 8190’)...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:244:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:247:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:256:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:256:12: branch_true: following ‘true’ branch (when ‘l > 8191’)...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:257:13: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:257:13: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:244:17: danger: ‘fopen(*bl.outputpath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def809]
xen-4.20.2/tools/libs/light/libxl_bootloader.c:244:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*bl.outputpath, "r")’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:231:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:243:16: branch_true: following ‘true’ branch (when ‘l <= 8190’)...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:244:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:247:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:256:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:256:12: branch_true: following ‘true’ branch (when ‘l > 8191’)...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:257:13: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:257:13: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:244:17: danger: ‘fopen(*bl.outputpath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def810]
xen-4.20.2/tools/libs/light/libxl_bootloader.c:249:17: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*bl.outputpath, "r")’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:231:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:249:17: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:249:17: danger: ‘fopen(*bl.outputpath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def811]
xen-4.20.2/tools/libs/light/libxl_bootloader.c:249:17: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*bl.outputpath, "r")’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:231:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:249:17: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:249:17: danger: ‘fopen(*bl.outputpath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def812]
xen-4.20.2/tools/libs/light/libxl_bootloader.c:266:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(*bl.outputpath, "r")’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:223:12: enter_function: entry to ‘parse_bootloader_result’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:231:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:247:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:256:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:266:13: call_function: calling ‘bootloader_result_command’ from ‘parse_bootloader_result’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def813]
xen-4.20.2/tools/libs/light/libxl_bootloader.c:266:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(*bl.outputpath, "r")’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:223:12: enter_function: entry to ‘parse_bootloader_result’
xen-4.20.2/tools/libs/light/libxl_bootloader.c:231:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:232:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:247:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_bootloader.c:256:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_bootloader.c:266:13: call_function: calling ‘bootloader_result_command’ from ‘parse_bootloader_result’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def814]
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:298:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘h’
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:204:5: enter_function: entry to ‘colo_proxy_setup’
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:211:14: release_memory: ‘buff’ is NULL
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:217:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:257:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:258:8: branch_false: following ‘false’ branch (when ‘skfd >= 0’)...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:262:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:269:8: branch_false: following ‘false’ branch (when ‘i != 11’)...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:274:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:278:15: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:283:18: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:284:11: call_function: calling ‘colo_proxy_send’ from ‘colo_proxy_setup’
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:284:11: return_function: returning to ‘colo_proxy_setup’ from ‘colo_proxy_send’
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:285:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:289:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:289:12: call_function: calling ‘colo_proxy_recv’ from ‘colo_proxy_setup’
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:289:12: return_function: returning to ‘colo_proxy_setup’ from ‘colo_proxy_recv’
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:296:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:296:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:297:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:297:9: release_memory: ‘buff’ is NULL
xen-4.20.2/tools/libs/light/libxl_colo_proxy.c:298:13: danger: dereference of NULL ‘h’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def815]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:87:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘policy’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:83:8: branch_true: following ‘true’ branch (when ‘policy’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:84:24: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:84:24: acquire_memory: this call could return NULL
xen-4.20.2/tools/libs/light/libxl_cpuid.c:87:9: danger: ‘policy’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def816]
xen-4.20.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.20.2/tools/libs/light/libxl_cpuid.c:232:5: enter_function: entry to ‘libxl_cpuid_parse_config’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:358:8: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:361:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:363:30: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:364:38: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:370:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:370:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:373:12: call_function: inlined call to ‘bsearch’ from ‘libxl_cpuid_parse_config’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:377:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:380:31: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:392:16: call_function: calling ‘cpuid_add’ from ‘libxl_cpuid_parse_config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def817]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:149:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘resstr’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:101:12: enter_function: entry to ‘cpuid_add’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:104:35: call_function: calling ‘cpuid_find_match’ from ‘cpuid_add’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:104:35: return_function: returning to ‘cpuid_add’ from ‘cpuid_find_match’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:113:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:113:8: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:128:8: branch_true: following ‘true’ branch (when ‘resstr’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:129:18: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:129:18: acquire_memory: this call could return NULL
xen-4.20.2/tools/libs/light/libxl_cpuid.c:135:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:148:17: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:148:15: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:149:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:149:9: danger: ‘resstr’ could be NULL: unchecked value from [(17)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def818]
xen-4.20.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.20.2/tools/libs/light/libxl_cpuid.c:232:5: enter_function: entry to ‘libxl_cpuid_parse_config’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:358:8: branch_false: following ‘false’ branch (when ‘sep’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:361:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:363:30: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:364:38: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:370:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:370:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:373:12: call_function: inlined call to ‘bsearch’ from ‘libxl_cpuid_parse_config’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:377:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:380:31: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:392:16: call_function: calling ‘cpuid_add’ from ‘libxl_cpuid_parse_config’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def819]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:168:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘policy’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:165:8: branch_true: following ‘true’ branch (when ‘policy’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:166:24: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:166:24: acquire_memory: this call could return NULL
xen-4.20.2/tools/libs/light/libxl_cpuid.c:168:9: danger: ‘policy’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def820]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:177:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:165:8: branch_true: following ‘true’ branch (when ‘policy’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:166:24: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:168:9: release_memory: using NULL here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:168:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:176:64: branch_false: ...to here
xen-4.20.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: COMPILER_WARNING (CWE-704): [#def821]
xen-4.20.2/tools/libs/light/libxl_cpuid.c: scope_hint: In function ‘libxl_cpuid_parse_config_xend’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:447:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def822]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:447:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def823]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:452:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def824]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:452:16: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def825]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:454:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def826]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:454:20: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def827]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:460:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘calloc(33, 1)’ where non-null expected
xen-4.20.2/tools/libs/light/libxl_cpuid.c:414:5: enter_function: entry to ‘libxl_cpuid_parse_config_xend’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:424:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:427:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:437:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:437:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:441:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:441:13: call_function: calling ‘cpuid_find_match’ from ‘libxl_cpuid_parse_config_xend’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:441:13: return_function: returning to ‘libxl_cpuid_parse_config_xend’ from ‘cpuid_find_match’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:442:28: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:443:12: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:443:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:448:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:453:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:456:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:456:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:459:32: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:459:32: acquire_memory: this call could return NULL
xen-4.20.2/tools/libs/light/libxl_cpuid.c:460:9: danger: argument 1 (‘calloc(33, 1)’) from [(28)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/27) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def828]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:670:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:634:5: enter_function: entry to ‘libxl__cpuid_policy_list_parse_json’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:669:13: call_function: inlined call to ‘libxl__json_object_get_array’ from ‘libxl__cpuid_policy_list_parse_json’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:670:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:670:10: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def829]
xen-4.20.2/tools/libs/light/libxl_cpuid.c:744:13: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.20.2/tools/libs/light/libxl_cpuid.c:634:5: enter_function: entry to ‘libxl__cpuid_policy_list_parse_json’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:714:8: branch_false: following ‘false’ branch (when ‘cpuid_only == 0’)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:717:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:722:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:724:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:730:17: branch_true: following ‘true’ branch (when ‘i < size’)...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:733:13: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:733:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:736:14: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_cpuid.c:740:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:741:24: call_function: inlined call to ‘libxl__json_object_get_integer’ from ‘libxl__cpuid_policy_list_parse_json’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:743:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_cpuid.c:744:13: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘libxl__cpuid_policy_list_parse_json’
xen-4.20.2/tools/libs/light/libxl_cpuid.c:744:13: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def830]
xen-4.20.2/tools/libs/light/libxl_device.c:1311:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/libxl_device.c:1231:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:1235:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:1235:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:1262:15: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:1282:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:1283:5: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:1303:14: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_device.c:1304:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:1310:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:1311:17: throw: if ‘libxl__sprintf’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_device.c:1311:17: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def831]
xen-4.20.2/tools/libs/light/libxl_device.c:2143:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir’
xen-4.20.2/tools/libs/light/libxl_device.c:2117:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:2124:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:2126:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:2133:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:2133:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:2136:32: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:2139:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:2140:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:2142:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:2143:22: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:2143:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_device.c:2143:43: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_device.c:2143:43: danger: dereference of NULL ‘dir’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def832]
xen-4.20.2/tools/libs/light/libxl_disk.c:233:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘creat(libxl__sprintf(&*gc_49(D)->owner.nogc_gc, "/var/run/xen/empty-cdrom.%u", target_domid), 256)’
xen-4.20.2/tools/libs/light/libxl_disk.c:156:12: enter_function: entry to ‘libxl__device_disk_setdefault’
xen-4.20.2/tools/libs/light/libxl_disk.c:167:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:169:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:210:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:211:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:210:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:212:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:210:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:213:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:210:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:217:13: call_function: inlined call to ‘libxl__gc_owner’ from ‘libxl__device_disk_setdefault’
xen-4.20.2/tools/libs/light/libxl_disk.c:226:14: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_disk.c:227:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:233:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:233:9: danger: ‘creat(libxl__sprintf(&*gc_49(D)->owner.nogc_gc, "/var/run/xen/empty-cdrom.%u", target_domid), 256)’ leaks here; was opened at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def833]
xen-4.20.2/tools/libs/light/libxl_disk.c:892:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.20.2/tools/libs/light/libxl_disk.c:860:17: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:865:20: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:866:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:871:15: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:872:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:872:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:882:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_disk.c:886:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_disk.c:892:17: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def834]
xen-4.20.2/tools/libs/light/libxl_dm.c:1138:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/libs/light/libxl_dm.c:3117:13: enter_function: entry to ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: call_function: calling ‘libxl__dm_vnc’ from ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: return_function: returning to ‘device_model_launch’ from ‘libxl__dm_vnc’
xen-4.20.2/tools/libs/light/libxl_dm.c:3140:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3145:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: call_function: calling ‘libxl__pre_open_qmp_socket’ from ‘device_model_launch’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def835]
xen-4.20.2/tools/libs/light/libxl_dm.c:1142:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/libs/light/libxl_dm.c:3117:13: enter_function: entry to ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: call_function: calling ‘libxl__dm_vnc’ from ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: return_function: returning to ‘device_model_launch’ from ‘libxl__dm_vnc’
xen-4.20.2/tools/libs/light/libxl_dm.c:3140:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3145:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: call_function: calling ‘libxl__pre_open_qmp_socket’ from ‘device_model_launch’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def836]
xen-4.20.2/tools/libs/light/libxl_dm.c:1155:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/libs/light/libxl_dm.c:3117:13: enter_function: entry to ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: call_function: calling ‘libxl__dm_vnc’ from ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: return_function: returning to ‘device_model_launch’ from ‘libxl__dm_vnc’
xen-4.20.2/tools/libs/light/libxl_dm.c:3140:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3145:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: call_function: calling ‘libxl__pre_open_qmp_socket’ from ‘device_model_launch’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def837]
xen-4.20.2/tools/libs/light/libxl_dm.c:1165:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/libs/light/libxl_dm.c:3117:13: enter_function: entry to ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: call_function: calling ‘libxl__dm_vnc’ from ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: return_function: returning to ‘device_model_launch’ from ‘libxl__dm_vnc’
xen-4.20.2/tools/libs/light/libxl_dm.c:3140:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3145:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: call_function: calling ‘libxl__pre_open_qmp_socket’ from ‘device_model_launch’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def838]
xen-4.20.2/tools/libs/light/libxl_dm.c:2241:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘null’
xen-4.20.2/tools/libs/light/libxl_dm.c:3610:6: enter_function: entry to ‘libxl__spawn_qemu_xenpv_backend’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3685:5: call_function: calling ‘dmss_dispose’ from ‘libxl__spawn_qemu_xenpv_backend’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def839]
xen-4.20.2/tools/libs/light/libxl_dm.c:2242:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘null’
xen-4.20.2/tools/libs/light/libxl_dm.c:3610:6: enter_function: entry to ‘libxl__spawn_qemu_xenpv_backend’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3685:5: call_function: calling ‘dmss_dispose’ from ‘libxl__spawn_qemu_xenpv_backend’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def840]
xen-4.20.2/tools/libs/light/libxl_dm.c:3049:14: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.20.2/tools/libs/light/libxl_dm.c:3022:13: enter_function: entry to ‘device_model_probe_cmdline’
xen-4.20.2/tools/libs/light/libxl_dm.c:3028:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3028:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3037:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3042:13: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3043:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3047:19: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘device_model_probe_cmdline’
xen-4.20.2/tools/libs/light/libxl_dm.c:3049:14: danger: argument 2 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def841]
xen-4.20.2/tools/libs/light/libxl_dm.c:3060:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.20.2/tools/libs/light/libxl_dm.c:3022:13: enter_function: entry to ‘device_model_probe_cmdline’
xen-4.20.2/tools/libs/light/libxl_dm.c:3028:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3028:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3037:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3042:13: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3043:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3047:19: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘device_model_probe_cmdline’
xen-4.20.2/tools/libs/light/libxl_dm.c:3054:29: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3055:21: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3056:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3060:22: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘device_model_probe_cmdline’
xen-4.20.2/tools/libs/light/libxl_dm.c:3060:22: danger: argument 2 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def842]
xen-4.20.2/tools/libs/light/libxl_dm.c:3359:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
xen-4.20.2/tools/libs/light/libxl_dm.c:3331:13: enter_function: entry to ‘device_model_qmp_cb’
xen-4.20.2/tools/libs/light/libxl_dm.c:3343:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3346:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3347:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3354:14: call_function: inlined call to ‘libxl__json_object_get_string’ from ‘device_model_qmp_cb’
xen-4.20.2/tools/libs/light/libxl_dm.c:3355:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3359:9: danger: argument 1 (‘<unknown>’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def843]
xen-4.20.2/tools/libs/light/libxl_dm.c:3582:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/libs/light/libxl_dm.c:3573:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3575:41: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3576:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3582:33: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3582:33: danger: dereference of NULL ‘libxl__dm_vnc(((libxl__dm_spawn_state *)((char *)qmp + 304))[16470307208669242].guest_config)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def844]
xen-4.20.2/tools/libs/light/libxl_dm.c:3659:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3659:25: throw: if ‘libxl__zalloc’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3659:25: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def845]
xen-4.20.2/tools/libs/light/libxl_dm.c:3662:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3662:24: throw: if ‘libxl__sprintf’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3662:24: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def846]
xen-4.20.2/tools/libs/light/libxl_dm.c:3663:26: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3663:26: throw: if ‘libxl__sprintf’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3663:26: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def847]
xen-4.20.2/tools/libs/light/libxl_dm.c:3670:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3670:27: throw: if ‘libxl__sprintf’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3670:27: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def848]
xen-4.20.2/tools/libs/light/libxl_dm.c:3675:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3675:10: throw: if ‘libxl__spawn_spawn’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3675:10: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def849]
xen-4.20.2/tools/libs/light/libxl_dm.c:3686:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘null’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3686:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3686:25: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3686:25: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3686:25: danger: ‘null’ leaks here; was opened at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def850]
xen-4.20.2/tools/libs/light/libxl_dm.c:3687:20: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘null’
xen-4.20.2/tools/libs/light/libxl_dm.c:3644:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3648:12: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_dm.c:3649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3654:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3687:8: branch_true: following ‘true’ branch (when ‘null >= 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3687:20: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3687:20: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_dm.c:3687:20: danger: ‘null’ leaks here; was opened at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def851]
xen-4.20.2/tools/libs/light/libxl_domain.c:1377:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(libxl__domid_history_path(gc, ".new"), "a")’
xen-4.20.2/tools/libs/light/libxl_domain.c:1402:12: enter_function: entry to ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1411:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1417:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1417:10: call_function: calling ‘libxl__open_domid_history’ from ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1417:10: return_function: returning to ‘libxl__mark_domid_recent’ from ‘libxl__open_domid_history’
xen-4.20.2/tools/libs/light/libxl_domain.c:1418:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1420:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1420:11: call_function: calling ‘libxl__domid_history_path’ from ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1420:11: return_function: returning to ‘libxl__mark_domid_recent’ from ‘libxl__domid_history_path’
xen-4.20.2/tools/libs/light/libxl_domain.c:1421:10: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_domain.c:1422:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1422:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1431:14: call_function: inlined call to ‘libxl__read_recent’ from ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1434:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1434:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1437:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1439:13: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_domain.c:1431:14: call_function: inlined call to ‘libxl__read_recent’ from ‘libxl__mark_domid_recent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def852]
xen-4.20.2/tools/libs/light/libxl_domain.c:1377:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(libxl__domid_history_path(gc, ".new"), "a")’
xen-4.20.2/tools/libs/light/libxl_domain.c:1402:12: enter_function: entry to ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1411:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1417:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1417:10: call_function: calling ‘libxl__open_domid_history’ from ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1417:10: return_function: returning to ‘libxl__mark_domid_recent’ from ‘libxl__open_domid_history’
xen-4.20.2/tools/libs/light/libxl_domain.c:1418:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1420:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1420:11: call_function: calling ‘libxl__domid_history_path’ from ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1420:11: return_function: returning to ‘libxl__mark_domid_recent’ from ‘libxl__domid_history_path’
xen-4.20.2/tools/libs/light/libxl_domain.c:1421:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_domain.c:1422:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1422:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1431:14: call_function: inlined call to ‘libxl__read_recent’ from ‘libxl__mark_domid_recent’
xen-4.20.2/tools/libs/light/libxl_domain.c:1432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1434:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1434:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_domain.c:1437:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_domain.c:1439:13: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_domain.c:1431:14: call_function: inlined call to ‘libxl__read_recent’ from ‘libxl__mark_domid_recent’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def853]
xen-4.20.2/tools/libs/light/libxl_event.c:1729:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def854]
xen-4.20.2/tools/libs/light/libxl_event.c:1730:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def855]
xen-4.20.2/tools/libs/light/libxl_event.c:1738:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def856]
xen-4.20.2/tools/libs/light/libxl_event.c:1745:10: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def857]
xen-4.20.2/tools/libs/light/libxl_event.c:1748:10: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def858]
xen-4.20.2/tools/libs/light/libxl_event.c:1803:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def859]
xen-4.20.2/tools/libs/light/libxl_event.c:1804:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def860]
xen-4.20.2/tools/libs/light/libxl_event.c:1829:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_false: following ‘false’ branch (when ‘how’ is NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2145:22: call_function: calling ‘libxl__poller_get’ from ‘libxl__ao_create’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def861]
xen-4.20.2/tools/libs/light/libxl_event.c:2148:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ao’
xen-4.20.2/tools/libs/light/libxl_event.c:2125:12: enter_function: entry to ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2131:10: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_event.c:2132:8: branch_false: following ‘false’ branch (when ‘ao’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2134:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2137:5: call_function: inlined call to ‘ao__manip_enter’ from ‘libxl__ao_create’
xen-4.20.2/tools/libs/light/libxl_event.c:2142:8: branch_true: following ‘true’ branch (when ‘how’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_event.c:2143:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_event.c:2148:5: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_event.c:2148:5: danger: ‘ao’ leaks here; was allocated at [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1)
Error: COMPILER_WARNING (CWE-704): [#def862]
xen-4.20.2/tools/libs/light/libxl_internal.c: scope_hint: In function ‘libxl__dirname’
xen-4.20.2/tools/libs/light/libxl_internal.c:207:15: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def863]
xen-4.20.2/tools/libs/light/libxl_internal.c:207:15: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def864]
xen-4.20.2/tools/libs/light/libxl_internal.h:839:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(dev, 0)’
xen-4.20.2/tools/libs/light/libxl_utils.c:1225:5: enter_function: entry to ‘libxl__random_bytes’
xen-4.20.2/tools/libs/light/libxl_utils.c:1231:10: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_utils.c:1232:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1236:11: call_function: inlined call to ‘libxl__gc_owner’ from ‘libxl__random_bytes’
xen-4.20.2/tools/libs/light/libxl_utils.c:1236:11: throw: if ‘libxl_fd_set_cloexec’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:1236:11: call_function: inlined call to ‘libxl__gc_owner’ from ‘libxl__random_bytes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def865]
xen-4.20.2/tools/libs/light/libxl_internal.h:839:12: warning[-Wanalyzer-malloc-leak]: leak of ‘qmp_init_handler(gc, domid)’
xen-4.20.2/tools/libs/light/libxl_qmp.c:739:12: enter_function: entry to ‘qmp_run_command’
xen-4.20.2/tools/libs/light/libxl_qmp.c:746:11: call_function: calling ‘libxl__qmp_initialize’ from ‘qmp_run_command’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def866]
xen-4.20.2/tools/libs/light/libxl_internal.h:4852:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*((libxl__domain_build_state *)state).dm_monitor_fd’
xen-4.20.2/tools/libs/light/libxl_dm.c:3117:13: enter_function: entry to ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: call_function: calling ‘libxl__dm_vnc’ from ‘device_model_launch’
xen-4.20.2/tools/libs/light/libxl_dm.c:3125:33: return_function: returning to ‘device_model_launch’ from ‘libxl__dm_vnc’
xen-4.20.2/tools/libs/light/libxl_dm.c:3140:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3145:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3143:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_dm.c:3149:14: call_function: calling ‘libxl__pre_open_qmp_socket’ from ‘device_model_launch’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def867]
xen-4.20.2/tools/libs/light/libxl_json.c:1005:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
xen-4.20.2/tools/libs/light/libxl_json.c:992:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_json.c:995:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_json.c:996:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_json.c:999:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_json.c:1000:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_json.c:1002:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_json.c:1002:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_json.c:1005:5: throw: if ‘yajl_gen_free’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_json.c:1005:5: danger: ‘ret’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def868]
xen-4.20.2/tools/libs/light/libxl_linux.c:257:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/bus/pci/devices")’
xen-4.20.2/tools/libs/light/libxl_linux.c:251:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_linux.c:252:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_linux.c:252:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_linux.c:257:21: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_linux.c:257:21: danger: ‘opendir("/sys/bus/pci/devices")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def869]
xen-4.20.2/tools/libs/light/libxl_linux.c:283:21: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/bus/pci/devices")’
xen-4.20.2/tools/libs/light/libxl_linux.c:276:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_linux.c:277:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_linux.c:277:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_linux.c:283:21: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_linux.c:283:21: danger: ‘opendir("/sys/bus/pci/devices")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def870]
xen-4.20.2/tools/libs/light/libxl_pci.c:992:18: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/bus/pci/devices")’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def871]
xen-4.20.2/tools/libs/light/libxl_pci.c:1565:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/do_flr", "/sys/bus/pci/drivers/pciback"), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def872]
xen-4.20.2/tools/libs/light/libxl_pci.c:1566:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/do_flr", "/sys/bus/pci/drivers/pciback"), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def873]
xen-4.20.2/tools/libs/light/libxl_pci.c:1568:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/do_flr", "/sys/bus/pci/drivers/pciback"), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def874]
xen-4.20.2/tools/libs/light/libxl_pci.c:1569:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/do_flr", "/sys/bus/pci/drivers/pciback"), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def875]
xen-4.20.2/tools/libs/light/libxl_pci.c:1577:14: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/%04x:%02x:%02x.%01x/reset", "/sys/bus/pci/devices", domain, bus, dev, func), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def876]
xen-4.20.2/tools/libs/light/libxl_pci.c:1579:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/%04x:%02x:%02x.%01x/reset", "/sys/bus/pci/devices", domain, bus, dev, func), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def877]
xen-4.20.2/tools/libs/light/libxl_pci.c:1580:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/%04x:%02x:%02x.%01x/reset", "/sys/bus/pci/devices", domain, bus, dev, func), 1)’
xen-4.20.2/tools/libs/light/libxl_pci.c:2058:13: enter_function: entry to ‘pci_remove_qmp_device_del_cb’
xen-4.20.2/tools/libs/light/libxl_pci.c:2073:5: call_function: calling ‘pci_remove_qmp_retry_timer_cb’ from ‘pci_remove_qmp_device_del_cb’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def878]
xen-4.20.2/tools/libs/light/libxl_qmp.c:344:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor
xen-4.20.2/tools/libs/light/libxl_qmp.c:839:5: enter_function: entry to ‘libxl__qmp_nbd_server_stop’
xen-4.20.2/tools/libs/light/libxl_qmp.c:841:12: call_function: calling ‘qmp_run_command’ from ‘libxl__qmp_nbd_server_stop’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def879]
xen-4.20.2/tools/libs/light/libxl_qmp.c:1286:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/libs/light/libxl_qmp.c:1282:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_qmp.c:1284:5: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_qmp.c:1285:10: acquire_resource: stream socket created here
xen-4.20.2/tools/libs/light/libxl_qmp.c:1286:15: throw: if ‘libxl__carefd_opened’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_qmp.c:1286:15: danger: ‘fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def880]
xen-4.20.2/tools/libs/light/libxl_save_callout.c:137:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup_fd’
xen-4.20.2/tools/libs/light/libxl_save_callout.c:126:12: enter_function: entry to ‘dup_cloexec’
xen-4.20.2/tools/libs/light/libxl_save_callout.c:130:8: branch_true: following ‘true’ branch (when ‘fd <= 2’)...
xen-4.20.2/tools/libs/light/libxl_save_callout.c:131:18: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_save_callout.c:131:18: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_save_callout.c:132:12: branch_false: following ‘false’ branch (when ‘dup_fd >= 0’)...
xen-4.20.2/tools/libs/light/libxl_save_callout.c:137:5: call_function: inlined call to ‘libxl__gc_owner’ from ‘dup_cloexec’
xen-4.20.2/tools/libs/light/libxl_save_callout.c:137:5: throw: if ‘libxl_fd_set_cloexec’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_save_callout.c:137:5: danger: ‘dup_fd’ leaks here; was opened at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def881]
xen-4.20.2/tools/libs/light/libxl_save_helper.c:102:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/light/libxl_save_helper.c:101:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/libs/light/libxl_save_helper.c:102:5: throw: if ‘xtl_logv’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_save_helper.c:102:5: 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-775): [#def882]
xen-4.20.2/tools/libs/light/libxl_save_helper.c:159:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.20.2/tools/libs/light/libxl_save_helper.c:151:13: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_save_helper.c:152:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_save_helper.c:158:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_save_helper.c:159:1: danger: ‘r’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def883]
xen-4.20.2/tools/libs/light/libxl_usb.c:848:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/bus/usb/devices")’
xen-4.20.2/tools/libs/light/libxl_usb.c:832:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_usb.c:835:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_usb.c:835:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_usb.c:836:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_usb.c:836:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_usb.c:848:14: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_usb.c:848:14: danger: ‘opendir("/sys/bus/usb/devices")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def884]
xen-4.20.2/tools/libs/light/libxl_usb.c:1390:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "/sys/bus/usb/devices/%s/driver/unbind", intf), 1)’
xen-4.20.2/tools/libs/light/libxl_usb.c:1383:10: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_usb.c:1384:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_usb.c:1390:44: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_usb.c:1390:9: throw: if ‘libxl_write_exactly’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_usb.c:1390:9: danger: ‘open(libxl__sprintf(gc, "/sys/bus/usb/devices/%s/driver/unbind", intf), 1)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def885]
xen-4.20.2/tools/libs/light/libxl_usb.c:1430:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(libxl__sprintf(gc, "%s/bind", drvpath), 1)’
xen-4.20.2/tools/libs/light/libxl_usb.c:1416:8: branch_false: following ‘false’ branch (when ‘r != 0’)...
xen-4.20.2/tools/libs/light/libxl_usb.c:1418:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_usb.c:1423:10: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_usb.c:1424:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_usb.c:1430:44: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_usb.c:1430:9: throw: if ‘libxl_write_exactly’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_usb.c:1430:9: danger: ‘open(libxl__sprintf(gc, "%s/bind", drvpath), 1)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def886]
xen-4.20.2/tools/libs/light/libxl_usb.c:1481:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/bus/usb/devices")’
xen-4.20.2/tools/libs/light/libxl_usb.c:1473:11: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_usb.c:1474:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_usb.c:1474:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_usb.c:1481:14: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_usb.c:1481:14: danger: ‘opendir("/sys/bus/usb/devices")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def887]
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:335:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def888]
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:335:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:343:9: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def889]
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:335:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:347:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:348:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:348:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def890]
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:335:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:347:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:348:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:348:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def891]
xen-4.20.2/tools/libs/light/libxl_utils.c:368:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:347:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:353:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:353:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:359:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:361:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:362:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:363:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_utils.c:365:14: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:366:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:367:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:367:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:368:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:368:17: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:368:17: danger: ‘data’ leaks here; was allocated at [(11)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def892]
xen-4.20.2/tools/libs/light/libxl_utils.c:370:17: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
xen-4.20.2/tools/libs/light/libxl_utils.c:325:5: enter_function: entry to ‘libxl_read_file_contents’
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:347:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:353:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:353:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:359:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:361:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:362:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:363:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_utils.c:365:14: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:366:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:367:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:367:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:369:22: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:369:21: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:370:17: call_function: inlined call to ‘libxl__gc_owner’ from ‘libxl_read_file_contents’
xen-4.20.2/tools/libs/light/libxl_utils.c:370:17: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:370:17: danger: ‘data’ leaks here; was allocated at [(12)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def893]
xen-4.20.2/tools/libs/light/libxl_utils.c:380:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:347:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:353:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:353:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:359:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:361:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:362:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:363:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_utils.c:365:14: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:366:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:378:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:378:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:380:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:380:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:380:9: danger: ‘data’ leaks here; was allocated at [(11)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def894]
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.20.2/tools/libs/light/libxl_utils.c:335:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: throw: if ‘libxl__free_all’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: danger: ‘f’ leaks here; was opened at [(1)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def895]
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:342:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:347:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:347:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:353:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:353:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:359:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:361:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:362:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:363:12: branch_false: following ‘false’ branch (when ‘data’ is non-NULL)...
xen-4.20.2/tools/libs/light/libxl_utils.c:365:14: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:366:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:378:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:378:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:380:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: throw: if ‘libxl__free_all’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: danger: ‘data’ leaks here; was allocated at [(11)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def896]
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.20.2/tools/libs/light/libxl_utils.c:335:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:336:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: throw: if ‘libxl__free_all’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:391:5: danger: ‘f’ leaks here; was allocated at [(1)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def897]
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:409:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_utils.c:410:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:416:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:416:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def898]
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:409:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:410:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:416:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:416:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:417:9: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def899]
xen-4.20.2/tools/libs/light/libxl_utils.c:421:10: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:409:9: acquire_resource: opened here
xen-4.20.2/tools/libs/light/libxl_utils.c:410:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:416:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:416:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:421:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:421:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:422:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:422:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:421:10: danger: ‘fopen(filename, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def900]
xen-4.20.2/tools/libs/light/libxl_utils.c:421:10: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(filename, "r")’
xen-4.20.2/tools/libs/light/libxl_utils.c:409:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:410:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:416:9: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:416:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:421:10: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:421:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:422:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:422:9: throw: if ‘libxl__log’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:421:10: danger: ‘fopen(filename, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def901]
xen-4.20.2/tools/libs/light/libxl_utils.c:555:14: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir(dirpath)’
xen-4.20.2/tools/libs/light/libxl_utils.c:541:9: acquire_memory: allocated here
xen-4.20.2/tools/libs/light/libxl_utils.c:542:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:542:8: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:555:14: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libs/light/libxl_utils.c:555:14: danger: ‘opendir(dirpath)’ leaks here; was allocated at [(1)](sarif:/runs/0/results/32/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def902]
xen-4.20.2/tools/libs/light/libxl_utils.c:1083:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
xen-4.20.2/tools/libs/light/libxl_utils.c:1082:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1083:5: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1083:5: danger: dereference of NULL ‘cmsg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def903]
xen-4.20.2/tools/libs/light/libxl_utils.c:1144:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cmsg’
xen-4.20.2/tools/libs/light/libxl_utils.c:1139:12: branch_false: following ‘false’ branch (when ‘r != 0’)...
xen-4.20.2/tools/libs/light/libxl_utils.c:1143:16: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1143:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1144:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1144:13: danger: dereference of NULL ‘cmsg’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def904]
xen-4.20.2/tools/libs/light/libxl_utils.c:1170:17: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
xen-4.20.2/tools/libs/light/libxl_utils.c:1139:12: branch_false: following ‘false’ branch (when ‘r != 0’)...
xen-4.20.2/tools/libs/light/libxl_utils.c:1143:16: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1143:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1143:9: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1144:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1149:13: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1149:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1167:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1169:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1170:17: release_resource: first ‘close’ here
xen-4.20.2/tools/libs/light/libxl_utils.c:1167:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_utils.c:1169:17: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_utils.c:1170:17: danger: second ‘close’ here; first ‘close’ was at [(11)](sarif:/runs/0/results/35/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def905]
xen-4.20.2/tools/libs/light/libxl_x86.c:241:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘&e820’
xen-4.20.2/tools/libs/light/libxl_x86.c:565:5: enter_function: entry to ‘libxl__arch_vnuma_build_vmemrange’
xen-4.20.2/tools/libs/light/libxl_x86.c:577:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/light/libxl_x86.c:578:11: branch_false: ...to here
xen-4.20.2/tools/libs/light/libxl_x86.c:577:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_x86.c:582:5: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_x86.c:582:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/libxl_x86.c:584:5: branch_true: ...to here
xen-4.20.2/tools/libs/light/libxl_x86.c:585:10: call_function: calling ‘e820_host_sanitize’ from ‘libxl__arch_vnuma_build_vmemrange’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def906]
xen-4.20.2/tools/libs/light/libxl_xshelp.c:115:9: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/light/libxl_xshelp.c:126:5: enter_function: entry to ‘libxl__xs_printf’
xen-4.20.2/tools/libs/light/libxl_xshelp.c:132:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/libs/light/libxl_xshelp.c:133:10: call_function: calling ‘libxl__xs_vprintf’ from ‘libxl__xs_printf’
Error: CPPCHECK_WARNING (CWE-401): [#def907]
xen-4.20.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-775): [#def908]
xen-4.20.2/tools/libs/light/test_fdderegrace.c:17:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/light/test_fdderegrace.c:14:14: acquire_resource: opened here
xen-4.20.2/tools/libs/light/test_fdderegrace.c:15:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/light/test_fdderegrace.c:17:10: branch_true: ...to here
xen-4.20.2/tools/libs/light/test_fdderegrace.c:17:10: throw: if ‘libxl_test_fdevent’ throws an exception...
xen-4.20.2/tools/libs/light/test_fdderegrace.c:17:10: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def909]
xen-4.20.2/tools/libs/stat/xenstat.c:97:17: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
xen-4.20.2/tools/libs/stat/xenstat.c:86:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:87:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:95:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:96:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:97:17: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:97:17: throw: if ‘perror’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:97:17: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def910]
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
xen-4.20.2/tools/libs/stat/xenstat.c:86:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:87:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:95:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: throw: if ‘xc_interface_open’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def911]
xen-4.20.2/tools/libs/stat/xenstat.c:105:17: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
xen-4.20.2/tools/libs/stat/xenstat.c:86:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:87:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:95:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:104:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:105:17: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:105:17: throw: if ‘perror’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:105:17: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def912]
xen-4.20.2/tools/libs/stat/xenstat.c:110:28: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
xen-4.20.2/tools/libs/stat/xenstat.c:86:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:87:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:95:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:104:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:110:28: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:110:28: throw: if ‘xs_open’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:110:28: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def913]
xen-4.20.2/tools/libs/stat/xenstat.c:112:17: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
xen-4.20.2/tools/libs/stat/xenstat.c:86:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:87:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:95:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:104:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:110:28: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:111:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:112:17: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:112:17: throw: if ‘perror’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:112:17: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def914]
xen-4.20.2/tools/libs/stat/xenstat.c:113:17: warning[-Wanalyzer-malloc-leak]: leak of ‘handle’
xen-4.20.2/tools/libs/stat/xenstat.c:86:37: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:87:12: branch_false: following ‘false’ branch (when ‘handle’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:95:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:96:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:103:29: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:104:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:110:28: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:111:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:112:17: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:113:17: throw: if ‘xc_interface_close’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:113:17: danger: ‘handle’ leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def915]
xen-4.20.2/tools/libs/stat/xenstat.c:152:13: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
xen-4.20.2/tools/libs/stat/xenstat.c:144:33: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:13: throw: if ‘xc_physinfo’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:152:13: danger: ‘node’ leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def916]
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:168:25: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: throw: if ‘xc_domain_getinfolist’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: danger: ‘<unknown>’ leaks here; was allocated at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def917]
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:168:25: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:198:29: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: throw: if ‘xc_domain_getinfolist’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: danger: ‘domain’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def918]
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
xen-4.20.2/tools/libs/stat/xenstat.c:144:33: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: throw: if ‘xc_domain_getinfolist’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: danger: ‘node’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def919]
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:168:25: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:198:29: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: throw: if ‘xc_domain_getinfolist’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:178:31: danger: ‘tmp’ leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def920]
xen-4.20.2/tools/libs/stat/xenstat.c:245:28: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:198:29: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:242:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
xen-4.20.2/tools/libs/stat/xenstat.c:243:30: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:243:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:244:25: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:245:28: throw: if the called function throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:245:28: danger: ‘domain’ leaks here; was allocated at [(9)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def921]
xen-4.20.2/tools/libs/stat/xenstat.c:245:28: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
xen-4.20.2/tools/libs/stat/xenstat.c:144:33: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:198:29: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:237:18: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:242:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
xen-4.20.2/tools/libs/stat/xenstat.c:243:30: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:243:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:244:25: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:245:28: throw: if the called function throws an exception...
xen-4.20.2/tools/libs/stat/xenstat.c:245:28: danger: ‘node’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def922]
xen-4.20.2/tools/libs/stat/xenstat.c:271:41: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
xen-4.20.2/tools/libs/stat/xenstat.c:134:15: enter_function: entry to ‘xenstat_get_node’
xen-4.20.2/tools/libs/stat/xenstat.c:144:33: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:203:28: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:204:37: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:206:41: call_function: calling ‘xenstat_free_node’ from ‘xenstat_get_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def923]
xen-4.20.2/tools/libs/stat/xenstat.c:713:16: warning[-Wanalyzer-malloc-leak]: leak of ‘domain’
xen-4.20.2/tools/libs/stat/xenstat.c:134:15: enter_function: entry to ‘xenstat_get_node’
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:201:40: call_function: calling ‘xenstat_get_domain_name’ from ‘xenstat_get_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def924]
xen-4.20.2/tools/libs/stat/xenstat.c:713:16: warning[-Wanalyzer-malloc-leak]: leak of ‘node’
xen-4.20.2/tools/libs/stat/xenstat.c:134:15: enter_function: entry to ‘xenstat_get_node’
xen-4.20.2/tools/libs/stat/xenstat.c:144:33: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat.c:145:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:149:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:152:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:158:45: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:169:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:174:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:182:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat.c:186:32: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:188:20: branch_false: following ‘false’ branch (when ‘tmp’ is non-NULL)...
xen-4.20.2/tools/libs/stat/xenstat.c:191:17: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat.c:201:40: call_function: calling ‘xenstat_get_domain_name’ from ‘xenstat_get_node’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def925]
xen-4.20.2/tools/libs/stat/xenstat_linux.c:78:22: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/sys/class/net")’
xen-4.20.2/tools/libs/stat/xenstat_linux.c:77:13: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:78:22: throw: if ‘readdir’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:78:22: danger: ‘opendir("/sys/class/net")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def926]
xen-4.20.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.20.2/tools/libs/stat/xenstat_linux.c:77:13: acquire_memory: this call could return NULL
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-401): [#def927]
xen-4.20.2/tools/libs/stat/xenstat_linux.c:163:13: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/libs/stat/xenstat_linux.c:157:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:162:23: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:162:23: acquire_memory: allocated here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:163:13: throw: if ‘regexec’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:163:13: danger: ‘tmp’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def928]
xen-4.20.2/tools/libs/stat/xenstat_linux.c:177:69: warning[-Wanalyzer-null-argument]: use of NULL ‘tmp’ where non-null expected
xen-4.20.2/tools/libs/stat/xenstat_linux.c:157:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:162:23: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:163:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:163:12: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:164:29: branch_true: following ‘true’ branch (when ‘i != 19’)...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:166:29: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:166:28: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:164:38: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:164:29: branch_true: following ‘true’ branch (when ‘i != 19’)...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:166:29: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:166:28: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:168:33: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:171:60: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:173:37: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:176:36: branch_true: following ‘true’ branch (when ‘i != 1’)...
xen-4.20.2/tools/libs/stat/xenstat_linux.c:177:69: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_linux.c:177:69: danger: argument 1 (‘tmp’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def929]
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:220:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:385:13: enter_function: entry to ‘read_attributes_qdisk_dom’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:396:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:398:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:402:20: call_function: calling ‘qmp_connect’ from ‘read_attributes_qdisk_dom’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:402:20: return_function: returning to ‘read_attributes_qdisk_dom’ from ‘qmp_connect’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:402:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:406:26: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:406:26: call_function: calling ‘qmp_query’ from ‘read_attributes_qdisk_dom’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:406:26: return_function: returning to ‘read_attributes_qdisk_dom’ from ‘qmp_query’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:406:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:407:17: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:409:29: call_function: calling ‘qmp_query’ from ‘read_attributes_qdisk_dom’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:409:29: return_function: returning to ‘read_attributes_qdisk_dom’ from ‘qmp_query’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:410:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:411:25: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:411:25: call_function: calling ‘qmp_parse_stats’ from ‘read_attributes_qdisk_dom’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def930]
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:298:21: warning[-Wanalyzer-malloc-leak]: leak of ‘qstats’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:319:23: enter_function: entry to ‘qmp_query’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:325:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:327:14: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:327:14: call_function: calling ‘qmp_read’ from ‘qmp_query’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def931]
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:340:15: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:338:18: acquire_resource: stream socket created here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:338:12: branch_false: following ‘false’ branch (when ‘s >= 0’)...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:340:15: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:340:15: throw: if ‘fcntl’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:340:15: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def932]
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:352:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:338:18: acquire_resource: stream socket created here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:338:12: branch_false: following ‘false’ branch (when ‘s >= 0’)...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:340:15: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:345:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:350:9: branch_false: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:351:13: acquire_resource: socket created here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:351:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:352:17: branch_true: ...to here
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:352:17: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/libs/stat/xenstat_qmp.c:352:17: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def933]
xen-4.20.2/tools/libs/store/xs.c:169:21: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
xen-4.20.2/tools/libs/store/xs.c:1436:12: enter_function: entry to ‘read_message’
xen-4.20.2/tools/libs/store/xs.c:1454:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/store/xs.c:1455:12: branch_false: following ‘false’ branch (when ‘msg’ is non-NULL)...
xen-4.20.2/tools/libs/store/xs.c:1458:30: branch_false: ...to here
xen-4.20.2/tools/libs/store/xs.c:1458:14: call_function: calling ‘read_all’ from ‘read_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def934]
xen-4.20.2/tools/libs/store/xs.c:179:13: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
xen-4.20.2/tools/libs/store/xs.c:1436:12: enter_function: entry to ‘read_message’
xen-4.20.2/tools/libs/store/xs.c:1454:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/store/xs.c:1455:12: branch_false: following ‘false’ branch (when ‘msg’ is non-NULL)...
xen-4.20.2/tools/libs/store/xs.c:1458:30: branch_false: ...to here
xen-4.20.2/tools/libs/store/xs.c:1458:14: call_function: calling ‘read_all’ from ‘read_message’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def935]
xen-4.20.2/tools/libs/store/xs.c:247:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
xen-4.20.2/tools/libs/store/xs.c:1386:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.20.2/tools/libs/store/xs.c:1394:14: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def936]
xen-4.20.2/tools/libs/store/xs.c:254:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
xen-4.20.2/tools/libs/store/xs.c:1386:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.20.2/tools/libs/store/xs.c:1394:14: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def937]
xen-4.20.2/tools/libs/store/xs.c:264:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(connect_to, 524290)’
xen-4.20.2/tools/libs/store/xs.c:1386:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.20.2/tools/libs/store/xs.c:1394:14: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def938]
xen-4.20.2/tools/libs/store/xs.c:302:9: warning[-Wanalyzer-malloc-leak]: leak of ‘h’
xen-4.20.2/tools/libs/store/xs.c:1386:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.20.2/tools/libs/store/xs.c:1394:14: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def939]
xen-4.20.2/tools/libs/store/xs.c:304:13: warning[-Wanalyzer-null-argument]: use of NULL ‘connect_to’ where non-null expected
xen-4.20.2/tools/libs/store/xs.c:1386:5: enter_function: entry to ‘xs_suspend_evtchn_port’
xen-4.20.2/tools/libs/store/xs.c:1394:14: call_function: inlined call to ‘xs_daemon_open’ from ‘xs_suspend_evtchn_port’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def940]
xen-4.20.2/tools/libs/store/xs.c:682:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.iov_len’
xen-4.20.2/tools/libs/store/xs.c:941:6: enter_function: entry to ‘xs_set_permissions’
xen-4.20.2/tools/libs/store/xs.c:956:21: branch_false: following ‘false’ branch (when ‘i >= num_perms’)...
xen-4.20.2/tools/libs/store/xs.c:968:39: branch_false: ...to here
xen-4.20.2/tools/libs/store/xs.c:968:22: call_function: calling ‘xs_talkv’ from ‘xs_set_permissions’
Error: CPPCHECK_WARNING (CWE-401): [#def941]
xen-4.20.2/tools/libs/store/xs.c:825: error[memleakOnRealloc]: Common realloc mistake: 'strings' nulled but not freed upon failure
Error: GCC_ANALYZER_WARNING (CWE-401): [#def942]
xen-4.20.2/tools/libs/store/xs.c:1488:32: warning[-Wanalyzer-malloc-leak]: leak of ‘msg’
xen-4.20.2/tools/libs/store/xs.c:1163:8: enter_function: entry to ‘xs_read_watch’
xen-4.20.2/tools/libs/store/xs.c:1165:16: call_function: calling ‘read_watch_internal’ from ‘xs_read_watch’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def943]
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:81:14: acquire_resource: opened here
xen-4.20.2/tools/libs/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:85:8: branch_false: following ‘false’ branch (when ‘r >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def944]
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.20.2/tools/libs/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:84:9: acquire_resource: opened here
xen-4.20.2/tools/libs/toolcore/handlereg.c:85:8: branch_false: following ‘false’ branch (when ‘r >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: throw: if ‘close’ throws an exception...
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: danger: ‘r’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def945]
xen-4.20.2/tools/libs/toolcore/handlereg.c:91:22: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/libs/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:81:14: acquire_resource: opened here
xen-4.20.2/tools/libs/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:85:8: branch_true: following ‘true’ branch (when ‘r < 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:85:5: branch_true: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:91:22: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def946]
xen-4.20.2/tools/libs/toolcore/handlereg.c:93:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘r’
xen-4.20.2/tools/libs/toolcore/handlereg.c:77:8: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:81:14: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:82:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/toolcore/handlereg.c:84:9: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:84:9: acquire_resource: opened here
xen-4.20.2/tools/libs/toolcore/handlereg.c:85:8: branch_false: following ‘false’ branch (when ‘r >= 0’)...
xen-4.20.2/tools/libs/toolcore/handlereg.c:87:5: branch_false: ...to here
xen-4.20.2/tools/libs/toolcore/handlereg.c:93:1: danger: ‘r’ leaks here; was opened at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def947]
xen-4.20.2/tools/libs/toollog/xtl_core.c:49:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/toollog/xtl_core.c:53:6: enter_function: entry to ‘xtl_log’
xen-4.20.2/tools/libs/toollog/xtl_core.c:60:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/libs/toollog/xtl_core.c:61:5: call_function: calling ‘xtl_logv’ from ‘xtl_log’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def948]
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:77:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:88:13: enter_function: entry to ‘stdiostream_message’
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:94:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:95:5: call_function: inlined call to ‘stdiostream_vmessage’ from ‘stdiostream_message’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def949]
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:85:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:88:13: enter_function: entry to ‘stdiostream_message’
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:94:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/libs/toollog/xtl_logger_stdio.c:95:5: call_function: inlined call to ‘stdiostream_vmessage’ from ‘stdiostream_message’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def950]
xen-4.20.2/tools/libs/util/libxlu_cfg.c:672:21: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
xen-4.20.2/tools/libs/util/libxlu_cfg.c:598:7: enter_function: entry to ‘xlu__cfgl_dequote’
xen-4.20.2/tools/libs/util/libxlu_cfg.c:604:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:606:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:607:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:609:13: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:610:8: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:614:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:615:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:617:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:618:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:619:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:619:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:620:18: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:654:17: call_function: calling ‘xlu__cfgl_lexicalerror’ from ‘xlu__cfgl_dequote’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def951]
xen-4.20.2/tools/libs/util/libxlu_cfg.c:684:11: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
xen-4.20.2/tools/libs/util/libxlu_cfg.c:598:7: enter_function: entry to ‘xlu__cfgl_dequote’
xen-4.20.2/tools/libs/util/libxlu_cfg.c:604:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:606:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:607:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:609:13: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:610:8: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:614:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:615:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:617:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:618:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:619:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:619:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:620:18: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:654:17: call_function: calling ‘xlu__cfgl_lexicalerror’ from ‘xlu__cfgl_dequote’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def952]
xen-4.20.2/tools/libs/util/libxlu_cfg.c:685:10: warning[-Wanalyzer-malloc-leak]: leak of ‘q’
xen-4.20.2/tools/libs/util/libxlu_cfg.c:598:7: enter_function: entry to ‘xlu__cfgl_dequote’
xen-4.20.2/tools/libs/util/libxlu_cfg.c:604:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:606:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:607:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:609:13: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:610:8: branch_false: following ‘false’ branch (when ‘result’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:614:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:615:10: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:617:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:618:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:619:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:619:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg.c:620:18: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg.c:654:17: call_function: calling ‘xlu__cfgl_lexicalerror’ from ‘xlu__cfgl_dequote’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def953]
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1720:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1707:21: enter_function: entry to ‘xlu__cfg_yy_create_buffer’
xen-4.20.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.20.2/tools/libs/util/libxlu_cfg_l.c:1712:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1715:9: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1720:54: 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): [#def954]
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1720:54: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__cfg_yyalloc(64, yyscanner)’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1707:21: enter_function: entry to ‘xlu__cfg_yy_create_buffer’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1711:31: call_function: calling ‘xlu__cfg_yyalloc’ from ‘xlu__cfg_yy_create_buffer’
xen-4.20.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.20.2/tools/libs/util/libxlu_cfg_l.c:1712:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1715:9: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1720:54: 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): [#def955]
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1763:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1354:12: enter_function: entry to ‘yy_get_next_buffer’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1362:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1366:14: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1366:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1388:33: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1452:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1454:40: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1454:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1457:25: branch_true: ...to here
xen-4.20.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): [#def956]
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1981:33: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1965:17: enter_function: entry to ‘xlu__cfg_yy_scan_bytes’
xen-4.20.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.20.2/tools/libs/util/libxlu_cfg_l.c:1975:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1975:12: branch_false: ...to here
xen-4.20.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): [#def957]
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1981:33: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__cfg_yyalloc(n, yyscanner)’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1965:17: enter_function: entry to ‘xlu__cfg_yy_scan_bytes’
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1974:24: call_function: calling ‘xlu__cfg_yyalloc’ from ‘xlu__cfg_yy_scan_bytes’
xen-4.20.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.20.2/tools/libs/util/libxlu_cfg_l.c:1975:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_l.c:1975:12: branch_false: ...to here
xen-4.20.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): [#def958]
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1275:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1231:6: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1237:43: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1263:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1265:7: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1273:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1273:12: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1275:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def959]
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1394:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.string’
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1231:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1298:6: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1298:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1301:3: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1313:6: branch_true: following ‘true’ branch (when ‘yyn == -18’)...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1314:5: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1374:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1376:3: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_cfg_y.c:1394:3: danger: use of uninitialized value ‘*<unknown>.string’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def960]
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2388:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2375:21: enter_function: entry to ‘xlu__disk_yy_create_buffer’
xen-4.20.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.20.2/tools/libs/util/libxlu_disk_l.c:2380:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2383:2: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2388:54: 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): [#def961]
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2388:54: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__disk_yyalloc(64, yyscanner)’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2375:21: enter_function: entry to ‘xlu__disk_yy_create_buffer’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2379:24: call_function: calling ‘xlu__disk_yyalloc’ from ‘xlu__disk_yy_create_buffer’
xen-4.20.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.20.2/tools/libs/util/libxlu_disk_l.c:2380:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2383:2: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2388:54: 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): [#def962]
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2431:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2310:10: enter_function: entry to ‘xlu__disk_yyrestart’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2315:16: call_function: calling ‘xlu__disk_yyensure_buffer_stack’ from ‘xlu__disk_yyrestart’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2315:16: return_function: returning to ‘xlu__disk_yyrestart’ from ‘xlu__disk_yyensure_buffer_stack’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2317:27: call_function: calling ‘xlu__disk_yy_create_buffer’ from ‘xlu__disk_yyrestart’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2317:27: return_function: returning to ‘xlu__disk_yyrestart’ from ‘xlu__disk_yy_create_buffer’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2320:2: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2320:2: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2320:2: call_function: calling ‘xlu__disk_yy_init_buffer’ from ‘xlu__disk_yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def963]
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2649:26: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(n)’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2633:17: enter_function: entry to ‘xlu__disk_yy_scan_bytes’
xen-4.20.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.20.2/tools/libs/util/libxlu_disk_l.c:2643:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2643:12: branch_false: ...to here
xen-4.20.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): [#def964]
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2649:26: warning[-Wanalyzer-malloc-leak]: leak of ‘xlu__disk_yyalloc(n, yyscanner)’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2633:17: enter_function: entry to ‘xlu__disk_yy_scan_bytes’
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2642:24: call_function: calling ‘xlu__disk_yyalloc’ from ‘xlu__disk_yy_scan_bytes’
xen-4.20.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.20.2/tools/libs/util/libxlu_disk_l.c:2643:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_disk_l.c:2643:12: branch_false: ...to here
xen-4.20.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): [#def965]
xen-4.20.2/tools/libs/util/libxlu_pci.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘key’
xen-4.20.2/tools/libs/util/libxlu_pci.c:142:5: enter_function: entry to ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:151:11: call_function: calling ‘parse_bdf’ from ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:151:11: return_function: returning to ‘xlu_pci_parse_spec_string’ from ‘parse_bdf’
xen-4.20.2/tools/libs/util/libxlu_pci.c:152:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:156:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:156:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:162:13: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:169:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:172:15: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:172:15: call_function: calling ‘parse_key_val’ from ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:172:15: return_function: returning to ‘xlu_pci_parse_spec_string’ from ‘parse_key_val’
xen-4.20.2/tools/libs/util/libxlu_pci.c:173:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:176:14: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:176:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:179:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:179:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:181:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:181:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:183:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:183:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:185:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:185:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:187:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:187:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:189:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:189:19: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:190:19: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:190:19: call_function: calling ‘parse_rdm_policy’ from ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:211:1: danger: ‘key’ leaks here; was allocated at [(23)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def966]
xen-4.20.2/tools/libs/util/libxlu_pci.c:211:1: warning[-Wanalyzer-malloc-leak]: leak of ‘val’
xen-4.20.2/tools/libs/util/libxlu_pci.c:142:5: enter_function: entry to ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:151:11: call_function: calling ‘parse_bdf’ from ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:151:11: return_function: returning to ‘xlu_pci_parse_spec_string’ from ‘parse_bdf’
xen-4.20.2/tools/libs/util/libxlu_pci.c:152:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:156:13: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:156:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:162:13: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:169:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:172:15: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:172:15: call_function: calling ‘parse_key_val’ from ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:172:15: return_function: returning to ‘xlu_pci_parse_spec_string’ from ‘parse_key_val’
xen-4.20.2/tools/libs/util/libxlu_pci.c:173:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:176:14: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:176:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:179:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:179:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:181:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:181:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:183:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:183:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:185:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:185:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:187:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:187:19: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:189:21: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:189:19: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:190:19: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:190:19: call_function: calling ‘parse_rdm_policy’ from ‘xlu_pci_parse_spec_string’
xen-4.20.2/tools/libs/util/libxlu_pci.c:211:1: danger: ‘val’ leaks here; was allocated at [(25)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def967]
xen-4.20.2/tools/libs/util/libxlu_pci.c:226:61: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
xen-4.20.2/tools/libs/util/libxlu_pci.c:213:5: enter_function: entry to ‘xlu_rdm_parse’
xen-4.20.2/tools/libs/util/libxlu_pci.c:223:31: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_pci.c:223:8: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:226:33: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:226:50: branch_true: following ‘true’ branch (when ‘ptr < end’)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:227:9: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:229:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:230:17: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:233:27: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:239:17: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:226:50: branch_true: following ‘true’ branch (when ‘ptr < end’)...
xen-4.20.2/tools/libs/util/libxlu_pci.c:227:9: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:256:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/util/libxlu_pci.c:257:25: branch_true: ...to here
xen-4.20.2/tools/libs/util/libxlu_pci.c:259:22: call_function: calling ‘parse_rdm_policy’ from ‘xlu_rdm_parse’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def968]
xen-4.20.2/tools/libs/util/libxlu_vif.c:22:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tmprate’
xen-4.20.2/tools/libs/util/libxlu_vif.c:94:5: enter_function: entry to ‘xlu_vif_parse_rate’
xen-4.20.2/tools/libs/util/libxlu_vif.c:102:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_vif.c:103:8: branch_false: following ‘false’ branch (when ‘tmprate’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_vif.c:108:9: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:109:8: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/libs/util/libxlu_vif.c:112:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:112:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_vif.c:118:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:118:10: call_function: calling ‘vif_parse_rate_bytes_per_sec’ from ‘xlu_vif_parse_rate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def969]
xen-4.20.2/tools/libs/util/libxlu_vif.c:23:9: warning[-Wanalyzer-malloc-leak]: leak of ‘tmprate’
xen-4.20.2/tools/libs/util/libxlu_vif.c:94:5: enter_function: entry to ‘xlu_vif_parse_rate’
xen-4.20.2/tools/libs/util/libxlu_vif.c:102:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_vif.c:103:8: branch_false: following ‘false’ branch (when ‘tmprate’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_vif.c:108:9: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:109:8: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/libs/util/libxlu_vif.c:112:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:112:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_vif.c:118:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:118:10: call_function: calling ‘vif_parse_rate_bytes_per_sec’ from ‘xlu_vif_parse_rate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def970]
xen-4.20.2/tools/libs/util/libxlu_vif.c:49:5: warning[-Wanalyzer-malloc-leak]: leak of ‘tmprate’
xen-4.20.2/tools/libs/util/libxlu_vif.c:94:5: enter_function: entry to ‘xlu_vif_parse_rate’
xen-4.20.2/tools/libs/util/libxlu_vif.c:102:15: acquire_memory: allocated here
xen-4.20.2/tools/libs/util/libxlu_vif.c:103:8: branch_false: following ‘false’ branch (when ‘tmprate’ is non-NULL)...
xen-4.20.2/tools/libs/util/libxlu_vif.c:108:9: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:109:8: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/libs/util/libxlu_vif.c:112:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:112:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/util/libxlu_vif.c:118:10: branch_false: ...to here
xen-4.20.2/tools/libs/util/libxlu_vif.c:118:10: call_function: calling ‘vif_parse_rate_bytes_per_sec’ from ‘xlu_vif_parse_rate’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def971]
xen-4.20.2/tools/libs/vchan/init.c:80:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:371:20: call_function: calling ‘init_gnt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def972]
xen-4.20.2/tools/libs/vchan/init.c:106:37: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:371:20: call_function: calling ‘init_gnt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def973]
xen-4.20.2/tools/libs/vchan/init.c:120:38: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:371:20: call_function: calling ‘init_gnt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def974]
xen-4.20.2/tools/libs/vchan/init.c:132:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:371:20: call_function: calling ‘init_gnt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def975]
xen-4.20.2/tools/libs/vchan/init.c:144:22: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def976]
xen-4.20.2/tools/libs/vchan/init.c:174:46: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def977]
xen-4.20.2/tools/libs/vchan/init.c:192:45: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def978]
xen-4.20.2/tools/libs/vchan/init.c:204:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def979]
xen-4.20.2/tools/libs/vchan/init.c:207:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def980]
xen-4.20.2/tools/libs/vchan/init.c:219:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def981]
xen-4.20.2/tools/libs/vchan/init.c:223:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def982]
xen-4.20.2/tools/libs/vchan/init.c:228:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def983]
xen-4.20.2/tools/libs/vchan/init.c:235:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def984]
xen-4.20.2/tools/libs/vchan/init.c:237:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def985]
xen-4.20.2/tools/libs/vchan/init.c:258:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def986]
xen-4.20.2/tools/libs/vchan/init.c:258:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def987]
xen-4.20.2/tools/libs/vchan/init.c:261:21: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def988]
xen-4.20.2/tools/libs/vchan/init.c:261:21: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def989]
xen-4.20.2/tools/libs/vchan/init.c:274:20: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def990]
xen-4.20.2/tools/libs/vchan/init.c:274:20: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def991]
xen-4.20.2/tools/libs/vchan/init.c:280:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def992]
xen-4.20.2/tools/libs/vchan/init.c:280:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def993]
xen-4.20.2/tools/libs/vchan/init.c:282:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def994]
xen-4.20.2/tools/libs/vchan/init.c:282:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def995]
xen-4.20.2/tools/libs/vchan/init.c:287:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def996]
xen-4.20.2/tools/libs/vchan/init.c:287:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def997]
xen-4.20.2/tools/libs/vchan/init.c:289:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def998]
xen-4.20.2/tools/libs/vchan/init.c:289:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def999]
xen-4.20.2/tools/libs/vchan/init.c:292:14: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1000]
xen-4.20.2/tools/libs/vchan/init.c:292:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:329:21: enter_function: entry to ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:369:13: call_function: calling ‘init_evt_srv’ from ‘libxenvchan_server_init’
xen-4.20.2/tools/libs/vchan/init.c:369:13: return_function: returning to ‘libxenvchan_server_init’ from ‘init_evt_srv’
xen-4.20.2/tools/libs/vchan/init.c:369:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:371:20: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:372:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:374:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:374:13: call_function: calling ‘init_xs_srv’ from ‘libxenvchan_server_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1001]
xen-4.20.2/tools/libs/vchan/init.c:363:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:363:24: throw: if ‘xengntshr_open’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:363:24: danger: ‘ctrl’ leaks here; was allocated at [(3)](sarif:/runs/0/results/30/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1002]
xen-4.20.2/tools/libs/vchan/init.c:378:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:335:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:338:16: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:338:16: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:339:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:342:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:364:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:369:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:378:9: throw: if ‘libxenvchan_close’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:378:9: danger: ‘ctrl’ leaks here; was allocated at [(3)](sarif:/runs/0/results/31/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1003]
xen-4.20.2/tools/libs/vchan/init.c:387:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1004]
xen-4.20.2/tools/libs/vchan/init.c:391:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1005]
xen-4.20.2/tools/libs/vchan/init.c:397:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1006]
xen-4.20.2/tools/libs/vchan/init.c:404:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1007]
xen-4.20.2/tools/libs/vchan/init.c:406:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1008]
xen-4.20.2/tools/libs/vchan/init.c:431:14: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:431:14: throw: if ‘xs_open’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:431:14: danger: ‘ctrl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/37/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1009]
xen-4.20.2/tools/libs/vchan/init.c:437:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:437:15: throw: if ‘xs_read’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:437:15: danger: ‘ctrl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/38/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1010]
xen-4.20.2/tools/libs/vchan/init.c:445:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:445:15: throw: if ‘xs_read’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:445:15: danger: ‘ctrl’ leaks here; was allocated at [(2)](sarif:/runs/0/results/39/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1011]
xen-4.20.2/tools/libs/vchan/init.c:453:24: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:453:24: throw: if ‘xengnttab_open’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:453:24: danger: ‘ctrl’ leaks here; was allocated at [(2)](sarif:/runs/0/results/40/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1012]
xen-4.20.2/tools/libs/vchan/init.c:469:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:462:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_gnt_cli’
xen-4.20.2/tools/libs/vchan/init.c:462:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:465:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:469:9: throw: if ‘xenevtchn_notify’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:469:9: danger: ‘ctrl’ leaks here; was allocated at [(2)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1013]
xen-4.20.2/tools/libs/vchan/init.c:473:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:413:21: enter_function: entry to ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:432:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:436:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:440:20: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:442:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:444:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:446:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:448:28: call_function: inlined call to ‘atoi’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:450:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:453:24: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:458:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:458:13: call_function: calling ‘init_evt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:458:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_evt_cli’
xen-4.20.2/tools/libs/vchan/init.c:458:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:462:13: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:462:13: call_function: calling ‘init_gnt_cli’ from ‘libxenvchan_client_init’
xen-4.20.2/tools/libs/vchan/init.c:462:13: return_function: returning to ‘libxenvchan_client_init’ from ‘init_gnt_cli’
xen-4.20.2/tools/libs/vchan/init.c:462:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/libs/vchan/init.c:465:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:472:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/libs/vchan/init.c:473:17: branch_true: ...to here
xen-4.20.2/tools/libs/vchan/init.c:473:17: throw: if ‘xs_close’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:473:17: danger: ‘ctrl’ leaks here; was allocated at [(2)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1014]
xen-4.20.2/tools/libs/vchan/init.c:476:9: warning[-Wanalyzer-malloc-leak]: leak of ‘ctrl’
xen-4.20.2/tools/libs/vchan/init.c:416:36: acquire_memory: allocated here
xen-4.20.2/tools/libs/vchan/init.c:423:12: branch_false: following ‘false’ branch (when ‘ctrl’ is non-NULL)...
xen-4.20.2/tools/libs/vchan/init.c:425:9: branch_false: ...to here
xen-4.20.2/tools/libs/vchan/init.c:476:9: throw: if ‘libxenvchan_close’ throws an exception...
xen-4.20.2/tools/libs/vchan/init.c:476:9: danger: ‘ctrl’ leaks here; was allocated at [(1)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1015]
xen-4.20.2/tools/misc/xen-access.c:209:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xenaccess’
xen-4.20.2/tools/misc/xen-access.c:198:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-access.c:201:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-access.c:205:17: acquire_memory: this call could return NULL
xen-4.20.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: GCC_ANALYZER_WARNING (CWE-401): [#def1016]
xen-4.20.2/tools/misc/xen-access.c:216:13: warning[-Wanalyzer-malloc-leak]: leak of ‘xenaccess’
xen-4.20.2/tools/misc/xen-access.c:198:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-access.c:201:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-access.c:205:17: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-access.c:216:13: throw: if ‘xc_monitor_enable’ throws an exception...
xen-4.20.2/tools/misc/xen-access.c:216:13: danger: ‘xenaccess’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1017]
xen-4.20.2/tools/misc/xen-cpuid.c:314:13: warning[-Wanalyzer-malloc-leak]: leak of ‘leaves’
xen-4.20.2/tools/misc/xen-cpuid.c:240:16: branch_false: following ‘false’ branch (when ‘tmp_optarg’ is NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:420:1: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_true: following ‘true’ branch (when ‘domid == -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:306:13: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:309:18: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_true: following ‘true’ branch (when ‘msrs’ is NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:314:13: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:314:13: throw: if ‘err’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:314:13: danger: ‘leaves’ leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1018]
xen-4.20.2/tools/misc/xen-cpuid.c:322:18: warning[-Wanalyzer-malloc-leak]: leak of ‘leaves’
xen-4.20.2/tools/misc/xen-cpuid.c:213:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:216:9: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:246:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:309:18: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_true: following ‘true’ branch (when ‘domid != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:319:22: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:322:18: throw: if ‘xc_cpu_policy_get_domain’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:322:18: danger: ‘leaves’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1019]
xen-4.20.2/tools/misc/xen-cpuid.c:322:18: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs’
xen-4.20.2/tools/misc/xen-cpuid.c:213:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:216:9: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:246:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_true: following ‘true’ branch (when ‘domid != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:319:22: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:322:18: throw: if ‘xc_cpu_policy_get_domain’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:322:18: danger: ‘msrs’ leaks here; was allocated at [(17)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1020]
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: warning[-Wanalyzer-malloc-leak]: leak of ‘leaves’
xen-4.20.2/tools/misc/xen-cpuid.c:213:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:216:9: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:246:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:309:18: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_true: following ‘true’ branch (when ‘domid != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:319:22: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:322:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: throw: if ‘err’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: danger: ‘leaves’ leaks here; was allocated at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1021]
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs’
xen-4.20.2/tools/misc/xen-cpuid.c:213:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:216:9: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:246:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_true: following ‘true’ branch (when ‘domid != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:319:22: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:322:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: throw: if ‘err’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:323:17: danger: ‘msrs’ leaks here; was allocated at [(17)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1022]
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: warning[-Wanalyzer-malloc-leak]: leak of ‘leaves’
xen-4.20.2/tools/misc/xen-cpuid.c:213:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:216:9: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:246:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:309:18: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_true: following ‘true’ branch (when ‘domid != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:319:22: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:322:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: throw: if ‘xc_cpu_policy_serialise’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: danger: ‘leaves’ leaks here; was allocated at [(15)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1023]
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs’
xen-4.20.2/tools/misc/xen-cpuid.c:213:12: branch_false: following ‘false’ branch (when ‘c != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:216:9: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:246:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:258:8: branch_false: following ‘false’ branch (when ‘mode != 0’)...
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:281:8: branch_true: following ‘true’ branch (when ‘mode == 4’)...
xen-4.20.2/tools/misc/xen-cpuid.c:295:29: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:298:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:300:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:303:14: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:303:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:305:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:310:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:312:16: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-cpuid.c:313:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:316:12: branch_true: following ‘true’ branch (when ‘domid != -1’)...
xen-4.20.2/tools/misc/xen-cpuid.c:319:22: branch_true: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:322:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: throw: if ‘xc_cpu_policy_serialise’ throws an exception...
xen-4.20.2/tools/misc/xen-cpuid.c:324:18: danger: ‘msrs’ leaks here; was allocated at [(17)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1024]
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/misc/xen-livepatch.c:82:8: branch_false: following ‘false’ branch (when ‘argc == 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:87:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:90:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:99:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:105:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:105:12: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:106:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:109:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:110:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:113:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:114:8: branch_false: following ‘false’ branch (when ‘len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:117:23: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:118:8: branch_false: following ‘false’ branch (when ‘metadata’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:121:20: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:122:8: branch_false: following ‘false’ branch (when ‘metadata_len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:125:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: throw: if ‘xc_livepatch_list’ throws an exception...
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: danger: ‘info’ leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1025]
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: warning[-Wanalyzer-malloc-leak]: leak of ‘len’
xen-4.20.2/tools/misc/xen-livepatch.c:82:8: branch_false: following ‘false’ branch (when ‘argc == 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:87:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:90:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:99:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:105:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:106:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:109:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:110:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:113:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:113:11: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:114:8: branch_false: following ‘false’ branch (when ‘len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:117:23: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:118:8: branch_false: following ‘false’ branch (when ‘metadata’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:121:20: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:122:8: branch_false: following ‘false’ branch (when ‘metadata_len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:125:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: throw: if ‘xc_livepatch_list’ throws an exception...
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: danger: ‘len’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1026]
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: warning[-Wanalyzer-malloc-leak]: leak of ‘metadata_len’
xen-4.20.2/tools/misc/xen-livepatch.c:82:8: branch_false: following ‘false’ branch (when ‘argc == 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:87:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:90:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:99:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:105:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:106:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:109:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:110:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:113:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:114:8: branch_false: following ‘false’ branch (when ‘len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:117:23: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:118:8: branch_false: following ‘false’ branch (when ‘metadata’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:121:20: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:121:20: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:122:8: branch_false: following ‘false’ branch (when ‘metadata_len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:125:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: throw: if ‘xc_livepatch_list’ throws an exception...
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: danger: ‘metadata_len’ leaks here; was allocated at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1027]
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: warning[-Wanalyzer-malloc-leak]: leak of ‘metadata’
xen-4.20.2/tools/misc/xen-livepatch.c:82:8: branch_false: following ‘false’ branch (when ‘argc == 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:87:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:90:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:99:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:105:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:106:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:109:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:110:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:113:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:114:8: branch_false: following ‘false’ branch (when ‘len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:117:23: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:117:16: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:118:8: branch_false: following ‘false’ branch (when ‘metadata’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:121:20: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:122:8: branch_false: following ‘false’ branch (when ‘metadata_len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:125:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: throw: if ‘xc_livepatch_list’ throws an exception...
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: danger: ‘metadata’ leaks here; was allocated at [(13)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1028]
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
xen-4.20.2/tools/misc/xen-livepatch.c:82:8: branch_false: following ‘false’ branch (when ‘argc == 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:87:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:90:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:99:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:105:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:106:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:109:12: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:109:12: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:110:8: branch_false: following ‘false’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:113:18: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:114:8: branch_false: following ‘false’ branch (when ‘len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:117:23: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:118:8: branch_false: following ‘false’ branch (when ‘metadata’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:121:20: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:122:8: branch_false: following ‘false’ branch (when ‘metadata_len’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:125:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: throw: if ‘xc_livepatch_list’ throws an exception...
xen-4.20.2/tools/misc/xen-livepatch.c:132:10: danger: ‘name’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1029]
xen-4.20.2/tools/misc/xen-livepatch.c:216:10: warning[-Wanalyzer-malloc-leak]: leak of ‘apply_argv’
xen-4.20.2/tools/misc/xen-livepatch.c:501:12: enter_function: entry to ‘load_func’
xen-4.20.2/tools/misc/xen-livepatch.c:507:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:515:8: branch_false: following ‘false’ branch (when ‘apply_argv’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:519:22: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:526:8: branch_true: following ‘true’ branch (when ‘lastdot’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:527:9: branch_true: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:535:10: call_function: calling ‘upload_func’ from ‘load_func’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1030]
xen-4.20.2/tools/misc/xen-livepatch.c:228:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(filename, 0)’
xen-4.20.2/tools/misc/xen-livepatch.c:197:12: enter_function: entry to ‘upload_func’
xen-4.20.2/tools/misc/xen-livepatch.c:206:8: branch_false: following ‘false’ branch (when ‘argc == 2’)...
xen-4.20.2/tools/misc/xen-livepatch.c:212:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:212:10: call_function: calling ‘get_name’ from ‘upload_func’
xen-4.20.2/tools/misc/xen-livepatch.c:212:10: return_function: returning to ‘upload_func’ from ‘get_name’
xen-4.20.2/tools/misc/xen-livepatch.c:212:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:215:5: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:216:10: acquire_resource: opened here
xen-4.20.2/tools/misc/xen-livepatch.c:217:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:225:10: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:225:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xen-livepatch.c:227:27: branch_true: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:228:9: danger: ‘open(filename, 0)’ leaks here; was opened at [(10)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1031]
xen-4.20.2/tools/misc/xen-livepatch.c:231:9: warning[-Wanalyzer-malloc-leak]: leak of ‘apply_argv’
xen-4.20.2/tools/misc/xen-livepatch.c:501:12: enter_function: entry to ‘load_func’
xen-4.20.2/tools/misc/xen-livepatch.c:507:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:515:8: branch_false: following ‘false’ branch (when ‘apply_argv’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:519:22: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:526:8: branch_true: following ‘true’ branch (when ‘lastdot’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:527:9: branch_true: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:535:10: call_function: calling ‘upload_func’ from ‘load_func’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1032]
xen-4.20.2/tools/misc/xen-livepatch.c:243:9: warning[-Wanalyzer-malloc-leak]: leak of ‘apply_argv’
xen-4.20.2/tools/misc/xen-livepatch.c:501:12: enter_function: entry to ‘load_func’
xen-4.20.2/tools/misc/xen-livepatch.c:507:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:515:8: branch_false: following ‘false’ branch (when ‘apply_argv’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:519:22: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:526:8: branch_true: following ‘true’ branch (when ‘lastdot’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:527:9: branch_true: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:535:10: call_function: calling ‘upload_func’ from ‘load_func’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1033]
xen-4.20.2/tools/misc/xen-livepatch.c:247:10: warning[-Wanalyzer-malloc-leak]: leak of ‘apply_argv’
xen-4.20.2/tools/misc/xen-livepatch.c:501:12: enter_function: entry to ‘load_func’
xen-4.20.2/tools/misc/xen-livepatch.c:507:8: branch_false: following ‘false’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:514:28: acquire_memory: allocated here
xen-4.20.2/tools/misc/xen-livepatch.c:515:8: branch_false: following ‘false’ branch (when ‘apply_argv’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:519:22: branch_false: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:526:8: branch_true: following ‘true’ branch (when ‘lastdot’ is non-NULL)...
xen-4.20.2/tools/misc/xen-livepatch.c:527:9: branch_true: ...to here
xen-4.20.2/tools/misc/xen-livepatch.c:535:10: call_function: calling ‘upload_func’ from ‘load_func’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1034]
xen-4.20.2/tools/misc/xencov.c:77:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.20.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.20.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:71:13: acquire_resource: opened here
xen-4.20.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:76:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xencov.c:77:9: branch_true: ...to here
xen-4.20.2/tools/misc/xencov.c:77:9: throw: if ‘err’ throws an exception...
xen-4.20.2/tools/misc/xencov.c:77:9: 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): [#def1035]
xen-4.20.2/tools/misc/xencov.c:77:9: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.20.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.20.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:71:13: acquire_memory: allocated here
xen-4.20.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:76:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xencov.c:77:9: branch_true: ...to here
xen-4.20.2/tools/misc/xencov.c:77:9: throw: if ‘err’ throws an exception...
xen-4.20.2/tools/misc/xencov.c:77:9: danger: ‘f’ leaks here; was allocated at [(19)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1036]
xen-4.20.2/tools/misc/xencov.c:82:5: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.20.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.20.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:71:13: acquire_resource: opened here
xen-4.20.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:76:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:79:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:79:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:82:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:82:5: throw: if ‘xc__hypercall_buffer_free’ throws an exception...
xen-4.20.2/tools/misc/xencov.c:82:5: danger: ‘f’ leaks here; was opened at [(19)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1037]
xen-4.20.2/tools/misc/xencov.c:82:5: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.20.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.20.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:71:13: acquire_memory: allocated here
xen-4.20.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:76:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:79:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:79:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:82:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:82:5: throw: if ‘xc__hypercall_buffer_free’ throws an exception...
xen-4.20.2/tools/misc/xencov.c:82:5: danger: ‘f’ leaks here; was allocated at [(19)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1038]
xen-4.20.2/tools/misc/xencov.c:83:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
xen-4.20.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.20.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:71:13: acquire_resource: opened here
xen-4.20.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:76:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:79:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:79:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:82:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:83:1: danger: ‘f’ leaks here; was opened at [(19)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1039]
xen-4.20.2/tools/misc/xencov.c:83:1: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
xen-4.20.2/tools/misc/xencov.c:44:13: enter_function: entry to ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: call_function: calling ‘cov_sysctl’ from ‘cov_read’
xen-4.20.2/tools/misc/xencov.c:51:9: return_function: returning to ‘cov_read’ from ‘cov_sysctl’
xen-4.20.2/tools/misc/xencov.c:51:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:53:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:56:8: branch_false: following ‘false’ branch (when ‘total_len <= 8388608’)...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:59:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:60:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:63:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:68:10: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:68:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/misc/xencov.c:71:13: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:71:13: acquire_memory: allocated here
xen-4.20.2/tools/misc/xencov.c:73:8: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
xen-4.20.2/tools/misc/xencov.c:76:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:76:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:79:9: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:79:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xencov.c:82:5: branch_false: ...to here
xen-4.20.2/tools/misc/xencov.c:83:1: danger: ‘f’ leaks here; was allocated at [(19)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1040]
xen-4.20.2/tools/misc/xenpm.c:150:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.triggers’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: return_function: returning to ‘show_cxstat_by_cpuid’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:247:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:255:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:255:5: call_function: calling ‘print_cxstat’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1041]
xen-4.20.2/tools/misc/xenpm.c:156:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.triggers’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: return_function: returning to ‘show_cxstat_by_cpuid’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:247:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:255:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:255:5: call_function: calling ‘print_cxstat’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1042]
xen-4.20.2/tools/misc/xenpm.c:160:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cxstatinfo.triggers’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: return_function: returning to ‘show_cxstat_by_cpuid’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:247:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:255:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:255:5: call_function: calling ‘print_cxstat’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1043]
xen-4.20.2/tools/misc/xenpm.c:172:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:474:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1044]
xen-4.20.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.cc’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:492:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:492:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:491:38: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1045]
xen-4.20.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.pc’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:492:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:492:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:491:38: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1046]
xen-4.20.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.residencies’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:492:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:492:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:491:38: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1047]
xen-4.20.2/tools/misc/xenpm.c:186:10: warning[-Wanalyzer-malloc-leak]: leak of ‘*cxstat.triggers’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:492:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:492:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:491:38: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1048]
xen-4.20.2/tools/misc/xenpm.c:189:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1049]
xen-4.20.2/tools/misc/xenpm.c:190:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1050]
xen-4.20.2/tools/misc/xenpm.c:191:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1051]
xen-4.20.2/tools/misc/xenpm.c:192:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1052]
xen-4.20.2/tools/misc/xenpm.c:200:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:474:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1053]
xen-4.20.2/tools/misc/xenpm.c:200:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cxstatinfo.cc’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1054]
xen-4.20.2/tools/misc/xenpm.c:200:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cxstatinfo.pc’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1055]
xen-4.20.2/tools/misc/xenpm.c:200:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cxstatinfo.residencies’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1056]
xen-4.20.2/tools/misc/xenpm.c:200:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cxstatinfo.triggers’
xen-4.20.2/tools/misc/xenpm.c:241:12: enter_function: entry to ‘show_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:246:11: call_function: calling ‘get_cxstat_by_cpuid’ from ‘show_cxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1057]
xen-4.20.2/tools/misc/xenpm.c:204:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1058]
xen-4.20.2/tools/misc/xenpm.c:205:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1059]
xen-4.20.2/tools/misc/xenpm.c:206:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1060]
xen-4.20.2/tools/misc/xenpm.c:207:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1061]
xen-4.20.2/tools/misc/xenpm.c:320:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:474:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:507:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:507:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1062]
xen-4.20.2/tools/misc/xenpm.c:336:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:474:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:507:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:507:19: call_function: calling ‘get_pxstat_by_cpuid’ from ‘signal_int_handler’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1063]
xen-4.20.2/tools/misc/xenpm.c:336:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pxstatinfo.pt’
xen-4.20.2/tools/misc/xenpm.c:372:12: enter_function: entry to ‘show_pxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:377:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘show_pxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1064]
xen-4.20.2/tools/misc/xenpm.c:336:15: warning[-Wanalyzer-malloc-leak]: leak of ‘pxstatinfo.trans_pt’
xen-4.20.2/tools/misc/xenpm.c:372:12: enter_function: entry to ‘show_pxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:377:11: call_function: calling ‘get_pxstat_by_cpuid’ from ‘show_pxstat_by_cpuid’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1065]
xen-4.20.2/tools/misc/xenpm.c:469:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘fprintf’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:470:26: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:469:9: danger: call to ‘fprintf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1066]
xen-4.20.2/tools/misc/xenpm.c:495:45: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:488:8: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:491:22: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:19: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:492:19: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:492:19: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:492:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:492:16: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:493:30: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:495:45: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:495:45: danger: dereference of NULL ‘*<unknown>.residencies + (long unsigned int)j * 8’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1067]
xen-4.20.2/tools/misc/xenpm.c:516:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:516:5: danger: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1068]
xen-4.20.2/tools/misc/xenpm.c:560:21: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/misc/xenpm.c:459:13: enter_function: entry to ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:474:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:488:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘signal_int_handler’
xen-4.20.2/tools/misc/xenpm.c:488:10: return_function: returning to ‘signal_int_handler’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_true: following ‘true’ branch (when ‘cx_cap != 0’)...
xen-4.20.2/tools/misc/xenpm.c:560:21: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:21: throw: if ‘xc_cputopoinfo’ throws an exception...
xen-4.20.2/tools/misc/xenpm.c:560:21: danger: ‘cputopo’ leaks here; was allocated at [(4)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1069]
xen-4.20.2/tools/misc/xenpm.c:651:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:651:20: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:651:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1070]
xen-4.20.2/tools/misc/xenpm.c:652:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:651:20: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:652:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1071]
xen-4.20.2/tools/misc/xenpm.c:653:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:651:20: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:653:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1072]
xen-4.20.2/tools/misc/xenpm.c:654:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:651:20: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:654:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1073]
xen-4.20.2/tools/misc/xenpm.c:655:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:651:20: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:655:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1074]
xen-4.20.2/tools/misc/xenpm.c:656:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:651:20: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:656:9: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1075]
xen-4.20.2/tools/misc/xenpm.c:658:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:658:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:658:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1076]
xen-4.20.2/tools/misc/xenpm.c:659:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:658:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:659:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1077]
xen-4.20.2/tools/misc/xenpm.c:660:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:658:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:660:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1078]
xen-4.20.2/tools/misc/xenpm.c:661:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:467:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:474:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:475:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:481:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:481:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:486:16: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:506:22: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:513:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:516:46: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:517:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:560:8: branch_false: following ‘false’ branch (when ‘cx_cap == 0’)...
xen-4.20.2/tools/misc/xenpm.c:649:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:649:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:658:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:661:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1079]
xen-4.20.2/tools/misc/xenpm.c:663:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘free’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:663:5: danger: call to ‘free’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-479): [#def1080]
xen-4.20.2/tools/misc/xenpm.c:665:5: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
xen-4.20.2/tools/misc/xenpm.c:668:6: enter_function: entry to ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:683:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:688:18: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:691:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:693:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:694:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:699:14: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:706:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:707:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:714:5: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:721:10: call_function: calling ‘get_cxstat_by_cpuid’ from ‘start_gather_func’
xen-4.20.2/tools/misc/xenpm.c:721:10: return_function: returning to ‘start_gather_func’ from ‘get_cxstat_by_cpuid’
xen-4.20.2/tools/misc/xenpm.c:728:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:735:9: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:665:5: danger: call to ‘exit’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1081]
xen-4.20.2/tools/misc/xenpm.c:956:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cpufreq_para.affected_cpus’
xen-4.20.2/tools/misc/xenpm.c:925:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:956:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:957:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:925:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:927:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:927:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:925:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:937:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:947:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:956:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:956:15: throw: if ‘xc_get_cpufreq_para’ throws an exception...
xen-4.20.2/tools/misc/xenpm.c:956:15: danger: ‘cpufreq_para.affected_cpus’ leaks here; was allocated at [(11)](sarif:/runs/0/results/42/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1082]
xen-4.20.2/tools/misc/xenpm.c:956:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cpufreq_para.scaling_available_frequencies’
xen-4.20.2/tools/misc/xenpm.c:925:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:956:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:957:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:925:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:927:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:925:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:937:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:937:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:947:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:956:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:956:15: throw: if ‘xc_get_cpufreq_para’ throws an exception...
xen-4.20.2/tools/misc/xenpm.c:956:15: danger: ‘cpufreq_para.scaling_available_frequencies’ leaks here; was allocated at [(15)](sarif:/runs/0/results/41/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1083]
xen-4.20.2/tools/misc/xenpm.c:956:15: warning[-Wanalyzer-malloc-leak]: leak of ‘cpufreq_para.scaling_available_governors’
xen-4.20.2/tools/misc/xenpm.c:925:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:956:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:957:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:925:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:927:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:925:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:937:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:935:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:945:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/misc/xenpm.c:947:22: branch_true: ...to here
xen-4.20.2/tools/misc/xenpm.c:947:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:945:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:956:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:956:15: throw: if ‘xc_get_cpufreq_para’ throws an exception...
xen-4.20.2/tools/misc/xenpm.c:956:15: danger: ‘cpufreq_para.scaling_available_governors’ leaks here; was allocated at [(19)](sarif:/runs/0/results/43/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1084]
xen-4.20.2/tools/misc/xenpm.c:1169:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/misc/xenpm.c:1153:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/misc/xenpm.c:1161:15: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:1161:15: acquire_memory: allocated here
xen-4.20.2/tools/misc/xenpm.c:1162:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/misc/xenpm.c:1169:10: branch_false: ...to here
xen-4.20.2/tools/misc/xenpm.c:1169:10: throw: if ‘xc_cputopoinfo’ throws an exception...
xen-4.20.2/tools/misc/xenpm.c:1169:10: danger: ‘cputopo’ leaks here; was allocated at [(3)](sarif:/runs/0/results/44/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1085]
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:759:15: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:760:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: throw: if ‘caml_enter_blocking_section’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: danger: ‘str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1086]
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:765:15: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:759:15: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:760:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:765:15: throw: if ‘xc_readconsolering’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:765:15: danger: ‘str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1087]
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:785:17: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:760:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:768:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:768:12: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:773:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:775:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:778:23: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:779:20: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:782:23: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:785:17: throw: if ‘caml_enter_blocking_section’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:785:17: danger: ‘ptr’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1088]
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:786:23: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:755:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:760:12: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:764:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:768:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:768:12: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:773:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:775:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:778:23: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:779:20: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:782:23: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:786:23: throw: if ‘xc_readconsolering’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:786:23: danger: ‘ptr’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1089]
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:907:9: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:894:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:894:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:900:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:903:23: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:903:16: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:904:12: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:907:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:907:9: throw: if ‘caml_enter_blocking_section’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:907:9: danger: ‘info’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1090]
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:908:13: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:894:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:894:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:900:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:903:23: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:903:16: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:904:12: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:907:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:908:13: throw: if ‘xc_getcpuinfo’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xc/xenctrl_stubs.c:908:13: danger: ‘info’ leaks here; was allocated at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1091]
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:145:9: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:134:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:134:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:141:16: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:142:12: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:145:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:145:9: throw: if ‘caml_enter_blocking_section’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:145:9: danger: ‘info’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1092]
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:146:18: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:134:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:134:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:141:16: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:142:12: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:145:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:146:18: throw: if ‘xc_domain_getinfolist’ throws an exception...
xen-4.20.2/tools/ocaml/libs/xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_stubs_v1.c:146:18: danger: ‘info’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1093]
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:31:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 524290, 0)’
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:35:19: enter_function: entry to ‘xen_sd_notify’
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:48:6: branch_false: following ‘false’ branch (when ‘message’ is non-NULL)...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:51:20: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:52:6: branch_false: following ‘false’ branch (when ‘message_length != 0’)...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:56:17: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:57:6: branch_false: following ‘false’ branch (when ‘socket_path’ is non-NULL)...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:61:7: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:61:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:64:17: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:66:6: branch_false: following ‘false’ branch (when ‘path_length <= 107’)...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:69:3: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:72:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:75:8: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:75:8: acquire_resource: socket created here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:76:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:79:7: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:79:6: branch_true: following ‘true’ branch...
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:80:13: branch_true: ...to here
xen-4.20.2/tools/ocaml/xenstored/../../../tools/include/xen-sd-notify.h:45:47: call_function: inlined call to ‘xen_sd_closep’ from ‘xen_sd_notify’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1094]
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:62:17: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:38:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:38:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:39:23: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:44:12: branch_false: following ‘false’ branch (when ‘c_msg’ is non-NULL)...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:44:12: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:57:20: branch_true: following ‘true’ branch (when ‘ss’ is non-NULL)...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:58:25: branch_true: ...to here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:62:17: throw: if ‘caml_enter_blocking_section’ throws an exception...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:62:17: danger: ‘s’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1095]
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:63:17: warning[-Wanalyzer-malloc-leak]: leak of ‘s’
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:38:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:38:9: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:39:23: acquire_memory: allocated here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:44:12: branch_false: following ‘false’ branch (when ‘c_msg’ is non-NULL)...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:44:12: branch_false: ...to here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:57:20: branch_true: following ‘true’ branch (when ‘ss’ is non-NULL)...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:58:25: branch_true: ...to here
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:63:17: throw: if ‘syslog’ throws an exception...
xen-4.20.2/tools/ocaml/xenstored/syslog_stubs.c:63:17: danger: ‘s’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1096]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:360:15: warning[-Wanalyzer-malloc-leak]: leak of ‘info’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:352:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:356:12: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:356:12: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:357:8: branch_false: following ‘false’ branch (when ‘info’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:360:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:360:15: throw: if ‘xc_domain_getinfolist’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:360:15: danger: ‘info’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1097]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:664:10: warning[-Wanalyzer-malloc-leak]: leak of ‘sdev_array’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:655:18: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:655:18: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:656:8: branch_false: following ‘false’ branch (when ‘sdev_array’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:659:12: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:664:10: throw: if ‘xc_get_device_group’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:664:10: danger: ‘sdev_array’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1098]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:695:13: warning[-Wanalyzer-malloc-leak]: leak of ‘group_str’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:649:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:655:18: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:656:8: branch_false: following ‘false’ branch (when ‘sdev_array’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:659:12: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:667:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:673:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:673:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:679:17: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:679:17: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:680:8: branch_false: following ‘false’ branch (when ‘group_str’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:680:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:686:18: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:695:13: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:695:13: throw: if ‘Py_BuildValue’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:695:13: danger: ‘group_str’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1099]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:822:11: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:817:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:819:18: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:819:18: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:817:10: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:822:11: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:822:11: throw: if ‘xc_readconsolering’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:822:11: danger: ‘str’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1100]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:841:15: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:817:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:819:18: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:817:10: branch_false: following ‘false’ branch (when ‘str’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:822:11: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:824:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:824:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:829:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:832:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:835:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:836:12: branch_false: following ‘false’ branch (when ‘ptr’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:839:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:841:15: throw: if ‘xc_readconsolering’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:841:15: danger: ‘ptr’ leaks here; was allocated at [(11)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1101]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:955:11: warning[-Wanalyzer-malloc-leak]: leak of ‘cpuinfo’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:948:7: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:951:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:951:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:952:8: branch_false: following ‘false’ branch (when ‘cpuinfo’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:955:11: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:955:11: throw: if ‘xc_getcpuinfo’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:955:11: danger: ‘cpuinfo’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1102]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:989:10: warning[-Wanalyzer-malloc-leak]: leak of ‘cputopo’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:982:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:985:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:985:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:986:8: branch_false: following ‘false’ branch (when ‘cputopo’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:989:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:989:10: throw: if ‘xc_cputopoinfo’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:989:10: danger: ‘cputopo’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1103]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: warning[-Wanalyzer-malloc-leak]: leak of ‘distance’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1058:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1061:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1062:16: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1063:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: throw: if ‘xc_numainfo’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: danger: ‘distance’ leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1104]
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: warning[-Wanalyzer-malloc-leak]: leak of ‘meminfo’
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1058:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1061:15: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1061:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1063:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: throw: if ‘xc_numainfo’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xc/xc.c:1066:10: danger: ‘meminfo’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1105]
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: warning[-Wanalyzer-malloc-leak]: leak of ‘xsperms’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:326:18: enter_function: entry to ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:333:28: call_function: inlined call to ‘xshandle’ from ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:348:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:350:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:355:17: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:357:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:358:8: branch_false: following ‘false’ branch (when ‘xsperms’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: throw: if ‘PyTuple_New’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: danger: ‘xsperms’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1106]
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:370:23: warning[-Wanalyzer-malloc-leak]: leak of ‘xsperms’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:326:18: enter_function: entry to ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:333:28: call_function: inlined call to ‘xshandle’ from ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:348:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:350:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:355:17: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:357:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:358:8: branch_false: following ‘false’ branch (when ‘xsperms’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:367:17: branch_true: following ‘true’ branch (when ‘i < xsperms_n’)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:369:13: branch_true: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:370:23: throw: if ‘PyList_GetItem’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:370:23: danger: ‘xsperms’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1107]
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:371:14: warning[-Wanalyzer-malloc-leak]: leak of ‘xsperms’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:326:18: enter_function: entry to ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:333:28: call_function: inlined call to ‘xshandle’ from ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:348:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:350:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:355:17: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:357:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:358:8: branch_false: following ‘false’ branch (when ‘xsperms’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:367:17: branch_true: following ‘true’ branch (when ‘i < xsperms_n’)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:369:13: branch_true: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:371:14: throw: if ‘PyArg_ParseTupleAndKeywords’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:371:14: danger: ‘xsperms’ leaks here; was allocated at [(9)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1108]
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:390:5: warning[-Wanalyzer-malloc-leak]: leak of ‘xsperms’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:326:18: enter_function: entry to ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:333:28: call_function: inlined call to ‘xshandle’ from ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:348:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:350:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:355:17: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:357:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:358:8: branch_false: following ‘false’ branch (when ‘xsperms’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:367:17: branch_false: following ‘false’ branch (when ‘i >= xsperms_n’)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:384:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:384:8: branch_false: following ‘false’ branch (when ‘xsperms_n == 0’)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:390:5: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:390:5: throw: if ‘PyEval_SaveThread’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:390:5: danger: ‘xsperms’ leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1109]
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:391:14: warning[-Wanalyzer-malloc-leak]: leak of ‘xsperms’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:326:18: enter_function: entry to ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:333:28: call_function: inlined call to ‘xshandle’ from ‘xspy_set_permissions’
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:345:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:348:10: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:350:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:355:17: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:357:15: acquire_memory: allocated here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:358:8: branch_false: following ‘false’ branch (when ‘xsperms’ is non-NULL)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:363:14: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:364:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:367:17: branch_false: following ‘false’ branch (when ‘i >= xsperms_n’)...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:384:8: branch_false: ...to here
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:391:14: throw: if ‘xs_set_permissions’ throws an exception...
xen-4.20.2/tools/python/xen/lowlevel/xs/xs.c:391:14: danger: ‘xsperms’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1110]
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:214:14: warning[-Wanalyzer-malloc-leak]: leak of ‘leaves’
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:204:25: branch_true: following ‘true’ branch (when ‘i != 9’)...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:207:27: branch_true: ...to here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:208:36: acquire_memory: allocated here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:211:12: branch_false: following ‘false’ branch (when ‘leaves’ is non-NULL)...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:214:14: branch_false: ...to here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:214:14: throw: if ‘x86_cpuid_copy_to_buffer’ throws an exception...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:214:14: danger: ‘leaves’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1111]
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:267:14: warning[-Wanalyzer-malloc-leak]: leak of ‘msrs’
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:257:25: branch_true: following ‘true’ branch (when ‘i == 0’)...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:260:22: branch_true: ...to here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:261:33: acquire_memory: allocated here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:264:12: branch_false: following ‘false’ branch (when ‘msrs’ is non-NULL)...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:267:14: branch_false: ...to here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:267:14: throw: if ‘x86_msr_copy_to_buffer’ throws an exception...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:267:14: danger: ‘msrs’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1112]
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:552:9: warning[-Wanalyzer-malloc-leak]: leak of ‘n_’
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:545:25: branch_true: following ‘true’ branch (when ‘i != 8’)...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:548:32: branch_true: ...to here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:548:32: acquire_memory: allocated here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:548:32: branch_false: following ‘false’ branch (when ‘n_’ is non-NULL)...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:548:32: branch_false: ...to here
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:552:9: throw: if ‘x86_cpu_policy_clear_out_of_range_leaves’ throws an exception...
xen-4.20.2/tools/tests/cpu-policy/test-cpu-policy.c:552:9: danger: ‘n_’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1113]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:131:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_true: following ‘true’ branch (when ‘is_server != 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:437:22: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_true: following ‘true’ branch (when ‘is_server != 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:478:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:482:52: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:482:52: call_function: calling ‘connect_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1114]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:172:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_true: following ‘true’ branch (when ‘is_server != 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:437:22: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_true: following ‘true’ branch (when ‘is_server != 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:478:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:482:52: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:482:52: call_function: calling ‘connect_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1115]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:173:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_true: following ‘true’ branch (when ‘is_server != 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:437:22: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:438:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_true: following ‘true’ branch (when ‘is_server != 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:478:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:482:52: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:482:52: call_function: calling ‘connect_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1116]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:208:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: call_function: calling ‘listen_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1117]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:209:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: call_function: calling ‘listen_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1118]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:213:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: call_function: calling ‘listen_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1119]
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:214:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:391:5: enter_function: entry to ‘main’
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:447:25: call_function: calling ‘listen_socket’ from ‘main’
Error: GCC_ANALYZER_WARNING: [#def1120]
xen-4.20.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.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:444:13: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:496:17: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:496:16: branch_true: following ‘true’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:497:52: branch_true: ...to here
xen-4.20.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: [#def1121]
xen-4.20.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.20.2/tools/vchan/vchan-socket-proxy.c:429:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:432:22: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:436:8: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:13: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:443:12: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:444:13: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: following ‘false’ branch (when ‘state_path’ is NULL)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:455:8: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:473:12: branch_false: following ‘false’ branch (when ‘is_server == 0’)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:496:17: branch_false: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:496:16: branch_true: following ‘true’ branch (when the strings are non-equal)...
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:497:52: branch_true: ...to here
xen-4.20.2/tools/vchan/vchan-socket-proxy.c:497:52: danger: ‘socket_fd’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1122]
xen-4.20.2/tools/xcutils/readnotes.c:255:17: warning[-Wanalyzer-malloc-leak]: leak of ‘tmp’
xen-4.20.2/tools/xcutils/readnotes.c:189:12: branch_false: following ‘false’ branch (when ‘argc == 2’)...
xen-4.20.2/tools/xcutils/readnotes.c:194:9: branch_false: ...to here
xen-4.20.2/tools/xcutils/readnotes.c:199:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xcutils/readnotes.c:204:13: branch_false: ...to here
xen-4.20.2/tools/xcutils/readnotes.c:204:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xcutils/readnotes.c:211:25: branch_false: ...to here
xen-4.20.2/tools/xcutils/readnotes.c:212:12: branch_false: following ‘false’ branch (when ‘image != 18446744073709551615’)...
xen-4.20.2/tools/xcutils/readnotes.c:220:21: branch_false: ...to here
xen-4.20.2/tools/xcutils/readnotes.c:252:12: branch_true: following ‘true’ branch (when ‘usize != 0’)...
xen-4.20.2/tools/xcutils/readnotes.c:254:23: branch_true: ...to here
xen-4.20.2/tools/xcutils/readnotes.c:254:23: acquire_memory: allocated here
xen-4.20.2/tools/xcutils/readnotes.c:255:17: throw: if ‘xc_dom_do_gunzip’ throws an exception...
xen-4.20.2/tools/xcutils/readnotes.c:255:17: danger: ‘tmp’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1123]
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: throw: if ‘xtl_createlogger_stdiostream’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1124]
xen-4.20.2/tools/xenpaging/xenpaging.c:297:31: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:297:31: throw: if ‘xc_interface_open’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:297:31: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1125]
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1126]
xen-4.20.2/tools/xenpaging/xenpaging.c:304:25: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:304:25: throw: if ‘xs_open’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:304:25: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1127]
xen-4.20.2/tools/xenpaging/xenpaging.c:307:9: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:307:9: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:307:9: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:307:9: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1128]
xen-4.20.2/tools/xenpaging/xenpaging.c:313:10: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:10: throw: if ‘xs_watch’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:313:10: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1129]
xen-4.20.2/tools/xenpaging/xenpaging.c:315:9: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:315:9: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:315:9: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:315:9: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1130]
xen-4.20.2/tools/xenpaging/xenpaging.c:320:16: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:320:16: throw: if ‘xs_get_domain_path’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:16: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1131]
xen-4.20.2/tools/xenpaging/xenpaging.c:323:9: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:323:9: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:323:9: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:323:9: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1132]
xen-4.20.2/tools/xenpaging/xenpaging.c:328:9: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:328:9: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:328:9: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:328:9: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1133]
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1134]
xen-4.20.2/tools/xenpaging/xenpaging.c:332:10: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:10: throw: if ‘xs_watch’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:332:10: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1135]
xen-4.20.2/tools/xenpaging/xenpaging.c:334:9: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:334:9: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:334:9: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:334:9: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1136]
xen-4.20.2/tools/xenpaging/xenpaging.c:339:5: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:339:5: throw: if ‘xc_get_hvm_param’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:5: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1137]
xen-4.20.2/tools/xenpaging/xenpaging.c:343:9: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:343:9: throw: if ‘xc_map_foreign_pages’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:343:9: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1138]
xen-4.20.2/tools/xenpaging/xenpaging.c:348:14: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:345:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:349:47: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:348:14: throw: if ‘xc_domain_populate_physmap_exact’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:348:14: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1139]
xen-4.20.2/tools/xenpaging/xenpaging.c:353:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:345:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:349:47: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:351:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:353:13: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:353:13: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:353:13: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1140]
xen-4.20.2/tools/xenpaging/xenpaging.c:358:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:345:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:349:47: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:358:39: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:358:13: throw: if ‘xc_map_foreign_pages’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:358:13: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1141]
xen-4.20.2/tools/xenpaging/xenpaging.c:363:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:345:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:349:47: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:351:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:358:39: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:361:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:363:13: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:363:13: throw: if ‘xtl_log’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:363:13: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1142]
xen-4.20.2/tools/xenpaging/xenpaging.c:369:10: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:305:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:312:54: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:313:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:320:54: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:321:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:326:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:326:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:331:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:339:27: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:369:10: throw: if ‘xc_mem_paging_enable’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:369:10: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1143]
xen-4.20.2/tools/xenpaging/xenpaging.c:488:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:487:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:488:13: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:488:13: throw: if ‘xs_close’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:488:13: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1144]
xen-4.20.2/tools/xenpaging/xenpaging.c:490:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:301:5: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:489:12: branch_true: following ‘true’ branch (when ‘xch’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:490:13: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:490:13: throw: if ‘xc_interface_close’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:490:13: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1145]
xen-4.20.2/tools/xenpaging/xenpaging.c:492:13: warning[-Wanalyzer-malloc-leak]: leak of ‘paging’
xen-4.20.2/tools/xenpaging/xenpaging.c:275:26: enter_function: entry to ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:285:14: acquire_memory: allocated here
xen-4.20.2/tools/xenpaging/xenpaging.c:286:8: branch_false: following ‘false’ branch (when ‘paging’ is non-NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: call_function: calling ‘xenpaging_getopts’ from ‘xenpaging_init’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:10: return_function: returning to ‘xenpaging_init’ from ‘xenpaging_getopts’
xen-4.20.2/tools/xenpaging/xenpaging.c:290:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:294:26: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:293:43: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:298:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:299:9: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:487:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:489:12: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:489:12: branch_false: following ‘false’ branch (when ‘xch’ is NULL)...
xen-4.20.2/tools/xenpaging/xenpaging.c:491:14: branch_false: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:491:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenpaging/xenpaging.c:492:13: branch_true: ...to here
xen-4.20.2/tools/xenpaging/xenpaging.c:492:13: throw: if ‘xtl_logger_destroy’ throws an exception...
xen-4.20.2/tools/xenpaging/xenpaging.c:492:13: danger: ‘paging’ leaks here; was allocated at [(2)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1146]
xen-4.20.2/tools/xenpmd/xenpmd.c:110:23: warning[-Wanalyzer-malloc-leak]: leak of ‘opendir("/tmp/battery")’
xen-4.20.2/tools/xenpmd/xenpmd.c:441:5: enter_function: entry to ‘wait_for_and_update_battery_status_request’
xen-4.20.2/tools/xenpmd/xenpmd.c:453:15: acquire_memory: allocated here
xen-4.20.2/tools/xenpmd/xenpmd.c:454:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenpmd/xenpmd.c:454:12: branch_false: ...to here
xen-4.20.2/tools/xenpmd/xenpmd.c:457:17: call_function: calling ‘get_next_battery_info_or_status’ from ‘wait_for_and_update_battery_status_request’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1147]
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:31:3: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(1, 524290, 0)’
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:35:19: enter_function: entry to ‘xen_sd_notify’
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:48:6: branch_false: following ‘false’ branch (when ‘message’ is non-NULL)...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:51:20: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:52:6: branch_false: following ‘false’ branch (when ‘message_length != 0’)...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:56:17: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:57:6: branch_false: following ‘false’ branch (when ‘socket_path’ is non-NULL)...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:61:7: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:61:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:64:17: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:66:6: branch_false: following ‘false’ branch (when ‘path_length <= 107’)...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:69:3: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:72:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:75:8: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:75:8: acquire_resource: socket created here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:76:6: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:79:7: branch_false: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:79:6: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:80:13: branch_true: ...to here
xen-4.20.2/tools/xenstored/../../tools/include/xen-sd-notify.h:45:47: call_function: inlined call to ‘xen_sd_closep’ from ‘xen_sd_notify’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1148]
xen-4.20.2/tools/xenstored/control.c:256:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fp’
xen-4.20.2/tools/xenstored/control.c:226:12: branch_false: following ‘false’ branch (when ‘num <= 1’)...
xen-4.20.2/tools/xenstored/control.c:229:12: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:229:12: branch_false: following ‘false’ branch (when ‘num != 0’)...
xen-4.20.2/tools/xenstored/control.c:247:28: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:248:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/control.c:250:22: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:250:22: acquire_resource: opened here
xen-4.20.2/tools/xenstored/control.c:253:12: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
xen-4.20.2/tools/xenstored/control.c:256:9: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:256:9: throw: if ‘talloc_report_full’ throws an exception...
xen-4.20.2/tools/xenstored/control.c:256:9: danger: ‘fp’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1149]
xen-4.20.2/tools/xenstored/control.c:256:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fp’
xen-4.20.2/tools/xenstored/control.c:226:12: branch_false: following ‘false’ branch (when ‘num <= 1’)...
xen-4.20.2/tools/xenstored/control.c:229:12: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:229:12: branch_true: following ‘true’ branch (when ‘num == 0’)...
xen-4.20.2/tools/xenstored/control.c:230:21: branch_true: ...to here
xen-4.20.2/tools/xenstored/control.c:230:20: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/control.c:239:30: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:240:28: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
xen-4.20.2/tools/xenstored/control.c:242:30: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:242:30: acquire_memory: allocated here
xen-4.20.2/tools/xenstored/control.c:243:28: branch_false: following ‘false’ branch (when ‘fp’ is non-NULL)...
xen-4.20.2/tools/xenstored/control.c:256:9: branch_false: ...to here
xen-4.20.2/tools/xenstored/control.c:256:9: throw: if ‘talloc_report_full’ throws an exception...
xen-4.20.2/tools/xenstored/control.c:256:9: danger: ‘fp’ leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1150]
xen-4.20.2/tools/xenstored/core.c:96:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/xenstored/core.c:134:6: enter_function: entry to ‘trace_destroy’
xen-4.20.2/tools/xenstored/core.c:137:17: call_function: calling ‘trace’ from ‘trace_destroy’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1151]
xen-4.20.2/tools/xenstored/core.c:2480:15: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/xenstored/core.c:2479:9: acquire_resource: ‘va_start’ called here
xen-4.20.2/tools/xenstored/core.c:2480:15: throw: if ‘talloc_vasprintf’ throws an exception...
xen-4.20.2/tools/xenstored/core.c:2480:15: danger: missing call to ‘va_end’ to match ‘va_start’ at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1152]
xen-4.20.2/tools/xenstored/lu.c:292:15: warning[-Wanalyzer-malloc-leak]: leak of ‘lu_dump_open(ctx)’
xen-4.20.2/tools/xenstored/lu.c:273:20: enter_function: entry to ‘lu_dump_state’
xen-4.20.2/tools/xenstored/lu.c:280:14: call_function: calling ‘lu_dump_open’ from ‘lu_dump_state’
xen-4.20.2/tools/xenstored/lu.c:280:14: return_function: returning to ‘lu_dump_state’ from ‘lu_dump_open’
xen-4.20.2/tools/xenstored/lu.c:281:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/lu.c:284:9: branch_false: ...to here
xen-4.20.2/tools/xenstored/lu.c:287:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/lu.c:292:15: branch_false: ...to here
xen-4.20.2/tools/xenstored/lu.c:292:15: throw: if ‘dump_state_global’ throws an exception...
xen-4.20.2/tools/xenstored/lu.c:292:15: danger: ‘lu_dump_open(ctx)’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1153]
xen-4.20.2/tools/xenstored/posix.c:115:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 2)’
xen-4.20.2/tools/xenstored/posix.c:109:23: acquire_resource: opened here
xen-4.20.2/tools/xenstored/posix.c:110:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/posix.c:112:9: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:115:9: danger: ‘open("/dev/null", 2)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1154]
xen-4.20.2/tools/xenstored/posix.c:157:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/xen/xsd_port", 0)’
xen-4.20.2/tools/xenstored/posix.c:149:14: acquire_resource: opened here
xen-4.20.2/tools/xenstored/posix.c:150:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/posix.c:153:14: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:154:12: branch_true: following ‘true’ branch (when ‘rc == -1’)...
xen-4.20.2/tools/xenstored/posix.c:156:27: branch_true: ...to here
xen-4.20.2/tools/xenstored/posix.c:157:17: danger: ‘open("/proc/xen/xsd_port", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1155]
xen-4.20.2/tools/xenstored/posix.c:165:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/xen/xsd_port", 0)’
xen-4.20.2/tools/xenstored/posix.c:149:14: acquire_resource: opened here
xen-4.20.2/tools/xenstored/posix.c:150:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/posix.c:153:14: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:154:12: branch_false: following ‘false’ branch (when ‘rc != -1’)...
xen-4.20.2/tools/xenstored/posix.c:162:9: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:165:9: danger: ‘open("/proc/xen/xsd_port", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1156]
xen-4.20.2/tools/xenstored/posix.c:266:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(sock, 0, 0)’
xen-4.20.2/tools/xenstored/posix.c:263:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/posix.c:266:16: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:266:16: throw: if ‘new_connection’ throws an exception...
xen-4.20.2/tools/xenstored/posix.c:266:16: danger: ‘accept(sock, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1157]
xen-4.20.2/tools/xenstored/posix.c:271:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘accept(sock, 0, 0)’
xen-4.20.2/tools/xenstored/posix.c:263:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/posix.c:266:16: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:267:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xenstored/posix.c:271:17: branch_false: ...to here
xen-4.20.2/tools/xenstored/posix.c:271:17: danger: ‘accept(sock, 0, 0)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1158]
xen-4.20.2/tools/xentop/xentop.c:306:25: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/tools/xentop/xentop.c:588:13: enter_function: entry to ‘print_max_pct’
xen-4.20.2/tools/xentop/xentop.c:591:17: call_function: calling ‘print’ from ‘print_max_pct’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1159]
xen-4.20.2/tools/xentop/xentop.c:1203:30: warning[-Wanalyzer-malloc-leak]: leak of ‘domains’
xen-4.20.2/tools/xentop/xentop.c:1261:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentop/xentop.c:1282:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1282:12: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1330:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1333:13: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1333:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1360:34: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1370:25: call_function: calling ‘top’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1160]
xen-4.20.2/tools/xentop/xentop.c:1204:29: warning[-Wanalyzer-malloc-leak]: leak of ‘domains’
xen-4.20.2/tools/xentop/xentop.c:1261:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentop/xentop.c:1282:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1282:12: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1330:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1333:13: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1333:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1360:34: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1370:25: call_function: calling ‘top’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1161]
xen-4.20.2/tools/xentop/xentop.c:1222:9: warning[-Wanalyzer-malloc-leak]: leak of ‘domains’
xen-4.20.2/tools/xentop/xentop.c:1261:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentop/xentop.c:1282:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1282:12: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1330:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1333:13: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1333:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentop/xentop.c:1360:34: branch_false: ...to here
xen-4.20.2/tools/xentop/xentop.c:1370:25: call_function: calling ‘top’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1162]
xen-4.20.2/tools/xentrace/xenalyze.c:312:12: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fn, "rb")’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10934:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10941:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1163]
xen-4.20.2/tools/xentrace/xenalyze.c:314:13: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fn, "rb")’
xen-4.20.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10934:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10941:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1164]
xen-4.20.2/tools/xentrace/xenalyze.c:314:13: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fn, "rb")’
xen-4.20.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10934:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10941:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1165]
xen-4.20.2/tools/xentrace/xenalyze.c:320:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘G.symbols’
xen-4.20.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10934:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10941:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1166]
xen-4.20.2/tools/xentrace/xenalyze.c:326:14: warning[-Wanalyzer-null-argument]: use of NULL ‘fopen(fn, "rb")’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10934:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10941:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10944:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10945:9: call_function: calling ‘parse_symbol_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1167]
xen-4.20.2/tools/xentrace/xenalyze.c:2473:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.20.2/tools/xentrace/xenalyze.c:10923:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10929:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10932:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10934:9: call_function: inlined call to ‘error’ from ‘main’
xen-4.20.2/tools/xentrace/xenalyze.c:10941:18: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10941:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:10944:9: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:10950:5: call_function: calling ‘init_pcpus’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def1168]
xen-4.20.2/tools/xentrace/xenalyze.c:2560: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def1169]
xen-4.20.2/tools/xentrace/xenalyze.c:2562: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def1170]
xen-4.20.2/tools/xentrace/xenalyze.c:2568: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1171]
xen-4.20.2/tools/xentrace/xenalyze.c:2827:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:3289:6: enter_function: entry to ‘hvm_pf_xen_postprocess’
xen-4.20.2/tools/xentrace/xenalyze.c:3301:13: call_function: calling ‘update_eip’ from ‘hvm_pf_xen_postprocess’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1172]
xen-4.20.2/tools/xentrace/xenalyze.c:2833:13: warning[-Wanalyzer-malloc-leak]: leak of ‘p’
xen-4.20.2/tools/xentrace/xenalyze.c:3289:6: enter_function: entry to ‘hvm_pf_xen_postprocess’
xen-4.20.2/tools/xentrace/xenalyze.c:3301:13: call_function: calling ‘update_eip’ from ‘hvm_pf_xen_postprocess’
Error: CPPCHECK_WARNING (CWE-476): [#def1173]
xen-4.20.2/tools/xentrace/xenalyze.c:2883: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def1174]
xen-4.20.2/tools/xentrace/xenalyze.c:2885: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def1175]
xen-4.20.2/tools/xentrace/xenalyze.c:2897: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: CPPCHECK_WARNING (CWE-476): [#def1176]
xen-4.20.2/tools/xentrace/xenalyze.c:3003: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1177]
xen-4.20.2/tools/xentrace/xenalyze.c:3003:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
xen-4.20.2/tools/xentrace/xenalyze.c:4320:6: enter_function: entry to ‘hvm_vmcall_postprocess’
xen-4.20.2/tools/xentrace/xenalyze.c:4332:9: call_function: calling ‘__hvm_set_summary_handler’ from ‘hvm_vmcall_postprocess’
Error: CPPCHECK_WARNING (CWE-476): [#def1178]
xen-4.20.2/tools/xentrace/xenalyze.c:3004: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: CPPCHECK_WARNING (CWE-476): [#def1179]
xen-4.20.2/tools/xentrace/xenalyze.c:3005: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: p
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1180]
xen-4.20.2/tools/xentrace/xenalyze.c:3792:9: warning[-Wanalyzer-null-argument]: use of NULL ‘p’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:3830:6: enter_function: entry to ‘hvm_io_write_postprocess’
xen-4.20.2/tools/xentrace/xenalyze.c:3833:9: call_function: calling ‘update_io_address’ from ‘hvm_io_write_postprocess’
Error: CPPCHECK_WARNING (CWE-476): [#def1181]
xen-4.20.2/tools/xentrace/xenalyze.c:4033: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1182]
xen-4.20.2/tools/xentrace/xenalyze.c:4033:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘qsort_array’
xen-4.20.2/tools/xentrace/xenalyze.c:4029:19: acquire_memory: this call could return NULL
xen-4.20.2/tools/xentrace/xenalyze.c:4032:22: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xentrace/xenalyze.c:4033:20: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:4033:9: danger: ‘qsort_array + (long unsigned int)i * 8’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def1183]
xen-4.20.2/tools/xentrace/xenalyze.c:4036: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1184]
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: warning[-Wanalyzer-malloc-leak]: leak of ‘qsort_array’
xen-4.20.2/tools/xentrace/xenalyze.c:4029:19: acquire_memory: allocated here
xen-4.20.2/tools/xentrace/xenalyze.c:4032:22: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: throw: if ‘qsort’ throws an exception...
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: danger: ‘qsort_array’ leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1185]
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘qsort_array’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:4029:19: acquire_memory: this call could return NULL
xen-4.20.2/tools/xentrace/xenalyze.c:4032:22: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:4036:5: danger: argument 1 (‘qsort_array’) from [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def1186]
xen-4.20.2/tools/xentrace/xenalyze.c:4051: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: qsort_array
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1187]
xen-4.20.2/tools/xentrace/xenalyze.c:6704:5: warning[-Wanalyzer-null-argument]: use of NULL ‘v’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:8971:6: enter_function: entry to ‘process_lost_records_end’
xen-4.20.2/tools/xentrace/xenalyze.c:8991:9: call_function: calling ‘update_cycles’ from ‘process_lost_records_end’
xen-4.20.2/tools/xentrace/xenalyze.c:8991:9: return_function: returning to ‘process_lost_records_end’ from ‘update_cycles’
xen-4.20.2/tools/xentrace/xenalyze.c:8993:11: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:8994:23: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:8997:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:9001:16: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:9001:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:9010:16: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:9010:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:9013:13: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:9013:13: call_function: calling ‘vcpu_find’ from ‘process_lost_records_end’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1188]
xen-4.20.2/tools/xentrace/xenalyze.c:6725:5: warning[-Wanalyzer-null-argument]: use of NULL ‘d’ where non-null expected
xen-4.20.2/tools/xentrace/xenalyze.c:8971:6: enter_function: entry to ‘process_lost_records_end’
xen-4.20.2/tools/xentrace/xenalyze.c:8991:9: call_function: calling ‘update_cycles’ from ‘process_lost_records_end’
xen-4.20.2/tools/xentrace/xenalyze.c:8991:9: return_function: returning to ‘process_lost_records_end’ from ‘update_cycles’
xen-4.20.2/tools/xentrace/xenalyze.c:8993:11: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:8994:23: branch_true: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:8997:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:9001:16: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:9001:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:9010:16: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:9010:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xentrace/xenalyze.c:9013:13: branch_false: ...to here
xen-4.20.2/tools/xentrace/xenalyze.c:9013:13: call_function: calling ‘vcpu_find’ from ‘process_lost_records_end’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1189]
xen-4.20.2/tools/xl/xl_cpupool.c:130:10: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
xen-4.20.2/tools/xl/xl_cpupool.c:80:8: branch_false: following ‘false’ branch (when ‘filename’ is NULL)...
xen-4.20.2/tools/xl/xl_cpupool.c:93:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:93:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:110:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:111:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:116:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:117:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:122:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:122:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: branch_true: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_cpupool.c:130:10: throw: if ‘libxl_name_to_cpupoolid’ throws an exception...
xen-4.20.2/tools/xl/xl_cpupool.c:130:10: danger: ‘name’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1190]
xen-4.20.2/tools/xl/xl_cpupool.c:135:10: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
xen-4.20.2/tools/xl/xl_cpupool.c:80:8: branch_false: following ‘false’ branch (when ‘filename’ is NULL)...
xen-4.20.2/tools/xl/xl_cpupool.c:93:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:93:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:110:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:111:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:116:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:117:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:122:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:122:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: branch_true: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_cpupool.c:130:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:135:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:135:10: throw: if ‘xlu_cfg_get_string’ throws an exception...
xen-4.20.2/tools/xl/xl_cpupool.c:135:10: danger: ‘name’ leaks here; was allocated at [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1191]
xen-4.20.2/tools/xl/xl_cpupool.c:136:13: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
xen-4.20.2/tools/xl/xl_cpupool.c:80:8: branch_false: following ‘false’ branch (when ‘filename’ is NULL)...
xen-4.20.2/tools/xl/xl_cpupool.c:93:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:93:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:110:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:111:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:116:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:117:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:122:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:122:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: branch_true: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_cpupool.c:130:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:135:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:135:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:136:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:136:13: throw: if ‘libxl_scheduler_from_string’ throws an exception...
xen-4.20.2/tools/xl/xl_cpupool.c:136:13: danger: ‘name’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1192]
xen-4.20.2/tools/xl/xl_cpupool.c:141:14: warning[-Wanalyzer-malloc-leak]: leak of ‘name’
xen-4.20.2/tools/xl/xl_cpupool.c:80:8: branch_false: following ‘false’ branch (when ‘filename’ is NULL)...
xen-4.20.2/tools/xl/xl_cpupool.c:93:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:93:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:110:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:111:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:116:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:117:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:122:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:122:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: branch_true: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:123:16: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_cpupool.c:130:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:135:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:135:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_cpupool.c:141:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_cpupool.c:141:14: throw: if ‘libxl_get_scheduler’ throws an exception...
xen-4.20.2/tools/xl/xl_cpupool.c:141:14: danger: ‘name’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1193]
xen-4.20.2/tools/xl/xl_flask.c:108:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(polFName, 0)’
xen-4.20.2/tools/xl/xl_flask.c:92:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_flask.c:97:20: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:98:13: acquire_resource: opened here
xen-4.20.2/tools/xl/xl_flask.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_flask.c:106:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:139:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_flask.c:140:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_flask.c:108:9: danger: ‘open(polFName, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1194]
xen-4.20.2/tools/xl/xl_flask.c:113:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(polFName, 0)’
xen-4.20.2/tools/xl/xl_flask.c:92:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_flask.c:97:20: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:98:13: acquire_resource: opened here
xen-4.20.2/tools/xl/xl_flask.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_flask.c:106:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:107:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/xl/xl_flask.c:113:23: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:116:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/xl/xl_flask.c:122:49: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:122:11: throw: if ‘libxl_flask_loadpolicy’ throws an exception...
xen-4.20.2/tools/xl/xl_flask.c:113:23: danger: ‘open(polFName, 0)’ leaks here; was opened at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1195]
xen-4.20.2/tools/xl/xl_flask.c:122:11: warning[-Wanalyzer-malloc-leak]: leak of ‘polMemCp’
xen-4.20.2/tools/xl/xl_flask.c:92:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_flask.c:97:20: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:99:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_flask.c:106:11: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:107:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/xl/xl_flask.c:113:23: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:113:16: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_flask.c:116:8: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
xen-4.20.2/tools/xl/xl_flask.c:122:49: branch_false: ...to here
xen-4.20.2/tools/xl/xl_flask.c:122:11: throw: if ‘libxl_flask_loadpolicy’ throws an exception...
xen-4.20.2/tools/xl/xl_flask.c:122:11: danger: ‘polMemCp’ leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1196]
xen-4.20.2/tools/xl/xl_info.c:775:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/uptime", 0)’
xen-4.20.2/tools/xl/xl_info.c:769:10: acquire_resource: opened here
xen-4.20.2/tools/xl/xl_info.c:770:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_info.c:773:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_info.c:774:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_info.c:775:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_info.c:775:9: danger: ‘open("/proc/uptime", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1197]
xen-4.20.2/tools/xl/xl_info.c:778:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/proc/uptime", 0)’
xen-4.20.2/tools/xl/xl_info.c:769:10: acquire_resource: opened here
xen-4.20.2/tools/xl/xl_info.c:770:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_info.c:773:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_info.c:774:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_info.c:778:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_info.c:778:5: danger: ‘open("/proc/uptime", 0)’ leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1198]
xen-4.20.2/tools/xl/xl_info.c:789:22: warning[-Wanalyzer-malloc-leak]: leak of ‘current_time_to_string(now)’
xen-4.20.2/tools/xl/xl_info.c:759:13: enter_function: entry to ‘print_dom0_uptime’
xen-4.20.2/tools/xl/xl_info.c:770:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_info.c:773:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_info.c:774:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_info.c:778:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_info.c:786:8: branch_true: following ‘true’ branch (when ‘short_mode != 0’)...
xen-4.20.2/tools/xl/xl_info.c:788:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_info.c:788:19: call_function: calling ‘current_time_to_string’ from ‘print_dom0_uptime’
xen-4.20.2/tools/xl/xl_info.c:788:19: return_function: returning to ‘print_dom0_uptime’ from ‘current_time_to_string’
xen-4.20.2/tools/xl/xl_info.c:789:22: call_function: calling ‘uptime_to_string’ from ‘print_dom0_uptime’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1199]
xen-4.20.2/tools/xl/xl_info.c:826:22: warning[-Wanalyzer-malloc-leak]: leak of ‘current_time_to_string(now)’
xen-4.20.2/tools/xl/xl_info.c:810:13: enter_function: entry to ‘print_domU_uptime’
xen-4.20.2/tools/xl/xl_info.c:819:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_info.c:821:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_info.c:823:8: branch_true: following ‘true’ branch (when ‘short_mode != 0’)...
xen-4.20.2/tools/xl/xl_info.c:825:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_info.c:825:19: call_function: calling ‘current_time_to_string’ from ‘print_domU_uptime’
xen-4.20.2/tools/xl/xl_info.c:825:19: return_function: returning to ‘print_domU_uptime’ from ‘current_time_to_string’
xen-4.20.2/tools/xl/xl_info.c:826:22: call_function: calling ‘uptime_to_string’ from ‘print_domU_uptime’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1200]
xen-4.20.2/tools/xl/xl_misc.c:342:5: warning[-Wanalyzer-malloc-leak]: leak of ‘config_data’
xen-4.20.2/tools/xl/xl_misc.c:277:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xl/xl_misc.c:283:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_misc.c:289:9: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_misc.c:291:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_misc.c:303:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_misc.c:304:24: branch_true: ...to here
xen-4.20.2/tools/xl/xl_misc.c:304:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_misc.c:305:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_misc.c:315:8: branch_true: following ‘true’ branch (when ‘filename’ is non-NULL)...
xen-4.20.2/tools/xl/xl_misc.c:316:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_misc.c:319:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_misc.c:322:13: branch_false: ...to here
xen-4.20.2/tools/xl/xl_misc.c:322:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_misc.c:323:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_misc.c:328:48: branch_false: ...to here
xen-4.20.2/tools/xl/xl_misc.c:330:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_misc.c:334:27: branch_false: ...to here
xen-4.20.2/tools/xl/xl_misc.c:342:5: throw: if ‘libxl_domain_config_init’ throws an exception...
xen-4.20.2/tools/xl/xl_misc.c:342:5: danger: ‘config_data’ leaks here; was allocated at [(19)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/18)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1201]
xen-4.20.2/tools/xl/xl_nic.c:73:13: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.bridge’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_true: following ‘true’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/xl/xl_nic.c:73:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_nic.c:73:13: throw: if ‘parse_nic_config’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:73:13: danger: ‘nic.bridge’ leaks here; was allocated at [(10)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1202]
xen-4.20.2/tools/xl/xl_nic.c:73:13: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.gatewaydev’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_true: following ‘true’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/xl/xl_nic.c:73:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_nic.c:73:13: throw: if ‘parse_nic_config’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:73:13: danger: ‘nic.gatewaydev’ leaks here; was allocated at [(12)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1203]
xen-4.20.2/tools/xl/xl_nic.c:73:13: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.script’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_true: following ‘true’ branch (when ‘argc > 0’)...
xen-4.20.2/tools/xl/xl_nic.c:73:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_nic.c:73:13: throw: if ‘parse_nic_config’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:73:13: danger: ‘nic.script’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1204]
xen-4.20.2/tools/xl/xl_nic.c:78:22: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.bridge’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
xen-4.20.2/tools/xl/xl_nic.c:77:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:77:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_nic.c:78:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_nic.c:78:22: throw: if ‘libxl_device_nic_to_json’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:78:22: danger: ‘nic.bridge’ leaks here; was allocated at [(10)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1205]
xen-4.20.2/tools/xl/xl_nic.c:78:22: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.gatewaydev’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
xen-4.20.2/tools/xl/xl_nic.c:77:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:77:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_nic.c:78:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_nic.c:78:22: throw: if ‘libxl_device_nic_to_json’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:78:22: danger: ‘nic.gatewaydev’ leaks here; was allocated at [(12)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1206]
xen-4.20.2/tools/xl/xl_nic.c:78:22: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.script’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
xen-4.20.2/tools/xl/xl_nic.c:77:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:77:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_nic.c:78:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_nic.c:78:22: throw: if ‘libxl_device_nic_to_json’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:78:22: danger: ‘nic.script’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1207]
xen-4.20.2/tools/xl/xl_nic.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.bridge’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
xen-4.20.2/tools/xl/xl_nic.c:77:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:77:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:86:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:86:9: throw: if ‘libxl_device_nic_add’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:86:9: danger: ‘nic.bridge’ leaks here; was allocated at [(10)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1208]
xen-4.20.2/tools/xl/xl_nic.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.gatewaydev’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
xen-4.20.2/tools/xl/xl_nic.c:77:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:77:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:86:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:86:9: throw: if ‘libxl_device_nic_add’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:86:9: danger: ‘nic.gatewaydev’ leaks here; was allocated at [(12)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1209]
xen-4.20.2/tools/xl/xl_nic.c:86:9: warning[-Wanalyzer-malloc-leak]: leak of ‘nic.script’
xen-4.20.2/tools/xl/xl_nic.c:50:5: enter_function: entry to ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:64:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:69:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:70:5: call_function: calling ‘set_default_nic_values’ from ‘main_networkattach’
xen-4.20.2/tools/xl/xl_nic.c:70:5: return_function: returning to ‘main_networkattach’ from ‘set_default_nic_values’
xen-4.20.2/tools/xl/xl_nic.c:72:46: branch_false: following ‘false’ branch (when ‘argc <= 0’)...
xen-4.20.2/tools/xl/xl_nic.c:77:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:77:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_nic.c:86:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_nic.c:86:9: throw: if ‘libxl_device_nic_add’ throws an exception...
xen-4.20.2/tools/xl/xl_nic.c:86:9: danger: ‘nic.script’ leaks here; was allocated at [(8)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1210]
xen-4.20.2/tools/xl/xl_parse.c:828:34: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/xl/xl_parse.c:814:5: enter_function: entry to ‘parse_vdispl_config’
xen-4.20.2/tools/xl/xl_parse.c:821:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:823:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:823:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:825:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:825:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:826:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:826:9: call_function: calling ‘split_string_into_string_list’ from ‘parse_vdispl_config’
xen-4.20.2/tools/xl/xl_parse.c:826:9: return_function: returning to ‘parse_vdispl_config’ from ‘split_string_into_string_list’
xen-4.20.2/tools/xl/xl_parse.c:828:34: throw: if ‘libxl_string_list_length’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:828:34: danger: ‘<unknown>’ leaks here; was allocated at [(16)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1211]
xen-4.20.2/tools/xl/xl_parse.c:828:34: warning[-Wanalyzer-malloc-leak]: leak of ‘connectors’
xen-4.20.2/tools/xl/xl_parse.c:814:5: enter_function: entry to ‘parse_vdispl_config’
xen-4.20.2/tools/xl/xl_parse.c:821:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:823:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:823:15: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:825:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:825:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:826:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:826:9: call_function: calling ‘split_string_into_string_list’ from ‘parse_vdispl_config’
xen-4.20.2/tools/xl/xl_parse.c:826:9: return_function: returning to ‘parse_vdispl_config’ from ‘split_string_into_string_list’
xen-4.20.2/tools/xl/xl_parse.c:828:34: throw: if ‘libxl_string_list_length’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:828:34: danger: ‘connectors’ leaks here; was allocated at [(12)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1212]
xen-4.20.2/tools/xl/xl_parse.c:871:36: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/xl/xl_parse.c:861:12: enter_function: entry to ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:866:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:867:27: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:869:9: call_function: calling ‘split_string_into_string_list’ from ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:869:9: return_function: returning to ‘parse_vsnd_params’ from ‘split_string_into_string_list’
xen-4.20.2/tools/xl/xl_parse.c:871:36: throw: if ‘libxl_string_list_length’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:871:36: danger: ‘<unknown>’ leaks here; was allocated at [(12)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1213]
xen-4.20.2/tools/xl/xl_parse.c:871:36: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1017:5: enter_function: entry to ‘parse_vsnd_item’
xen-4.20.2/tools/xl/xl_parse.c:1019:17: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1025:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_true: following ‘true’ branch (when ‘key’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1029:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1030:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1043:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1032:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1033:23: call_function: calling ‘parse_vsnd_card_param’ from ‘parse_vsnd_item’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1214]
xen-4.20.2/tools/xl/xl_parse.c:871:36: warning[-Wanalyzer-malloc-leak]: leak of ‘rates’
xen-4.20.2/tools/xl/xl_parse.c:861:12: enter_function: entry to ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:866:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:867:27: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:869:9: call_function: calling ‘split_string_into_string_list’ from ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:869:9: return_function: returning to ‘parse_vsnd_params’ from ‘split_string_into_string_list’
xen-4.20.2/tools/xl/xl_parse.c:871:36: throw: if ‘libxl_string_list_length’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:871:36: danger: ‘rates’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1215]
xen-4.20.2/tools/xl/xl_parse.c:885:38: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/tools/xl/xl_parse.c:861:12: enter_function: entry to ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:866:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:880:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:880:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:881:27: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:883:9: call_function: calling ‘split_string_into_string_list’ from ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:883:9: return_function: returning to ‘parse_vsnd_params’ from ‘split_string_into_string_list’
xen-4.20.2/tools/xl/xl_parse.c:885:38: throw: if ‘libxl_string_list_length’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:885:38: danger: ‘<unknown>’ leaks here; was allocated at [(14)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1216]
xen-4.20.2/tools/xl/xl_parse.c:885:38: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1017:5: enter_function: entry to ‘parse_vsnd_item’
xen-4.20.2/tools/xl/xl_parse.c:1019:17: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1025:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_true: following ‘true’ branch (when ‘key’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1029:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1030:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1043:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1032:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1033:23: call_function: calling ‘parse_vsnd_card_param’ from ‘parse_vsnd_item’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1217]
xen-4.20.2/tools/xl/xl_parse.c:885:38: warning[-Wanalyzer-malloc-leak]: leak of ‘formats’
xen-4.20.2/tools/xl/xl_parse.c:861:12: enter_function: entry to ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:866:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:880:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:880:15: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:881:27: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:883:9: call_function: calling ‘split_string_into_string_list’ from ‘parse_vsnd_params’
xen-4.20.2/tools/xl/xl_parse.c:883:9: return_function: returning to ‘parse_vsnd_params’ from ‘split_string_into_string_list’
xen-4.20.2/tools/xl/xl_parse.c:885:38: throw: if ‘libxl_string_list_length’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:885:38: danger: ‘formats’ leaks here; was allocated at [(10)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1218]
xen-4.20.2/tools/xl/xl_parse.c:997:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1017:5: enter_function: entry to ‘parse_vsnd_item’
xen-4.20.2/tools/xl/xl_parse.c:1019:17: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1025:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_true: following ‘true’ branch (when ‘key’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1029:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1029:19: call_function: calling ‘parse_vsnd_create_item’ from ‘parse_vsnd_item’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1219]
xen-4.20.2/tools/xl/xl_parse.c:1001:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1017:5: enter_function: entry to ‘parse_vsnd_item’
xen-4.20.2/tools/xl/xl_parse.c:1019:17: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1025:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_true: following ‘true’ branch (when ‘key’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1029:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1029:19: call_function: calling ‘parse_vsnd_create_item’ from ‘parse_vsnd_item’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1220]
xen-4.20.2/tools/xl/xl_parse.c:1007:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1017:5: enter_function: entry to ‘parse_vsnd_item’
xen-4.20.2/tools/xl/xl_parse.c:1019:17: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: following ‘true’ branch (when ‘token’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1024:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1025:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1027:12: branch_true: following ‘true’ branch (when ‘key’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1029:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1029:19: call_function: calling ‘parse_vsnd_create_item’ from ‘parse_vsnd_item’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1221]
xen-4.20.2/tools/xl/xl_parse.c:1112:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1148:13: enter_function: entry to ‘parse_vkb_list’
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1166:19: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1169:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1169:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1171:24: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1173:22: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1173:22: call_function: calling ‘parse_vkb_config’ from ‘parse_vkb_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1222]
xen-4.20.2/tools/xl/xl_parse.c:1158:24: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1166:19: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1169:20: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1179:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1179:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1184:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:24: throw: if ‘xlu_cfg_get_listitem’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:1158:24: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1223]
xen-4.20.2/tools/xl/xl_parse.c:1162:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1166:19: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1169:20: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1179:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1179:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1184:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1162:19: throw: if ‘xrealloc’ throws an exception...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1224]
xen-4.20.2/tools/xl/xl_parse.c:1197:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1156:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1166:19: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1169:20: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1179:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1179:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1184:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1158:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1162:19: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1169:20: branch_false: following ‘false’ branch (when ‘p’ is NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1179:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1179:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1184:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1184:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1197:13: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1225]
xen-4.20.2/tools/xl/xl_parse.c:1218:14: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1230:13: enter_function: entry to ‘parse_virtio_list’
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1240:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1244:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1247:19: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1255:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1256:26: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1256:24: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1257:36: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1267:22: call_function: calling ‘parse_virtio_config’ from ‘parse_virtio_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1226]
xen-4.20.2/tools/xl/xl_parse.c:1218:14: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
xen-4.20.2/tools/xl/xl_parse.c:1230:13: enter_function: entry to ‘parse_virtio_list’
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1240:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1244:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1255:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1256:26: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1256:24: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1257:36: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1258:31: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1267:22: call_function: calling ‘parse_virtio_config’ from ‘parse_virtio_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1227]
xen-4.20.2/tools/xl/xl_parse.c:1221:9: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xl/xl_parse.c:1230:13: enter_function: entry to ‘parse_virtio_list’
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1240:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1244:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1247:19: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1255:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1256:26: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1256:24: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1257:36: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1267:22: call_function: calling ‘parse_virtio_config’ from ‘parse_virtio_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1228]
xen-4.20.2/tools/xl/xl_parse.c:1221:9: warning[-Wanalyzer-malloc-leak]: leak of ‘str’
xen-4.20.2/tools/xl/xl_parse.c:1230:13: enter_function: entry to ‘parse_virtio_list’
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1240:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1244:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1255:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1256:26: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1256:24: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1257:36: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1258:31: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_parse.c:1267:22: call_function: calling ‘parse_virtio_config’ from ‘parse_virtio_list’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1229]
xen-4.20.2/tools/xl/xl_parse.c:1258:50: warning[-Wanalyzer-null-argument]: use of NULL ‘p2’ where non-null expected
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1240:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1244:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1252:24: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1255:21: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1255:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1256:26: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1256:24: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1257:36: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1258:50: danger: argument 1 (‘p2’) NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def1230]
xen-4.20.2/tools/xl/xl_parse.c:1260: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: str
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1231]
xen-4.20.2/tools/xl/xl_parse.c:1260:25: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘str’ where non-null expected
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1238:8: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1240:16: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1244:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: following ‘true’ branch (when ‘p’ is non-NULL)...
xen-4.20.2/tools/xl/xl_parse.c:1250:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1252:24: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1255:21: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1255:20: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1256:26: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1256:24: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1257:36: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1258:31: acquire_memory: this call could return NULL
xen-4.20.2/tools/xl/xl_parse.c:1260:25: danger: argument 1 (‘str’) from [(15)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/14) could be NULL where non-null expected
Error: CPPCHECK_WARNING (CWE-476): [#def1232]
xen-4.20.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): [#def1233]
xen-4.20.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-476): [#def1234]
xen-4.20.2/tools/xl/xl_parse.c:1482:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/tools/xl/xl_parse.c:1314:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1320:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1323:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1328:8: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1329:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1334:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1393:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1398:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1451:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1454:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1455:21: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1456:22: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1459:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1465:17: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1465:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1471:24: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1471:23: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1477:13: branch_false: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1481:29: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_parse.c:1482:17: branch_true: ...to here
xen-4.20.2/tools/xl/xl_parse.c:1482:17: danger: dereference of NULL ‘*(libxl_domain_build_info *)((char *)d_config + 104).llc_colors + (long unsigned int)cur_index * 4’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1235]
xen-4.20.2/tools/xl/xl_pci.c:217:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pci.name’
xen-4.20.2/tools/xl/xl_pci.c:202:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_pci.c:204:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_pci.c:204:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_pci.c:209:8: branch_false: ...to here
xen-4.20.2/tools/xl/xl_pci.c:209:8: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
xen-4.20.2/tools/xl/xl_pci.c:210:20: branch_true: ...to here
xen-4.20.2/tools/xl/xl_pci.c:210:20: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_pci.c:211:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_pci.c:217:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_pci.c:217:9: throw: if ‘libxl_device_pci_assignable_add’ throws an exception...
xen-4.20.2/tools/xl/xl_pci.c:217:9: danger: ‘pci.name’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1236]
xen-4.20.2/tools/xl/xl_pci.c:267:9: warning[-Wanalyzer-malloc-leak]: leak of ‘pci.name’
xen-4.20.2/tools/xl/xl_pci.c:258:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_pci.c:261:16: branch_false: ...to here
xen-4.20.2/tools/xl/xl_pci.c:261:16: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_pci.c:262:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_pci.c:267:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_pci.c:267:9: throw: if ‘libxl_device_pci_assignable_remove’ throws an exception...
xen-4.20.2/tools/xl/xl_pci.c:267:9: danger: ‘pci.name’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1237]
xen-4.20.2/tools/xl/xl_utils.c:285:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open("/dev/null", 0)’
xen-4.20.2/tools/xl/xl_utils.c:262:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_utils.c:269:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_utils.c:272:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_utils.c:277:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_utils.c:277:5: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_utils.c:278:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_utils.c:279:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_utils.c:281:5: branch_true: ...to here
xen-4.20.2/tools/xl/xl_utils.c:281:5: acquire_resource: opened here
xen-4.20.2/tools/xl/xl_utils.c:281:5: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_utils.c:282:5: branch_false: ...to here
xen-4.20.2/tools/xl/xl_utils.c:282:5: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_utils.c:284:5: branch_true: ...to here
xen-4.20.2/tools/xl/xl_utils.c:285:5: danger: ‘open("/dev/null", 0)’ leaks here; was opened at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1238]
xen-4.20.2/tools/xl/xl_vcpu.c:253:30: warning[-Wanalyzer-null-argument]: use of NULL ‘soft_str’ where non-null expected
xen-4.20.2/tools/xl/xl_vcpu.c:211:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vcpu.c:214:14: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vcpu.c:227:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vcpu.c:228:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vcpu.c:227:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vcpu.c:245:10: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vcpu.c:245:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xl/xl_vcpu.c:253:17: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vcpu.c:253:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vcpu.c:253:30: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vcpu.c:253:30: danger: argument 1 (‘soft_str’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1239]
xen-4.20.2/tools/xl/xl_vmcontrol.c:747:18: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open(restore_file, 0)’
xen-4.20.2/tools/xl/xl_vmcontrol.c:729:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:735:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:735:12: branch_false: following ‘false’ branch (when ‘migrate_fd < 0’)...
xen-4.20.2/tools/xl/xl_vmcontrol.c:741:26: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:741:26: acquire_resource: opened here
xen-4.20.2/tools/xl/xl_vmcontrol.c:742:16: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:747:18: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:747:18: throw: if ‘libxl_fd_set_cloexec’ throws an exception...
xen-4.20.2/tools/xl/xl_vmcontrol.c:747:18: danger: ‘open(restore_file, 0)’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-909): [#def1240]
xen-4.20.2/tools/xl/xl_vmcontrol.c:843: error[uninitStructMember]: Uninitialized struct member: hdr.mandatory_flags
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1241]
xen-4.20.2/tools/xl/xl_vmcontrol.c:896:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(d_config.c_info.name)’
xen-4.20.2/tools/xl/xl_vmcontrol.c:729:8: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:735:12: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:751:9: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:754:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:759:13: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:759:12: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:763:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:770:12: branch_false: following ‘false’ branch (when ‘badflags == 0’)...
xen-4.20.2/tools/xl/xl_vmcontrol.c:776:13: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:776:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:777:29: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:778:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:796:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:798:24: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:800:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:800:13: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:804:13: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:804:13: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:812:8: branch_true: following ‘true’ branch (when ‘config_file’ is non-NULL)...
xen-4.20.2/tools/xl/xl_vmcontrol.c:813:9: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:815:12: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xl/xl_vmcontrol.c:816:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:849:8: branch_false: following ‘false’ branch (when ‘config_in_json == 0’)...
xen-4.20.2/tools/xl/xl_vmcontrol.c:853:9: branch_false: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:886:8: branch_true: following ‘true’ branch (when ‘migrate_fd >= 0’)...
xen-4.20.2/tools/xl/xl_vmcontrol.c:887:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:887:12: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:890:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:890:13: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xl/xl_vmcontrol.c:892:13: branch_true: ...to here
xen-4.20.2/tools/xl/xl_vmcontrol.c:896:46: acquire_memory: allocated here
xen-4.20.2/tools/xl/xl_vmcontrol.c:896:13: danger: ‘strdup(d_config.c_info.name)’ leaks here; was allocated at [(33)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/32)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1242]
xen-4.20.2/tools/xs-clients/xenstore_control.c:20:5: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1243]
xen-4.20.2/tools/xs-clients/xenstore_control.c:20:5: warning[-Wanalyzer-malloc-leak]: leak of ‘par’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_false: following ‘false’ branch (when the strings are non-equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:345:17: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:346:36: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:346:15: call_function: calling ‘add_to_buf’ from ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:346:15: return_function: returning to ‘main’ from ‘add_to_buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:345:17: branch_true: following ‘true’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:346:36: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:346:15: call_function: calling ‘add_to_buf’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1244]
xen-4.20.2/tools/xs-clients/xenstore_control.c:36:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1245]
xen-4.20.2/tools/xs-clients/xenstore_control.c:54:15: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1246]
xen-4.20.2/tools/xs-clients/xenstore_control.c:139:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1247]
xen-4.20.2/tools/xs-clients/xenstore_control.c:159:25: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(2057)’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1248]
xen-4.20.2/tools/xs-clients/xenstore_control.c:242:16: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1249]
xen-4.20.2/tools/xs-clients/xenstore_control.c:243:11: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
xen-4.20.2/tools/xs-clients/xenstore_control.c:318:5: enter_function: entry to ‘main’
xen-4.20.2/tools/xs-clients/xenstore_control.c:326:8: branch_false: following ‘false’ branch (when ‘argc > 1’)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:333:11: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:334:8: branch_false: following ‘false’ branch...
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:10: branch_false: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:340:8: branch_true: following ‘true’ branch (when the strings are equal)...
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: branch_true: ...to here
xen-4.20.2/tools/xs-clients/xenstore_control.c:341:14: call_function: calling ‘live_update’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1250]
xen-4.20.2/xen/arch/x86/domain_page.c:192:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.20.2/xen/arch/x86/domain_page.c:176:6: enter_function: entry to ‘unmap_domain_page’
xen-4.20.2/xen/arch/x86/domain_page.c:184:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/domain_page.c:189:9: branch_false: ...to here
xen-4.20.2/xen/arch/x86/domain_page.c:189:9: call_function: calling ‘mapcache_current_vcpu’ from ‘unmap_domain_page’
xen-4.20.2/xen/arch/x86/domain_page.c:189:9: return_function: return of NULL to ‘unmap_domain_page’ from ‘mapcache_current_vcpu’
xen-4.20.2/xen/arch/x86/domain_page.c:192:15: danger: dereference of NULL ‘v’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1251]
xen-4.20.2/xen/arch/x86/extable.c:55:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/xen/arch/x86/extable.c:59:13: enter_function: entry to ‘sort_exception_tables’
xen-4.20.2/xen/arch/x86/extable.c:61:5: call_function: calling ‘sort_exception_table’ from ‘sort_exception_tables’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1252]
xen-4.20.2/xen/arch/x86/extable.c:76:21: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/xen/arch/x86/extable.c:220:26: enter_function: entry to ‘search_pre_exception_table’
xen-4.20.2/xen/arch/x86/extable.c:223:27: call_function: calling ‘search_one_extable’ from ‘search_pre_exception_table’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def1253]
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3194:15: warning[-Wanalyzer-infinite-recursion]: infinite recursion
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3179:6: enter_function: entry to ‘hvmemul_read_cache’
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3186:11: call_function: inlined call to ‘is_hvm_vcpu’ from ‘hvmemul_read_cache’
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3186:10: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3186:10: branch_false: ...to here
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3189:13: branch_true: following ‘true’ branch (when ‘size > 8’)...
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3191:13: branch_true: ...to here
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3191:9: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3192:15: branch_true: ...to here
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3194:15: call_function: calling ‘hvmemul_read_cache’ from ‘hvmemul_read_cache’
Error: GCC_ANALYZER_WARNING (CWE-674): [#def1254]
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3226:9: warning[-Wanalyzer-infinite-recursion]: infinite recursion
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3211:6: enter_function: entry to ‘hvmemul_write_cache’
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3218:11: call_function: inlined call to ‘is_hvm_vcpu’ from ‘hvmemul_write_cache’
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3218:10: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3218:10: branch_false: ...to here
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3221:13: branch_true: following ‘true’ branch (when ‘size > 8’)...
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3223:13: branch_true: ...to here
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3223:9: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3224:15: branch_true: ...to here
xen-4.20.2/xen/arch/x86/hvm/emulate.c:3226:9: call_function: calling ‘hvmemul_write_cache’ from ‘hvmemul_write_cache’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1255]
xen-4.20.2/xen/arch/x86/hvm/rtc.c:151:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.20.2/xen/arch/x86/hvm/rtc.c:699:21: enter_function: entry to ‘handle_rtc_io’
xen-4.20.2/xen/arch/x86/hvm/rtc.c:704:8: branch_false: following ‘false’ branch (when ‘bytes == 1’)...
xen-4.20.2/xen/arch/x86/hvm/rtc.c:711:8: branch_false: ...to here
xen-4.20.2/xen/arch/x86/hvm/rtc.c:711:8: branch_true: following ‘true’ branch (when ‘dir == 0’)...
xen-4.20.2/xen/arch/x86/hvm/rtc.c:713:52: branch_true: ...to here
xen-4.20.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): [#def1256]
xen-4.20.2/xen/arch/x86/hvm/vioapic.c:340:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘vioapic’
xen-4.20.2/xen/arch/x86/hvm/vioapic.c:354:21: enter_function: entry to ‘vioapic_write’
xen-4.20.2/xen/arch/x86/hvm/vioapic.c:370:9: call_function: calling ‘vioapic_write_indirect’ from ‘vioapic_write’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1257]
xen-4.20.2/xen/arch/x86/include/asm/shared.h:81:1: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.20.2/xen/arch/x86/x86_64/traps.c:126:6: enter_function: entry to ‘show_registers’
xen-4.20.2/xen/arch/x86/x86_64/traps.c:131:22: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/x86_64/traps.c:133:10: call_function: inlined call to ‘get_cpu_info’ from ‘show_registers’
xen-4.20.2/xen/arch/x86/x86_64/traps.c:133:10: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/x86_64/traps.c:142:14: branch_true: following ‘true’ branch...
xen-4.20.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): [#def1258]
xen-4.20.2/xen/arch/x86/include/asm/uaccess.h:310:13: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:678:21: enter_function: entry to ‘rep_outs’
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:693:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:696:10: branch_false: ...to here
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:696:10: call_function: calling ‘read_segment’ from ‘rep_outs’
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:696:10: return_function: returning to ‘rep_outs’ from ‘read_segment’
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:697:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:700:10: branch_false: ...to here
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:700:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:702:10: branch_false: ...to here
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:702:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:703:12: branch_false: ...to here
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:713:13: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:715:22: branch_true: ...to here
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:718:14: call_function: calling ‘pv_emul_virt_to_linear’ from ‘rep_outs’
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:718:14: return_function: returning to ‘rep_outs’ from ‘pv_emul_virt_to_linear’
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:720:12: branch_false: following ‘false’ branch (when ‘rc == 0’)...
xen-4.20.2/xen/arch/x86/pv/emul-priv-op.c:723:20: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1259]
xen-4.20.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): [#def1260]
xen-4.20.2/xen/arch/x86/mm/altp2m.c:252:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘cur_order’
xen-4.20.2/xen/arch/x86/mm/altp2m.c:231:6: enter_function: entry to ‘p2m_altp2m_get_or_propagate’
xen-4.20.2/xen/arch/x86/mm/altp2m.c:250:12: call_function: inlined call to ‘get_gfn_type_access’ from ‘p2m_altp2m_get_or_propagate’
xen-4.20.2/xen/arch/x86/mm/altp2m.c:250:12: call_function: inlined call to ‘get_gfn_type_access’ from ‘p2m_altp2m_get_or_propagate’
xen-4.20.2/xen/arch/x86/mm/altp2m.c:252:10: danger: use of uninitialized value ‘cur_order’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1261]
xen-4.20.2/xen/arch/x86/mm/p2m.c:2127:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘order’
xen-4.20.2/xen/arch/x86/mm/p2m.c:2084:5: enter_function: entry to ‘relinquish_p2m_mapping’
xen-4.20.2/xen/arch/x86/mm/p2m.c:2090:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/p2m.c:2093:5: branch_false: ...to here
xen-4.20.2/xen/arch/x86/mm/p2m.c:2093:5: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/p2m.c:2095:5: call_function: inlined call to ‘p2m_lock’ from ‘relinquish_p2m_mapping’
xen-4.20.2/xen/arch/x86/mm/p2m.c:2100:13: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/p2m.c:2101:42: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/p2m.c:2100:13: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/p2m.c:2107:9: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/p2m.c:2107:9: call_function: calling ‘_get_gfn_type_access’ from ‘relinquish_p2m_mapping’
xen-4.20.2/xen/arch/x86/mm/p2m.c:2107:9: return_function: returning to ‘relinquish_p2m_mapping’ from ‘_get_gfn_type_access’
xen-4.20.2/xen/arch/x86/mm/p2m.c:2110:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/p2m.c:2127:16: branch_false: ...to here
xen-4.20.2/xen/arch/x86/mm/p2m.c:2127:16: danger: use of uninitialized value ‘order’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1262]
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:114:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:98:1: enter_function: entry to ‘hvm_read’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:109:10: call_function: calling ‘hvm_translate_virtual_addr’ from ‘hvm_read’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:109:10: return_function: returning to ‘hvm_read’ from ‘hvm_translate_virtual_addr’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:111:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:114:10: branch_false: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:114:10: danger: use of uninitialized value ‘addr’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1263]
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:352:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:315:31: enter_function: entry to ‘shadow_init_emulation’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:349:11: call_function: calling ‘hvm_translate_virtual_addr’ from ‘shadow_init_emulation’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:349:11: return_function: returning to ‘shadow_init_emulation’ from ‘hvm_translate_virtual_addr’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:348:5: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:352:11: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:352:11: danger: use of uninitialized value ‘addr’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1264]
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:383:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:364:6: enter_function: entry to ‘shadow_continue_emulation’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:376:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:380:15: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:380:15: call_function: calling ‘hvm_translate_virtual_addr’ from ‘shadow_continue_emulation’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:380:15: return_function: returning to ‘shadow_continue_emulation’ from ‘hvm_translate_virtual_addr’
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:379:9: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:383:15: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/hvm.c:383:15: danger: use of uninitialized value ‘addr’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def1265]
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2818:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘gw.<U2f00>.l1e’
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2143:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2144:13: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2143:10: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2149:12: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2149:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2152:20: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2676:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2692:16: branch_false: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2724:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2754:8: branch_false: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2763:13: branch_true: following ‘true’ branch (when ‘fast_emul != 0’)...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2764:9: branch_true: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2767:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2775:8: branch_false: ...to here
xen-4.20.2/xen/arch/x86/mm/shadow/multi.c:2818:5: danger: use of uninitialized value ‘gw.<U2f00>.l1e’ here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def1266]
xen-4.20.2/xen/arch/x86/physdev.c:58:13: warning[-Wanalyzer-infinite-loop]: infinite loop
xen-4.20.2/xen/arch/x86/physdev.c:58:13: danger: infinite loop here
xen-4.20.2/xen/arch/x86/physdev.c:58:13: branch_true: if it ever follows ‘true’ branch, it will always do so...
xen-4.20.2/xen/arch/x86/physdev.c:61:31: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1267]
xen-4.20.2/xen/arch/x86/setup.c:586:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1268]
xen-4.20.2/xen/arch/x86/setup.c:1443:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/xen/arch/x86/setup.c:1066:33: enter_function: entry to ‘__start_xen’
xen-4.20.2/xen/arch/x86/setup.c:1124:14: call_function: calling ‘multiboot_fill_boot_info’ from ‘__start_xen’
xen-4.20.2/xen/arch/x86/setup.c:1124:14: return_function: returning to ‘__start_xen’ from ‘multiboot_fill_boot_info’
xen-4.20.2/xen/arch/x86/setup.c:1138:8: branch_false: following ‘false’ branch (when ‘kextra’ is NULL)...
xen-4.20.2/xen/arch/x86/setup.c:1150:5: branch_false: ...to here
xen-4.20.2/xen/arch/x86/setup.c:1246:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/setup.c:1250:8: branch_false: ...to here
xen-4.20.2/xen/arch/x86/setup.c:1431:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/arch/x86/setup.c:1442:22: branch_true: ...to here
xen-4.20.2/xen/arch/x86/setup.c:1443:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: COMPILER_WARNING: [#def1269]
/tmp/cc6cPj6e.s: scope_hint: Assembler messages
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:34: Error: bad expression
Error: COMPILER_WARNING: [#def1270]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:34: Error: junk at end of line, first unrecognized character is `#'
Error: COMPILER_WARNING: [#def1271]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:35: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1272]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:36: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1273]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:37: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1274]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:38: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1275]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:39: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1276]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:40: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1277]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:41: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1278]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:42: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1279]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:43: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1280]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:44: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1281]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:45: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1282]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:46: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1283]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:47: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1284]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:48: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1285]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:49: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1286]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:50: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1287]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:51: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1288]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:52: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1289]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:53: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1290]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:54: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1291]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:55: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1292]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:56: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1293]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:57: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1294]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:67: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1295]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:68: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1296]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:69: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1297]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:70: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1298]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:76: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1299]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:77: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1300]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:79: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1301]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:80: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1302]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:84: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1303]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:85: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1304]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:86: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1305]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:87: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1306]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:88: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1307]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:89: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1308]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:90: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1309]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:91: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1310]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:92: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1311]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:93: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1312]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:94: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1313]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:96: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1314]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:97: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1315]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:98: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1316]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:100: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1317]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:101: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1318]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:102: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1319]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:103: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1320]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:104: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1321]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:105: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1322]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:106: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1323]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:107: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1324]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:108: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1325]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:109: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1326]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:110: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1327]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:111: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1328]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:112: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1329]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:113: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1330]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:114: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1331]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:115: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1332]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:118: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1333]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:119: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1334]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:120: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1335]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:122: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1336]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:123: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1337]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:124: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1338]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:125: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1339]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:126: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1340]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:127: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1341]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:129: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1342]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:130: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1343]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:131: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1344]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:132: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1345]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:136: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1346]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:137: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1347]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:139: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1348]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:140: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1349]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:141: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1350]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:145: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1351]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:146: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1352]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:147: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1353]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:150: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1354]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:151: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1355]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:152: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1356]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:153: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1357]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:154: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1358]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:155: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1359]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:156: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1360]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:157: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1361]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:158: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1362]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:159: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1363]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:160: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1364]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:161: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1365]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:162: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1366]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:163: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1367]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:164: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1368]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:165: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1369]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:166: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1370]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:167: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1371]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:170: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1372]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:171: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1373]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:172: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1374]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:173: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1375]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:174: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1376]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:176: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1377]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:177: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1378]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:178: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1379]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:179: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1380]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:180: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1381]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:183: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1382]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:184: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1383]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:191: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1384]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:192: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1385]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:193: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1386]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:195: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1387]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:196: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1388]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:198: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1389]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:199: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1390]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:200: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1391]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:201: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1392]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:203: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1393]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:204: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1394]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:205: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1395]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:206: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1396]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:207: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1397]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:208: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1398]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:209: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1399]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:210: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1400]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:211: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1401]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:212: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1402]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:214: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1403]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:215: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1404]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:218: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1405]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:219: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1406]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:220: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1407]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:221: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1408]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:222: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1409]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:223: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1410]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:224: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1411]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:225: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1412]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:226: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1413]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:227: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1414]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:228: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1415]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:229: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1416]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:230: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1417]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:231: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1418]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:232: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1419]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:233: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1420]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:234: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1421]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:235: Error: symbol `.ascii' is already defined
Error: COMPILER_WARNING: [#def1422]
xen-4.20.2/xen/arch/x86/x86_64/asm-offsets.c:236: Error: symbol `.ascii' is already defined
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1423]
xen-4.20.2/xen/arch/x86/x86_64/mm.c:727:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/xen/arch/x86/x86_64/mm.c:717:13: enter_function: entry to ‘zap_low_mappings’
xen-4.20.2/xen/arch/x86/x86_64/mm.c:719:5: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/x86_64/mm.c:722:5: call_function: inlined call to ‘write_u64_atomic’ from ‘zap_low_mappings’
xen-4.20.2/xen/arch/x86/x86_64/mm.c:727:22: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: CPPCHECK_WARNING (CWE-758): [#def1424]
xen-4.20.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): [#def1425]
xen-4.20.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): [#def1426]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:1015: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1427]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:2055: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1428]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:2385: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1429]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:2560: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1430]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:3105: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1431]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:3905: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def1432]
xen-4.20.2/xen/arch/x86/x86_emulate/x86_emulate.c:6277: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: GCC_ANALYZER_WARNING (CWE-1335): [#def1433]
xen-4.20.2/xen/common/bunzip2.c:140:55: warning[-Wanalyzer-shift-count-overflow]: shift by count (‘32’) >= precision of type (‘32’)
xen-4.20.2/xen/common/bunzip2.c:518:19: enter_function: entry to ‘read_bunzip’
xen-4.20.2/xen/common/bunzip2.c:524:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/bunzip2.c:528:9: branch_false: ...to here
xen-4.20.2/xen/common/bunzip2.c:536:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/bunzip2.c:605:20: branch_false: ...to here
xen-4.20.2/xen/common/bunzip2.c:605:20: call_function: calling ‘get_next_block’ from ‘read_bunzip’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1434]
xen-4.20.2/xen/common/domain.c:753:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.20.2/xen/common/domain.c:887:13: enter_function: entry to ‘setup_system_domains’
xen-4.20.2/xen/common/domain.c:896:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1435]
xen-4.20.2/xen/common/domain.c:813:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘config’
xen-4.20.2/xen/common/domain.c:887:13: enter_function: entry to ‘setup_system_domains’
xen-4.20.2/xen/common/domain.c:896:15: call_function: calling ‘domain_create’ from ‘setup_system_domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1436]
xen-4.20.2/xen/common/domctl.c:75:20: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:543:15: call_function: inlined call to ‘xsm_getdomaininfo’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:547:9: call_function: calling ‘getdomaininfo’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1437]
xen-4.20.2/xen/common/domctl.c:227:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:827:17: call_function: calling ‘vnuma_init’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1438]
xen-4.20.2/xen/common/domctl.c:351:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:350:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:351:23: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:351:23: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1439]
xen-4.20.2/xen/common/domctl.c:465:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:464:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:465:22: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:465:22: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1440]
xen-4.20.2/xen/common/domctl.c:559:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:559:40: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1441]
xen-4.20.2/xen/common/domctl.c:608:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:608:40: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1442]
xen-4.20.2/xen/common/domctl.c:637:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:637:9: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1443]
xen-4.20.2/xen/common/domctl.c:643:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:643:9: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1444]
xen-4.20.2/xen/common/domctl.c:653:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:648:14: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:648:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:652:13: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:653:13: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1445]
xen-4.20.2/xen/common/domctl.c:775:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:771:12: branch_false: following ‘false’ branch (when ‘e’ is non-NULL)...
xen-4.20.2/xen/common/domctl.c:775:12: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:775:12: branch_false: following ‘false’ branch (when ‘d != e’)...
xen-4.20.2/xen/common/domctl.c:775:27: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:775:27: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1446]
xen-4.20.2/xen/common/domctl.c:796:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:796:9: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1447]
xen-4.20.2/xen/common/grant_table.c:2219:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘raw_shah’
xen-4.20.2/xen/common/compat/grant_table.c:63:5: enter_function: entry to ‘compat_grant_table_op’
xen-4.20.2/xen/common/compat/grant_table.c:138:16: call_function: calling ‘do_grant_table_op’ from ‘compat_grant_table_op’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1448]
xen-4.20.2/xen/common/grant_table.c:4325:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sha’
xen-4.20.2/xen/common/grant_table.c:4288:13: enter_function: entry to ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4298:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4298:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4307:20: branch_true: following ‘true’ branch (when ‘ref != nr_ents’)...
xen-4.20.2/xen/common/grant_table.c:4314:15: call_function: inlined call to ‘active_entry_acquire’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4315:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/grant_table.c:4321:15: branch_false: ...to here
xen-4.20.2/xen/common/grant_table.c:4321:15: call_function: calling ‘shared_entry_header’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4321:15: return_function: return of NULL to ‘gnttab_usage_print’ from ‘shared_entry_header’
xen-4.20.2/xen/common/grant_table.c:4323:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/grant_table.c:4325:13: branch_true: ...to here
xen-4.20.2/xen/common/grant_table.c:4325:13: danger: dereference of NULL ‘sha’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1449]
xen-4.20.2/xen/common/grant_table.c:4339:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sha’
xen-4.20.2/xen/common/grant_table.c:4288:13: enter_function: entry to ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4298:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4298:5: call_function: inlined call to ‘grant_read_lock’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4307:20: branch_true: following ‘true’ branch (when ‘ref != nr_ents’)...
xen-4.20.2/xen/common/grant_table.c:4314:15: call_function: inlined call to ‘active_entry_acquire’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4321:15: call_function: calling ‘shared_entry_header’ from ‘gnttab_usage_print’
xen-4.20.2/xen/common/grant_table.c:4321:15: return_function: return of NULL to ‘gnttab_usage_print’ from ‘shared_entry_header’
xen-4.20.2/xen/common/grant_table.c:4323:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/grant_table.c:4330:21: branch_false: ...to here
xen-4.20.2/xen/common/grant_table.c:4339:16: danger: dereference of NULL ‘sha’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1450]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:182:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1451]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:185:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1452]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:188:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1453]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:191:9: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1454]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1455]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:194:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1456]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch (when ‘i < count’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def1457]
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:200:15: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:560:17: enter_function: entry to ‘elf_xen_parse’
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:614:8: branch_true: following ‘true’ branch (when ‘xen_elfnotes == 0’)...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:616:17: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:617:22: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:619:20: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:620:16: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:624:18: branch_true: ...to here
xen-4.20.2/xen/common/libelf/libelf-dominfo.c:627:26: call_function: calling ‘elf_xen_parse_notes’ from ‘elf_xen_parse’
Error: GCC_ANALYZER_WARNING (CWE-404): [#def1458]
xen-4.20.2/xen/common/libelf/libelf-loader.c:122:5: warning[-Wanalyzer-va-list-leak]: missing call to ‘va_end’
xen-4.20.2/xen/common/libelf/libelf-loader.c:116:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/libelf/libelf-loader.c:118:8: branch_false: ...to here
xen-4.20.2/xen/common/libelf/libelf-loader.c:121:5: acquire_resource: ‘va_start’ called here
xen-4.20.2/xen/common/libelf/libelf-loader.c:122:5: throw: if the called function throws an exception...
xen-4.20.2/xen/common/libelf/libelf-loader.c:122:5: danger: missing call to ‘va_end’ to match ‘va_start’ at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1459]
xen-4.20.2/xen/common/percpu.c:37:35: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/xen/common/percpu.c:32:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/percpu.c:37:35: branch_false: ...to here
xen-4.20.2/xen/common/percpu.c:37:35: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1460]
xen-4.20.2/xen/common/percpu.c:58:27: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1461]
xen-4.20.2/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/xen/common/rangeset.c:388:21: enter_function: entry to ‘merge’
xen-4.20.2/xen/common/rangeset.c:392:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1462]
xen-4.20.2/xen/common/rangeset.c:152:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.20.2/xen/common/rangeset.c:395:5: enter_function: entry to ‘rangeset_merge’
xen-4.20.2/xen/common/rangeset.c:397:12: call_function: calling ‘rangeset_report_ranges’ from ‘rangeset_merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1463]
xen-4.20.2/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/xen/common/rangeset.c:395:5: enter_function: entry to ‘rangeset_merge’
xen-4.20.2/xen/common/rangeset.c:397:12: call_function: calling ‘rangeset_report_ranges’ from ‘rangeset_merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1464]
xen-4.20.2/xen/common/rangeset.c:157:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.20.2/xen/common/rangeset.c:388:21: enter_function: entry to ‘merge’
xen-4.20.2/xen/common/rangeset.c:392:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1465]
xen-4.20.2/xen/common/rangeset.c:160:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘x’
xen-4.20.2/xen/common/rangeset.c:388:21: enter_function: entry to ‘merge’
xen-4.20.2/xen/common/rangeset.c:392:12: call_function: calling ‘rangeset_add_range’ from ‘merge’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1466]
xen-4.20.2/xen/drivers/passthrough/pci.c:1534:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pdev’
xen-4.20.2/xen/drivers/passthrough/pci.c:1514:12: enter_function: entry to ‘assign_device’
xen-4.20.2/xen/drivers/passthrough/pci.c:1520:11: call_function: inlined call to ‘is_iommu_enabled’ from ‘assign_device’
xen-4.20.2/xen/drivers/passthrough/pci.c:1523:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/drivers/passthrough/pci.c:1528:31: branch_true: ...to here
xen-4.20.2/xen/drivers/passthrough/pci.c:1528:12: call_function: calling ‘pci_get_pdev’ from ‘assign_device’
xen-4.20.2/xen/drivers/passthrough/pci.c:1528:12: return_function: return of NULL to ‘assign_device’ from ‘pci_get_pdev’
xen-4.20.2/xen/drivers/passthrough/pci.c:1534:10: danger: dereference of NULL ‘pdev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1467]
xen-4.20.2/xen/drivers/passthrough/x86/hvm.c:753:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def1468]
xen-4.20.2/xen/drivers/vpci/vpci.c:162:22: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
xen-4.20.2/xen/drivers/vpci/vpci.c:137:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/drivers/vpci/vpci.c:144:29: branch_false: ...to here
xen-4.20.2/xen/drivers/vpci/vpci.c:149:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/drivers/vpci/vpci.c:152:5: branch_false: ...to here
xen-4.20.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): [#def1469]
xen-4.20.2/xen/include/xen/iocap.h:18:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:687:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:690:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:690:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:694:17: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:694:17: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:695:19: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:695:19: call_function: calling ‘iomem_permit_access’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1470]
xen-4.20.2/xen/include/xen/iocap.h:35:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
xen-4.20.2/xen/common/domctl.c:282:6: enter_function: entry to ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:289:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:292:10: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:292:8: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:295:14: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:326:11: call_function: inlined call to ‘xsm_domctl’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:332:8: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:340:14: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:687:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:690:15: call_function: inlined call to ‘get_cpu_info’ from ‘do_domctl’
xen-4.20.2/xen/common/domctl.c:690:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/common/domctl.c:694:17: branch_true: ...to here
xen-4.20.2/xen/common/domctl.c:694:17: branch_false: following ‘false’ branch...
xen-4.20.2/xen/common/domctl.c:697:19: branch_false: ...to here
xen-4.20.2/xen/common/domctl.c:697:19: call_function: calling ‘iomem_deny_access’ from ‘do_domctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1471]
xen-4.20.2/xen/include/xen/sched.h:1183:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/xen/arch/x86/emul-i8254.c:229:13: enter_function: entry to ‘pit_latch_count’
xen-4.20.2/xen/arch/x86/emul-i8254.c:237:28: call_function: calling ‘pit_get_count’ from ‘pit_latch_count’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1472]
xen-4.20.2/xen/include/xen/sched.h:1183:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
xen-4.20.2/xen/arch/x86/x86_64/traps.c:126:6: enter_function: entry to ‘show_registers’
xen-4.20.2/xen/arch/x86/x86_64/traps.c:131:22: branch_false: following ‘false’ branch...
xen-4.20.2/xen/arch/x86/x86_64/traps.c:133:10: call_function: inlined call to ‘get_cpu_info’ from ‘show_registers’
xen-4.20.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): [#def1473]
xen-4.20.2/xen/lib/list-sort.c:92:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
xen-4.20.2/xen/lib/list-sort.c:114:6: enter_function: entry to ‘list_sort’
xen-4.20.2/xen/lib/list-sort.c:124:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/lib/list-sort.c:127:9: branch_false: ...to here
xen-4.20.2/xen/lib/list-sort.c:132:16: branch_false: following ‘false’ branch (when ‘list’ is NULL)...
xen-4.20.2/xen/lib/list-sort.c:132:16: branch_false: ...to here
xen-4.20.2/xen/lib/list-sort.c:152:23: branch_false: following ‘false’ branch (when ‘lev >= max_lev’)...
xen-4.20.2/xen/lib/list-sort.c:156:9: branch_false: ...to here
xen-4.20.2/xen/lib/list-sort.c:156:9: release_memory: ‘list’ is NULL
xen-4.20.2/xen/lib/list-sort.c:156:9: call_function: calling ‘merge_and_restore_back_links’ from ‘list_sort’
Error: CPPCHECK_WARNING (CWE-457): [#def1474]
xen-4.20.2/xen/lib/x86/cpuid.c:470: error[uninitvar]: Uninitialized variable: data.leaf
Error: CPPCHECK_WARNING (CWE-457): [#def1475]
xen-4.20.2/xen/lib/x86/msr.c:80: error[uninitvar]: Uninitialized variable: data.flags
Error: GCC_ANALYZER_WARNING (CWE-127): [#def1476]
xen-4.20.2/xen/tools/fixdep.c:327:30: warning[-Wanalyzer-out-of-bounds]: heap-based buffer under-read
xen-4.20.2/xen/tools/fixdep.c:385:5: enter_function: entry to ‘main’
xen-4.20.2/xen/tools/fixdep.c:390:12: branch_false: following ‘false’ branch (when ‘argc == 4’)...
xen-4.20.2/xen/tools/fixdep.c:393:9: branch_false: ...to here
xen-4.20.2/xen/tools/fixdep.c:397:9: call_function: calling ‘xprintf’ from ‘main’
xen-4.20.2/xen/tools/fixdep.c:397:9: return_function: returning to ‘main’ from ‘xprintf’
xen-4.20.2/xen/tools/fixdep.c:399:15: call_function: calling ‘read_file’ from ‘main’
xen-4.20.2/xen/tools/fixdep.c:399:15: return_function: returning to ‘main’ from ‘read_file’
xen-4.20.2/xen/tools/fixdep.c:400:9: call_function: calling ‘parse_dep_file’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def1477]
xen-4.20.2/xen/tools/kconfig/confdata.c:96:9: warning[-Wanalyzer-out-of-bounds]: buffer over-read
xen-4.20.2/xen/tools/kconfig/confdata.c:988:12: enter_function: entry to ‘conf_touch_deps’
xen-4.20.2/xen/tools/kconfig/confdata.c:1001:9: branch_true: following ‘true’ branch (when ‘i != 9973’)...
xen-4.20.2/xen/tools/kconfig/confdata.c:1001:9: branch_true: ...to here
xen-4.20.2/xen/tools/kconfig/confdata.c:1043:27: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/confdata.c:1052:38: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/confdata.c:1052:23: call_function: calling ‘conf_touch_dep’ from ‘conf_touch_deps’
Error: CPPCHECK_WARNING (CWE-404): [#def1478]
xen-4.20.2/xen/tools/kconfig/confdata.c:1090: error[resourceLeak]: Resource leak: tristate
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1479]
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:3643:54: warning[-Wanalyzer-malloc-leak]: leak of ‘malloc(64)’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1480]
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:3643:54: warning[-Wanalyzer-malloc-leak]: leak of ‘yy_create_buffer(zconf_fopen(*file.name), 16384)’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def1481]
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:3651:16: warning[-Wanalyzer-file-leak]: leak of FILE
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.20.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): [#def1482]
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:3651:16: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4261:6: enter_function: entry to ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: call_function: calling ‘zconf_fopen’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4269:16: return_function: returning to ‘zconf_nextfile’ from ‘zconf_fopen’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4270:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_create_buffer’ from ‘zconf_nextfile’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: return_function: returning to ‘zconf_nextfile’ from ‘yy_create_buffer’
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:4275:9: call_function: calling ‘yy_switch_to_buffer’ from ‘zconf_nextfile’
Error: CPPCHECK_WARNING (CWE-476): [#def1483]
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:3684: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def1484]
xen-4.20.2/xen/tools/kconfig/lexer.lex.c:3685: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def1485]
xen-4.20.2/xen/tools/kconfig/menu.c:851:1: warning[-Wanalyzer-malloc-leak]: leak of ‘res.s’
xen-4.20.2/xen/tools/kconfig/menu.c:840:13: enter_function: entry to ‘get_relations_str’
xen-4.20.2/xen/tools/kconfig/menu.c:843:27: call_function: calling ‘str_new’ from ‘get_relations_str’
xen-4.20.2/xen/tools/kconfig/menu.c:843:27: return_function: returning to ‘get_relations_str’ from ‘str_new’
xen-4.20.2/xen/tools/kconfig/menu.c:846:21: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/menu.c:847:17: call_function: calling ‘get_symbol_str’ from ‘get_relations_str’
xen-4.20.2/xen/tools/kconfig/menu.c:847:17: return_function: returning to ‘get_relations_str’ from ‘get_symbol_str’
xen-4.20.2/xen/tools/kconfig/menu.c:846:21: branch_true: following ‘true’ branch (when ‘sym_arr’ is non-NULL)...
xen-4.20.2/xen/tools/kconfig/menu.c:846:46: branch_true: ...to here
xen-4.20.2/xen/tools/kconfig/menu.c:846:21: branch_false: following ‘false’ branch (when ‘sym’ is NULL)...
xen-4.20.2/xen/tools/kconfig/menu.c:848:12: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/menu.c:848:12: branch_false: following ‘false’ branch (when ‘i != 0’)...
xen-4.20.2/xen/tools/kconfig/menu.c:850:16: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/menu.c:851:1: danger: ‘res.s’ leaks here; was allocated at [(47)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/46)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1486]
xen-4.20.2/xen/tools/kconfig/symbol.c:1073:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘prop’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1487]
xen-4.20.2/xen/tools/kconfig/symbol.c:1080:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1488]
xen-4.20.2/xen/tools/kconfig/symbol.c:1085:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1489]
xen-4.20.2/xen/tools/kconfig/symbol.c:1090:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1490]
xen-4.20.2/xen/tools/kconfig/symbol.c:1095:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1491]
xen-4.20.2/xen/tools/kconfig/symbol.c:1100:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1492]
xen-4.20.2/xen/tools/kconfig/symbol.c:1106:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1493]
xen-4.20.2/xen/tools/kconfig/symbol.c:1112:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘next_sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.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): [#def1494]
xen-4.20.2/xen/tools/kconfig/symbol.c:1218:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1257:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1265:20: call_function: inlined call to ‘sym_is_choice’ from ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1265:19: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1266:24: branch_true: ...to here
xen-4.20.2/xen/tools/kconfig/symbol.c:1266:24: call_function: calling ‘sym_check_choice_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1495]
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sym’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1254:13: branch_false: ...to here
xen-4.20.2/xen/tools/kconfig/symbol.c:1254:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1257:13: call_function: inlined call to ‘sym_is_choice_value’ from ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1257:12: branch_false: following ‘false’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1265:20: call_function: inlined call to ‘sym_is_choice’ from ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1265:19: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1266:24: branch_true: ...to here
xen-4.20.2/xen/tools/kconfig/symbol.c:1266:24: call_function: calling ‘sym_check_choice_deps’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1496]
xen-4.20.2/xen/tools/kconfig/symbol.c:1300:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
xen-4.20.2/xen/tools/kconfig/symbol.c:1245:16: enter_function: entry to ‘sym_check_deps’
xen-4.20.2/xen/tools/kconfig/symbol.c:1250:12: branch_true: following ‘true’ branch...
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: branch_true: ...to here
xen-4.20.2/xen/tools/kconfig/symbol.c:1251:17: call_function: calling ‘sym_check_print_recursive’ from ‘sym_check_deps’
Error: GCC_ANALYZER_WARNING (CWE-415): [#def1497]
xen-4.20.2/xen/tools/symbols.c:120:17: warning[-Wanalyzer-double-free]: double-‘free’ of ‘0’
xen-4.20.2/xen/tools/symbols.c:594:5: enter_function: entry to ‘main’
xen-4.20.2/xen/tools/symbols.c:624:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.20.2/xen/tools/symbols.c:627:9: branch_false: ...to here
xen-4.20.2/xen/tools/symbols.c:627:9: call_function: calling ‘read_map’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1498]
xen-4.20.2/xen/tools/symbols.c:175:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*s.sym’
xen-4.20.2/xen/tools/symbols.c:594:5: enter_function: entry to ‘main’
xen-4.20.2/xen/tools/symbols.c:624:19: branch_false: following ‘false’ branch (when ‘argc == 1’)...
xen-4.20.2/xen/tools/symbols.c:627:9: branch_false: ...to here
xen-4.20.2/xen/tools/symbols.c:627:9: call_function: calling ‘read_map’ from ‘main’
Error: CPPCHECK_WARNING (CWE-476): [#def1499]
xen-4.20.2/xen/tools/symbols.c:362: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: markers
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-169.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | xen-4.20.2-2.fc44 |
| store-results-to | /tmp/tmpsunzp3ro/xen-4.20.2-2.fc44.tar.xz |
| time-created | 2026-01-08 22:22:57 |
| time-finished | 2026-01-08 22:34:20 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpsunzp3ro/xen-4.20.2-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpsunzp3ro/xen-4.20.2-2.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |