grub2-2.12-10.fc42
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:162:38: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/etc/grub.d/00_header:162:39: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def6]
/etc/grub.d/00_header:185:33: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def7]
/etc/grub.d/00_header:246:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def8]
/etc/grub.d/00_header:287:32: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def9]
/etc/grub.d/00_header:350: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:187:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def31]
/etc/grub.d/10_linux:187:20: warning[SC3030]: In POSIX sh, arrays are undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def32]
/etc/grub.d/10_linux:187:21: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-140): [#def33]
/etc/grub.d/10_linux:187: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:191:17: warning[SC3054]: In POSIX sh, array references are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def35]
/etc/grub.d/10_linux:197:36: warning[SC2154]: boot_prefix is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def36]
/etc/grub.d/10_linux:236:19: warning[SC3045]: In POSIX sh, read -d is undefined.
Error: SHELLCHECK_WARNING: [#def37]
/etc/grub.d/10_linux:237:37: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def38]
/etc/grub.d/10_linux:244:18: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def39]
/etc/grub.d/10_linux:244:49: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def40]
/etc/grub.d/10_linux:245:19: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING: [#def41]
/etc/grub.d/10_linux:246:19: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def42]
/etc/grub.d/10_linux:290:15: warning[SC2154]: grub_editenv is referenced but not assigned.
Error: SHELLCHECK_WARNING: [#def43]
/etc/grub.d/10_linux:312:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def44]
/etc/grub.d/10_linux:313:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def45]
/etc/grub.d/10_linux:314:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def46]
/etc/grub.d/10_linux:315:3: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-156): [#def47]
/etc/grub.d/10_linux:320:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-156): [#def48]
/etc/grub.d/10_linux:321:19: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING: [#def49]
/etc/grub.d/10_linux:333:8: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING (CWE-457): [#def50]
/etc/grub.d/10_linux:565:26: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def51]
/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): [#def52]
/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): [#def53]
/etc/grub.d/20_linux_xen:24:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def54]
/etc/grub.d/20_linux_xen:88:9: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def55]
/etc/grub.d/20_linux_xen:273:9: warning[SC2154]: grub_file is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def56]
/etc/grub.d/20_linux_xen:360:27: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def57]
/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): [#def58]
/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): [#def59]
/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): [#def60]
/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): [#def61]
/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): [#def62]
/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): [#def63]
/etc/grub.d/30_os-prober:27:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-685): [#def64]
/etc/grub.d/30_os-prober:44:1: warning[SC2120]: osx_entry references arguments, but none are ever passed.
Error: SHELLCHECK_WARNING (CWE-457): [#def65]
/etc/grub.d/30_os-prober:49:19: warning[SC2154]: grub_probe is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def66]
/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): [#def67]
/etc/grub.d/30_os-prober:234:35: warning[SC2154]: grub_tab is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def68]
/etc/grub.d/30_os-prober:251:241: warning[SC2154]: version is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def69]
/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: [#def70]
/etc/grub.d/30_os-prober:262:5: warning[SC3010]: In POSIX sh, [[ ]] is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def71]
/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): [#def72]
/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): [#def73]
/etc/grub.d/30_uefi-firmware:27:4: warning[SC2154]: pkgdatadir is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-563): [#def74]
/usr/bin/grub2-kbdcomp:3:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def75]
/usr/bin/grub2-kbdcomp:4:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def76]
/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): [#def77]
/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): [#def78]
/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): [#def79]
/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): [#def80]
/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): [#def81]
/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): [#def82]
/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): [#def83]
/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): [#def84]
/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): [#def85]
/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): [#def86]
/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): [#def87]
/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): [#def88]
/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): [#def89]
/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): [#def90]
/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): [#def91]
/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): [#def92]
/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): [#def93]
/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): [#def94]
/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): [#def95]
/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): [#def96]
/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): [#def97]
/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): [#def98]
/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): [#def99]
/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): [#def100]
/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): [#def101]
/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): [#def102]
/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): [#def103]
/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): [#def104]
/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): [#def105]
/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): [#def106]
/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): [#def107]
/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): [#def108]
/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): [#def109]
/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): [#def110]
/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): [#def111]
/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): [#def112]
/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): [#def113]
/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): [#def114]
/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): [#def115]
/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): [#def116]
/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): [#def117]
/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): [#def118]
/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): [#def119]
/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): [#def120]
/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): [#def121]
/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): [#def122]
/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): [#def123]
/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): [#def124]
/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): [#def125]
/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): [#def126]
/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): [#def127]
/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): [#def128]
/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): [#def129]
/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): [#def130]
/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): [#def131]
/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): [#def132]
/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): [#def133]
/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): [#def134]
/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): [#def135]
/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): [#def136]
/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): [#def137]
/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): [#def138]
/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): [#def139]
/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): [#def140]
/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): [#def141]
/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): [#def142]
/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): [#def143]
/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): [#def144]
/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): [#def145]
/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): [#def146]
/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): [#def147]
/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): [#def148]
/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): [#def149]
/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): [#def150]
/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): [#def151]
/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): [#def152]
/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): [#def153]
/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): [#def154]
/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): [#def155]
/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): [#def156]
/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): [#def157]
/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): [#def158]
/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): [#def159]
/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): [#def160]
/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): [#def161]
/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): [#def162]
/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): [#def163]
/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): [#def164]
/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): [#def165]
/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): [#def166]
/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): [#def167]
/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): [#def168]
/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): [#def169]
/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): [#def170]
/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): [#def171]
/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): [#def172]
/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): [#def173]
/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): [#def174]
/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): [#def175]
/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): [#def176]
/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): [#def177]
/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): [#def178]
/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): [#def179]
/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): [#def180]
/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): [#def181]
/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): [#def182]
/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): [#def183]
/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): [#def184]
/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): [#def185]
/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): [#def186]
/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): [#def187]
/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): [#def188]
/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): [#def189]
/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): [#def190]
/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): [#def191]
/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): [#def192]
/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): [#def193]
/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): [#def194]
/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): [#def195]
/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): [#def196]
/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): [#def197]
/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): [#def198]
/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): [#def199]
/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): [#def200]
/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): [#def201]
/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): [#def202]
/usr/lib/kernel/install.d/20-grub.install:139:43: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-153): [#def203]
/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): [#def204]
/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): [#def205]
/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): [#def206]
/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): [#def207]
/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: [#def208]
/usr/sbin/grub2-get-kernel-settings:71:26: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING: [#def209]
/usr/sbin/grub2-get-kernel-settings:75:30: warning[SC3060]: In POSIX sh, string replacement is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def210]
/usr/sbin/grub2-mkconfig:24:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def211]
/usr/sbin/grub2-mkconfig:25:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def212]
/usr/sbin/grub2-mkconfig:31:1: warning[SC2034]: host_os appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def213]
/usr/sbin/grub2-mkconfig:45:1: warning[SC2034]: grub_file appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def214]
/usr/sbin/grub2-mkconfig:196:5: warning[SC2034]: termoutdefault appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def215]
/usr/sbin/grub2-reboot:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def216]
/usr/sbin/grub2-reboot:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def217]
/usr/sbin/grub2-reboot:24:1: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def218]
/usr/sbin/grub2-set-default:20:1: warning[SC2034]: prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def219]
/usr/sbin/grub2-set-default:21:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def220]
/usr/sbin/grub2-set-password:40:7: warning[SC3028]: In POSIX sh, EUID is undefined.
Error: SHELLCHECK_WARNING: [#def221]
/usr/sbin/grub2-set-password:88:6: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def222]
/usr/sbin/grub2-set-password:91:6: warning[SC3037]: In POSIX sh, echo flags are undefined.
Error: SHELLCHECK_WARNING: [#def223]
/usr/sbin/grub2-set-password:97:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def224]
/usr/sbin/grub2-set-password:98:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def225]
/usr/sbin/grub2-switch-to-blscfg:23:1: warning[SC2034]: exec_prefix appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING (CWE-563): [#def226]
/usr/sbin/grub2-switch-to-blscfg:26:1: warning[SC2034]: sysconfdir appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def227]
/usr/sbin/grub2-switch-to-blscfg:31:8: warning[SC3016]: In POSIX sh, unary -v (in place of [ -n "${var+x}" ]) is undefined.
Error: SHELLCHECK_WARNING: [#def228]
/usr/sbin/grub2-switch-to-blscfg:155:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-477): [#def229]
/usr/sbin/grub2-switch-to-blscfg:156:31: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: SHELLCHECK_WARNING: [#def230]
/usr/sbin/grub2-switch-to-blscfg:191:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def231]
/usr/sbin/grub2-switch-to-blscfg:192:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING (CWE-563): [#def232]
/usr/sbin/grub2-switch-to-blscfg:192:11: warning[SC2034]: datetime appears unused. Verify use (or export if used externally).
Error: SHELLCHECK_WARNING: [#def233]
/usr/sbin/grub2-switch-to-blscfg:193:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def234]
/usr/sbin/grub2-switch-to-blscfg:195:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def235]
/usr/sbin/grub2-switch-to-blscfg:196:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def236]
/usr/sbin/grub2-switch-to-blscfg:197:5: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def237]
/usr/sbin/grub2-switch-to-blscfg:199:23: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING (CWE-398): [#def238]
/usr/sbin/grub2-switch-to-blscfg:199:26: error[SC2081]: [ .. ] can't match globs. Use a case statement.
Error: SHELLCHECK_WARNING: [#def239]
/usr/sbin/grub2-switch-to-blscfg:200:9: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def240]
/usr/sbin/grub2-switch-to-blscfg:201:26: warning[SC3014]: In POSIX sh, == in place of = is undefined.
Error: SHELLCHECK_WARNING: [#def241]
/usr/sbin/grub2-switch-to-blscfg:202:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def242]
/usr/sbin/grub2-switch-to-blscfg:203:13: warning[SC3043]: In POSIX sh, 'local' is undefined.
Error: SHELLCHECK_WARNING: [#def243]
/usr/sbin/grub2-switch-to-blscfg:207:9: warning[SC3046]: In POSIX sh, 'source' in place of '.' is undefined.
Error: SHELLCHECK_WARNING: [#def244]
/usr/sbin/grub2-switch-to-blscfg:207:9: warning[SC3051]: In POSIX sh, 'source' in place of '.' is undefined.
Error: SHELLCHECK_WARNING (CWE-252): [#def245]
/usr/sbin/grub2-switch-to-blscfg:223:24: warning[SC2164]: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Error: SHELLCHECK_WARNING (CWE-457): [#def246]
/usr/sbin/grub2-switch-to-blscfg:236:20: warning[SC2154]: grub_mkrelpath is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-398): [#def247]
/usr/sbin/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): [#def248]
/usr/sbin/grub2-switch-to-blscfg:295:28: warning[SC2166]: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c: scope_hint: In function ‘grub_ohci_free_tds’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:596:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub2-2.12-build/grub-2.12/include/grub/dl.h:30: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:20: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c: scope_hint: In function ‘grub_ohci_transaction’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:658:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub2-2.12-build/grub-2.12/include/grub/dl.h:26: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/types.h:269:51: note: in definition of macro ‘grub_cpu_to_le32’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:663:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td’
grub2-2.12-build/grub-2.12/include/grub/types.h:269:51: note: in definition of macro ‘grub_cpu_to_le32’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c: scope_hint: In function ‘finish_transfer’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:939:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev_virt’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c: scope_hint: In function ‘parse_halt’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:969:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c: scope_hint: In function ‘grub_ohci_cancel_transfer’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:1209:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/ohci.c:187:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def255]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/uhci.c: scope_hint: In function ‘grub_uhci_setup_transfer’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/uhci.c:570:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub2-2.12-build/grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/bus/usb/uhci.c:20: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/bus/usb/uhci.c:482:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
grub2-2.12-build/grub-2.12/grub-core/bus/usb/uhci.c:576:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘td_prev’
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def257]
grub2-2.12-build/grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:18: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c: scope_hint: In function ‘grub_efi_export_env’
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:111:27: warning[-Wformat=]: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘grub_size_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:111:40: note: format string is defined here
Error: COMPILER_WARNING: [#def258]
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:116:29: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:116:49: note: format string is defined here
Error: COMPILER_WARNING: [#def259]
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:122:29: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/commands/efi/env.c:122:58: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-469): [#def260]
grub2-2.12-build/grub-2.12/grub-core/commands/i386/pc/drivemap.c: scope_hint: In function ‘install_int13_handler’
grub2-2.12-build/grub-2.12/grub-core/commands/i386/pc/drivemap.c:81:32: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/commands/i386/pc/drivemap.c:311:16: note: in expansion of macro ‘INT13H_OFFSET’
grub2-2.12-build/grub-2.12/include/grub/command.h:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/extcmd.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/commands/i386/pc/drivemap.c:20: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/commands/i386/pc/drivemap.c:301:3: note: in expansion of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/commands/i386/pc/drivemap.c:311:16: note: in expansion of macro ‘INT13H_OFFSET’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def261]
grub2-2.12-build/grub-2.12/grub-core/commands/legacycfg.c: scope_hint: In function ‘legacy_file’
grub2-2.12-build/grub-2.12/grub-core/commands/legacycfg.c:148:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entrysrc’
Error: COMPILER_WARNING (CWE-563): [#def262]
grub2-2.12-build/grub-2.12/grub-core/commands/search.c:206:31: warning[-Wunused-variable]: unused variable ‘dev’
Error: COMPILER_WARNING (CWE-563): [#def263]
grub2-2.12-build/grub-2.12/grub-core/commands/search.c:206:36: warning[-Wunused-variable]: unused variable ‘dev_part’
Error: COMPILER_WARNING (CWE-563): [#def264]
grub2-2.12-build/grub-2.12/grub-core/commands/search.c:211:25: warning[-Wunused-variable]: unused variable ‘longlist’
Error: COMPILER_WARNING (CWE-704): [#def265]
grub2-2.12-build/grub-2.12/grub-core/commands/search_uuid.c:5: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/commands/search.c: scope_hint: In function ‘iterate_device’
grub2-2.12-build/grub-2.12/grub-core/commands/search.c:218:39: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
grub2-2.12-build/grub-2.12/grub-core/efiemu/runtime/efiemu.c: scope_hint: In function ‘efiemu_set_variable.part.0’
grub2-2.12-build/grub-2.12/grub-core/efiemu/runtime/efiemu.c:547:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘efivar’
grub2-2.12-build/grub-2.12/include/grub/types.h:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/efiemu/runtime/efiemu.c:31: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/efiemu/runtime/config.h:27:22: note: in definition of macro ‘EFI_FUNC’
grub2-2.12-build/grub-2.12/grub-core/efiemu/runtime/efiemu.c: scope_hint: In function ‘efiemu_set_variable.part.0’
grub2-2.12-build/grub-2.12/grub-core/efiemu/runtime/efiemu.c: scope_hint: In function ‘efiemu_set_variable.part.0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def267]
grub2-2.12-build/grub-2.12/grub-core/font/font.c: scope_hint: In function ‘grub_font_construct_dry_run’
grub2-2.12-build/grub-2.12/grub-core/font/font.c:1497:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘comb’
grub2-2.12-build/grub-2.12/include/grub/font.h:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/font/font.c:23: included_from: Included from here.
/usr/include/locale.h:28: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/i18n.h:32: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/misc.h:27: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/dl.h:29: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/partition.h:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/fs.h:30: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/file.h:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/bufio.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/font/font.c:20: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
grub2-2.12-build/grub-2.12/include/grub/file.h:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/fs/afs.c:2: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c: scope_hint: In function ‘iterate_in_b_tree’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:542:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:50:34: note: in expansion of macro ‘grub_bfs_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:542:23: note: in expansion of macro ‘grub_bfs_to_cpu_treehead’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:50:34: note: in expansion of macro ‘grub_bfs_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:542:23: note: in expansion of macro ‘grub_bfs_to_cpu_treehead’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:50:34: note: in expansion of macro ‘grub_bfs_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:542:23: note: in expansion of macro ‘grub_bfs_to_cpu_treehead’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def269]
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c: scope_hint: In function ‘find_in_b_tree’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:620:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘node’
grub2-2.12-build/grub-2.12/include/grub/file.h:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:1059:22: note: in expansion of macro ‘grub_bfs_to_cpu32’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:1064:27: note: in expansion of macro ‘grub_bfs_to_cpu32’
grub2-2.12-build/grub-2.12/include/grub/types.h:272:51: note: in definition of macro ‘grub_le_to_cpu32’
grub2-2.12-build/grub-2.12/grub-core/fs/bfs.c:1022:26: note: in expansion of macro ‘grub_bfs_to_cpu32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def270]
grub2-2.12-build/grub-2.12/grub-core/fs/fshelp.c: scope_hint: In function ‘directory_find_file’
grub2-2.12-build/grub-2.12/grub-core/fs/fshelp.c:152:11: warning[-Wanalyzer-jump-through-null]: jump through null pointer
Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
grub2-2.12-build/grub-2.12/grub-core/fs/fshelp.c: scope_hint: In function ‘find_file’
grub2-2.12-build/grub-2.12/grub-core/fs/fshelp.c:188:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx.currnode’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def272]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/efi.c: scope_hint: In function ‘grub_reboot’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/efi.c:187:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-835): [#def273]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/efi.c: scope_hint: In function ‘grub_exit’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/efi.c:201:3: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: COMPILER_WARNING: [#def274]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:20: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_efi_allocate_pages_real’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:177:21: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘grub_efi_uintn_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:177:50: note: format string is defined here
Error: COMPILER_WARNING: [#def275]
grub2-2.12-build/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_physical_address_t’ {aka ‘long long unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:177:60: note: format string is defined here
Error: COMPILER_WARNING: [#def276]
grub2-2.12-build/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_status_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:177:72: note: format string is defined here
Error: COMPILER_WARNING: [#def277]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_nx_init’
grub2-2.12-build/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 5 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def278]
grub2-2.12-build/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 5 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def279]
grub2-2.12-build/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 5 has type ‘grub_addr_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def280]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_get_mem_attrs’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:871:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:871:44: note: format string is defined here
Error: COMPILER_WARNING: [#def281]
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def282]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c: scope_hint: In function ‘grub_update_mem_attrs’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:905:27: warning[-Wformat=]: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘grub_efi_physical_address_t’ {aka ‘long long unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:905:44: note: format string is defined here
Error: COMPILER_WARNING: [#def283]
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
Error: COMPILER_WARNING: [#def284]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:917:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:917:55: note: format string is defined here
Error: COMPILER_WARNING: [#def285]
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:917:64: note: format string is defined here
Error: COMPILER_WARNING: [#def286]
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:919:23: warning[-Wformat=]: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘grub_uint64_t’ {aka ‘long long unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:919:57: note: format string is defined here
Error: COMPILER_WARNING: [#def287]
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/kern/efi/mm.c:919:66: note: format string is defined here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def288]
grub2-2.12-build/grub-2.12/grub-core/kern/env.c: scope_hint: In function ‘grub_register_variable_hook’
grub2-2.12-build/grub-2.12/grub-core/kern/env.c:227:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def289]
grub2-2.12-build/grub-2.12/grub-core/kern/env.c: scope_hint: In function ‘grub_env_export’
grub2-2.12-build/grub-2.12/grub-core/kern/env.c:248:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘var’
Error: COMPILER_WARNING (CWE-569): [#def290]
grub2-2.12-build/grub-2.12/grub-core/kern/file.c: scope_hint: In function ‘grub_file_read’
grub2-2.12-build/grub-2.12/grub-core/kern/file.c:179:18: warning[-Wtype-limits]: comparison of unsigned expression in ‘>= 0’ is always true
Error: GCC_ANALYZER_WARNING (CWE-469): [#def291]
grub2-2.12-build/grub-2.12/grub-core/kern/i386/pc/init.c: scope_hint: In function ‘grub_machine_init’
grub2-2.12-build/grub-2.12/grub-core/kern/i386/pc/init.c:229:67: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-476): [#def292]
grub2-2.12-build/grub-2.12/grub-core/kern/parser.c: scope_hint: In function ‘terminate_arg’
grub2-2.12-build/grub-2.12/grub-core/kern/parser.c:142:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def293]
grub2-2.12-build/grub-2.12/grub-core/lib/efi/halt.c: scope_hint: In function ‘grub_halt’
grub2-2.12-build/grub-2.12/grub-core/lib/efi/halt.c:40:9: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: CPPCHECK_WARNING (CWE-476): [#def294]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/argp-help.c:1033: error[ctunullpointer]: Null pointer dereference: argp
Error: COMPILER_WARNING (CWE-195): [#def295]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/base64.c:48: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘imalloc’
grub2-2.12-build/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): [#def296]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/base64.c:48: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘imalloc’
grub2-2.12-build/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): [#def297]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘irealloc’
grub2-2.12-build/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): [#def298]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘irealloc’
grub2-2.12-build/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): [#def299]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘icalloc’
grub2-2.12-build/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): [#def300]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘icalloc’
grub2-2.12-build/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): [#def301]
grub2-2.12-build/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): [#def302]
grub2-2.12-build/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): [#def303]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘ireallocarray’
grub2-2.12-build/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): [#def304]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/ialloc.h: scope_hint: In function ‘ireallocarray’
grub2-2.12-build/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): [#def305]
grub2-2.12-build/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): [#def306]
grub2-2.12-build/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: COMPILER_WARNING (CWE-195): [#def307]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:74: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘re_compile_fastmap_iter’
grub2-2.12-build/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): [#def308]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:74: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘re_compile_fastmap_iter’
grub2-2.12-build/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): [#def309]
grub2-2.12-build/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): [#def310]
grub2-2.12-build/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): [#def311]
grub2-2.12-build/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): [#def312]
grub2-2.12-build/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): [#def313]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘free_dfa_content’
grub2-2.12-build/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): [#def314]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘free_dfa_content’
grub2-2.12-build/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): [#def315]
grub2-2.12-build/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): [#def316]
grub2-2.12-build/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): [#def317]
grub2-2.12-build/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): [#def318]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘init_dfa’
grub2-2.12-build/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): [#def319]
grub2-2.12-build/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): [#def320]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘init_word_char’
grub2-2.12-build/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): [#def321]
grub2-2.12-build/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): [#def322]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_utf8’
grub2-2.12-build/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): [#def323]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_utf8’
grub2-2.12-build/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): [#def324]
grub2-2.12-build/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): [#def325]
grub2-2.12-build/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): [#def326]
grub2-2.12-build/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): [#def327]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘analyze’
grub2-2.12-build/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): [#def328]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘analyze’
grub2-2.12-build/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): [#def329]
grub2-2.12-build/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): [#def330]
grub2-2.12-build/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): [#def331]
grub2-2.12-build/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): [#def332]
grub2-2.12-build/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): [#def333]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘optimize_subexps’
grub2-2.12-build/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): [#def334]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘lower_subexp’
grub2-2.12-build/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): [#def335]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_inveclosure’
grub2-2.12-build/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): [#def336]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_inveclosure’
grub2-2.12-build/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): [#def337]
grub2-2.12-build/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): [#def338]
grub2-2.12-build/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): [#def339]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_eclosure’
grub2-2.12-build/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): [#def340]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘calc_eclosure’
grub2-2.12-build/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): [#def341]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regcomp.c: scope_hint: In function ‘parse_bracket_exp’
grub2-2.12-build/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): [#def342]
grub2-2.12-build/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): [#def343]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/libc-config.h:164: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_realloc_buffers’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def344]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/libc-config.h:164: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_realloc_buffers’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def345]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘build_wcs_upper_buffer’
grub2-2.12-build/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): [#def346]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘build_wcs_upper_buffer’
grub2-2.12-build/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): [#def347]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_reconstruct’
grub2-2.12-build/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): [#def348]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c: scope_hint: In function ‘re_string_reconstruct’
grub2-2.12-build/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): [#def349]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:71: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_not’
grub2-2.12-build/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): [#def350]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_merge’
grub2-2.12-build/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): [#def351]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.h: scope_hint: In function ‘bitset_mask’
grub2-2.12-build/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): [#def352]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_copy_regs’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def353]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.h:40: included_from: Included from here.
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/verify.h:300:22: note: in definition of macro ‘assume’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c:502:7: note: in expansion of macro ‘DEBUG_ASSERT’
Error: COMPILER_WARNING (CWE-195): [#def354]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:75: included_from: Included from here.
grub2-2.12-build/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): [#def355]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_search_internal’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def356]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘re_search_internal’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def357]
grub2-2.12-build/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): [#def358]
grub2-2.12-build/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): [#def359]
grub2-2.12-build/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): [#def360]
grub2-2.12-build/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): [#def361]
grub2-2.12-build/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): [#def362]
grub2-2.12-build/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): [#def363]
grub2-2.12-build/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): [#def364]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘prune_impossible_nodes’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def365]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘prune_impossible_nodes’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def366]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘set_regs’
grub2-2.12-build/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): [#def367]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘set_regs’
grub2-2.12-build/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): [#def368]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_dst_limits_calc_pos_1’
grub2-2.12-build/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): [#def369]
grub2-2.12-build/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): [#def370]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_subexp_matching_top’
grub2-2.12-build/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): [#def371]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_arrival’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def372]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘check_arrival’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def373]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘build_trtable’
grub2-2.12-build/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): [#def374]
grub2-2.12-build/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): [#def375]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘group_nodes_into_DFAstates’
grub2-2.12-build/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): [#def376]
grub2-2.12-build/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): [#def377]
grub2-2.12-build/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): [#def378]
grub2-2.12-build/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): [#def379]
grub2-2.12-build/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): [#def380]
grub2-2.12-build/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): [#def381]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘extend_buffers’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def382]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘extend_buffers’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def383]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘match_ctx_init’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: COMPILER_WARNING (CWE-195): [#def384]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c: scope_hint: In function ‘match_ctx_init’
grub2-2.12-build/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’}
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/cdefs.h:510:52: note: in definition of macro ‘__glibc_unlikely’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c: scope_hint: In function ‘vasnprintf’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1993:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/printf-parse.h:29: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:96: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:7: note: in expansion of macro ‘PRINTF_FETCHARGS’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1956:3: note: in expansion of macro ‘ENSURE_ALLOCATION_ELSE’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1992:13: note: in expansion of macro ‘ENSURE_ALLOCATION’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def386]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5204:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘buf_malloced’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:7: note: in expansion of macro ‘PRINTF_FETCHARGS’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1956:3: note: in expansion of macro ‘ENSURE_ALLOCATION_ELSE’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5199:17: note: in expansion of macro ‘ENSURE_ALLOCATION’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5204:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1875:7: note: in expansion of macro ‘PRINTF_FETCHARGS’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:1956:3: note: in expansion of macro ‘ENSURE_ALLOCATION_ELSE’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/vasnprintf.c:5199:17: note: in expansion of macro ‘ENSURE_ALLOCATION’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def388]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c: scope_hint: In function ‘grub_reboot’
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:40:11: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def389]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:42:59: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:25: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def390]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:46:11: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: GCC_ANALYZER_WARNING (CWE-469): [#def391]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:48:56: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
Error: GCC_ANALYZER_WARNING (CWE-835): [#def392]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:61:9: warning[-Wanalyzer-infinite-loop]: infinite loop
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/i386/reboot.c:26: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/i386/floppy.h:25: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-469): [#def393]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator.c: scope_hint: In function ‘grub_relocator32_boot’
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator.c:72:59: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator.c:87:48: note: in expansion of macro ‘RELOCATOR_SIZEOF’
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator.c:87:48: note: in expansion of macro ‘RELOCATOR_SIZEOF’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def394]
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator_common_c.c: scope_hint: In function ‘grub_cpu_relocator_init’
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator_common_c.c:42:59: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator_common_c.c:56:33: note: in expansion of macro ‘RELOCATOR_SIZEOF’
grub2-2.12-build/grub-2.12/grub-core/lib/i386/relocator_common_c.c:56:33: note: in expansion of macro ‘RELOCATOR_SIZEOF’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def395]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha1.c: scope_hint: In function ‘transform’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha1.c:142:34: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘x[1]’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha1.c:98:41: note: in definition of macro ‘R’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: note: in expansion of macro ‘TRANSFORM’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha1.c:264:7: note: in expansion of macro ‘TRANSFORM’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha1.c:98:41: note: in definition of macro ‘R’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def396]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha256.c:44: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha256.c: scope_hint: In function ‘transform’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha256.c:197:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘w[<unknown>]’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/bithelp.h:53:22: note: in definition of macro ‘ror’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha256.c:197:12: note: in expansion of macro ‘S1’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/bithelp.h:53:22: note: in definition of macro ‘ror’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha256.c:197:12: note: in expansion of macro ‘S1’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/bithelp.h:53:22: note: in definition of macro ‘ror’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/cipher/sha256.c:197:12: note: in expansion of macro ‘S1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def397]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:29: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c: scope_hint: In function ‘gcry_mpi_set’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:90:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:54: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:303:26: note: in expansion of macro ‘mpi_get_nlimbs’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:304:3: note: in expansion of macro ‘RESIZE_IF_NEEDED’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpiutil.c:307:3: note: in expansion of macro ‘MPN_COPY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def398]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:35: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c: scope_hint: In function ‘gcry_mpi_powm’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:90:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:36: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:105:3: note: in expansion of macro ‘count_leading_zeros’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:105:3: note: in expansion of macro ‘count_leading_zeros’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/src/mpi.h:38: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:54: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:160:7: note: in expansion of macro ‘gcry_assert’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:160:7: note: in expansion of macro ‘gcry_assert’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:162:24: note: in expansion of macro ‘mpi_alloc_limb_space’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: note: in expansion of macro ‘MPN_COPY’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:163:7: note: in expansion of macro ‘MPN_COPY’
Error: COMPILER_WARNING (CWE-563): [#def399]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:33: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c: scope_hint: In function ‘_gcry_mpih_mod_1’
grub2-2.12-build/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
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpih-div.c:100:17: note: in expansion of macro ‘UDIV_QRNND_PREINV’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def400]
grub2-2.12-build/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
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: note: in expansion of macro ‘mpi_is_secure’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def401]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c: scope_hint: In function ‘do_get_buffer’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpicoder.c:246:30: warning[-Wanalyzer-deref-before-check]: check of ‘a’ for NULL after already dereferencing it
Error: COMPILER_WARNING (CWE-563): [#def402]
grub2-2.12-build/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 (CWE-563): [#def403]
grub2-2.12-build/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-465): [#def404]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:54: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:35: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c: scope_hint: In function ‘gcry_mpi_powm’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/src/mpi.h:110:31: warning[-Wanalyzer-deref-before-check]: check of ‘expo’ for NULL after already dereferencing it
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: note: in expansion of macro ‘mpi_is_secure’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def405]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/src/mpi.h:110:31: warning[-Wanalyzer-deref-before-check]: check of ‘mod’ for NULL after already dereferencing it
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:74:10: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-pow.c:75:10: note: in expansion of macro ‘mpi_is_secure’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def406]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/src/mpi.h:110:31: warning[-Wanalyzer-deref-before-check]: check of ‘u’ for NULL after already dereferencing it
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:129:19: note: in expansion of macro ‘mpi_is_secure’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def407]
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-internal.h:54: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:32: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c: scope_hint: In function ‘gcry_mpi_mul’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/src/mpi.h:110:31: warning[-Wanalyzer-deref-before-check]: check of ‘v’ for NULL after already dereferencing it
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: note: in expansion of macro ‘mpi_is_secure’
grub2-2.12-build/grub-2.12/grub-core/lib/libgcrypt-grub/mpi/mpi-mul.c:125:19: note: in expansion of macro ‘mpi_is_secure’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def408]
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c: scope_hint: In function ‘_asn1_set_default_tag’
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:1158:19: warning[-Wanalyzer-infinite-loop]: infinite loop
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/parser_aux.c:24: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/sys/types.h:24: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/string.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/int.h:29: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/structure.c: scope_hint: In function ‘_asn1_copy_structure3’
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/structure.c:443:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p_d’
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/sys/types.h:24: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/string.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/int.h:29: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/libtasn1/lib/structure.c:30: included_from: Included from here.
Error: COMPILER_WARNING (CWE-758): [#def410]
grub2-2.12-build/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-401): [#def411]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:26: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/stdlib.h: scope_hint: In function ‘realloc’
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘new_array’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:30:1: note: in expansion of macro ‘__libc_dynarray_emplace_enlarge’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/malloc/dynarray_emplace_enlarge.c:59:7: note: in expansion of macro ‘INT_MULTIPLY_WRAPV’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:66: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_private.h:32: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_lzma2.c:24: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/stdlib.h: scope_hint: In function ‘realloc’
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/stdlib.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of ‘newdict’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def413]
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.h:30: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:71: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/wchar.h: scope_hint: In function ‘mbrtowc’
grub2-2.12-build/grub-2.12/grub-core/lib/posix_wrap/wchar.h:63:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*ptr’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:75: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.h:449:27: note: in definition of macro ‘MAX’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regexec.c:3960:41: note: in expansion of macro ‘MIN’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex.c:73: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c:382:18: note: in expansion of macro ‘__mbrtowc’
grub2-2.12-build/grub-2.12/grub-core/lib/gnulib/regex_internal.c:382:18: note: in expansion of macro ‘__mbrtowc’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def414]
grub2-2.12-build/grub-2.12/grub-core/lib/x86_64/efi/relocator.c: scope_hint: In function ‘grub_relocator64_efi_boot’
grub2-2.12-build/grub-2.12/grub-core/lib/x86_64/efi/relocator.c:39:59: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/lib/x86_64/efi/relocator.c:54:48: note: in expansion of macro ‘RELOCATOR_SIZEOF’
grub2-2.12-build/grub-2.12/grub-core/lib/x86_64/efi/relocator.c:54:48: note: in expansion of macro ‘RELOCATOR_SIZEOF’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def415]
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c: scope_hint: In function ‘dec_stream_header’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:509:41: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:24: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:68:37: note: in definition of macro ‘kmalloc’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:509:43: note: in expansion of macro ‘kmalloc’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def416]
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:516:52: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:68:37: note: in definition of macro ‘kmalloc’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:68:37: note: in definition of macro ‘kmalloc’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:516:54: note: in expansion of macro ‘kmalloc’
Error: GCC_ANALYZER_WARNING (CWE-131): [#def417]
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:525:52: warning[-Wanalyzer-allocation-size]: allocated buffer size is not a multiple of the pointee's size
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:68:37: note: in definition of macro ‘kmalloc’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:68:37: note: in definition of macro ‘kmalloc’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_config.h:68:37: note: in definition of macro ‘kmalloc’
grub2-2.12-build/grub-2.12/grub-core/lib/xzembed/xz_dec_stream.c:525:54: note: in expansion of macro ‘kmalloc’
Error: COMPILER_WARNING (CWE-563): [#def418]
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_start_image’
grub2-2.12-build/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): [#def419]
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘make_file_path’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:229:11: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘d’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:33: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:222:7: note: in expansion of macro ‘GRUB_EFI_NEXT_DEVICE_PATH’
grub2-2.12-build/grub-2.12/include/grub/file.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/loader.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:142:12: note: in expansion of macro ‘grub_error’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:228:7: note: in expansion of macro ‘GRUB_EFI_NEXT_DEVICE_PATH’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:228:7: note: in expansion of macro ‘GRUB_EFI_NEXT_DEVICE_PATH’
Error: COMPILER_WARNING: [#def420]
grub2-2.12-build/grub-2.12/include/grub/disk.h:31: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/file.h:26: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/loader.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘handle_image’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:830:26: warning[-Wformat=]: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘grub_efi_status_t’ {aka ‘unsigned int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:830:50: note: format string is defined here
Error: COMPILER_WARNING (CWE-563): [#def421]
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_load_image’
grub2-2.12-build/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: [#def422]
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_cmd_chainloader’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:1085:22: warning[-Wformat=]: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘grub_ssize_t’ {aka ‘int’}
grub2-2.12-build/grub-2.12/include/grub/misc.h:46:88: note: in definition of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:1085:52: note: format string is defined here
Error: COMPILER_WARNING (CWE-563): [#def423]
grub2-2.12-build/grub-2.12/grub-core/loader/efi/linux.c: scope_hint: In function ‘grub_cmd_linux’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/linux.c:727:7: warning[-Wunused-variable]: unused variable ‘nx_supported’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def424]
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c: scope_hint: In function ‘preboot’
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:71:37: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:22: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def425]
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:95:43: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: note: in expansion of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:26:34: note: in definition of macro ‘min’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def426]
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:100:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def427]
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:102:5: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:67:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def428]
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c: scope_hint: In function ‘malloc_hook’
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:159:41: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:142:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-469): [#def429]
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:164:34: warning[-Wanalyzer-undefined-behavior-ptrdiff]: undefined behavior when subtracting pointers
grub2-2.12-build/grub-2.12/grub-core/mmap/i386/pc/mmap.c:142:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
grub2-2.12-build/grub-2.12/grub-core/net/bootp.c: scope_hint: In function ‘dissect_url’
grub2-2.12-build/grub-2.12/grub-core/net/bootp.c:81:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
grub2-2.12-build/grub-2.12/grub-core/net/efi/dhcp.c: scope_hint: In function ‘grub_cmd_efi_bootp6’
grub2-2.12-build/grub-2.12/grub-core/net/efi/dhcp.c:379:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘options’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def432]
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c: scope_hint: In function ‘grub_efi_net_config_from_device_path’
grub2-2.12-build/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
grub2-2.12-build/grub-2.12/include/grub/net.h:104: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c:1: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c:265:31: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_TYPE’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def433]
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c: scope_hint: In function ‘grub_efi_net_boot_from_https’
grub2-2.12-build/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
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c:1323:31: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_TYPE’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def434]
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c: scope_hint: In function ‘grub_efi_net_boot_from_opa’
grub2-2.12-build/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
grub2-2.12-build/grub-2.12/grub-core/net/efi/net.c:1358:31: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_TYPE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def435]
grub2-2.12-build/grub-2.12/grub-core/normal/term.c: scope_hint: In function ‘putglyph’
grub2-2.12-build/grub-2.12/grub-core/normal/term.c:477:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub2-2.12-build/grub-2.12/include/grub/term.h:73: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/normal/term.c:19: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/term.h:326:38: note: in expansion of macro ‘FOR_LIST_ELEMENTS’
grub2-2.12-build/grub-2.12/grub-core/normal/term.c:1088:3: note: in expansion of macro ‘FOR_ACTIVE_TERM_OUTPUTS’
grub2-2.12-build/grub-2.12/include/grub/term.h:72: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/unicode.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/unicode.h:275:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/include/grub/unicode.h:275:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def436]
grub2-2.12-build/grub-2.12/grub-core/osdep/getroot.c:2: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c: scope_hint: In function ‘get_btrfs_subvol’
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c:446:7: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ret’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def437]
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c: scope_hint: In function ‘grub_util_get_raid_grub_dev’
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c:1101:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def438]
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c:1116:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def439]
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c:1129:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def440]
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c:1142:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def441]
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/getroot.c:1156:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘p’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def442]
grub2-2.12-build/grub-2.12/grub-core/osdep/ofpath.c:2: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/osdep/linux/ofpath.c: scope_hint: In function ‘strip_trailing_digits’
grub2-2.12-build/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
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
grub2-2.12-build/grub-2.12/grub-core/osdep/password.c:4: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/osdep/unix/password.c: scope_hint: In function ‘grub_password_get’
grub2-2.12-build/grub-2.12/grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-file-leak]: leak of FILE ‘in’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
grub2-2.12-build/grub-2.12/grub-core/osdep/unix/password.c:59:14: warning[-Wanalyzer-malloc-leak]: leak of ‘in’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def445]
grub2-2.12-build/grub-2.12/grub-core/partmap/acorn.c: scope_hint: In function ‘acorn_partition_map_iterate’
grub2-2.12-build/grub-2.12/grub-core/partmap/acorn.c:121:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘map[i].magic’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def446]
grub2-2.12-build/grub-2.12/grub-core/term/efi/console.c: scope_hint: In function ‘grub_console_putchar’
grub2-2.12-build/grub-2.12/grub-core/term/efi/console.c:186:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
grub2-2.12-build/grub-2.12/include/grub/term.h:72: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/term/efi/console.c:19: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/unicode.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/unicode.h:275:12: note: in expansion of macro ‘NULL’
grub2-2.12-build/grub-2.12/include/grub/unicode.h:275:12: note: in expansion of macro ‘NULL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def447]
grub2-2.12-build/grub-2.12/grub-core/tests/lib/test.c: scope_hint: In function ‘failure_append_vtext’
grub2-2.12-build/grub-2.12/grub-core/tests/lib/test.c:85:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘failure’
grub2-2.12-build/grub-2.12/grub-core/tests/lib/test.c:19: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-core/tests/lib/test.c:55:12: note: in expansion of macro ‘NULL’
Error: COMPILER_WARNING: [#def448]
grub2-2.12-build/grub-2.12/include/grub/compiler-rt-emu.h:23: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/symlist.h:20: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1174:10: warning: "_GL_INLINE_HEADER_BEGIN" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/symlist.h:1: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:140:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def449]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1175:10: warning: "_GL_INLINE_HEADER_END" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:143:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def450]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1541:10: warning: "_GL_GNUC_PREREQ" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:114:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def451]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1727:11: warning: "_GL_ATTRIBUTE_COLD" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:89:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def452]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1743:10: warning: "_GL_ATTRIBUTE_CONST" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:90:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def453]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1755:10: warning: "_GL_ATTRIBUTE_DEALLOC" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:91:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def454]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1775:10: warning: "_GL_ATTRIBUTE_DEPRECATED" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:93:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def455]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1813:10: warning: "_GL_ATTRIBUTE_FALLTHROUGH" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:121:15: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def456]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1852:10: warning: "_GL_ATTRIBUTE_MALLOC" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:99:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def457]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1881:10: warning: "_GL_ATTRIBUTE_MAYBE_UNUSED" redefined
grub2-2.12-build/grub-2.12/grub-emu-2.12/config.h:100:13: note: this is the location of the previous definition
Error: COMPILER_WARNING: [#def458]
grub2-2.12-build/grub-2.12/grub-emu-2.12/config-util.h:1895:10: warning: "_GL_ATTRIBUTE_NODISCARD" redefined
grub2-2.12-build/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): [#def459]
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c: scope_hint: In function ‘grub_script_yyparse’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def460]
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.tab.c:1238:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def461]
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c: scope_hint: In function ‘yy_init_buffer’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:2091:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:52: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-emu-2.12/grub-core/grub_script.yy.c:2211:3: note: in expansion of macro ‘memset’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def462]
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c: scope_hint: In function ‘grub_script_yyparse’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def463]
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.tab.c:1238:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c: scope_hint: In function ‘yy_init_buffer’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:2091:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:52: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:2211:3: note: in expansion of macro ‘memset’
grub2-2.12-build/grub-2.12/grub-i386-efi-2.12/grub-core/grub_script.yy.c:2132:12: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def465]
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c: scope_hint: In function ‘grub_script_yyparse’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def466]
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.tab.c:1238:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def467]
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c: scope_hint: In function ‘yy_init_buffer’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:2091:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:52: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:2211:3: note: in expansion of macro ‘memset’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub-core/grub_script.yy.c:2132:12: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def468]
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c: scope_hint: In function ‘grub_script_yyparse’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def469]
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.tab.c:1238:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.yy.c: scope_hint: In function ‘yy_init_buffer’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:2091:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub2-2.12-build/grub-2.12/grub-i386-pc-2.12/grub_script.yy.c:2132:12: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def471]
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c: scope_hint: In function ‘grub_script_yyparse’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def472]
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.tab.c:1238:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c: scope_hint: In function ‘yy_init_buffer’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:2091:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:52: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:2211:3: note: in expansion of macro ‘memset’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/grub_script.yy.c:2132:12: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def474]
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c: scope_hint: In function ‘grub_script_yyparse’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1111:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def475]
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.tab.c:1238:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c: scope_hint: In function ‘yy_init_buffer’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:2091:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub_script.yy.c:2132:12: note: in expansion of macro ‘YY_CURRENT_BUFFER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def477]
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c: scope_hint: In function ‘grub_efi_get_media_file_path’
grub2-2.12-build/grub-2.12/include/grub/efi/api.h:719:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dp’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:523:31: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_TYPE’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:532:12: note: in expansion of macro ‘GRUB_EFI_NEXT_DEVICE_PATH’
grub2-2.12-build/grub-2.12/include/grub/efi/api.h:722:66: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_LENGTH’
grub2-2.12-build/grub-2.12/include/grub/efi/api.h:737:4: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_VALID’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:532:12: note: in expansion of macro ‘GRUB_EFI_NEXT_DEVICE_PATH’
grub2-2.12-build/grub-2.12/grub-core/loader/efi/chainloader.c:523:31: note: in expansion of macro ‘GRUB_EFI_DEVICE_PATH_TYPE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
grub2-2.12-build/grub-2.12/grub-core/commands/nativedisk.c:20: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/misc.h: scope_hint: In function ‘grub_strcasecmp’
grub2-2.12-build/grub-2.12/include/grub/misc.h:221:10: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1’
grub2-2.12-build/grub-2.12/grub-core/commands/nativedisk.c:148:3: note: in expansion of macro ‘grub_dprintf’
grub2-2.12-build/grub-2.12/grub-core/commands/nativedisk.c:148:3: note: in expansion of macro ‘grub_dprintf’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def479]
grub2-2.12-build/grub-2.12/include/grub/osdep/hostfile.h:6: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/emu/hostfile.h:26: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/util/install.h:27: included_from: Included from here.
grub2-2.12-build/grub-2.12/util/grub-install-common.c:36: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/osdep/hostfile_unix.h: scope_hint: In function ‘grub_util_fd_readdir’
grub2-2.12-build/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
/usr/include/features.h:511: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdio.h:28: included_from: Included from here.
grub2-2.12-build/grub-2.12/grub-x86_64-efi-2.12/grub-core/lib/gnulib/stdio.h:43: included_from: Included from here.
grub2-2.12-build/grub-2.12/include/grub/emu/misc.h:25: included_from: Included from here.
grub2-2.12-build/grub-2.12/util/grub-install-common.c:21: included_from: Included from here.
/usr/include/dirent.h:167:23: note: argument 1 of ‘readdir’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
grub2-2.12-build/grub-2.12/util/grub-fstest.c: scope_hint: In function ‘fstest’
grub2-2.12-build/grub-2.12/util/grub-fstest.c:400:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: COMPILER_WARNING (CWE-195): [#def481]
grub2-2.12-build/grub-2.12/util/grub-mkfont.c:42: included_from: Included from here.
grub2-2.12-build/grub-2.12/util/grub-mkfont.c: scope_hint: In function ‘process_cursive’
grub2-2.12-build/grub-2.12/util/grub-mkfont.c:73:32: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’
grub2-2.12-build/grub-2.12/util/grub-mkfont.c:506:3: note: in expansion of macro ‘GSUB_ARRAY_SIZE_VALID’
Error: COMPILER_WARNING (CWE-195): [#def482]
grub2-2.12-build/grub-2.12/util/setup_sparc.c:2: included_from: Included from here.
grub2-2.12-build/grub-2.12/util/setup.c: scope_hint: In function ‘grub_util_sparc_setup’
grub2-2.12-build/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.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-123.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | grub2-2.12-10.fc42 |
store-results-to | /tmp/tmp3zg3lcfo/grub2-2.12-10.fc42.tar.xz |
time-created | 2024-11-13 00:37:31 |
time-finished | 2024-11-13 00:57:59 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp3zg3lcfo/grub2-2.12-10.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp3zg3lcfo/grub2-2.12-10.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |