grub2-2.12-50.fc44
List of Findings
Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/etc/grub.d/00_header:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def2]
/etc/grub.d/00_header:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/etc/grub.d/00_header:28:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def4]
/etc/grub.d/00_header:186:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/etc/grub.d/00_header:186:39: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def6]
/etc/grub.d/00_header:209:33: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def7]
/etc/grub.d/00_header:270:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def8]
/etc/grub.d/00_header:311:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def9]
/etc/grub.d/00_header:374:6: warning[SC1010]: Use semicolon or linefeed before 'fi' (or quote to make it literal).
Error: SHELLCHECK_WARNING (CWE-563): [#def10]
/etc/grub.d/10_linux:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def11]
/etc/grub.d/10_linux:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def12]
/etc/grub.d/10_linux:24:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def13]
/etc/grub.d/10_linux:32:14: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def14]
/etc/grub.d/10_linux:33:25: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def15]
/etc/grub.d/10_linux:81:9: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def16]
/etc/grub.d/10_linux:147:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def17]
/etc/grub.d/10_linux:147:15: warning[SC3003]: In POSIX sh, $'..' is undefined.
Error: SHELLCHECK_WARNING: [#def18]
/etc/grub.d/10_linux:149:11: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-140): [#def19]
/etc/grub.d/10_linux:149:12: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING: [#def20]
/etc/grub.d/10_linux:150:14: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def21]
/etc/grub.d/10_linux:158:11: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def22]
/etc/grub.d/10_linux:163:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def23]
/etc/grub.d/10_linux:164:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def24]
/etc/grub.d/10_linux:164:20: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def25]
/etc/grub.d/10_linux:164:21: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def26]
/etc/grub.d/10_linux:164:21: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING: [#def27]
/etc/grub.d/10_linux:167:12: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def28]
/etc/grub.d/10_linux:175:17: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING: [#def29]
/etc/grub.d/10_linux:176:9: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def30]
/etc/grub.d/10_linux:190:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def31]
/etc/grub.d/10_linux:190:20: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def32]
/etc/grub.d/10_linux:190:21: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def33]
/etc/grub.d/10_linux:190:21: warning[SC2207]: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Error: SHELLCHECK_WARNING: [#def34]
/etc/grub.d/10_linux:194:17: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def35]
/etc/grub.d/10_linux:200:36: warning[SC2154]: boot_prefix is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def36]
/etc/grub.d/10_linux:239:19: warning[SC3045]: In POSIX sh, read -d is undefined.
Error: SHELLCHECK_WARNING: [#def37]
/etc/grub.d/10_linux:240:37: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def38]
/etc/grub.d/10_linux:247:18: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def39]
/etc/grub.d/10_linux:247:36: warning[SC3015]: In POSIX sh, =~ regex matching is undefined.
Error: SHELLCHECK_WARNING: [#def40]
/etc/grub.d/10_linux:247:49: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def41]
/etc/grub.d/10_linux:247:67: warning[SC3015]: In POSIX sh, =~ regex matching is undefined.
Error: SHELLCHECK_WARNING: [#def42]
/etc/grub.d/10_linux:248:19: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def43]
/etc/grub.d/10_linux:249:19: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def44]
/etc/grub.d/10_linux:293:15: warning[SC2154]: grub_editenv is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def45]
/etc/grub.d/10_linux:315:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def46]
/etc/grub.d/10_linux:316:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def47]
/etc/grub.d/10_linux:317:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def48]
/etc/grub.d/10_linux:318:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def49]
/etc/grub.d/10_linux:323:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def50]
/etc/grub.d/10_linux:324:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def51]
/etc/grub.d/10_linux:336:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def52]
/etc/grub.d/10_linux:568:26: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def53]
/etc/grub.d/20_linux_xen:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def54]
/etc/grub.d/20_linux_xen:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def55]
/etc/grub.d/20_linux_xen:24:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def56]
/etc/grub.d/20_linux_xen:88:9: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def57]
/etc/grub.d/20_linux_xen:273:9: warning[SC2154]: grub_file is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def58]
/etc/grub.d/20_linux_xen:360:27: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def59]
/etc/grub.d/20_ppc_terminfo:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def60]
/etc/grub.d/20_ppc_terminfo:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def61]
/etc/grub.d/20_ppc_terminfo:22:1: warning[SC2034]: bindir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def62]
/etc/grub.d/20_ppc_terminfo:23:1: warning[SC2034]: libdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def63]
/etc/grub.d/30_os-prober:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def64]
/etc/grub.d/30_os-prober:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def65]
/etc/grub.d/30_os-prober:27:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-685): [#def66]
/etc/grub.d/30_os-prober:44:1: warning[SC2120]: osx_entry references arguments, but none are ever passed.
Error: SHELLCHECK_WARNING (CWE-457): [#def67]
/etc/grub.d/30_os-prober:49:19: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def68]
/etc/grub.d/30_os-prober:49:43: warning[SC2154]: device is referenced but not assigned (did you mean 'DEVICE'?).
Error: SHELLCHECK_WARNING (CWE-457): [#def69]
/etc/grub.d/30_os-prober:234:35: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def70]
/etc/grub.d/30_os-prober:251:241: warning[SC2154]: version is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def71]
/etc/grub.d/30_os-prober:251:250: warning[SC2154]: type is referenced but not assigned (for output from commands, use "$(type ...)" ).
Error: SHELLCHECK_WARNING: [#def72]
/etc/grub.d/30_os-prober:262:5: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def73]
/etc/grub.d/30_uefi-firmware:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def74]
/etc/grub.d/30_uefi-firmware:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-457): [#def75]
/etc/grub.d/30_uefi-firmware:27:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def76]
/usr/bin/grub2-get-kernel-settings:71:26: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def77]
/usr/bin/grub2-get-kernel-settings:75:30: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def78]
/usr/bin/grub2-kbdcomp:3:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def79]
/usr/bin/grub2-kbdcomp:4:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def80]
/usr/bin/grub2-mkconfig:24:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def81]
/usr/bin/grub2-mkconfig:25:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def82]
/usr/bin/grub2-mkconfig:31:1: warning[SC2034]: host_os appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def83]
/usr/bin/grub2-mkconfig:45:1: warning[SC2034]: grub_file appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def84]
/usr/bin/grub2-mkconfig:196:5: warning[SC2034]: termoutdefault appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def85]
/usr/bin/grub2-reboot:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def86]
/usr/bin/grub2-reboot:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def87]
/usr/bin/grub2-reboot:24:1: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def88]
/usr/bin/grub2-set-default:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def89]
/usr/bin/grub2-set-default:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def90]
/usr/bin/grub2-set-password:40:7: warning[SC3028]: In POSIX sh, EUID is undefined.
Error: SHELLCHECK_WARNING: [#def91]
/usr/bin/grub2-set-password:88:6: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def92]
/usr/bin/grub2-set-password:91:6: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def93]
/usr/bin/grub2-set-password:97:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def94]
/usr/bin/grub2-set-password:98:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def95]
/usr/bin/grub2-switch-to-blscfg:23:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def96]
/usr/bin/grub2-switch-to-blscfg:26:1: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def97]
/usr/bin/grub2-switch-to-blscfg:31:8: warning[SC3016]: In POSIX sh, test -v (in place of [ -n "${var+x}" ]) is undefined.
Error: SHELLCHECK_WARNING: [#def98]
/usr/bin/grub2-switch-to-blscfg:155:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def99]
/usr/bin/grub2-switch-to-blscfg:156:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def100]
/usr/bin/grub2-switch-to-blscfg:191:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def101]
/usr/bin/grub2-switch-to-blscfg:192:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def102]
/usr/bin/grub2-switch-to-blscfg:192:11: warning[SC2034]: datetime appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def103]
/usr/bin/grub2-switch-to-blscfg:193:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def104]
/usr/bin/grub2-switch-to-blscfg:195:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def105]
/usr/bin/grub2-switch-to-blscfg:196:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def106]
/usr/bin/grub2-switch-to-blscfg:197:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def107]
/usr/bin/grub2-switch-to-blscfg:199:23: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def108]
/usr/bin/grub2-switch-to-blscfg:199:26: error[SC2081]: [ .. ] can't match globs. Use a case statement.
Error: SHELLCHECK_WARNING: [#def109]
/usr/bin/grub2-switch-to-blscfg:200:9: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def110]
/usr/bin/grub2-switch-to-blscfg:201:26: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING: [#def111]
/usr/bin/grub2-switch-to-blscfg:202:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def112]
/usr/bin/grub2-switch-to-blscfg:203:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def113]
/usr/bin/grub2-switch-to-blscfg:207:9: warning[SC3046]: In POSIX sh, 'source' in place of '.' is undefined.
Error: SHELLCHECK_WARNING: [#def114]
/usr/bin/grub2-switch-to-blscfg:207:9: warning[SC3051]: In POSIX sh, 'source' in place of '.' is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def115]
/usr/bin/grub2-switch-to-blscfg:223:24: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def116]
/usr/bin/grub2-switch-to-blscfg:236:20: warning[SC2154]: grub_mkrelpath is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def117]
/usr/bin/grub2-switch-to-blscfg:266:71: warning[SC2061]: Quote the parameter to -name so the shell won't interpret it.
Error: SHELLCHECK_WARNING (CWE-477): [#def118]
/usr/bin/grub2-switch-to-blscfg:295:28: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-563): [#def119]
/usr/lib/grub/i386-efi/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def120]
/usr/lib/grub/i386-efi/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def121]
/usr/lib/grub/i386-efi/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def122]
/usr/lib/grub/i386-efi/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def123]
/usr/lib/grub/i386-efi/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def124]
/usr/lib/grub/i386-efi/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def125]
/usr/lib/grub/i386-efi/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def126]
/usr/lib/grub/i386-efi/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def127]
/usr/lib/grub/i386-efi/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def128]
/usr/lib/grub/i386-efi/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def129]
/usr/lib/grub/i386-efi/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def130]
/usr/lib/grub/i386-efi/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def131]
/usr/lib/grub/i386-efi/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-efi/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def132]
/usr/lib/grub/i386-efi/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def133]
/usr/lib/grub/i386-efi/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def134]
/usr/lib/grub/i386-efi/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def135]
/usr/lib/grub/i386-efi/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def136]
/usr/lib/grub/i386-efi/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def137]
/usr/lib/grub/i386-efi/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def138]
/usr/lib/grub/i386-efi/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def139]
/usr/lib/grub/i386-efi/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def140]
/usr/lib/grub/i386-efi/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def141]
/usr/lib/grub/i386-efi/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def142]
/usr/lib/grub/i386-efi/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def143]
/usr/lib/grub/i386-efi/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def144]
/usr/lib/grub/i386-efi/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def145]
/usr/lib/grub/i386-efi/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def146]
/usr/lib/grub/i386-efi/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def147]
/usr/lib/grub/i386-efi/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def148]
/usr/lib/grub/i386-efi/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def149]
/usr/lib/grub/i386-efi/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def150]
/usr/lib/grub/i386-pc/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def151]
/usr/lib/grub/i386-pc/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def152]
/usr/lib/grub/i386-pc/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def153]
/usr/lib/grub/i386-pc/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def154]
/usr/lib/grub/i386-pc/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def155]
/usr/lib/grub/i386-pc/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def156]
/usr/lib/grub/i386-pc/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def157]
/usr/lib/grub/i386-pc/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def158]
/usr/lib/grub/i386-pc/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def159]
/usr/lib/grub/i386-pc/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def160]
/usr/lib/grub/i386-pc/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def161]
/usr/lib/grub/i386-pc/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def162]
/usr/lib/grub/i386-pc/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-pc/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def163]
/usr/lib/grub/i386-pc/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def164]
/usr/lib/grub/i386-pc/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def165]
/usr/lib/grub/i386-pc/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def166]
/usr/lib/grub/i386-pc/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def167]
/usr/lib/grub/i386-pc/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def168]
/usr/lib/grub/i386-pc/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def169]
/usr/lib/grub/i386-pc/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def170]
/usr/lib/grub/i386-pc/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def171]
/usr/lib/grub/i386-pc/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def172]
/usr/lib/grub/i386-pc/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def173]
/usr/lib/grub/i386-pc/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def174]
/usr/lib/grub/i386-pc/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def175]
/usr/lib/grub/i386-pc/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def176]
/usr/lib/grub/i386-pc/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def177]
/usr/lib/grub/i386-pc/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def178]
/usr/lib/grub/i386-pc/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def179]
/usr/lib/grub/i386-pc/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def180]
/usr/lib/grub/i386-pc/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def181]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def182]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def183]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def184]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def185]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def186]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def187]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def188]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def189]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def190]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def191]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def192]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def193]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/i386-xen_pvh/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def194]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def195]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def196]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def197]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def198]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def199]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def200]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def201]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def202]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def203]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def204]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def205]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def206]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def207]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def208]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def209]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def210]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def211]
/usr/lib/grub/i386-xen_pvh/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def212]
/usr/lib/grub/x86_64-efi/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def213]
/usr/lib/grub/x86_64-efi/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def214]
/usr/lib/grub/x86_64-efi/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def215]
/usr/lib/grub/x86_64-efi/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def216]
/usr/lib/grub/x86_64-efi/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def217]
/usr/lib/grub/x86_64-efi/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def218]
/usr/lib/grub/x86_64-efi/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def219]
/usr/lib/grub/x86_64-efi/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def220]
/usr/lib/grub/x86_64-efi/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def221]
/usr/lib/grub/x86_64-efi/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def222]
/usr/lib/grub/x86_64-efi/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def223]
/usr/lib/grub/x86_64-efi/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def224]
/usr/lib/grub/x86_64-efi/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-efi/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def225]
/usr/lib/grub/x86_64-efi/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def226]
/usr/lib/grub/x86_64-efi/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def227]
/usr/lib/grub/x86_64-efi/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def228]
/usr/lib/grub/x86_64-efi/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def229]
/usr/lib/grub/x86_64-efi/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def230]
/usr/lib/grub/x86_64-efi/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def231]
/usr/lib/grub/x86_64-efi/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def232]
/usr/lib/grub/x86_64-efi/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def233]
/usr/lib/grub/x86_64-efi/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def234]
/usr/lib/grub/x86_64-efi/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def235]
/usr/lib/grub/x86_64-efi/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def236]
/usr/lib/grub/x86_64-efi/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def237]
/usr/lib/grub/x86_64-efi/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def238]
/usr/lib/grub/x86_64-efi/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def239]
/usr/lib/grub/x86_64-efi/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def240]
/usr/lib/grub/x86_64-efi/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def241]
/usr/lib/grub/x86_64-efi/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def242]
/usr/lib/grub/x86_64-efi/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def243]
/usr/lib/grub/x86_64-emu/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def244]
/usr/lib/grub/x86_64-emu/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def245]
/usr/lib/grub/x86_64-emu/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def246]
/usr/lib/grub/x86_64-emu/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def247]
/usr/lib/grub/x86_64-emu/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def248]
/usr/lib/grub/x86_64-emu/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def249]
/usr/lib/grub/x86_64-emu/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def250]
/usr/lib/grub/x86_64-emu/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def251]
/usr/lib/grub/x86_64-emu/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def252]
/usr/lib/grub/x86_64-emu/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def253]
/usr/lib/grub/x86_64-emu/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def254]
/usr/lib/grub/x86_64-emu/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def255]
/usr/lib/grub/x86_64-emu/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-emu/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def256]
/usr/lib/grub/x86_64-emu/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def257]
/usr/lib/grub/x86_64-emu/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def258]
/usr/lib/grub/x86_64-emu/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def259]
/usr/lib/grub/x86_64-emu/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def260]
/usr/lib/grub/x86_64-emu/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def261]
/usr/lib/grub/x86_64-emu/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def262]
/usr/lib/grub/x86_64-emu/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def263]
/usr/lib/grub/x86_64-emu/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def264]
/usr/lib/grub/x86_64-emu/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def265]
/usr/lib/grub/x86_64-emu/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def266]
/usr/lib/grub/x86_64-emu/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def267]
/usr/lib/grub/x86_64-emu/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def268]
/usr/lib/grub/x86_64-emu/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def269]
/usr/lib/grub/x86_64-emu/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def270]
/usr/lib/grub/x86_64-emu/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def271]
/usr/lib/grub/x86_64-emu/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def272]
/usr/lib/grub/x86_64-emu/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def273]
/usr/lib/grub/x86_64-emu/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def274]
/usr/lib/grub/x86_64-xen/modinfo.sh:4:1: warning[SC2034]: grub_modinfo_target_cpu appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def275]
/usr/lib/grub/x86_64-xen/modinfo.sh:5:1: warning[SC2034]: grub_modinfo_platform appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def276]
/usr/lib/grub/x86_64-xen/modinfo.sh:6:1: warning[SC2034]: grub_disk_cache_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def277]
/usr/lib/grub/x86_64-xen/modinfo.sh:7:1: warning[SC2034]: grub_boot_time_stats appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def278]
/usr/lib/grub/x86_64-xen/modinfo.sh:8:1: warning[SC2034]: grub_have_font_source appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def279]
/usr/lib/grub/x86_64-xen/modinfo.sh:11:1: warning[SC2034]: grub_have_asm_uscore appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def280]
/usr/lib/grub/x86_64-xen/modinfo.sh:12:1: warning[SC2034]: grub_bss_start_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def281]
/usr/lib/grub/x86_64-xen/modinfo.sh:13:1: warning[SC2034]: grub_end_symbol appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def282]
/usr/lib/grub/x86_64-xen/modinfo.sh:16:1: warning[SC2034]: grub_target_cc appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:16:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def283]
/usr/lib/grub/x86_64-xen/modinfo.sh:17:1: warning[SC2034]: grub_target_cc_version appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:17:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def284]
/usr/lib/grub/x86_64-xen/modinfo.sh:18:1: warning[SC2034]: grub_target_cflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:18:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def285]
/usr/lib/grub/x86_64-xen/modinfo.sh:19:1: warning[SC2034]: grub_target_cppflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:19:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def286]
/usr/lib/grub/x86_64-xen/modinfo.sh:20:1: warning[SC2034]: grub_target_ccasflags appears unused. Verify use (or export if used externally).
/usr/lib/grub/x86_64-xen/modinfo.sh:20:1: note: trimmed 1 message(s) with length over 512
Error: SHELLCHECK_WARNING (CWE-563): [#def287]
/usr/lib/grub/x86_64-xen/modinfo.sh:21:1: warning[SC2034]: grub_target_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def288]
/usr/lib/grub/x86_64-xen/modinfo.sh:22:1: warning[SC2034]: grub_cflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def289]
/usr/lib/grub/x86_64-xen/modinfo.sh:23:1: warning[SC2034]: grub_cppflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def290]
/usr/lib/grub/x86_64-xen/modinfo.sh:24:1: warning[SC2034]: grub_ccasflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def291]
/usr/lib/grub/x86_64-xen/modinfo.sh:25:1: warning[SC2034]: grub_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def292]
/usr/lib/grub/x86_64-xen/modinfo.sh:26:1: warning[SC2034]: grub_target_strip appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def293]
/usr/lib/grub/x86_64-xen/modinfo.sh:27:1: warning[SC2034]: grub_target_nm appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def294]
/usr/lib/grub/x86_64-xen/modinfo.sh:28:1: warning[SC2034]: grub_target_ranlib appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def295]
/usr/lib/grub/x86_64-xen/modinfo.sh:29:1: warning[SC2034]: grub_target_objconf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def296]
/usr/lib/grub/x86_64-xen/modinfo.sh:30:1: warning[SC2034]: grub_target_obj2elf appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def297]
/usr/lib/grub/x86_64-xen/modinfo.sh:31:1: warning[SC2034]: grub_target_img_base_ldopt appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def298]
/usr/lib/grub/x86_64-xen/modinfo.sh:32:1: warning[SC2034]: grub_target_img_ldflags appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def299]
/usr/lib/grub/x86_64-xen/modinfo.sh:35:1: warning[SC2034]: grub_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def300]
/usr/lib/grub/x86_64-xen/modinfo.sh:36:1: warning[SC2034]: grub_package appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def301]
/usr/lib/grub/x86_64-xen/modinfo.sh:37:1: warning[SC2034]: grub_package_string appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def302]
/usr/lib/grub/x86_64-xen/modinfo.sh:38:1: warning[SC2034]: grub_package_version appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def303]
/usr/lib/grub/x86_64-xen/modinfo.sh:39:1: warning[SC2034]: grub_package_name appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def304]
/usr/lib/grub/x86_64-xen/modinfo.sh:40:1: warning[SC2034]: grub_package_bugreport appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def305]
/usr/lib/kernel/install.d/20-grub.install:29:11: warning[SC2034]: datetime appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-277): [#def306]
/usr/lib/kernel/install.d/20-grub.install:129:42: warning[SC2174]: When used with -p, -m only applies to the deepest directory.
Error: SHELLCHECK_WARNING (CWE-156): [#def307]
/usr/lib/kernel/install.d/20-grub.install:139:43: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-153): [#def308]
/usr/lib/kernel/install.d/20-grub.install:148:29: warning[SC2053]: Quote the right-hand side of != in [[ ]] to prevent glob matching.
Error: SHELLCHECK_WARNING (CWE-477): [#def309]
/usr/lib/kernel/install.d/20-grub.install:172:39: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def310]
/usr/lib/kernel/install.d/20-grub.install:181:46: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def311]
/usr/lib/kernel/install.d/20-grub.install:181:76: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-477): [#def312]
/usr/lib/kernel/install.d/20-grub.install:182:71: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: SHELLCHECK_WARNING (CWE-563): [#def313]
/usr/lib/kernel/install.d/95-set-boot-entry.install:7:1: warning[SC2034]: KERNEL_VERSION appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def314]
/usr/lib/kernel/install.d/95-set-boot-entry.install:8:1: warning[SC2034]: BOOT_DIR_ABS appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def315]
/usr/lib/kernel/install.d/95-set-boot-entry.install:9:1: warning[SC2034]: KERNEL_IMAGE appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-477): [#def316]
/usr/lib/kernel/install.d/95-set-boot-entry.install:26:49: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
grub-2.12/grub-core/bus/usb/ohci.c:596:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-core/bus/usb/ohci.c:585:1: enter_function: entry to ‘grub_ohci_free_tds’
grub-2.12/grub-core/bus/usb/ohci.c:587:6: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-core/bus/usb/ohci.c:591:7: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:591:6: branch_true: following ‘true’ branch...
grub-2.12/grub-core/bus/usb/ohci.c:594:39: branch_true: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:593:37: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_free_tds’
grub-2.12/grub-core/bus/usb/ohci.c:593:37: return_function: return of NULL to ‘grub_ohci_free_tds’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-core/bus/usb/ohci.c:596:34: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
grub-2.12/grub-core/bus/usb/ohci.c:658:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_current_virt’ is NULL
grub-2.12/grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def319]
grub-2.12/grub-core/bus/usb/ohci.c:663:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub-2.12/grub-core/bus/usb/ohci.c:682:1: enter_function: entry to ‘grub_ohci_setup_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:695:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-core/bus/usb/ohci.c:700:12: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:724:20: call_function: calling ‘grub_ohci_find_ed’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:724:20: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_find_ed’
grub-2.12/grub-core/bus/usb/ohci.c:725:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/bus/usb/ohci.c:733:18: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:737:6: branch_false: following ‘false’ branch (when ‘td_head_phys == td_tail_phys’)...
grub-2.12/grub-core/bus/usb/ohci.c:749:6: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:749:6: branch_false: following ‘false’ branch (when ‘td_head_phys != 0’)...
grub-2.12/grub-core/bus/usb/ohci.c:764:27: branch_false: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:764:27: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_setup_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:764:27: return_function: returning to ‘grub_ohci_setup_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-core/bus/usb/ohci.c:768:40: release_memory: ‘*cdata.td_head_virt’ is NULL
grub-2.12/grub-core/bus/usb/ohci.c:769:8: branch_true: following ‘true’ branch...
grub-2.12/grub-core/bus/usb/ohci.c:771:36: branch_true: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:773:7: release_memory: ‘*cdata.td_current_virt’ is NULL
grub-2.12/grub-core/bus/usb/ohci.c:773:7: call_function: calling ‘grub_ohci_transaction’ from ‘grub_ohci_setup_transfer’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
grub-2.12/grub-core/bus/usb/ohci.c:939:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub-2.12/grub-core/bus/usb/ohci.c:919:1: enter_function: entry to ‘finish_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:934:6: branch_true: following ‘true’ branch...
grub-2.12/grub-core/bus/usb/ohci.c:937:38: branch_true: ...to here
grub-2.12/grub-core/bus/usb/ohci.c:937:11: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘finish_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:937:11: return_function: return of NULL to ‘finish_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-core/bus/usb/ohci.c:939:54: danger: dereference of NULL ‘td_prev_virt’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def321]
grub-2.12/grub-core/bus/usb/ohci.c:967:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-core/bus/usb/ohci.c:951:1: enter_function: entry to ‘parse_halt’
grub-2.12/grub-core/bus/usb/ohci.c:967:23: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘parse_halt’
grub-2.12/grub-core/bus/usb/ohci.c:967:23: return_function: returning to ‘parse_halt’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-core/bus/usb/ohci.c:967:23: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_44->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def322]
grub-2.12/grub-core/bus/usb/ohci.c:1208:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-core/bus/usb/ohci.c:1188:1: enter_function: entry to ‘grub_ohci_cancel_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:1208:7: call_function: calling ‘grub_ohci_td_phys2virt’ from ‘grub_ohci_cancel_transfer’
grub-2.12/grub-core/bus/usb/ohci.c:1208:7: return_function: returning to ‘grub_ohci_cancel_transfer’ from ‘grub_ohci_td_phys2virt’
grub-2.12/grub-core/bus/usb/ohci.c:1208:7: danger: dereference of NULL ‘grub_ohci_td_phys2virt(o, *cdata_18->ed_virt.td_head & 4294967280)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def323]
grub-2.12/grub-core/bus/usb/uhci.c:570:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:541:15: branch_true: following ‘true’ branch...
grub-2.12/grub-core/bus/usb/uhci.c:543:36: branch_true: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:545:12: call_function: calling ‘grub_uhci_transaction’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-core/bus/usb/uhci.c:545:12: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_uhci_transaction’
grub-2.12/grub-core/bus/usb/uhci.c:549:10: branch_false: following ‘false’ branch (when ‘td’ is non-NULL)...
grub-2.12/grub-core/bus/usb/uhci.c:566:13: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:566:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/bus/usb/uhci.c:570:31: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:570:11: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
grub-2.12/grub-core/bus/usb/uhci.c:576:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub-2.12/grub-core/bus/usb/uhci.c:516:1: enter_function: entry to ‘grub_uhci_setup_transfer’
grub-2.12/grub-core/bus/usb/uhci.c:521:18: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-core/bus/usb/uhci.c:526:6: branch_false: following ‘false’ branch (when ‘cdata’ is non-NULL)...
grub-2.12/grub-core/bus/usb/uhci.c:529:3: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:529:3: release_memory: ‘td_prev’ is NULL
grub-2.12/grub-core/bus/usb/uhci.c:532:15: call_function: calling ‘grub_alloc_qh’ from ‘grub_uhci_setup_transfer’
grub-2.12/grub-core/bus/usb/uhci.c:532:15: return_function: returning to ‘grub_uhci_setup_transfer’ from ‘grub_alloc_qh’
grub-2.12/grub-core/bus/usb/uhci.c:533:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/bus/usb/uhci.c:539:3: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:541:15: branch_false: following ‘false’ branch...
grub-2.12/grub-core/bus/usb/uhci.c:576:3: branch_false: ...to here
grub-2.12/grub-core/bus/usb/uhci.c:576:3: danger: dereference of NULL ‘td_prev’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
grub-2.12/grub-core/commands/blscfg.c:174:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘kv’
grub-2.12/grub-core/commands/blscfg.c:1111:1: enter_function: entry to ‘is_default_entry’
grub-2.12/grub-core/commands/blscfg.c:1122:11: call_function: calling ‘bls_get_val’ from ‘is_default_entry’
Error: COMPILER_WARNING: [#def326]
grub-2.12/grub-core/commands/blsuki.c:74:37: warning[-Wunused-const-variable=]: ‘bls_opt’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def327]
grub-2.12/grub-core/commands/blsuki.c:1457:1: warning[-Wunused-function]: ‘grub_cmd_blscfg’ defined but not used
Error: COMPILER_WARNING: [#def328]
grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub-2.12/grub-core/commands/efi/env.c:18: included_from: Included from here.
grub-2.12/grub-core/commands/efi/env.c: scope_hint: In function ‘grub_efi_export_env’
grub-2.12/grub-core/commands/efi/env.c:111:27: warning[-Wformat=]: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_size_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/commands/efi/env.c:111:40: note: format string is defined here
Error: COMPILER_WARNING: [#def329]
grub-2.12/grub-core/commands/efi/env.c:116:29: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/commands/efi/env.c:116:49: note: format string is defined here
Error: COMPILER_WARNING: [#def330]
grub-2.12/grub-core/commands/efi/env.c:122:29: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/commands/efi/env.c:122:58: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def331]
grub-2.12/grub-core/commands/i386/pc/drivemap.c:311:16: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/commands/i386/pc/drivemap.c:293:6: branch_false: following ‘false’ branch (when ‘entries != 0’)...
grub-2.12/grub-core/commands/i386/pc/drivemap.c:301:3: branch_false: ...to here
grub-2.12/grub-core/commands/i386/pc/drivemap.c:311:16: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def332]
grub-2.12/grub-core/commands/i386/pc/drivemap.c:326:16: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/commands/i386/pc/drivemap.c:293:6: branch_false: following ‘false’ branch (when ‘entries != 0’)...
grub-2.12/grub-core/commands/i386/pc/drivemap.c:301:3: branch_false: ...to here
grub-2.12/grub-core/commands/i386/pc/drivemap.c:318:6: branch_false: following ‘false’ branch (when ‘handler_base’ is non-NULL)...
grub-2.12/grub-core/commands/i386/pc/drivemap.c:323:3: branch_false: ...to here
grub-2.12/grub-core/commands/i386/pc/drivemap.c:326:16: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def333]
grub-2.12/grub-core/commands/i386/pc/drivemap.c:331:38: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/commands/i386/pc/drivemap.c:293:6: branch_false: following ‘false’ branch (when ‘entries != 0’)...
grub-2.12/grub-core/commands/i386/pc/drivemap.c:301:3: branch_false: ...to here
grub-2.12/grub-core/commands/i386/pc/drivemap.c:318:6: branch_false: following ‘false’ branch (when ‘handler_base’ is non-NULL)...
grub-2.12/grub-core/commands/i386/pc/drivemap.c:323:3: branch_false: ...to here
grub-2.12/grub-core/commands/i386/pc/drivemap.c:331:38: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def334]
grub-2.12/grub-core/commands/legacycfg.c:148:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
grub-2.12/grub-core/commands/legacycfg.c:221:1: enter_function: entry to ‘grub_cmd_legacy_source’
grub-2.12/grub-core/commands/legacycfg.c:242:9: call_function: calling ‘legacy_file’ from ‘grub_cmd_legacy_source’
Error: COMPILER_WARNING (CWE-563): [#def335]
grub-2.12/grub-core/commands/search.c:261:31: warning[-Wunused-variable]: unused variable ‘dev’
Error: COMPILER_WARNING (CWE-563): [#def336]
grub-2.12/grub-core/commands/search.c:261:36: warning[-Wunused-variable]: unused variable ‘dev_part’
Error: COMPILER_WARNING (CWE-563): [#def337]
grub-2.12/grub-core/commands/search.c:266:25: warning[-Wunused-variable]: unused variable ‘longlist’
Error: COMPILER_WARNING (CWE-704): [#def338]
grub-2.12/grub-core/commands/search_file.c:5: included_from: Included from here.
grub-2.12/grub-core/commands/search.c: scope_hint: In function ‘iterate_device’
grub-2.12/grub-core/commands/search.c:274:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def339]
grub-2.12/grub-core/commands/search.c:274:41: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def340]
grub-2.12/grub-core/disk/ahci.c: scope_hint: In function ‘grub_ahci_readwrite_real’
grub-2.12/grub-core/disk/ahci.c:919:31: warning[-Wunused-parameter]: unused parameter ‘spinup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
grub-2.12/grub-core/efiemu/runtime/efiemu.c:547:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘efivar’
grub-2.12/grub-core/efiemu/runtime/efiemu.c:505:1: enter_function: entry to ‘efiemu_set_variable_real’
grub-2.12/grub-core/efiemu/runtime/efiemu.c:514:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/efiemu/runtime/efiemu.c:516:12: branch_false: ...to here
grub-2.12/grub-core/efiemu/runtime/efiemu.c:519:6: branch_false: following ‘false’ branch (when ‘efivar’ is NULL)...
grub-2.12/grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: ...to here
grub-2.12/grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: following ‘false’ branch (when ‘data_size != 0’)...
grub-2.12/grub-core/efiemu/runtime/efiemu.c:531:6: branch_false: ...to here
grub-2.12/grub-core/efiemu/runtime/efiemu.c:534:32: branch_false: following ‘false’ branch...
grub-2.12/grub-core/efiemu/runtime/efiemu.c:542:14: call_function: inlined call to ‘efiemu_str16len’ from ‘efiemu_set_variable_real’
grub-2.12/grub-core/efiemu/runtime/efiemu.c:541:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/efiemu/runtime/efiemu.c:546:18: branch_false: ...to here
grub-2.12/grub-core/efiemu/runtime/efiemu.c:546:3: call_function: inlined call to ‘efiemu_memcpy’ from ‘efiemu_set_variable_real’
grub-2.12/grub-core/efiemu/runtime/efiemu.c:547:26: call_function: inlined call to ‘efiemu_str16len’ from ‘efiemu_set_variable_real’
grub-2.12/grub-core/efiemu/runtime/efiemu.c:547:3: danger: dereference of NULL ‘efivar’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def342]
grub-2.12/grub-core/fs/bfs.c:450:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘node_head.total_key_len’
grub-2.12/grub-core/fs/bfs.c:1047:1: enter_function: entry to ‘grub_bfs_uuid’
grub-2.12/grub-core/fs/bfs.c:1057:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/fs/bfs.c:1060:22: branch_false: ...to here
grub-2.12/grub-core/fs/bfs.c:1061:6: branch_false: following ‘false’ branch (when ‘ino’ is non-NULL)...
grub-2.12/grub-core/fs/bfs.c:1065:27: branch_false: ...to here
grub-2.12/grub-core/fs/bfs.c:1066:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/fs/bfs.c:1071:22: branch_false: ...to here
grub-2.12/grub-core/fs/bfs.c:1071:7: call_function: calling ‘read_bfs_attr’ from ‘grub_bfs_uuid’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def343]
grub-2.12/grub-core/fs/bfs.c:605:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘head.root’
grub-2.12/grub-core/fs/bfs.c:985:1: enter_function: entry to ‘read_bfs_attr’
grub-2.12/grub-core/fs/bfs.c:1016:6: branch_true: following ‘true’ branch...
grub-2.12/grub-core/fs/bfs.c:1023:26: branch_true: ...to here
grub-2.12/grub-core/fs/bfs.c:1024:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/fs/bfs.c:1027:13: branch_false: ...to here
grub-2.12/grub-core/fs/bfs.c:1027:13: call_function: calling ‘find_in_b_tree’ from ‘read_bfs_attr’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def344]
grub-2.12/grub-core/fs/fat.c:1213:10: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ctxt.dir.attr’
grub-2.12/grub-core/fs/fat.c:1185:1: enter_function: entry to ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1202:15: call_function: calling ‘grub_fat_mount’ from ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1202:15: return_function: returning to ‘grub_fat_label’ from ‘grub_fat_mount’
grub-2.12/grub-core/fs/fat.c:1203:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1206:23: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1209:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/fs/fat.c:1212:9: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1212:18: call_function: calling ‘grub_fat_iterate_dir_next’ from ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1212:18: return_function: returning to ‘grub_fat_label’ from ‘grub_fat_iterate_dir_next’
grub-2.12/grub-core/fs/fat.c:1212:10: branch_true: following ‘true’ branch (when ‘err == 0’)...
grub-2.12/grub-core/fs/fat.c:1213:10: branch_true: ...to here
grub-2.12/grub-core/fs/fat.c:1213:10: danger: use of uninitialized value ‘ctxt.dir.attr’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
grub-2.12/grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
grub-2.12/grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def346]
grub-2.12/grub-core/fs/fshelp.c:188:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
grub-2.12/grub-core/fs/fshelp.c:335:1: enter_function: entry to ‘grub_fshelp_find_file_lookup’
grub-2.12/grub-core/fs/fshelp.c:341:10: call_function: calling ‘grub_fshelp_find_file_real’ from ‘grub_fshelp_find_file_lookup’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def347]
grub-2.12/grub-core/kern/efi/efi.c:187:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def348]
grub-2.12/grub-core/kern/efi/efi.c:201:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: COMPILER_WARNING: [#def349]
grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:177:72: note: format string is defined here
Error: COMPILER_WARNING: [#def350]
grub-2.12/grub-core/kern/efi/mm.c:20: included_from: Included from here.
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_efi_allocate_pages_real’
grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘grub_efi_uintn_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:177:50: note: format string is defined here
Error: COMPILER_WARNING: [#def351]
grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:177:60: note: format string is defined here
Error: COMPILER_WARNING: [#def352]
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_nx_init’
grub-2.12/grub-core/kern/efi/mm.c:628:21: warning[-Wformat=]: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def353]
grub-2.12/grub-core/kern/efi/mm.c:644:21: warning[-Wformat=]: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def354]
grub-2.12/grub-core/kern/efi/mm.c:665:25: warning[-Wformat=]: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 6 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def355]
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_get_mem_attrs’
grub-2.12/grub-core/kern/efi/mm.c:871:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:871:44: note: format string is defined here
Error: COMPILER_WARNING: [#def356]
grub-2.12/grub-core/kern/efi/mm.c:871:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def357]
grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_update_mem_attrs’
grub-2.12/grub-core/kern/efi/mm.c:905:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:905:44: note: format string is defined here
Error: COMPILER_WARNING: [#def358]
grub-2.12/grub-core/kern/efi/mm.c:905:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def359]
grub-2.12/grub-core/kern/efi/mm.c:917:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:917:55: note: format string is defined here
Error: COMPILER_WARNING: [#def360]
grub-2.12/grub-core/kern/efi/mm.c:917:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:917:64: note: format string is defined here
Error: COMPILER_WARNING: [#def361]
grub-2.12/grub-core/kern/efi/mm.c:919:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:919:57: note: format string is defined here
Error: COMPILER_WARNING: [#def362]
grub-2.12/grub-core/kern/efi/mm.c:919:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/kern/efi/mm.c:919:66: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def363]
grub-2.12/grub-core/kern/env.c:227:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-core/kern/env.c:212:1: enter_function: entry to ‘grub_register_variable_hook’
grub-2.12/grub-core/kern/env.c:218:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-core/kern/env.c:220:11: branch_true: ...to here
grub-2.12/grub-core/kern/env.c:220:11: call_function: calling ‘grub_env_set’ from ‘grub_register_variable_hook’
grub-2.12/grub-core/kern/env.c:220:11: return_function: returning to ‘grub_register_variable_hook’ from ‘grub_env_set’
grub-2.12/grub-core/kern/env.c:220:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/kern/env.c:223:13: branch_false: ...to here
grub-2.12/grub-core/kern/env.c:227:3: danger: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def364]
grub-2.12/grub-core/kern/env.c:248:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
grub-2.12/grub-core/kern/env.c:234:1: enter_function: entry to ‘grub_env_export’
grub-2.12/grub-core/kern/env.c:239:6: branch_true: following ‘true’ branch (when ‘var’ is NULL)...
grub-2.12/grub-core/kern/env.c:243:13: branch_true: ...to here
grub-2.12/grub-core/kern/env.c:243:13: call_function: calling ‘grub_env_set’ from ‘grub_env_export’
grub-2.12/grub-core/kern/env.c:243:13: return_function: returning to ‘grub_env_export’ from ‘grub_env_set’
grub-2.12/grub-core/kern/env.c:244:10: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/kern/env.c:246:13: branch_false: ...to here
grub-2.12/grub-core/kern/env.c:248:3: danger: dereference of NULL ‘var’
Error: COMPILER_WARNING (CWE-569): [#def365]
grub-2.12/grub-core/kern/file.c: scope_hint: In function ‘grub_file_read’
grub-2.12/grub-core/kern/file.c:186:18: warning[-Wtype-limits]: comparison of unsigned expression in ‘>= 0’ is always true
Error: GCC_ANALYZER_WARNING (CWE-469): [#def366]
grub-2.12/grub-core/kern/i386/pc/init.c:229:59: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-476): [#def367]
grub-2.12/grub-core/kern/parser.c:142:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-core/kern/parser.c:191:1: enter_function: entry to ‘grub_parser_split_cmdline’
grub-2.12/grub-core/kern/parser.c:205:6: branch_false: following ‘false’ branch (when ‘buffer’ is non-NULL)...
grub-2.12/grub-core/kern/parser.c:208:13: branch_false: ...to here
grub-2.12/grub-core/kern/parser.c:209:6: branch_false: following ‘false’ branch (when ‘varname’ is non-NULL)...
grub-2.12/grub-core/kern/parser.c:209:6: branch_false: ...to here
grub-2.12/grub-core/kern/parser.c:216:14: branch_false: following ‘false’ branch...
grub-2.12/grub-core/kern/parser.c:221:14: branch_false: ...to here
grub-2.12/grub-core/kern/parser.c:248:7: call_function: calling ‘add_var’ from ‘grub_parser_split_cmdline’
grub-2.12/grub-core/kern/parser.c:248:7: return_function: returning to ‘grub_parser_split_cmdline’ from ‘add_var’
grub-2.12/grub-core/kern/parser.c:248:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/kern/parser.c:252:7: branch_false: ...to here
grub-2.12/grub-core/kern/parser.c:252:7: call_function: calling ‘terminate_arg’ from ‘grub_parser_split_cmdline’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def368]
grub-2.12/grub-core/kern/xen/init.c:399:19: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def369]
grub-2.12/grub-core/kern/xen/init.c:593:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def370]
grub-2.12/grub-core/lib/efi/halt.c:40:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: CPPCHECK_WARNING (CWE-476): [#def371]
grub-2.12/grub-core/lib/gnulib/argp-help.c:1033: error[ctunullpointer]: Null pointer dereference: argp
Error: COMPILER_WARNING (CWE-704): [#def372]
grub-2.12/grub-core/lib/gnulib/argp-help.c: scope_hint: In function ‘argp_doc’
grub-2.12/grub-core/lib/gnulib/argp-help.c:1601:18: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def373]
grub-2.12/grub-core/lib/gnulib/argp-help.c:1601:18: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING: [#def374]
grub-2.12/grub-core/lib/gnulib/base64.c: scope_hint: At top level
grub-2.12/grub-core/lib/gnulib/base64.c:65:3: warning[-Wunterminated-string-initialization]: initializer-string for array of ‘char’ truncates NUL terminator but destination lacks ‘nonstring’ attribute (65 chars into 64 available)
Error: COMPILER_WARNING (CWE-195): [#def375]
grub-2.12/grub-core/lib/gnulib/filevercmp.c: scope_hint: In function ‘file_prefixlen’
grub-2.12/grub-core/lib/gnulib/filevercmp.c:43:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def376]
grub-2.12/grub-core/lib/gnulib/filevercmp.c: scope_hint: In function ‘file_prefixlen’
grub-2.12/grub-core/lib/gnulib/filevercmp.c:43:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def377]
grub-2.12/grub-core/lib/gnulib/filevercmp.c:45:24: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def378]
grub-2.12/grub-core/lib/gnulib/filevercmp.c:45:24: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def379]
grub-2.12/grub-core/lib/gnulib/filevercmp.c:48:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def380]
grub-2.12/grub-core/lib/gnulib/filevercmp.c:48:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def381]
grub-2.12/grub-core/lib/gnulib/base64.c:48: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘imalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:51:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def382]
grub-2.12/grub-core/lib/gnulib/base64.c:48: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘imalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:51:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def383]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘irealloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:61:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def384]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘irealloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:61:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def385]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘icalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:69:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘idx_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-195): [#def386]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘icalloc’
grub-2.12/grub-core/lib/gnulib/ialloc.h:69:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘idx_t’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def387]
grub-2.12/grub-core/lib/gnulib/ialloc.h:75:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘idx_t’ {aka ‘long int’}
Error: COMPILER_WARNING (CWE-195): [#def388]
grub-2.12/grub-core/lib/gnulib/ialloc.h:75:16: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘idx_t’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def389]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘ireallocarray’
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def390]
grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘ireallocarray’
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def391]
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘int’} and ‘unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def392]
grub-2.12/grub-core/lib/gnulib/ialloc.h:91:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘idx_t’ {aka ‘long int’} and ‘long unsigned int’
Error: CPPCHECK_WARNING (CWE-758): [#def393]
grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: CPPCHECK_WARNING (CWE-758): [#def394]
grub-2.12/grub-core/lib/gnulib/malloc/dynarray_resize.c:45: error[shiftTooManyBitsSigned]: Shifting signed 64-bit value by 63 bits is undefined behaviour
Error: COMPILER_WARNING (CWE-195): [#def395]
grub-2.12/grub-core/lib/gnulib/regex.c:74: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘re_compile_fastmap_iter’
grub-2.12/grub-core/lib/gnulib/regcomp.c:304:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def396]
grub-2.12/grub-core/lib/gnulib/regex.c:74: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘re_compile_fastmap_iter’
grub-2.12/grub-core/lib/gnulib/regcomp.c:304:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def397]
grub-2.12/grub-core/lib/gnulib/regcomp.c:310:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’
Error: COMPILER_WARNING (CWE-195): [#def398]
grub-2.12/grub-core/lib/gnulib/regcomp.c:310:38: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘int’
Error: COMPILER_WARNING (CWE-195): [#def399]
grub-2.12/grub-core/lib/gnulib/regcomp.c:319:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def400]
grub-2.12/grub-core/lib/gnulib/regcomp.c:323:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def401]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘free_dfa_content’
grub-2.12/grub-core/lib/gnulib/regcomp.c:564:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def402]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘free_dfa_content’
grub-2.12/grub-core/lib/gnulib/regcomp.c:564:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def403]
grub-2.12/grub-core/lib/gnulib/regcomp.c:567:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def404]
grub-2.12/grub-core/lib/gnulib/regcomp.c:567:17: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def405]
grub-2.12/grub-core/lib/gnulib/regcomp.c:582:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘re_hashval_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def406]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘init_dfa’
grub-2.12/grub-core/lib/gnulib/regcomp.c:870:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def407]
grub-2.12/grub-core/lib/gnulib/regcomp.c:871:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def408]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘init_word_char’
grub-2.12/grub-core/lib/gnulib/regcomp.c:933:12: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def409]
grub-2.12/grub-core/lib/gnulib/regcomp.c:934:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def410]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_utf8’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1053:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def411]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_utf8’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1053:23: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def412]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1093:54: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def413]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1106:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def414]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1106:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def415]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘analyze’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1143:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def416]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘analyze’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1143:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def417]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1146:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def418]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1146:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def419]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1149:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def420]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1149:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def421]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_subexps’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1274:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def422]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘lower_subexp’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1318:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def423]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_inveclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1594:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def424]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_inveclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1594:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def425]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1597:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def426]
grub-2.12/grub-core/lib/gnulib/regcomp.c:1597:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def427]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_eclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1625:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def428]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_eclosure’
grub-2.12/grub-core/lib/gnulib/regcomp.c:1625:20: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def429]
grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘parse_bracket_exp’
grub-2.12/grub-core/lib/gnulib/regcomp.c:3240:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def430]
grub-2.12/grub-core/lib/gnulib/regcomp.c:3245:19: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def431]
grub-2.12/grub-core/lib/gnulib/libc-config.h:164: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex.c:23: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_realloc_buffers’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:143:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def432]
grub-2.12/grub-core/lib/gnulib/libc-config.h:164: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex.c:23: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_realloc_buffers’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:143:29: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def433]
grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘build_wcs_upper_buffer’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:397:44: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘Idx’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def434]
grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘build_wcs_upper_buffer’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:397:44: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘unsigned int’} and ‘Idx’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def435]
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_reconstruct’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:737:48: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def436]
grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_reconstruct’
grub-2.12/grub-core/lib/gnulib/regex_internal.c:737:48: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def437]
grub-2.12/grub-core/lib/gnulib/regex.c:71: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_not’
grub-2.12/grub-core/lib/gnulib/regex_internal.h:749:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def438]
grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_merge’
grub-2.12/grub-core/lib/gnulib/regex_internal.h:761:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def439]
grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_mask’
grub-2.12/grub-core/lib/gnulib/regex_internal.h:769:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def440]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_copy_regs’
grub-2.12/grub-core/lib/gnulib/regexec.c:481:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘__re_size_t’ {aka ‘unsigned int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def441]
grub-2.12/grub-core/lib/gnulib/regex_internal.h:40: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regexec.c:502:27: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘__re_size_t’ {aka ‘unsigned int’}
grub-2.12/grub-core/lib/gnulib/verify.h:300:22: note: in definition of macro ‘assume’
grub-2.12/grub-core/lib/gnulib/regexec.c:502:7: note: in expansion of macro ‘DEBUG_ASSERT’
Error: COMPILER_WARNING (CWE-195): [#def442]
grub-2.12/grub-core/lib/gnulib/regex.c:75: included_from: Included from here.
grub-2.12/grub-core/lib/gnulib/regexec.c:512:13: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘__re_size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def443]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_search_internal’
grub-2.12/grub-core/lib/gnulib/regexec.c:651:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def444]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_search_internal’
grub-2.12/grub-core/lib/gnulib/regexec.c:651:30: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def445]
grub-2.12/grub-core/lib/gnulib/regexec.c:756:28: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘__re_size_t’ {aka ‘unsigned int’} and ‘Idx’ {aka ‘int’}
Error: COMPILER_WARNING (CWE-195): [#def446]
grub-2.12/grub-core/lib/gnulib/regexec.c:829:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def447]
grub-2.12/grub-core/lib/gnulib/regexec.c:829:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def448]
grub-2.12/grub-core/lib/gnulib/regexec.c:850:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def449]
grub-2.12/grub-core/lib/gnulib/regexec.c:850:33: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def450]
grub-2.12/grub-core/lib/gnulib/regexec.c:874:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def451]
grub-2.12/grub-core/lib/gnulib/regexec.c:874:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def452]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘prune_impossible_nodes’
grub-2.12/grub-core/lib/gnulib/regexec.c:908:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def453]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘prune_impossible_nodes’
grub-2.12/grub-core/lib/gnulib/regexec.c:908:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def454]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘set_regs’
grub-2.12/grub-core/lib/gnulib/regexec.c:1410:41: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘long unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def455]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘set_regs’
grub-2.12/grub-core/lib/gnulib/regexec.c:1410:41: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘size_t’ {aka ‘unsigned int’}
Error: COMPILER_WARNING (CWE-195): [#def456]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_dst_limits_calc_pos_1’
grub-2.12/grub-core/lib/gnulib/regexec.c:1893:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def457]
grub-2.12/grub-core/lib/gnulib/regexec.c:1921:34: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def458]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_subexp_matching_top’
grub-2.12/grub-core/lib/gnulib/regexec.c:2371:39: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def459]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_arrival’
grub-2.12/grub-core/lib/gnulib/regexec.c:2832:65: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def460]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_arrival’
grub-2.12/grub-core/lib/gnulib/regexec.c:2832:65: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def461]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘build_trtable’
grub-2.12/grub-core/lib/gnulib/regexec.c:3345:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def462]
grub-2.12/grub-core/lib/gnulib/regexec.c:3376:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def463]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘group_nodes_into_DFAstates’
grub-2.12/grub-core/lib/gnulib/regexec.c:3502:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def464]
grub-2.12/grub-core/lib/gnulib/regexec.c:3505:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def465]
grub-2.12/grub-core/lib/gnulib/regexec.c:3519:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def466]
grub-2.12/grub-core/lib/gnulib/regexec.c:3522:31: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def467]
grub-2.12/grub-core/lib/gnulib/regexec.c:3544:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def468]
grub-2.12/grub-core/lib/gnulib/regexec.c:3552:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘Idx’ {aka ‘int’} and ‘long unsigned int’
Error: COMPILER_WARNING (CWE-195): [#def469]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘extend_buffers’
grub-2.12/grub-core/lib/gnulib/regexec.c:3954:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def470]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘extend_buffers’
grub-2.12/grub-core/lib/gnulib/regexec.c:3954:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def471]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘match_ctx_init’
grub-2.12/grub-core/lib/gnulib/regexec.c:4019:71: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def472]
grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘match_ctx_init’
grub-2.12/grub-core/lib/gnulib/regexec.c:4019:71: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘Idx’ {aka ‘int’}
grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: GCC_ANALYZER_WARNING (CWE-122): [#def473]
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5204:17: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1864:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1897:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1899:8: branch_true: following ‘true’ branch (when ‘buf_neededlength <= 3999’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1901:27: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1916:8: branch_false: following ‘false’ branch (when ‘resultbuf’ is NULL)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1923:9: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1960:12: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1962:24: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘augmented_length > allocated’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘allocated == 0’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘augmented_length > allocated’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘memory_size != 18446744073709551615’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘result == resultbuf’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘memory’ is non-NULL)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘result == resultbuf’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘length == 0’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1981:12: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1985:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1985:12: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1998:19: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1998:16: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:2001:17: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:2001:16: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:4854:33: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5031:20: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5033:21: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5033:20: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5035:21: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5035:20: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5037:21: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5037:20: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5040:21: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5040:20: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5045:25: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5045:24: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5047:25: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5047:24: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5068:25: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5068:24: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5088:17: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5199:17: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5204:18: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5204:17: danger: write of 1 byte at offset ‘allocated’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def474]
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5814:5: warning[-Wanalyzer-out-of-bounds]: heap-based buffer overflow
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1864:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1897:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1899:8: branch_true: following ‘true’ branch (when ‘buf_neededlength <= 3999’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1901:27: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1916:8: branch_false: following ‘false’ branch (when ‘resultbuf’ is NULL)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1923:9: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1960:12: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1962:24: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘augmented_length > allocated’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘allocated == 0’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘augmented_length > allocated’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘memory_size != 18446744073709551615’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘result == resultbuf’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘memory’ is non-NULL)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘result == resultbuf’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘length == 0’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1981:12: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1982:11: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5813:5: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5814:11: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5814:5: danger: write of 1 byte at offset ‘allocated’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-122): [#def475]
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5821:30: warning[-Wanalyzer-out-of-bounds]: heap-based buffer over-read
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1864:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1897:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1899:8: branch_true: following ‘true’ branch (when ‘buf_neededlength <= 3999’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1901:27: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1916:8: branch_false: following ‘false’ branch (when ‘resultbuf’ is NULL)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1923:9: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1960:12: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1962:24: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘augmented_length > allocated’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘allocated == 0’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘augmented_length > allocated’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘memory_size != 18446744073709551615’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘result == resultbuf’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘memory’ is non-NULL)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: following ‘true’ branch (when ‘result == resultbuf’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: following ‘false’ branch (when ‘length == 0’)...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1965:13: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1981:12: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1982:11: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5813:5: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5814:11: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5816:8: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5821:30: danger: read of ‘length + 1’ bytes at offset ‘0’ exceeds the buffer
Error: GCC_ANALYZER_WARNING (CWE-835): [#def476]
grub-2.12/grub-core/lib/i386/reboot.c:40:11: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def477]
grub-2.12/grub-core/lib/i386/reboot.c:42:43: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/i386/reboot.c:39:6: branch_false: following ‘false’ branch (when ‘relocator’ is non-NULL)...
grub-2.12/grub-core/lib/i386/reboot.c:42:43: branch_false: ...to here
grub-2.12/grub-core/lib/i386/reboot.c:42:43: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-835): [#def478]
grub-2.12/grub-core/lib/i386/reboot.c:46:11: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def479]
grub-2.12/grub-core/lib/i386/reboot.c:48:40: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/i386/reboot.c:39:6: branch_false: following ‘false’ branch (when ‘relocator’ is non-NULL)...
grub-2.12/grub-core/lib/i386/reboot.c:42:43: branch_false: ...to here
grub-2.12/grub-core/lib/i386/reboot.c:45:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/i386/reboot.c:47:9: branch_false: ...to here
grub-2.12/grub-core/lib/i386/reboot.c:48:40: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-835): [#def480]
grub-2.12/grub-core/lib/i386/reboot.c:61:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def481]
grub-2.12/grub-core/lib/i386/relocator.c:87:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def482]
grub-2.12/grub-core/lib/i386/relocator.c:104:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/i386/relocator.c:90:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/i386/relocator.c:93:26: branch_false: ...to here
grub-2.12/grub-core/lib/i386/relocator.c:104:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def483]
grub-2.12/grub-core/lib/i386/relocator.c:128:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def484]
grub-2.12/grub-core/lib/i386/relocator.c:159:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/i386/relocator.c:131:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/i386/relocator.c:134:25: branch_false: ...to here
grub-2.12/grub-core/lib/i386/relocator.c:159:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def485]
grub-2.12/grub-core/lib/i386/relocator.c:183:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def486]
grub-2.12/grub-core/lib/i386/relocator.c:198:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/i386/relocator.c:185:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/i386/relocator.c:188:26: branch_false: ...to here
grub-2.12/grub-core/lib/i386/relocator.c:198:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def487]
grub-2.12/grub-core/lib/i386/relocator_common_c.c:56:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def488]
grub-2.12/grub-core/lib/i386/relocator_common_c.c:57:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def489]
grub-2.12/grub-core/lib/i386/relocator_common_c.c:96:49: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def490]
grub-2.12/grub-core/lib/i386/relocator_common_c.c:108:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: COMPILER_WARNING: [#def491]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:33: included_from: Included from here.
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c: scope_hint: In function ‘_gcry_mpih_mod_1’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:150:24: warning[-Wunused-but-set-variable=]: variable ‘_ql’ set but not used
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:100:17: note: in expansion of macro ‘UDIV_QRNND_PREINV’
Error: COMPILER_WARNING: [#def492]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-inv.c: scope_hint: In function ‘gcry_mpi_invm’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-inv.c:166:14: warning[-Wunused-but-set-variable=]: variable ‘k’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-465): [#def493]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: warning[-Wanalyzer-deref-before-check]: check of ‘w’ for NULL after already dereferencing it
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: following ‘true’ branch (when ‘v’ is non-NULL)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: following ‘true’ branch (when ‘u’ is non-NULL)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:147:8: danger: pointer ‘w’ is checked for NULL here but it was already dereferenced at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def494]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:81:6: branch_false: following ‘false’ branch (when ‘msize != 0’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:84:6: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:84:6: branch_false: following ‘false’ branch (when ‘esize != 0’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:103:15: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:105:3: branch_true: following ‘true’ branch (when ‘__a != 0’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:105:3: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:113:6: branch_false: following ‘false’ branch (when ‘msize >= bsize’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:131:5: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:133:6: branch_false: following ‘false’ branch (when ‘bsize != 0’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:142:6: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:142:6: branch_false: following ‘false’ branch (when ‘bp != rp’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:150:6: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:150:6: branch_false: following ‘false’ branch (when ‘rp != ep’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:157:6: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:157:6: branch_true: following ‘true’ branch (when ‘rp == mp_marker’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:160:7: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:160:7: branch_false: following ‘false’ branch (when ‘mp_marker’ is NULL)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:162:24: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: branch_true: following ‘true’ branch (when ‘_i < msize’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: release_memory: using NULL here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: danger: dereference of NULL ‘(mpi_limb_t *)((long unsigned int)_i * 8)’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def495]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:7: branch_false: following ‘false’ branch (when ‘force_secure == 0’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:16: danger: pointer ‘a’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING: [#def496]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:53:9: warning[-Wunused-but-set-variable=]: variable ‘dummy’ set but not used
Error: COMPILER_WARNING: [#def497]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:403:9: warning[-Wunused-but-set-variable=]: variable ‘dummy’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘wp’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:296:1: enter_function: entry to ‘gcry_mpi_set’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:302:6: branch_true: following ‘true’ branch (when ‘w’ is NULL)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: call_function: calling ‘_gcry_mpi_alloc’ from ‘gcry_mpi_set’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:9: return_function: returning to ‘gcry_mpi_set’ from ‘_gcry_mpi_alloc’
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: branch_false: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:305:3: release_memory: ‘*w.d’ is NULL
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: following ‘true’ branch (when ‘_i < usize’)...
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: branch_true: ...to here
grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: danger: dereference of NULL ‘wp + (long unsigned int)_i * 8’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def499]
grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: danger: infinite loop here
grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1159:18: branch_false: when ‘node != p’: always following ‘false’ branch...
grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: when ‘p’ is NULL: always following ‘false’ branch...
grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1164:18: branch_false: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def500]
grub-2.12/grub-core/lib/libtasn1/lib/structure.c:443:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub-2.12/grub-core/lib/libtasn1/lib/structure.c:1219:1: enter_function: entry to ‘asn1_dup_node’
grub-2.12/grub-core/lib/libtasn1/lib/structure.c:1221:10: call_function: calling ‘_asn1_copy_structure2’ from ‘asn1_dup_node’
Error: COMPILER_WARNING (CWE-758): [#def501]
grub-2.12/grub-core/lib/pkcs1_v15.c:30:1: warning[-Wmissing-prototypes]: no previous prototype for ‘grub_crypto_rsa_pad’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def502]
grub-2.12/grub-core/lib/posix_wrap/wchar.h:63:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ptr’
grub-2.12/grub-core/lib/gnulib/regexec.c:3947:1: enter_function: entry to ‘extend_buffers’
grub-2.12/grub-core/lib/gnulib/regexec.c:3953:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/regexec.c:3959:36: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/regexec.c:3961:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/regexec.c:3964:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/regexec.c:3964:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/regexec.c:3978:7: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/regexec.c:3978:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/gnulib/regexec.c:3991:11: branch_false: ...to here
grub-2.12/grub-core/lib/gnulib/regexec.c:3991:10: branch_true: following ‘true’ branch...
grub-2.12/grub-core/lib/gnulib/regexec.c:3992:9: branch_true: ...to here
grub-2.12/grub-core/lib/gnulib/regexec.c:3992:9: call_function: calling ‘build_wcs_buffer’ from ‘extend_buffers’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def503]
grub-2.12/grub-core/lib/x86_64/efi/relocator.c:54:48: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def504]
grub-2.12/grub-core/lib/x86_64/efi/relocator.c:68:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/x86_64/efi/relocator.c:56:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/x86_64/efi/relocator.c:60:26: branch_false: ...to here
grub-2.12/grub-core/lib/x86_64/efi/relocator.c:68:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-835): [#def505]
grub-2.12/grub-core/lib/xen/halt.c:31:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def506]
grub-2.12/grub-core/lib/xen/reboot.c:31:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def507]
grub-2.12/grub-core/lib/xen/relocator.c:76:42: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-469): [#def508]
grub-2.12/grub-core/lib/xen/relocator.c:80:42: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/xen/relocator.c:77:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/xen/relocator.c:80:42: branch_false: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:80:42: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def509]
grub-2.12/grub-core/lib/xen/relocator.c:124:17: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/xen/relocator.c:77:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/xen/relocator.c:80:42: branch_false: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:81:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/xen/relocator.c:84:30: branch_false: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:87:15: branch_true: following ‘true’ branch (when ‘i <= 2’)...
grub-2.12/grub-core/lib/xen/relocator.c:89:50: branch_true: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:124:17: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def510]
grub-2.12/grub-core/lib/xen/relocator.c:126:44: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/lib/xen/relocator.c:77:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/xen/relocator.c:80:42: branch_false: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:81:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/lib/xen/relocator.c:84:30: branch_false: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:87:15: branch_true: following ‘true’ branch (when ‘i <= 2’)...
grub-2.12/grub-core/lib/xen/relocator.c:89:50: branch_true: ...to here
grub-2.12/grub-core/lib/xen/relocator.c:126:44: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-131): [#def511]
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:509:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:911:13: enter_function: entry to ‘xz_dec_run’
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:917:12: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:920:9: branch_false: ...to here
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:922:15: call_function: calling ‘dec_main’ from ‘xz_dec_run’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def512]
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:516:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:911:13: enter_function: entry to ‘xz_dec_run’
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:917:12: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:920:9: branch_false: ...to here
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:922:15: call_function: calling ‘dec_main’ from ‘xz_dec_run’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def513]
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:525:25: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:911:13: enter_function: entry to ‘xz_dec_run’
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:917:12: branch_false: following ‘false’ branch...
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:920:9: branch_false: ...to here
grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:922:15: call_function: calling ‘dec_main’ from ‘xz_dec_run’
Error: COMPILER_WARNING: [#def514]
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_start_image’
grub-2.12/grub-core/loader/efi/chainloader.c:65:29: warning[-Wunused-but-set-variable=]: variable ‘b’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
grub-2.12/grub-core/loader/efi/chainloader.c:229:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
grub-2.12/grub-core/loader/efi/chainloader.c:159:1: enter_function: entry to ‘make_file_path’
grub-2.12/grub-core/loader/efi/chainloader.c:173:6: branch_false: following ‘false’ branch (when ‘dir_end’ is non-NULL)...
grub-2.12/grub-core/loader/efi/chainloader.c:179:3: branch_false: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:205:6: branch_false: following ‘false’ branch (when ‘file_path’ is non-NULL)...
grub-2.12/grub-core/loader/efi/chainloader.c:208:3: branch_false: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:213:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/loader/efi/chainloader.c:222:7: branch_false: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:222:3: release_memory: ‘d’ is NULL
grub-2.12/grub-core/loader/efi/chainloader.c:223:7: call_function: calling ‘copy_file_path’ from ‘make_file_path’
grub-2.12/grub-core/loader/efi/chainloader.c:223:7: return_function: returning to ‘make_file_path’ from ‘copy_file_path’
grub-2.12/grub-core/loader/efi/chainloader.c:223:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/loader/efi/chainloader.c:228:7: branch_false: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:228:7: branch_false: following ‘false’ branch (when ‘d’ is NULL)...
grub-2.12/grub-core/loader/efi/chainloader.c:228:3: branch_false: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:228:3: release_memory: ‘d’ is NULL
grub-2.12/grub-core/loader/efi/chainloader.c:229:3: danger: dereference of NULL ‘d’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def516]
grub-2.12/grub-core/loader/efi/chainloader.c:523:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dp’
grub-2.12/grub-core/loader/efi/chainloader.c:526:10: branch_false: following ‘false’ branch (when ‘type != 127’)...
grub-2.12/grub-core/loader/efi/chainloader.c:528:15: branch_false: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:532:12: branch_true: following ‘true’ branch (when ‘dp’ is non-NULL)...
grub-2.12/grub-core/loader/efi/chainloader.c:532:12: branch_true: ...to here
grub-2.12/grub-core/loader/efi/chainloader.c:532:7: release_memory: ‘dp’ is NULL
grub-2.12/grub-core/loader/efi/chainloader.c:523:31: danger: dereference of NULL ‘dp’
Error: COMPILER_WARNING: [#def517]
grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub-2.12/include/grub/fs.h:26: included_from: Included from here.
grub-2.12/include/grub/file.h:25: included_from: Included from here.
grub-2.12/include/grub/loader.h:23: included_from: Included from here.
grub-2.12/grub-core/loader/efi/chainloader.c:22: included_from: Included from here.
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘handle_image’
grub-2.12/grub-core/loader/efi/chainloader.c:830:26: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/loader/efi/chainloader.c:830:50: note: format string is defined here
Error: COMPILER_WARNING: [#def518]
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_load_image’
grub-2.12/grub-core/loader/efi/chainloader.c:866:29: warning[-Wunused-but-set-variable=]: variable ‘b’ set but not used
Error: COMPILER_WARNING: [#def519]
grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_cmd_chainloader’
grub-2.12/grub-core/loader/efi/chainloader.c:1085:22: warning[-Wformat=]: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘grub_ssize_t’ {aka ‘int’}
grub-2.12/include/grub/misc.h:46:102: note: in definition of macro ‘grub_dprintf’
grub-2.12/grub-core/loader/efi/chainloader.c:1085:52: note: format string is defined here
Error: COMPILER_WARNING (CWE-563): [#def520]
grub-2.12/grub-core/loader/efi/linux.c:209:15: warning[-Wunused-variable]: unused variable ‘k_start_address’
Error: COMPILER_WARNING: [#def521]
grub-2.12/grub-core/loader/efi/linux.c: scope_hint: In function ‘grub_efi_mem_set_att’
grub-2.12/grub-core/loader/efi/linux.c:233:23: warning: comparison between pointer and integer
Error: COMPILER_WARNING: [#def522]
grub-2.12/grub-core/loader/efi/linux.c:233:23: warning[warning]: comparison between pointer and integer
Error: COMPILER_WARNING: [#def523]
grub-2.12/grub-core/loader/efi/linux.c:249:16: warning: comparison between pointer and integer
Error: COMPILER_WARNING: [#def524]
grub-2.12/grub-core/loader/efi/linux.c:249:16: warning[warning]: comparison between pointer and integer
Error: COMPILER_WARNING (CWE-563): [#def525]
grub-2.12/grub-core/loader/efi/linux.c: scope_hint: In function ‘grub_cmd_linux’
grub-2.12/grub-core/loader/efi/linux.c:805:7: warning[-Wunused-variable]: unused variable ‘nx_supported’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def526]
grub-2.12/grub-core/mmap/i386/pc/mmap.c:70:36: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:70:36: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def527]
grub-2.12/grub-core/mmap/i386/pc/mmap.c:95:16: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:95:16: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def528]
grub-2.12/grub-core/mmap/i386/pc/mmap.c:99:55: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:99:55: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def529]
grub-2.12/grub-core/mmap/i386/pc/mmap.c:101:55: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/mmap/i386/pc/mmap.c:63:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:101:55: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def530]
grub-2.12/grub-core/mmap/i386/pc/mmap.c:159:14: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/mmap/i386/pc/mmap.c:139:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:142:3: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:149:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:152:7: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:159:14: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-469): [#def531]
grub-2.12/grub-core/mmap/i386/pc/mmap.c:163:33: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub-2.12/grub-core/mmap/i386/pc/mmap.c:139:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:142:3: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:149:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/mmap/i386/pc/mmap.c:152:7: branch_false: ...to here
grub-2.12/grub-core/mmap/i386/pc/mmap.c:163:33: danger: subtraction of pointers has undefined behavior if they do not point into the same array object
Error: GCC_ANALYZER_WARNING (CWE-476): [#def532]
grub-2.12/grub-core/net/bootp.c:82:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
grub-2.12/grub-core/net/bootp.c:1405:1: enter_function: entry to ‘grub_net_process_dhcp6’
grub-2.12/grub-core/net/bootp.c:1416:13: call_function: calling ‘grub_dhcp6_options_get’ from ‘grub_net_process_dhcp6’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
grub-2.12/grub-core/net/efi/dhcp.c:379:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘options’
grub-2.12/grub-core/net/efi/dhcp.c:263:38: branch_true: following ‘true’ branch (when ‘dev’ is non-NULL)...
grub-2.12/grub-core/net/efi/dhcp.c:272:58: branch_true: ...to here
grub-2.12/grub-core/net/efi/dhcp.c:356:42: release_memory: ‘options’ is NULL
grub-2.12/grub-core/net/efi/dhcp.c:377:21: branch_true: following ‘true’ branch...
grub-2.12/grub-core/net/efi/dhcp.c:379:24: branch_true: ...to here
grub-2.12/grub-core/net/efi/dhcp.c:379:17: danger: dereference of NULL ‘options + (long unsigned int)i * 8’
Error: COMPILER_WARNING: [#def534]
grub-2.12/grub-core/net/efi/ip4_config.c: scope_hint: In function ‘grub_efi_hw_address_to_string’
grub-2.12/grub-core/net/efi/ip4_config.c:13:19: warning[-Wunused-but-set-variable=]: variable ‘s’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-465): [#def535]
grub-2.12/grub-core/net/efi/net.c:311:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-core/net/efi/net.c:320:1: enter_function: entry to ‘grub_efi_net_config_from_handle’
grub-2.12/grub-core/net/efi/net.c:332:6: branch_true: following ‘true’ branch (when ‘pxe’ is NULL)...
grub-2.12/grub-core/net/efi/net.c:333:12: branch_true: ...to here
grub-2.12/grub-core/net/efi/net.c:333:12: call_function: calling ‘grub_efi_net_config_from_device_path’ from ‘grub_efi_net_config_from_handle’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def536]
grub-2.12/grub-core/net/efi/net.c:1336:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-core/net/efi/net.c:1316:6: branch_false: following ‘false’ branch (when ‘image’ is non-NULL)...
grub-2.12/grub-core/net/efi/net.c:1319:8: branch_false: ...to here
grub-2.12/grub-core/net/efi/net.c:1327:10: branch_true: following ‘true’ branch (when ‘type == 3’)...
grub-2.12/grub-core/net/efi/net.c:1327:11: branch_true: ...to here
grub-2.12/grub-core/net/efi/net.c:1327:11: branch_false: following ‘false’ branch (when ‘subtype != 24’)...
grub-2.12/grub-core/net/efi/net.c:1336:10: branch_false: ...to here
grub-2.12/grub-core/net/efi/net.c:1336:10: danger: pointer ‘dp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def537]
grub-2.12/grub-core/net/efi/net.c:1369:10: warning[-Wanalyzer-deref-before-check]: check of ‘dp’ for NULL after already dereferencing it
grub-2.12/grub-core/net/efi/net.c:1351:6: branch_false: following ‘false’ branch (when ‘image’ is non-NULL)...
grub-2.12/grub-core/net/efi/net.c:1354:8: branch_false: ...to here
grub-2.12/grub-core/net/efi/net.c:1362:10: branch_true: following ‘true’ branch (when ‘type == 3’)...
grub-2.12/grub-core/net/efi/net.c:1362:11: branch_true: ...to here
grub-2.12/grub-core/net/efi/net.c:1362:11: branch_false: following ‘false’ branch (when ‘subtype != 11’)...
grub-2.12/grub-core/net/efi/net.c:1369:10: branch_false: ...to here
grub-2.12/grub-core/net/efi/net.c:1369:10: danger: pointer ‘dp’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def538]
grub-2.12/grub-core/osdep/linux/getroot.c:448:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
grub-2.12/grub-core/osdep/linux/getroot.c:1290:1: enter_function: entry to ‘grub_util_get_btrfs_subvol’
grub-2.12/grub-core/osdep/linux/getroot.c:1296:14: call_function: calling ‘grub_find_root_devices_from_mountinfo’ from ‘grub_util_get_btrfs_subvol’
grub-2.12/grub-core/osdep/linux/getroot.c:1296:14: return_function: returning to ‘grub_util_get_btrfs_subvol’ from ‘grub_find_root_devices_from_mountinfo’
grub-2.12/grub-core/osdep/linux/getroot.c:1299:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/osdep/linux/getroot.c:1302:6: branch_false: ...to here
grub-2.12/grub-core/osdep/linux/getroot.c:1302:6: branch_false: following ‘false’ branch (when ‘mount_path’ is NULL)...
grub-2.12/grub-core/osdep/linux/getroot.c:1305:10: branch_false: ...to here
grub-2.12/grub-core/osdep/linux/getroot.c:1305:10: call_function: calling ‘get_btrfs_subvol’ from ‘grub_util_get_btrfs_subvol’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def539]
grub-2.12/grub-core/osdep/linux/getroot.c:460:13: warning[-Wanalyzer-malloc-leak]: leak of ‘ret’
grub-2.12/grub-core/osdep/linux/getroot.c:1290:1: enter_function: entry to ‘grub_util_get_btrfs_subvol’
grub-2.12/grub-core/osdep/linux/getroot.c:1296:14: call_function: calling ‘grub_find_root_devices_from_mountinfo’ from ‘grub_util_get_btrfs_subvol’
grub-2.12/grub-core/osdep/linux/getroot.c:1296:14: return_function: returning to ‘grub_util_get_btrfs_subvol’ from ‘grub_find_root_devices_from_mountinfo’
grub-2.12/grub-core/osdep/linux/getroot.c:1299:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/osdep/linux/getroot.c:1302:6: branch_false: ...to here
grub-2.12/grub-core/osdep/linux/getroot.c:1302:6: branch_false: following ‘false’ branch (when ‘mount_path’ is NULL)...
grub-2.12/grub-core/osdep/linux/getroot.c:1305:10: branch_false: ...to here
grub-2.12/grub-core/osdep/linux/getroot.c:1305:10: call_function: calling ‘get_btrfs_subvol’ from ‘grub_util_get_btrfs_subvol’
Error: COMPILER_WARNING (CWE-704): [#def540]
grub-2.12/grub-core/osdep/ofpath.c:2: included_from: Included from here.
grub-2.12/grub-core/osdep/linux/ofpath.c: scope_hint: In function ‘check_sas’
grub-2.12/grub-core/osdep/linux/ofpath.c:524:14: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def541]
grub-2.12/grub-core/osdep/linux/ofpath.c:524:14: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def542]
grub-2.12/grub-core/osdep/linux/ofpath.c:748:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘new’ where non-null expected
grub-2.12/grub-core/osdep/linux/ofpath.c:814:1: enter_function: entry to ‘grub_util_devname_to_ofpath’
grub-2.12/grub-core/osdep/linux/ofpath.c:818:14: call_function: calling ‘xrealpath’ from ‘grub_util_devname_to_ofpath’
grub-2.12/grub-core/osdep/linux/ofpath.c:818:14: return_function: returning to ‘grub_util_devname_to_ofpath’ from ‘xrealpath’
grub-2.12/grub-core/osdep/linux/ofpath.c:821:6: branch_false: following ‘false’ branch (when ‘realname’ is NULL)...
grub-2.12/grub-core/osdep/linux/ofpath.c:827:12: branch_false: ...to here
grub-2.12/grub-core/osdep/linux/ofpath.c:828:13: call_function: calling ‘strip_trailing_digits’ from ‘grub_util_devname_to_ofpath’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def543]
grub-2.12/grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
grub-2.12/grub-core/osdep/unix/password.c:40:8: acquire_resource: opened here
grub-2.12/grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def544]
grub-2.12/grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
grub-2.12/grub-core/osdep/unix/password.c:40:8: acquire_memory: allocated here
grub-2.12/grub-core/osdep/unix/password.c:41:6: branch_false: following ‘false’ branch (when ‘in’ is non-NULL)...
grub-2.12/grub-core/osdep/unix/password.c:44:7: branch_false: ...to here
grub-2.12/grub-core/osdep/unix/password.c:57:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/osdep/unix/password.c:59:14: branch_false: ...to here
grub-2.12/grub-core/osdep/unix/password.c:59:14: danger: ‘in’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def545]
grub-2.12/grub-core/partmap/acorn.c:121:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
grub-2.12/grub-core/partmap/acorn.c:103:1: enter_function: entry to ‘acorn_partition_map_iterate’
grub-2.12/grub-core/partmap/acorn.c:113:9: call_function: calling ‘acorn_partition_map_find’ from ‘acorn_partition_map_iterate’
grub-2.12/grub-core/partmap/acorn.c:113:9: return_function: returning to ‘acorn_partition_map_iterate’ from ‘acorn_partition_map_find’
grub-2.12/grub-core/partmap/acorn.c:114:6: branch_false: following ‘false’ branch (when ‘err == 0’)...
grub-2.12/grub-core/partmap/acorn.c:117:3: branch_false: ...to here
grub-2.12/grub-core/partmap/acorn.c:119:15: branch_true: following ‘true’ branch (when ‘i != 42’)...
grub-2.12/grub-core/partmap/acorn.c:121:11: branch_true: ...to here
grub-2.12/grub-core/partmap/acorn.c:121:11: danger: use of uninitialized value ‘map[i].magic’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def546]
grub-2.12/grub-core/term/efi/console.c:186:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/grub-core/term/efi/console.c:166:1: enter_function: entry to ‘grub_console_putchar’
grub-2.12/grub-core/term/efi/console.c:173:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/term/efi/console.c:176:28: branch_false: ...to here
grub-2.12/grub-core/term/efi/console.c:184:15: branch_true: following ‘true’ branch...
grub-2.12/grub-core/term/efi/console.c:185:8: branch_true: following ‘true’ branch...
grub-2.12/grub-core/term/efi/console.c:186:18: branch_true: ...to here
grub-2.12/grub-core/term/efi/console.c:186:18: call_function: calling ‘grub_unicode_get_comb’ from ‘grub_console_putchar’
grub-2.12/grub-core/term/efi/console.c:186:18: return_function: returning to ‘grub_console_putchar’ from ‘grub_unicode_get_comb’
grub-2.12/grub-core/term/efi/console.c:186:18: danger: dereference of NULL ‘grub_unicode_get_comb(c) + (long unsigned int)i * 4’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def547]
grub-2.12/grub-core/term/tparm.c:562:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘param[i]’
grub-2.12/grub-core/term/tparm.c:755:1: enter_function: entry to ‘grub_terminfo_tparm’
grub-2.12/grub-core/term/tparm.c:760:8: branch_false: following ‘false’ branch (when ‘string’ is non-NULL)...
grub-2.12/grub-core/term/tparm.c:763:5: branch_false: ...to here
grub-2.12/grub-core/term/tparm.c:764:14: call_function: calling ‘tparam_internal’ from ‘grub_terminfo_tparm’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def548]
grub-2.12/grub-core/tests/lib/test.c:85:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub-2.12/grub-core/tests/lib/test.c:110:1: enter_function: entry to ‘add_failure’
grub-2.12/grub-core/tests/lib/test.c:115:3: call_function: calling ‘failure_append_text’ from ‘add_failure’
Error: COMPILER_WARNING: [#def549]
grub-2.12/include/grub/compiler-rt-emu.h:23: included_from: Included from here.
grub-2.12/grub-emu-2.12/grub-core/symlist.h:20: included_from: Included from here.
grub-2.12/grub-emu-2.12/config-util.h:1174:10: warning: ‘_GL_INLINE_HEADER_BEGIN’ redefined
grub-2.12/grub-emu-2.12/grub-core/symlist.h:1: included_from: Included from here.
grub-2.12/grub-emu-2.12/config.h:140:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def550]
grub-2.12/grub-emu-2.12/config-util.h:1175:10: warning: ‘_GL_INLINE_HEADER_END’ redefined
grub-2.12/grub-emu-2.12/config.h:143:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def551]
grub-2.12/grub-emu-2.12/config-util.h:1541:10: warning: ‘_GL_GNUC_PREREQ’ redefined
grub-2.12/grub-emu-2.12/config.h:114:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def552]
grub-2.12/grub-emu-2.12/config-util.h:1727:11: warning: ‘_GL_ATTRIBUTE_COLD’ redefined
grub-2.12/grub-emu-2.12/config.h:89:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def553]
grub-2.12/grub-emu-2.12/config-util.h:1743:10: warning: ‘_GL_ATTRIBUTE_CONST’ redefined
grub-2.12/grub-emu-2.12/config.h:90:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def554]
grub-2.12/grub-emu-2.12/config-util.h:1755:10: warning: ‘_GL_ATTRIBUTE_DEALLOC’ redefined
grub-2.12/grub-emu-2.12/config.h:91:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def555]
grub-2.12/grub-emu-2.12/config-util.h:1775:10: warning: ‘_GL_ATTRIBUTE_DEPRECATED’ redefined
grub-2.12/grub-emu-2.12/config.h:93:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def556]
grub-2.12/grub-emu-2.12/config-util.h:1813:10: warning: ‘_GL_ATTRIBUTE_FALLTHROUGH’ redefined
grub-2.12/grub-emu-2.12/config.h:121:15: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def557]
grub-2.12/grub-emu-2.12/config-util.h:1852:10: warning: ‘_GL_ATTRIBUTE_MALLOC’ redefined
grub-2.12/grub-emu-2.12/config.h:99:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def558]
grub-2.12/grub-emu-2.12/config-util.h:1881:10: warning: ‘_GL_ATTRIBUTE_MAYBE_UNUSED’ redefined
grub-2.12/grub-emu-2.12/config.h:100:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def559]
grub-2.12/grub-emu-2.12/config-util.h:1895:10: warning: ‘_GL_ATTRIBUTE_NODISCARD’ redefined
grub-2.12/grub-emu-2.12/config.h:102:13: note: this is the location of the previous definition
Error: GCC_ANALYZER_WARNING (CWE-457): [#def560]
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def561]
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def562]
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1975:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1975:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def563]
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def564]
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def566]
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def567]
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def569]
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def570]
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def571]
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def572]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def573]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def574]
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-i386-xen_pvh-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def575]
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def576]
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def577]
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-i386-xen_pvh-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def578]
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def579]
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def580]
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def581]
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def582]
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def583]
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def584]
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def585]
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def586]
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-x86_64-xen-2.12/grub-core/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def587]
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1069:6: branch_true: following ‘true’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1075:28: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1098:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1100:7: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1101:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 10000’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1105:21: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1109:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1111:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def588]
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1238:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1069:6: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1133:6: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1133:6: branch_false: following ‘false’ branch (when ‘yystate != 3’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1136:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1148:6: branch_true: following ‘true’ branch (when ‘yyn == -73’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1149:5: branch_true: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1218:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1220:3: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.tab.c:1238:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def589]
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:2091:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1970:10: enter_function: entry to ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1977:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1977:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: branch_false: following ‘false’ branch...
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: branch_false: ...to here
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: release_memory: using NULL here
grub-2.12/grub-x86_64-xen-2.12/grub_script.yy.c:1980:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def590]
grub-2.12/include/grub/charset.h:207:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src_71’
grub-2.12/grub-core/fs/fat.c:1120:1: enter_function: entry to ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1134:15: call_function: calling ‘grub_fat_mount’ from ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1134:15: return_function: returning to ‘grub_fat_label’ from ‘grub_fat_mount’
grub-2.12/grub-core/fs/fat.c:1135:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1138:23: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1146:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1151:11: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1151:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1153:13: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1164:14: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1169:17: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1170:14: branch_false: following ‘false’ branch (when ‘chc <= 15’)...
grub-2.12/grub-core/fs/fat.c:1172:16: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1172:23: branch_false: following ‘false’ branch (when ‘i >= chc’)...
grub-2.12/grub-core/fs/fat.c:1174:12: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1174:12: call_function: calling ‘grub_utf16_to_utf8’ from ‘grub_fat_label’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def591]
grub-2.12/include/grub/charset.h:207:28: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*src’
grub-2.12/grub-core/fs/fat.c:1120:1: enter_function: entry to ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1134:15: call_function: calling ‘grub_fat_mount’ from ‘grub_fat_label’
grub-2.12/grub-core/fs/fat.c:1134:15: return_function: returning to ‘grub_fat_label’ from ‘grub_fat_mount’
grub-2.12/grub-core/fs/fat.c:1135:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1138:23: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1146:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1151:11: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1151:10: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1153:11: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1164:14: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1169:17: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1172:23: branch_false: following ‘false’ branch...
grub-2.12/grub-core/fs/fat.c:1174:12: branch_false: ...to here
grub-2.12/grub-core/fs/fat.c:1174:12: call_function: calling ‘grub_utf16_to_utf8’ from ‘grub_fat_label’
Error: COMPILER_WARNING (CWE-1041): [#def592]
grub-2.12/include/grub/fs.h:26: included_from: Included from here.
grub-2.12/include/grub/file.h:25: included_from: Included from here.
grub-2.12/include/grub/normal.h:29: included_from: Included from here.
grub-2.12/grub-core/commands/boot.c:20: included_from: Included from here.
grub-2.12/include/grub/dl.h:58:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_boot_init’
grub-2.12/grub-core/commands/boot.c:235:1: note: in expansion of macro ‘GRUB_MOD_INIT’
grub-2.12/grub-core/commands/boot.c:23: included_from: Included from here.
grub-2.12/include/grub/loader.h:80:6: note: previous declaration of ‘grub_boot_init’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-1041): [#def593]
grub-2.12/grub-core/term/terminfo.c:29: included_from: Included from here.
grub-2.12/include/grub/dl.h:58:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_terminfo_init’
grub-2.12/grub-core/term/terminfo.c:785:1: note: in expansion of macro ‘GRUB_MOD_INIT’
grub-2.12/grub-core/term/terminfo.c:31: included_from: Included from here.
grub-2.12/include/grub/terminfo.h:84:6: note: previous declaration of ‘grub_terminfo_init’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-1041): [#def594]
grub-2.12/include/grub/dl.h:66:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_boot_fini’
grub-2.12/grub-core/commands/boot.c:242:1: note: in expansion of macro ‘GRUB_MOD_FINI’
grub-2.12/include/grub/loader.h:81:6: note: previous declaration of ‘grub_boot_fini’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-1041): [#def595]
grub-2.12/include/grub/dl.h:66:13: warning[-Wredundant-decls]: redundant redeclaration of ‘grub_terminfo_fini’
grub-2.12/grub-core/term/terminfo.c:793:1: note: in expansion of macro ‘GRUB_MOD_FINI’
grub-2.12/include/grub/terminfo.h:85:6: note: previous declaration of ‘grub_terminfo_fini’ with type ‘void(void)’
Error: COMPILER_WARNING (CWE-9001): [#def596]
grub-2.12/include/grub/i386/pc/int.h:27:6: warning[-Wattributes]: ‘[regparm](https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html#index-regparm-function-attribute_002c-x86)’ attribute ignored
Error: COMPILER_WARNING (CWE-9001): [#def597]
grub-2.12/grub-core/lib/i386/relocator.c:29: included_from: Included from here.
grub-2.12/include/grub/i386/pc/int.h:27:6: warning[-Wattributes]: ‘regparm’ attribute ignored
Error: GCC_ANALYZER_WARNING (CWE-476): [#def598]
grub-2.12/include/grub/misc.h:263:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1’
grub-2.12/grub-core/commands/nativedisk.c:135:1: enter_function: entry to ‘iterate_device’
grub-2.12/grub-core/commands/nativedisk.c:140:7: call_function: calling ‘get_uuid’ from ‘iterate_device’
grub-2.12/grub-core/commands/nativedisk.c:140:7: return_function: returning to ‘iterate_device’ from ‘get_uuid’
grub-2.12/grub-core/commands/nativedisk.c:140:6: branch_false: following ‘false’ branch...
grub-2.12/grub-core/commands/nativedisk.c:148:3: branch_false: ...to here
grub-2.12/grub-core/commands/nativedisk.c:148:3: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-core/commands/nativedisk.c:150:6: branch_true: following ‘true’ branch...
grub-2.12/grub-core/commands/nativedisk.c:150:54: branch_true: ...to here
grub-2.12/grub-core/commands/nativedisk.c:150:27: release_memory: ‘cur_uuid’ is NULL
grub-2.12/grub-core/commands/nativedisk.c:150:27: call_function: calling ‘grub_strcasecmp’ from ‘iterate_device’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def599]
grub-2.12/include/grub/osdep/hostfile_unix.h:53:10: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dirp’ where non-null expected
grub-2.12/util/grub-install-common.c:1195:1: enter_function: entry to ‘grub_util_unlink_recursive’
grub-2.12/util/grub-install-common.c:1200:7: call_function: calling ‘grub_util_fd_opendir’ from ‘grub_util_unlink_recursive’
grub-2.12/util/grub-install-common.c:1200:7: return_function: possible return of NULL to ‘grub_util_unlink_recursive’ from ‘grub_util_fd_opendir’
grub-2.12/util/grub-install-common.c:1202:16: call_function: calling ‘grub_util_fd_readdir’ from ‘grub_util_unlink_recursive’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def600]
grub-2.12/util/grub-fstest.c:400:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub-2.12/util/grub-fstest.c:736:1: enter_function: entry to ‘main’
grub-2.12/util/grub-fstest.c:751:6: branch_false: following ‘false’ branch...
grub-2.12/util/grub-fstest.c:754:18: branch_false: ...to here
grub-2.12/util/grub-fstest.c:754:18: branch_true: following ‘true’ branch...
grub-2.12/util/grub-fstest.c:754:3: branch_true: ...to here
grub-2.12/util/grub-fstest.c:756:6: branch_false: following ‘false’ branch...
grub-2.12/util/grub-fstest.c:767:5: branch_false: ...to here
grub-2.12/util/grub-fstest.c:771:6: branch_false: following ‘false’ branch (when ‘alloc_root’ is NULL)...
grub-2.12/util/grub-fstest.c:775:11: branch_false: ...to here
grub-2.12/util/grub-fstest.c:775:3: call_function: calling ‘fstest’ from ‘main’
Error: COMPILER_WARNING (CWE-685): [#def601]
grub-2.12/util/grub-install-common.c:712:19: warning[-Wformat-extra-args]: too many arguments for format
Error: COMPILER_WARNING: [#def602]
grub-2.12/util/grub-install-common.c:712:19: warning[-Wformat=]: format ‘%s’ expects argument of type ‘char *’, but argument 8 has type ‘size_t’ {aka ‘long unsigned int’}
grub-2.12/util/grub-install-common.c:714:51: note: format string is defined here
Error: COMPILER_WARNING: [#def603]
grub-2.12/util/grub-install-common.c: scope_hint: In function ‘grub_install_make_image_wrap_file’
grub-2.12/util/grub-install-common.c:712:19: warning[-Wformat=]: format ‘%zu’ expects argument of type ‘size_t’, but argument 7 has type ‘const char *’
grub-2.12/util/grub-install-common.c:714:48: note: format string is defined here
Error: COMPILER_WARNING (CWE-195): [#def604]
grub-2.12/util/grub-mkfont.c:42: included_from: Included from here.
grub-2.12/util/grub-mkfont.c: scope_hint: In function ‘process_cursive’
grub-2.12/util/grub-mkfont.c:73:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
grub-2.12/util/grub-mkfont.c:506:3: note: in expansion of macro ‘GSUB_ARRAY_SIZE_VALID’
Error: COMPILER_WARNING (CWE-704): [#def605]
grub-2.12/util/probe.c: scope_hint: In function ‘grub_util_guess_bios_drive’
grub-2.12/util/probe.c:77:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def606]
grub-2.12/util/probe.c:77:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def607]
grub-2.12/util/probe.c: scope_hint: In function ‘grub_util_guess_efi_drive’
grub-2.12/util/probe.c:106:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def608]
grub-2.12/util/probe.c:106:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def609]
grub-2.12/util/probe.c: scope_hint: In function ‘grub_util_guess_baremetal_drive’
grub-2.12/util/probe.c:135:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def610]
grub-2.12/util/probe.c:135:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def611]
grub-2.12/util/resolve.c: scope_hint: In function ‘get_module_name’
grub-2.12/util/resolve.c:144:8: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def612]
grub-2.12/util/resolve.c:144:8: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def613]
grub-2.12/util/resolve.c: scope_hint: In function ‘get_module_path’
grub-2.12/util/resolve.c:172:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def614]
grub-2.12/util/resolve.c:172:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def615]
grub-2.12/util/resolve.c:181:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def616]
grub-2.12/util/resolve.c:181:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-195): [#def617]
grub-2.12/util/setup_sparc.c:2: included_from: Included from here.
grub-2.12/util/setup.c: scope_hint: In function ‘grub_util_sparc_setup’
grub-2.12/util/setup.c:661:25: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
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-159.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 | grub2-2.12-50.fc44 |
| store-results-to | /tmp/tmpss_tvdwa/grub2-2.12-50.fc44.tar.xz |
| time-created | 2026-01-08 17:20:08 |
| time-finished | 2026-01-08 17:50:57 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpss_tvdwa/grub2-2.12-50.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpss_tvdwa/grub2-2.12-50.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |