Error: GCC_ANALYZER_WARNING (CWE-674): [#def1] makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c: scope_hint: In function ‘kvtop_xen_x86_64’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:495:21: warning[-Wanalyzer-infinite-recursion]: infinite recursion makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:20: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.h:2449:17: note: in expansion of macro ‘XEN_VIRT_START’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:489:13: note: in expansion of macro ‘is_xen_text’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.h:2449:17: note: in expansion of macro ‘XEN_VIRT_START’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:489:13: note: in expansion of macro ‘is_xen_text’ # 493| return (unsigned long)kvaddr - DIRECTMAP_VIRT_START; # 494| # 495|-> if ((dirp = kvtop_xen_x86_64(SYMBOL(pgd_l4))) == NOT_PADDR) # 496| return NOT_PADDR; # 497| Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c: scope_hint: In function ‘find_vmemmap_x86_64’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:893:71: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vmapp’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:18: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:858:41: note: in expansion of macro ‘DEBUG_MSG’ # 891| sizeof(struct vmap_pfns)); # 892| /* pfn of this 2MB page of page structs */ # 893|-> vmapp->vmap_pfn_start = start_data_addr # 894| >> PTE_SHIFT; # 895| vmapp->vmap_pfn_end = last_data_addr Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:942:31: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vmapp’ # 940| groups++; # 941| vmapp = (struct vmap_pfns *)malloc(sizeof(struct vmap_pfns)); # 942|-> vmapp->vmap_pfn_start = start_data_addr >> PTE_SHIFT; # 943| vmapp->vmap_pfn_end = last_data_addr >> PTE_SHIFT; # 944| vmapp->rep_pfn_start = rep_pfn_start; Error: GCC_ANALYZER_WARNING (CWE-476): [#def4] makedumpfile-1.7.6-build/makedumpfile-1.7.6/arch/x86_64.c:965:39: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘vmapp’ # 963| do { # 964| vmapp = gvmem_pfns + i; # 965|-> vmapp->vmap_pfn_start = cur->vmap_pfn_start; # 966| vmapp->vmap_pfn_end = cur->vmap_pfn_end; # 967| vmapp->rep_pfn_start = cur->rep_pfn_start; Error: GCC_ANALYZER_WARNING: [#def5] makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c: scope_hint: In function ‘init_dwarf_info’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c:302:19: warning[-Wanalyzer-fd-use-without-check]: ‘dup’ on possibly invalid file descriptor ‘dwarf_info.fd_debuginfo’ # 300| open(dwarf_info.name_debuginfo, O_RDONLY); # 301| # 302|-> dwfl_fd = dup(dwarf_info.fd_debuginfo); # 303| if (dwfl_fd < 0) { # 304| ERRMSG("Failed to get a duplicate handle for" Error: GCC_ANALYZER_WARNING (CWE-688): [#def6] makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c: scope_hint: In function ‘get_debug_info’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c:995:13: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c:19: included_from: Included from here. /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 993| break; # 994| } # 995|-> if (strcmp(name, ".debug_info")) { # 996| ERRMSG("Can't get .debug_info section.\n"); # 997| goto out; Error: GCC_ANALYZER_WARNING (CWE-688): [#def7] makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c: scope_hint: In function ‘set_dwarf_debuginfo’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/dwarf_info.c:1666:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dwarf_info.module_name’ where non-null expected /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 1664| dwarf_info.module_name = strdup(mod_name); # 1665| # 1666|-> if (!strcmp(dwarf_info.module_name, "vmlinux") || # 1667| !strcmp(dwarf_info.module_name, "xen-syms")) # 1668| return TRUE; Error: COMPILER_WARNING (CWE-665): [#def8] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/baseops.c:8199:29: warning[-Wmissing-braces]: missing braces around initializer # 8199 | void (*opfuncs[8][8][16])()={ # | ^ # 8200 | # 8201 | op_ADD_sc_sc, op_SUB_sc_sc, op_DIV_sc_sc, op_MUL_sc_sc, op_XOR_sc_sc, op_MOD_sc_sc, op_OR_sc_sc, op_AND_sc_sc, op_SHL_sc_sc, op_SHR_sc_sc, op_EQ_sc_sc, op_GT_sc_sc, op_LT_sc_sc, op_GE_sc_sc, op_LE_sc_sc, op_NE_sc_sc, # | {{ } # 8202 | # 8203 | op_ADD_sc_uc, op_SUB_sc_uc, op_DIV_sc_uc, op_MUL_sc_uc, op_XOR_sc_uc, op_MOD_sc_uc, op_OR_sc_uc, op_AND_sc_uc, op_SHL_sc_uc, op_SHR_sc_uc, op_EQ_sc_uc, op_GT_sc_uc, op_LT_sc_uc, op_GE_sc_uc, op_LE_sc_uc, op_NE_sc_uc, # | { } # 8204 | # 8205 | op_ADD_sc_ss, op_SUB_sc_ss, op_DIV_sc_ss, op_MUL_sc_ss, op_XOR_sc_ss, op_MOD_sc_ss, op_OR_sc_ss, op_AND_sc_ss, op_SHL_sc_ss, op_SHR_sc_ss, op_EQ_sc_ss, op_GT_sc_ss, op_LT_sc_ss, op_GE_sc_ss, op_LE_sc_ss, op_NE_sc_ss, # | { } # 8206 | # 8207 | op_ADD_sc_us, op_SUB_sc_us, op_DIV_sc_us, op_MUL_sc_us, op_XOR_sc_us, op_MOD_sc_us, op_OR_sc_us, op_AND_sc_us, op_SHL_sc_us, op_SHR_sc_us, op_EQ_sc_us, op_GT_sc_us, op_LT_sc_us, op_GE_sc_us, op_LE_sc_us, op_NE_sc_us, # | { } # 8208 | # 8209 | op_ADD_sc_sl, op_SUB_sc_sl, op_DIV_sc_sl, op_MUL_sc_sl, op_XOR_sc_sl, op_MOD_sc_sl, op_OR_sc_sl, op_AND_sc_sl, op_SHL_sc_sl, op_SHR_sc_sl, op_EQ_sc_sl, op_GT_sc_sl, op_LT_sc_sl, op_GE_sc_sl, op_LE_sc_sl, op_NE_sc_sl, # | { } # 8210 | # 8211 | op_ADD_sc_ul, op_SUB_sc_ul, op_DIV_sc_ul, op_MUL_sc_ul, op_XOR_sc_ul, op_MOD_sc_ul, op_OR_sc_ul, op_AND_sc_ul, op_SHL_sc_ul, op_SHR_sc_ul, op_EQ_sc_ul, op_GT_sc_ul, op_LT_sc_ul, op_GE_sc_ul, op_LE_sc_ul, op_NE_sc_ul, # | { } # 8212 | # 8213 | op_ADD_sc_sll, op_SUB_sc_sll, op_DIV_sc_sll, op_MUL_sc_sll, op_XOR_sc_sll, op_MOD_sc_sll, op_OR_sc_sll, op_AND_sc_sll, op_SHL_sc_sll, op_SHR_sc_sll, op_EQ_sc_sll, op_GT_sc_sll, op_LT_sc_sll, op_GE_sc_sll, op_LE_sc_sll, op_NE_sc_sll, # | { } # 8214 | # 8215 | op_ADD_sc_ull, op_SUB_sc_ull, op_DIV_sc_ull, op_MUL_sc_ull, op_XOR_sc_ull, op_MOD_sc_ull, op_OR_sc_ull, op_AND_sc_ull, op_SHL_sc_ull, op_SHR_sc_ull, op_EQ_sc_ull, op_GT_sc_ull, op_LT_sc_ull, op_GE_sc_ull, op_LE_sc_ull, op_NE_sc_ull, # | { }} # 8216 | # 8217 | op_ADD_uc_sc, op_SUB_uc_sc, op_DIV_uc_sc, op_MUL_uc_sc, op_XOR_uc_sc, op_MOD_uc_sc, op_OR_uc_sc, op_AND_uc_sc, op_SHL_uc_sc, op_SHR_uc_sc, op_EQ_uc_sc, op_GT_uc_sc, op_LT_uc_sc, op_GE_uc_sc, op_LE_uc_sc, op_NE_uc_sc, # | {{ } # 8218 | # 8219 | op_ADD_uc_uc, op_SUB_uc_uc, op_DIV_uc_uc, op_MUL_uc_uc, op_XOR_uc_uc, op_MOD_uc_uc, op_OR_uc_uc, op_AND_uc_uc, op_SHL_uc_uc, op_SHR_uc_uc, op_EQ_uc_uc, op_GT_uc_uc, op_LT_uc_uc, op_GE_uc_uc, op_LE_uc_uc, op_NE_uc_uc, # | { } # 8220 | # 8221 | op_ADD_uc_ss, op_SUB_uc_ss, op_DIV_uc_ss, op_MUL_uc_ss, op_XOR_uc_ss, op_MOD_uc_ss, op_OR_uc_ss, op_AND_uc_ss, op_SHL_uc_ss, op_SHR_uc_ss, op_EQ_uc_ss, op_GT_uc_ss, op_LT_uc_ss, op_GE_uc_ss, op_LE_uc_ss, op_NE_uc_ss, # | { } # 8222 | # 8223 | op_ADD_uc_us, op_SUB_uc_us, op_DIV_uc_us, op_MUL_uc_us, op_XOR_uc_us, op_MOD_uc_us, op_OR_uc_us, op_AND_uc_us, op_SHL_uc_us, op_SHR_uc_us, op_EQ_uc_us, op_GT_uc_us, op_LT_uc_us, op_GE_uc_us, op_LE_uc_us, op_NE_uc_us, # | { } # 8224 | # 8225 | op_ADD_uc_sl, op_SUB_uc_sl, op_DIV_uc_sl, op_MUL_uc_sl, op_XOR_uc_sl, op_MOD_uc_sl, op_OR_uc_sl, op_AND_uc_sl, op_SHL_uc_sl, op_SHR_uc_sl, op_EQ_uc_sl, op_GT_uc_sl, op_LT_uc_sl, op_GE_uc_sl, op_LE_uc_sl, op_NE_uc_sl, # | { } # 8226 | # 8227 | op_ADD_uc_ul, op_SUB_uc_ul, op_DIV_uc_ul, op_MUL_uc_ul, op_XOR_uc_ul, op_MOD_uc_ul, op_OR_uc_ul, op_AND_uc_ul, op_SHL_uc_ul, op_SHR_uc_ul, op_EQ_uc_ul, op_GT_uc_ul, op_LT_uc_ul, op_GE_uc_ul, op_LE_uc_ul, op_NE_uc_ul, # | { } # 8228 | # 8229 | op_ADD_uc_sll, op_SUB_uc_sll, op_DIV_uc_sll, op_MUL_uc_sll, op_XOR_uc_sll, op_MOD_uc_sll, op_OR_uc_sll, op_AND_uc_sll, op_SHL_uc_sll, op_SHR_uc_sll, op_EQ_uc_sll, op_GT_uc_sll, op_LT_uc_sll, op_GE_uc_sll, op_LE_uc_sll, op_NE_uc_sll, # | { } # 8230 | # 8231 | op_ADD_uc_ull, op_SUB_uc_ull, op_DIV_uc_ull, op_MUL_uc_ull, op_XOR_uc_ull, op_MOD_uc_ull, op_OR_uc_ull, op_AND_uc_ull, op_SHL_uc_ull, op_SHR_uc_ull, op_EQ_uc_ull, op_GT_uc_ull, op_LT_uc_ull, op_GE_uc_ull, op_LE_uc_ull, op_NE_uc_ull, # | { }} # 8232 | # 8233 | op_ADD_ss_sc, op_SUB_ss_sc, op_DIV_ss_sc, op_MUL_ss_sc, op_XOR_ss_sc, op_MOD_ss_sc, op_OR_ss_sc, op_AND_ss_sc, op_SHL_ss_sc, op_SHR_ss_sc, op_EQ_ss_sc, op_GT_ss_sc, op_LT_ss_sc, op_GE_ss_sc, op_LE_ss_sc, op_NE_ss_sc, # | {{ } # 8234 | # 8235 | op_ADD_ss_uc, op_SUB_ss_uc, op_DIV_ss_uc, op_MUL_ss_uc, op_XOR_ss_uc, op_MOD_ss_uc, op_OR_ss_uc, op_AND_ss_uc, op_SHL_ss_uc, op_SHR_ss_uc, op_EQ_ss_uc, op_GT_ss_uc, op_LT_ss_uc, op_GE_ss_uc, op_LE_ss_uc, op_NE_ss_uc, # | { } # 8236 | # 8237 | op_ADD_ss_ss, op_SUB_ss_ss, op_DIV_ss_ss, op_MUL_ss_ss, op_XOR_ss_ss, op_MOD_ss_ss, op_OR_ss_ss, op_AND_ss_ss, op_SHL_ss_ss, op_SHR_ss_ss, op_EQ_ss_ss, op_GT_ss_ss, op_LT_ss_ss, op_GE_ss_ss, op_LE_ss_ss, op_NE_ss_ss, # | { } # 8238 | # 8239 | op_ADD_ss_us, op_SUB_ss_us, op_DIV_ss_us, op_MUL_ss_us, op_XOR_ss_us, op_MOD_ss_us, op_OR_ss_us, op_AND_ss_us, op_SHL_ss_us, op_SHR_ss_us, op_EQ_ss_us, op_GT_ss_us, op_LT_ss_us, op_GE_ss_us, op_LE_ss_us, op_NE_ss_us, # | { } # 8240 | # 8241 | op_ADD_ss_sl, op_SUB_ss_sl, op_DIV_ss_sl, op_MUL_ss_sl, op_XOR_ss_sl, op_MOD_ss_sl, op_OR_ss_sl, op_AND_ss_sl, op_SHL_ss_sl, op_SHR_ss_sl, op_EQ_ss_sl, op_GT_ss_sl, op_LT_ss_sl, op_GE_ss_sl, op_LE_ss_sl, op_NE_ss_sl, # | { } # 8242 | # 8243 | op_ADD_ss_ul, op_SUB_ss_ul, op_DIV_ss_ul, op_MUL_ss_ul, op_XOR_ss_ul, op_MOD_ss_ul, op_OR_ss_ul, op_AND_ss_ul, op_SHL_ss_ul, op_SHR_ss_ul, op_EQ_ss_ul, op_GT_ss_ul, op_LT_ss_ul, op_GE_ss_ul, op_LE_ss_ul, op_NE_ss_ul, # | { } # 8244 | # 8245 | op_ADD_ss_sll, op_SUB_ss_sll, op_DIV_ss_sll, op_MUL_ss_sll, op_XOR_ss_sll, op_MOD_ss_sll, op_OR_ss_sll, op_AND_ss_sll, op_SHL_ss_sll, op_SHR_ss_sll, op_EQ_ss_sll, op_GT_ss_sll, op_LT_ss_sll, op_GE_ss_sll, op_LE_ss_sll, op_NE_ss_sll, # | { } # 8246 | # 8247 | op_ADD_ss_ull, op_SUB_ss_ull, op_DIV_ss_ull, op_MUL_ss_ull, op_XOR_ss_ull, op_MOD_ss_ull, op_OR_ss_ull, op_AND_ss_ull, op_SHL_ss_ull, op_SHR_ss_ull, op_EQ_ss_ull, op_GT_ss_ull, op_LT_ss_ull, op_GE_ss_ull, op_LE_ss_ull, op_NE_ss_ull, # | { }} # 8248 | # 8249 | op_ADD_us_sc, op_SUB_us_sc, op_DIV_us_sc, op_MUL_us_sc, op_XOR_us_sc, op_MOD_us_sc, op_OR_us_sc, op_AND_us_sc, op_SHL_us_sc, op_SHR_us_sc, op_EQ_us_sc, op_GT_us_sc, op_LT_us_sc, op_GE_us_sc, op_LE_us_sc, op_NE_us_sc, # | {{ } # 8250 | # 8251 | op_ADD_us_uc, op_SUB_us_uc, op_DIV_us_uc, op_MUL_us_uc, op_XOR_us_uc, op_MOD_us_uc, op_OR_us_uc, op_AND_us_uc, op_SHL_us_uc, op_SHR_us_uc, op_EQ_us_uc, op_GT_us_uc, op_LT_us_uc, op_GE_us_uc, op_LE_us_uc, op_NE_us_uc, # | { } # 8252 | # 8253 | op_ADD_us_ss, op_SUB_us_ss, op_DIV_us_ss, op_MUL_us_ss, op_XOR_us_ss, op_MOD_us_ss, op_OR_us_ss, op_AND_us_ss, op_SHL_us_ss, op_SHR_us_ss, op_EQ_us_ss, op_GT_us_ss, op_LT_us_ss, op_GE_us_ss, op_LE_us_ss, op_NE_us_ss, # | { } # 8254 | # 8255 | op_ADD_us_us, op_SUB_us_us, op_DIV_us_us, op_MUL_us_us, op_XOR_us_us, op_MOD_us_us, op_OR_us_us, op_AND_us_us, op_SHL_us_us, op_SHR_us_us, op_EQ_us_us, op_GT_us_us, op_LT_us_us, op_GE_us_us, op_LE_us_us, op_NE_us_us, # | { } # 8256 | # 8257 | op_ADD_us_sl, op_SUB_us_sl, op_DIV_us_sl, op_MUL_us_sl, op_XOR_us_sl, op_MOD_us_sl, op_OR_us_sl, op_AND_us_sl, op_SHL_us_sl, op_SHR_us_sl, op_EQ_us_sl, op_GT_us_sl, op_LT_us_sl, op_GE_us_sl, op_LE_us_sl, op_NE_us_sl, # | { } # 8258 | # 8259 | op_ADD_us_ul, op_SUB_us_ul, op_DIV_us_ul, op_MUL_us_ul, op_XOR_us_ul, op_MOD_us_ul, op_OR_us_ul, op_AND_us_ul, op_SHL_us_ul, op_SHR_us_ul, op_EQ_us_ul, op_GT_us_ul, op_LT_us_ul, op_GE_us_ul, op_LE_us_ul, op_NE_us_ul, # | { } # 8260 | # 8261 | op_ADD_us_sll, op_SUB_us_sll, op_DIV_us_sll, op_MUL_us_sll, op_XOR_us_sll, op_MOD_us_sll, op_OR_us_sll, op_AND_us_sll, op_SHL_us_sll, op_SHR_us_sll, op_EQ_us_sll, op_GT_us_sll, op_LT_us_sll, op_GE_us_sll, op_LE_us_sll, op_NE_us_sll, # | { } # 8262 | # 8263 | op_ADD_us_ull, op_SUB_us_ull, op_DIV_us_ull, op_MUL_us_ull, op_XOR_us_ull, op_MOD_us_ull, op_OR_us_ull, op_AND_us_ull, op_SHL_us_ull, op_SHR_us_ull, op_EQ_us_ull, op_GT_us_ull, op_LT_us_ull, op_GE_us_ull, op_LE_us_ull, op_NE_us_ull, # | { }} # 8264 | # 8265 | op_ADD_sl_sc, op_SUB_sl_sc, op_DIV_sl_sc, op_MUL_sl_sc, op_XOR_sl_sc, op_MOD_sl_sc, op_OR_sl_sc, op_AND_sl_sc, op_SHL_sl_sc, op_SHR_sl_sc, op_EQ_sl_sc, op_GT_sl_sc, op_LT_sl_sc, op_GE_sl_sc, op_LE_sl_sc, op_NE_sl_sc, # | {{ } # 8266 | # 8267 | op_ADD_sl_uc, op_SUB_sl_uc, op_DIV_sl_uc, op_MUL_sl_uc, op_XOR_sl_uc, op_MOD_sl_uc, op_OR_sl_uc, op_AND_sl_uc, op_SHL_sl_uc, op_SHR_sl_uc, op_EQ_sl_uc, op_GT_sl_uc, op_LT_sl_uc, op_GE_sl_uc, op_LE_sl_uc, op_NE_sl_uc, # | { } # 8268 | # 8269 | op_ADD_sl_ss, op_SUB_sl_ss, op_DIV_sl_ss, op_MUL_sl_ss, op_XOR_sl_ss, op_MOD_sl_ss, op_OR_sl_ss, op_AND_sl_ss, op_SHL_sl_ss, op_SHR_sl_ss, op_EQ_sl_ss, op_GT_sl_ss, op_LT_sl_ss, op_GE_sl_ss, op_LE_sl_ss, op_NE_sl_ss, # | { } # 8270 | # 8271 | op_ADD_sl_us, op_SUB_sl_us, op_DIV_sl_us, op_MUL_sl_us, op_XOR_sl_us, op_MOD_sl_us, op_OR_sl_us, op_AND_sl_us, op_SHL_sl_us, op_SHR_sl_us, op_EQ_sl_us, op_GT_sl_us, op_LT_sl_us, op_GE_sl_us, op_LE_sl_us, op_NE_sl_us, # | { } # 8272 | # 8273 | op_ADD_sl_sl, op_SUB_sl_sl, op_DIV_sl_sl, op_MUL_sl_sl, op_XOR_sl_sl, op_MOD_sl_sl, op_OR_sl_sl, op_AND_sl_sl, op_SHL_sl_sl, op_SHR_sl_sl, op_EQ_sl_sl, op_GT_sl_sl, op_LT_sl_sl, op_GE_sl_sl, op_LE_sl_sl, op_NE_sl_sl, # | { } # 8274 | # 8275 | op_ADD_sl_ul, op_SUB_sl_ul, op_DIV_sl_ul, op_MUL_sl_ul, op_XOR_sl_ul, op_MOD_sl_ul, op_OR_sl_ul, op_AND_sl_ul, op_SHL_sl_ul, op_SHR_sl_ul, op_EQ_sl_ul, op_GT_sl_ul, op_LT_sl_ul, op_GE_sl_ul, op_LE_sl_ul, op_NE_sl_ul, # | { } # 8276 | # 8277 | op_ADD_sl_sll, op_SUB_sl_sll, op_DIV_sl_sll, op_MUL_sl_sll, op_XOR_sl_sll, op_MOD_sl_sll, op_OR_sl_sll, op_AND_sl_sll, op_SHL_sl_sll, op_SHR_sl_sll, op_EQ_sl_sll, op_GT_sl_sll, op_LT_sl_sll, op_GE_sl_sll, op_LE_sl_sll, op_NE_sl_sll, # | { } # 8278 | # 8279 | op_ADD_sl_ull, op_SUB_sl_ull, op_DIV_sl_ull, op_MUL_sl_ull, op_XOR_sl_ull, op_MOD_sl_ull, op_OR_sl_ull, op_AND_sl_ull, op_SHL_sl_ull, op_SHR_sl_ull, op_EQ_sl_ull, op_GT_sl_ull, op_LT_sl_ull, op_GE_sl_ull, op_LE_sl_ull, op_NE_sl_ull, # | { }} # 8280 | # 8281 | op_ADD_ul_sc, op_SUB_ul_sc, op_DIV_ul_sc, op_MUL_ul_sc, op_XOR_ul_sc, op_MOD_ul_sc, op_OR_ul_sc, op_AND_ul_sc, op_SHL_ul_sc, op_SHR_ul_sc, op_EQ_ul_sc, op_GT_ul_sc, op_LT_ul_sc, op_GE_ul_sc, op_LE_ul_sc, op_NE_ul_sc, # | {{ } # 8282 | # 8283 | op_ADD_ul_uc, op_SUB_ul_uc, op_DIV_ul_uc, op_MUL_ul_uc, op_XOR_ul_uc, op_MOD_ul_uc, op_OR_ul_uc, op_AND_ul_uc, op_SHL_ul_uc, op_SHR_ul_uc, op_EQ_ul_uc, op_GT_ul_uc, op_LT_ul_uc, op_GE_ul_uc, op_LE_ul_uc, op_NE_ul_uc, # | { } # 8284 | # 8285 | op_ADD_ul_ss, op_SUB_ul_ss, op_DIV_ul_ss, op_MUL_ul_ss, op_XOR_ul_ss, op_MOD_ul_ss, op_OR_ul_ss, op_AND_ul_ss, op_SHL_ul_ss, op_SHR_ul_ss, op_EQ_ul_ss, op_GT_ul_ss, op_LT_ul_ss, op_GE_ul_ss, op_LE_ul_ss, op_NE_ul_ss, # | { } # 8286 | # 8287 | op_ADD_ul_us, op_SUB_ul_us, op_DIV_ul_us, op_MUL_ul_us, op_XOR_ul_us, op_MOD_ul_us, op_OR_ul_us, op_AND_ul_us, op_SHL_ul_us, op_SHR_ul_us, op_EQ_ul_us, op_GT_ul_us, op_LT_ul_us, op_GE_ul_us, op_LE_ul_us, op_NE_ul_us, # | { } # 8288 | # 8289 | op_ADD_ul_sl, op_SUB_ul_sl, op_DIV_ul_sl, op_MUL_ul_sl, op_XOR_ul_sl, op_MOD_ul_sl, op_OR_ul_sl, op_AND_ul_sl, op_SHL_ul_sl, op_SHR_ul_sl, op_EQ_ul_sl, op_GT_ul_sl, op_LT_ul_sl, op_GE_ul_sl, op_LE_ul_sl, op_NE_ul_sl, # | { } # 8290 | # 8291 | op_ADD_ul_ul, op_SUB_ul_ul, op_DIV_ul_ul, op_MUL_ul_ul, op_XOR_ul_ul, op_MOD_ul_ul, op_OR_ul_ul, op_AND_ul_ul, op_SHL_ul_ul, op_SHR_ul_ul, op_EQ_ul_ul, op_GT_ul_ul, op_LT_ul_ul, op_GE_ul_ul, op_LE_ul_ul, op_NE_ul_ul, # | { } # 8292 | # 8293 | op_ADD_ul_sll, op_SUB_ul_sll, op_DIV_ul_sll, op_MUL_ul_sll, op_XOR_ul_sll, op_MOD_ul_sll, op_OR_ul_sll, op_AND_ul_sll, op_SHL_ul_sll, op_SHR_ul_sll, op_EQ_ul_sll, op_GT_ul_sll, op_LT_ul_sll, op_GE_ul_sll, op_LE_ul_sll, op_NE_ul_sll, # | { } # 8294 | # 8295 | op_ADD_ul_ull, op_SUB_ul_ull, op_DIV_ul_ull, op_MUL_ul_ull, op_XOR_ul_ull, op_MOD_ul_ull, op_OR_ul_ull, op_AND_ul_ull, op_SHL_ul_ull, op_SHR_ul_ull, op_EQ_ul_ull, op_GT_ul_ull, op_LT_ul_ull, op_GE_ul_ull, op_LE_ul_ull, op_NE_ul_ull, # | { }} # 8296 | # 8297 | op_ADD_sll_sc, op_SUB_sll_sc, op_DIV_sll_sc, op_MUL_sll_sc, op_XOR_sll_sc, op_MOD_sll_sc, op_OR_sll_sc, op_AND_sll_sc, op_SHL_sll_sc, op_SHR_sll_sc, op_EQ_sll_sc, op_GT_sll_sc, op_LT_sll_sc, op_GE_sll_sc, op_LE_sll_sc, op_NE_sll_sc, # | {{ } # 8298 | # 8299 | op_ADD_sll_uc, op_SUB_sll_uc, op_DIV_sll_uc, op_MUL_sll_uc, op_XOR_sll_uc, op_MOD_sll_uc, op_OR_sll_uc, op_AND_sll_uc, op_SHL_sll_uc, op_SHR_sll_uc, op_EQ_sll_uc, op_GT_sll_uc, op_LT_sll_uc, op_GE_sll_uc, op_LE_sll_uc, op_NE_sll_uc, # | { } # 8300 | # 8301 | op_ADD_sll_ss, op_SUB_sll_ss, op_DIV_sll_ss, op_MUL_sll_ss, op_XOR_sll_ss, op_MOD_sll_ss, op_OR_sll_ss, op_AND_sll_ss, op_SHL_sll_ss, op_SHR_sll_ss, op_EQ_sll_ss, op_GT_sll_ss, op_LT_sll_ss, op_GE_sll_ss, op_LE_sll_ss, op_NE_sll_ss, # | { } # 8302 | # 8303 | op_ADD_sll_us, op_SUB_sll_us, op_DIV_sll_us, op_MUL_sll_us, op_XOR_sll_us, op_MOD_sll_us, op_OR_sll_us, op_AND_sll_us, op_SHL_sll_us, op_SHR_sll_us, op_EQ_sll_us, op_GT_sll_us, op_LT_sll_us, op_GE_sll_us, op_LE_sll_us, op_NE_sll_us, # | { } # 8304 | # 8305 | op_ADD_sll_sl, op_SUB_sll_sl, op_DIV_sll_sl, op_MUL_sll_sl, op_XOR_sll_sl, op_MOD_sll_sl, op_OR_sll_sl, op_AND_sll_sl, op_SHL_sll_sl, op_SHR_sll_sl, op_EQ_sll_sl, op_GT_sll_sl, op_LT_sll_sl, op_GE_sll_sl, op_LE_sll_sl, op_NE_sll_sl, # | { } # 8306 | # 8307 | op_ADD_sll_ul, op_SUB_sll_ul, op_DIV_sll_ul, op_MUL_sll_ul, op_XOR_sll_ul, op_MOD_sll_ul, op_OR_sll_ul, op_AND_sll_ul, op_SHL_sll_ul, op_SHR_sll_ul, op_EQ_sll_ul, op_GT_sll_ul, op_LT_sll_ul, op_GE_sll_ul, op_LE_sll_ul, op_NE_sll_ul, # | { } # 8308 | # 8309 | op_ADD_sll_sll, op_SUB_sll_sll, op_DIV_sll_sll, op_MUL_sll_sll, op_XOR_sll_sll, op_MOD_sll_sll, op_OR_sll_sll, op_AND_sll_sll, op_SHL_sll_sll, op_SHR_sll_sll, op_EQ_sll_sll, op_GT_sll_sll, op_LT_sll_sll, op_GE_sll_sll, op_LE_sll_sll, op_NE_sll_sll, # | { } # 8310 | # 8311 | op_ADD_sll_ull, op_SUB_sll_ull, op_DIV_sll_ull, op_MUL_sll_ull, op_XOR_sll_ull, op_MOD_sll_ull, op_OR_sll_ull, op_AND_sll_ull, op_SHL_sll_ull, op_SHR_sll_ull, op_EQ_sll_ull, op_GT_sll_ull, op_LT_sll_ull, op_GE_sll_ull, op_LE_sll_ull, op_NE_sll_ull, # | { }} # 8312 | # 8313 | op_ADD_ull_sc, op_SUB_ull_sc, op_DIV_ull_sc, op_MUL_ull_sc, op_XOR_ull_sc, op_MOD_ull_sc, op_OR_ull_sc, op_AND_ull_sc, op_SHL_ull_sc, op_SHR_ull_sc, op_EQ_ull_sc, op_GT_ull_sc, op_LT_ull_sc, op_GE_ull_sc, op_LE_ull_sc, op_NE_ull_sc, # | {{ } # 8314 | # 8315 | op_ADD_ull_uc, op_SUB_ull_uc, op_DIV_ull_uc, op_MUL_ull_uc, op_XOR_ull_uc, op_MOD_ull_uc, op_OR_ull_uc, op_AND_ull_uc, op_SHL_ull_uc, op_SHR_ull_uc, op_EQ_ull_uc, op_GT_ull_uc, op_LT_ull_uc, op_GE_ull_uc, op_LE_ull_uc, op_NE_ull_uc, # | { } # 8316 | # 8317 | op_ADD_ull_ss, op_SUB_ull_ss, op_DIV_ull_ss, op_MUL_ull_ss, op_XOR_ull_ss, op_MOD_ull_ss, op_OR_ull_ss, op_AND_ull_ss, op_SHL_ull_ss, op_SHR_ull_ss, op_EQ_ull_ss, op_GT_ull_ss, op_LT_ull_ss, op_GE_ull_ss, op_LE_ull_ss, op_NE_ull_ss, # | { } # 8318 | # 8319 | op_ADD_ull_us, op_SUB_ull_us, op_DIV_ull_us, op_MUL_ull_us, op_XOR_ull_us, op_MOD_ull_us, op_OR_ull_us, op_AND_ull_us, op_SHL_ull_us, op_SHR_ull_us, op_EQ_ull_us, op_GT_ull_us, op_LT_ull_us, op_GE_ull_us, op_LE_ull_us, op_NE_ull_us, # | { } # 8320 | # 8321 | op_ADD_ull_sl, op_SUB_ull_sl, op_DIV_ull_sl, op_MUL_ull_sl, op_XOR_ull_sl, op_MOD_ull_sl, op_OR_ull_sl, op_AND_ull_sl, op_SHL_ull_sl, op_SHR_ull_sl, op_EQ_ull_sl, op_GT_ull_sl, op_LT_ull_sl, op_GE_ull_sl, op_LE_ull_sl, op_NE_ull_sl, # | { } # 8322 | # 8323 | op_ADD_ull_ul, op_SUB_ull_ul, op_DIV_ull_ul, op_MUL_ull_ul, op_XOR_ull_ul, op_MOD_ull_ul, op_OR_ull_ul, op_AND_ull_ul, op_SHL_ull_ul, op_SHR_ull_ul, op_EQ_ull_ul, op_GT_ull_ul, op_LT_ull_ul, op_GE_ull_ul, op_LE_ull_ul, op_NE_ull_ul, # | { } # 8324 | # 8325 | op_ADD_ull_sll, op_SUB_ull_sll, op_DIV_ull_sll, op_MUL_ull_sll, op_XOR_ull_sll, op_MOD_ull_sll, op_OR_ull_sll, op_AND_ull_sll, op_SHL_ull_sll, op_SHR_ull_sll, op_EQ_ull_sll, op_GT_ull_sll, op_LT_ull_sll, op_GE_ull_sll, op_LE_ull_sll, op_NE_ull_sll, # | { } # 8326 | # 8327 | op_ADD_ull_ull, op_SUB_ull_ull, op_DIV_ull_ull, op_MUL_ull_ull, op_XOR_ull_ull, op_MOD_ull_ull, op_OR_ull_ull, op_AND_ull_ull, op_SHL_ull_ull, op_SHR_ull_ull, op_EQ_ull_ull, op_GT_ull_ull, op_LT_ull_ull, op_GE_ull_ull, op_LE_ull_ull, op_NE_ull_ull, # | { # 8328 | }; # | }} # 8197| ret->type.size=4; # 8198| } # 8199|-> void (*opfuncs[8][8][16])()={ # 8200| # 8201| op_ADD_sc_sc, op_SUB_sc_sc, op_DIV_sc_sc, op_MUL_sc_sc, op_XOR_sc_sc, op_MOD_sc_sc, op_OR_sc_sc, op_AND_sc_sc, op_SHL_sc_sc, op_SHR_sc_sc, op_EQ_sc_sc, op_GT_sc_sc, op_LT_sc_sc, op_GE_sc_sc, op_LE_sc_sc, op_NE_sc_sc, Error: CPPCHECK_WARNING (CWE-823): [#def9] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/baseops.c:8344: error[arrayIndexOutOfBounds]: Array 'opfuncs[8][8][16]' accessed at index opfuncs[*][*][16], which is out of bounds. # 8342| } # 8343| if(i==16) eppic_error("Oops!ops!"); # 8344|-> (opfuncs[v1->type.idx][v2->type.idx][i])(v1,v2,ret); # 8345| } Error: GCC_ANALYZER_WARNING (CWE-401): [#def10] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c: scope_hint: In function ‘eppicparse’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:552:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:112:40: note: in definition of macro ‘YY_CAST’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:538:25: note: in expansion of macro ‘YYMALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1758:20: note: in expansion of macro ‘YYSTACK_ALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1480:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1806:7: note: in expansion of macro ‘YYDPRINTF’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1828:17: note: in expansion of macro ‘YYTRANSLATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1489:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1852:3: note: in expansion of macro ‘YY_SYMBOL_PRINT’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:112:40: note: in definition of macro ‘YY_CAST’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:538:25: note: in expansion of macro ‘YYMALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1758:20: note: in expansion of macro ‘YYSTACK_ALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:612:25: note: in definition of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1761:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1480:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1806:7: note: in expansion of macro ‘YYDPRINTF’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1489:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1852:3: note: in expansion of macro ‘YY_SYMBOL_PRINT’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1717:3: note: in expansion of macro ‘YY_STACK_PRINT’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:112:40: note: in definition of macro ‘YY_CAST’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:538:25: note: in expansion of macro ‘YYMALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1758:20: note: in expansion of macro ‘YYSTACK_ALLOC’ # 550| # endif # 551| # ifndef YYMALLOC # 552|-> # define YYMALLOC malloc # 553| # if ! defined malloc && ! defined EXIT_SUCCESS # 554| void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def11] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:612:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:597:9: note: in expansion of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1761:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:612:25: note: in definition of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1761:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:597:9: note: in expansion of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.tab.c:1761:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ # 610| # if defined __GNUC__ && 1 < __GNUC__ # 611| # define YYCOPY(Dst, Src, Count) \ # 612|-> __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) # 613| # else # 614| # define YYCOPY(Dst, Src, Count) \ Error: GCC_ANALYZER_WARNING (CWE-401): [#def12] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_alloc.c: scope_hint: In function ‘eppic_alloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_alloc.c:204:10: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’ # 202| npages=((size+PAGESIZE+4)/PAGESIZE)+2; # 203| p=(unsigned long)malloc(npages*PAGESIZE); # 204|-> p=(p+PAGESIZE)&PAGEMASK; # 205| pp=p+((npages-2)*PAGESIZE); # 206| p=pp-size; Error: GCC_ANALYZER_WARNING (CWE-476): [#def13] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_alloc.c:225:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’ # 223| # 224| bl=(blist*)m; # 225|-> bl->size=size; # 226| bl->level=njmps; # 227| bl->prev=bl->next=bl; Error: COMPILER_WARNING: [#def14] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c: scope_hint: In function ‘eppic_getctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:456:13: warning[-Wframe-address]: calling ‘__builtin_return_address’ with a nonzero argument is unsafe # 456 | eppic_dbg_named(DBG_TYPE, name, 2, "[%s] not found in image caller = 0x%08x, 0x%08x\n", name, # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 457 | __return_address, __builtin_return_address(1)); # | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 454| if(!API_GETCTYPE(ctype, name, &st->ctype)) { # 455| # 456|-> eppic_dbg_named(DBG_TYPE, name, 2, "[%s] not found in image caller = 0x%08x, 0x%08x\n", name, # 457| __return_address, __builtin_return_address(1)); # 458| //if(!strcmp(name,"hlist_head") && ctype == 7) *(int*)0=0; Error: GCC_ANALYZER_WARNING (CWE-476): [#def15] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c: scope_hint: In function ‘eppic_getalign’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:683:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:15: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:870:14: note: in expansion of macro ‘NODE_NAME’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:665:8: note: in expansion of macro ‘is_ctype’ # 681| } # 682| # 683|-> for(sm=st->stm; sm; sm=sm->next) { # 684| # 685| int a=eppic_getalign(&sm->type); Error: GCC_ANALYZER_WARNING (CWE-476): [#def16] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c: scope_hint: In function ‘eppic_chkctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:725:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.c:870:14: note: in expansion of macro ‘NODE_NAME’ # 723| #endif # 724| # 725|-> if(sti->all) { # 726| # 727| eppic_error("Oops eppic_ctype_decl"); Error: COMPILER_WARNING (CWE-1164): [#def17] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_define.c: scope_hint: At top level makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_define.c:67:1: warning[-Wunused-function]: ‘pmacs’ defined but not used # 67 | pmacs() # | ^~~~~ # 65| # 66| static void # 67|-> pmacs() # 68| { # 69| mac_t *eppic_getcurmac(void); Error: COMPILER_WARNING (CWE-563): [#def18] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_define.c:86:12: warning[-Wunused-variable]: unused variable ‘mm’ # 86 | mac_t *m, *mm=0; # | ^~ # 84| eppic_getmac(char *name, int takeof) # 85| { # 86|-> mac_t *m, *mm=0; # 87| mac_t *prev=0; # 88| mac_t *eppic_getcurmac(void); Error: COMPILER_WARNING (CWE-563): [#def19] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_define.c: scope_hint: In function ‘eppic_getmac’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_define.c:89:5: warning[-Wunused-variable]: unused variable ‘nosubs’ # 89 | int nosubs=0; # | ^~~~~~ # 87| mac_t *prev=0; # 88| mac_t *eppic_getcurmac(void); # 89|-> int nosubs=0; # 90| # 91| eppic_dbg_named(DBG_MAC, name, 2, "Looking for macro %s\n", name); Error: COMPILER_WARNING: [#def20] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c: scope_hint: In function ‘eppic_getnxtfct’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c:786:21: warning[-Wstringop-truncation]: ‘__strncpy_chk’ specified bound depends on the length of the source argument # 786 | strncpy(buf, nxtfunc->name, l-5); # | ^ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c:777:19: note: length computed here # 777 | int l=strlen(nxtfunc->name); # | ^~~~~~~~~~~~~~~~~~~~~ # 784| func *ret; # 785| # 786|-> strncpy(buf, nxtfunc->name, l-5); # 787| buf[l-5]='\0'; # 788| Error: GCC_ANALYZER_WARNING (CWE-476): [#def21] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c:879:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘fall’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c: scope_hint: In function ‘eppic_newfunc’ # 877| eppic_insertfunc(func *f) # 878| { # 879|-> f->next=fall->funcs; # 880| fall->funcs=f; # 881| } Error: CPPCHECK_WARNING (CWE-457): [#def22] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c:947: error[legacyUninitvar]: Uninitialized variable: retval # 945| # 946| /* make sure non void function do return something */ # 947|-> if(!retval) { # 948| # 949| if(!eppic_isvoid(f->rvar->v->type.typattr)) Error: CPPCHECK_WARNING (CWE-457): [#def23] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_func.c:1197: error[legacyUninitvar]: Uninitialized variable: exval # 1195| else { # 1196| # 1197|-> ret=*exval; # 1198| } # 1199| Error: COMPILER_WARNING (CWE-704): [#def24] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_input.c:482:18: warning[-Wlto-type-mismatch]: type of ‘eppicpprestart’ does not match original declaration # 482 | void eppicpprestart(int); # | ^ eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/<stdout>:1648:10: note: type mismatch in parameter 1 eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/<stdout>:1648:10: note: ‘eppicpprestart’ was previously declared here eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/<stdout>:1648:10: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used # 480| { # 481| node_t*n; # 482|-> void eppicpprestart(int); # 483| void eppicppparse(void); # 484| char *expr=eppic_getline(); Error: GCC_ANALYZER_WARNING (CWE-688): [#def25] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_member.c: scope_hint: In function ‘eppic_setmem’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_member.c:122:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_member.c:16: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ <built-in>: note: argument 2 of ‘__builtin_memmove’ must be non-null # 120| if(m->local) { # 121| # 122|-> memmove(m->local+stm->m.offset, eppic_adrval(v), stm->m.size); # 123| # 124| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def26] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c: scope_hint: In function ‘eppic_exeop’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:728:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c: scope_hint: In function ‘eppic_exeop’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:709:18: note: in expansion of macro ‘V1’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:709:18: note: in expansion of macro ‘V1’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:15: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:242:23: note: in definition of macro ‘NODE_EXE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:37:32: note: in expansion of macro ‘P1’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:709:18: note: in expansion of macro ‘V1’ # 726| } # 727| /* the result of a assignment if not an Lvalue_t */ # 728|-> v->set=0; # 729| } # 730| eppic_freeval(v1); Error: GCC_ANALYZER_WARNING (CWE-457): [#def27] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c: scope_hint: In function ‘eppic_do_deref’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:836:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ # 834| # 835| v->v.data=eppic_alloc(v->type.size); # 836|-> eppic_getmem(madr, v->v.data, v->type.size); # 837| # 838| } else { Error: GCC_ANALYZER_WARNING (CWE-457): [#def28] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:843:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:841:28: note: in expansion of macro ‘TYPE_SIZE’ # 841| switch(TYPE_SIZE(&v->type)) { # 842| # 843|-> case 1: eppic_getmem(madr, &v->v.uc, 1); # 844| break; # 845| case 2: eppic_getmem(madr, &v->v.us, 2); Error: GCC_ANALYZER_WARNING (CWE-457): [#def29] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:845:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:841:28: note: in expansion of macro ‘TYPE_SIZE’ # 843| case 1: eppic_getmem(madr, &v->v.uc, 1); # 844| break; # 845|-> case 2: eppic_getmem(madr, &v->v.us, 2); # 846| break; # 847| case 4: eppic_getmem(madr, &v->v.ul, 4); Error: GCC_ANALYZER_WARNING (CWE-457): [#def30] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:847:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:841:28: note: in expansion of macro ‘TYPE_SIZE’ # 845| case 2: eppic_getmem(madr, &v->v.us, 2); # 846| break; # 847|-> case 4: eppic_getmem(madr, &v->v.ul, 4); # 848| break; # 849| case 8: eppic_getmem(madr, &v->v.ull, 8); Error: GCC_ANALYZER_WARNING (CWE-457): [#def31] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:849:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:841:28: note: in expansion of macro ‘TYPE_SIZE’ # 847| case 4: eppic_getmem(madr, &v->v.ul, 4); # 848| break; # 849|-> case 8: eppic_getmem(madr, &v->v.ull, 8); # 850| break; # 851| Error: GCC_ANALYZER_WARNING (CWE-457): [#def32] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:860:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ # 858| if(eppic_defbsize()==4) { # 859| # 860|-> eppic_getmem(madr, &v->v.ul, 4); # 861| new_madr=v->v.ul; # 862| Error: GCC_ANALYZER_WARNING (CWE-457): [#def33] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:865:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ # 863| } else { # 864| # 865|-> eppic_getmem(madr, &v->v.ull, 8); # 866| new_madr=v->v.ull; # 867| } Error: GCC_ANALYZER_WARNING (CWE-457): [#def34] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:871:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:163:23: note: in definition of macro ‘is_ctype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_op.c:841:28: note: in expansion of macro ‘TYPE_SIZE’ # 869| # 870| /* remember this address. For the '&' operator */ # 871|-> v->mem=madr; # 872| madr=new_madr; # 873| } Error: GCC_ANALYZER_WARNING (CWE-476): [#def35] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c: scope_hint: In function ‘eppic_freetype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c:82:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’ # 80| eppic_freetype(type_t* t) # 81| { # 82|-> if(t->idxlst) eppic_free(t->idxlst); # 83| eppic_free(t); # 84| } Error: GCC_ANALYZER_WARNING (CWE-688): [#def36] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c: scope_hint: In function ‘eppic_duptype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c:204:5: warning[-Wanalyzer-null-argument]: use of NULL ‘ts’ where non-null expected <built-in>: note: argument 2 of ‘__builtin_memmove’ must be non-null # 202| if(t == ts) return; # 203| # 204|-> memmove(t, ts, sizeof(type_t)); # 205| if(ts->idxlst) { # 206| Error: GCC_ANALYZER_WARNING (CWE-688): [#def37] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c: scope_hint: In function ‘eppic_parsetype’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c:820:9: warning[-Wanalyzer-null-argument]: use of NULL ‘tok’ where non-null expected makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_type.c:17: included_from: Included from here. /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 818| again: # 819| tok=strtok(p," "); # 820|-> if(!strcmp(tok, "struct")) { # 821| # 822| ctype=V_STRUCT; Error: COMPILER_WARNING (CWE-476): [#def38] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c: scope_hint: In function ‘eppic_ptr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:557:29: warning[-Wnonnull]: argument 2 null where non-null expected # 557 | strcpy(onefmt, ptrto(addit[i])); # | ^~~~~~ /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/stdint.h:26: included_from: Included from here. /usr/lib/gcc/x86_64-redhat-linux/14/include/stdint.h:9: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_api.h:65: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic.h:15: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:15: included_from: Included from here. /usr/include/bits/string_fortified.h:77:1: note: in a call to function ‘strcpy’ declared ‘nonnull’ # 77 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest), # | ^~~~~ # 555| def: # 556| if(ptrto(addit[i])) { # 557|-> strcpy(onefmt, ptrto(addit[i])); # 558| onefmt+=matchlen(addit[i]); # 559| } Error: COMPILER_WARNING (CWE-697): [#def39] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:567:38: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘pi + (sizetype)matches[5].rm_so’ must not be NULL # 567 | if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # | ^~ # 565| ref: # 566| /* if user overrides anything don't do nothing */ # 567|-> if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # 568| *onefmt++='p'; # 569| Error: COMPILER_WARNING (CWE-697): [#def40] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:567:54: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘pi + (sizetype)matches[3].rm_so’ must not be NULL # 567 | if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # | ^~ # 565| ref: # 566| /* if user overrides anything don't do nothing */ # 567|-> if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # 568| *onefmt++='p'; # 569| Error: COMPILER_WARNING (CWE-697): [#def41] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:567:73: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘pi + (sizetype)matches[10].rm_so’ must not be NULL # 567 | if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # | ^~ # 565| ref: # 566| /* if user overrides anything don't do nothing */ # 567|-> if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # 568| *onefmt++='p'; # 569| Error: COMPILER_WARNING (CWE-697): [#def42] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:567:88: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘pi + (sizetype)matches[8].rm_so’ must not be NULL # 567 | if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # | ^~ # 565| ref: # 566| /* if user overrides anything don't do nothing */ # 567|-> if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # 568| *onefmt++='p'; # 569| Error: COMPILER_WARNING (CWE-697): [#def43] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:567:106: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘pi + (sizetype)matches[11].rm_so’ must not be NULL # 567 | if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # | ^~ # 565| ref: # 566| /* if user overrides anything don't do nothing */ # 567|-> if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) { # 568| *onefmt++='p'; # 569| Error: COMPILER_WARNING (CWE-697): [#def44] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:609:32: warning[-Waddress]: the comparison will always evaluate as ‘true’ for the pointer operand in ‘pi + (sizetype)matches[11].rm_so’ must not be NULL # 609 | if(!ptrto(M_SIZE)) { # | ^ # 607| case V_BASE: case V_ENUM: # 608| { # 609|-> if(!ptrto(M_SIZE)) { # 610| # 611| if(vals[posarg]->type.size==8) { Error: COMPILER_WARNING (CWE-563): [#def45] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c: scope_hint: In function ‘eppic_setclass’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:799:7: warning[-Wunused-variable]: unused variable ‘j’ # 799 | int i,j; # | ^ # 797| void eppic_setclass(char *cl) # 798| { # 799|-> int i,j; # 800| # 801| clist=0; Error: CPPCHECK_WARNING (CWE-476): [#def46] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:814: warning[nullPointer]: Possible null pointer dereference: name # 812| eppic_dbg_all(int class, char *name, int lvl, char *fmt, va_list ap) # 813| { # 814|-> if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) { # 815| printf("dbg(%d) : ", lvl); # 816| vprintf(fmt, ap); Error: GCC_ANALYZER_WARNING (CWE-688): [#def47] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c: scope_hint: In function ‘eppic_dbg_all’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:814:57: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:16: included_from: Included from here. /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 812| eppic_dbg_all(int class, char *name, int lvl, char *fmt, va_list ap) # 813| { # 814|-> if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) { # 815| printf("dbg(%d) : ", lvl); # 816| vprintf(fmt, ap); Error: COMPILER_WARNING (CWE-476): [#def48] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:814:57: warning[-Wnonnull]: argument 1 null where non-null expected # 814 | if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) { # | ^~~~~~~~~~~~~~~~~~~~~~ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_util.c:16: included_from: Included from here. /usr/include/string.h: scope_hint: In function ‘eppic_dbg’ /usr/include/string.h:156:12: note: in a call to function ‘strcmp’ declared ‘nonnull’ # 156 | extern int strcmp (const char *__s1, const char *__s2) # | ^~~~~~ # 812| eppic_dbg_all(int class, char *name, int lvl, char *fmt, va_list ap) # 813| { # 814|-> if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) { # 815| printf("dbg(%d) : ", lvl); # 816| vprintf(fmt, ap); Error: COMPILER_WARNING (CWE-1164): [#def49] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_var.c: scope_hint: In function ‘eppic_vardecl’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_var.c:216:1: warning[-Wunused-label]: label ‘next’ defined but not used # 216 | next: # | ^~~~ # 214| } # 215| eppic_enqueue(vlist, var); # 216|-> next: # 217| dv=dv->next; # 218| } Error: COMPILER_WARNING (CWE-563): [#def50] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_var.c: scope_hint: In function ‘eppic_getvarbyname’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppic_var.c:644:11: warning[-Wunused-variable]: unused variable ‘mem’ # 644 | ull apiv, mem; # | ^~~ # 642| var_t*vp; # 643| int i, aidx=0; # 644|-> ull apiv, mem; # 645| # 646| for(i=svlev-1; i>=0; i--) { Error: GCC_ANALYZER_WARNING (CWE-401): [#def51] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c: scope_hint: In function ‘eppicppparse’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:417:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:109:40: note: in definition of macro ‘YY_CAST’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:403:25: note: in expansion of macro ‘YYMALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1056:20: note: in expansion of macro ‘YYSTACK_ALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:778:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1104:7: note: in expansion of macro ‘YYDPRINTF’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1126:17: note: in expansion of macro ‘YYTRANSLATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:787:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1150:3: note: in expansion of macro ‘YY_SYMBOL_PRINT’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:109:40: note: in definition of macro ‘YY_CAST’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:403:25: note: in expansion of macro ‘YYMALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1056:20: note: in expansion of macro ‘YYSTACK_ALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:462:9: note: in expansion of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1059:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:778:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1104:7: note: in expansion of macro ‘YYDPRINTF’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:787:7: note: in expansion of macro ‘yydebug’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1150:3: note: in expansion of macro ‘YY_SYMBOL_PRINT’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1015:3: note: in expansion of macro ‘YY_STACK_PRINT’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:109:40: note: in definition of macro ‘YY_CAST’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:403:25: note: in expansion of macro ‘YYMALLOC’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1056:20: note: in expansion of macro ‘YYSTACK_ALLOC’ # 415| # endif # 416| # ifndef YYMALLOC # 417|-> # define YYMALLOC malloc # 418| # if ! defined malloc && ! defined EXIT_SUCCESS # 419| void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ Error: GCC_ANALYZER_WARNING (CWE-457): [#def52] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:477:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:462:9: note: in expansion of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1059:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:462:9: note: in expansion of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1059:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:462:9: note: in expansion of macro ‘YYCOPY’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:1059:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ # 475| # if defined __GNUC__ && 1 < __GNUC__ # 476| # define YYCOPY(Dst, Src, Count) \ # 477|-> __builtin_memcpy (Dst, Src, YY_CAST (YYSIZE_T, (Count)) * sizeof (*(Src))) # 478| # else # 479| # define YYCOPY(Dst, Src, Count) \ Error: COMPILER_WARNING (CWE-704): [#def53] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.h:103:16: warning[-Wlto-type-mismatch]: type of ‘eppicpplval’ does not match original declaration # 103 | extern YYSTYPE eppicpplval; # | ^ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:939:9: note: ‘eppicpplval’ was previously declared here # 939 | YYSTYPE yylval; # | ^ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.tab.c:939:9: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used # 101| # 102| # 103|-> extern YYSTYPE eppicpplval; # 104| # 105| Error: COMPILER_WARNING (CWE-563): [#def54] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.y: scope_hint: In function ‘eppicppparse’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/eppicpp.y:64:102: warning[-Wunused-value]: statement with no effect # 64 | | '(' term ')' { $$ = $2; last_term == $$; } # | ^ # 62| | term P_LT term { $$ = eppic_newop(LT, 2, $1, $3); last_term = $$; } # 63| | term P_NE term { $$ = eppic_newop(NE, 2, $1, $3); last_term = $$; } # 64|-> | '(' term ')' { $$ = $2; last_term == $$; } # 65| | term P_OR term { $$ = eppic_newop(OR, 2, $1, $3); last_term = $$; } # 66| | term P_XOR term { $$ = eppic_newop(XOR, 2, $1, $3); last_term = $$; } Error: GCC_ANALYZER_WARNING (CWE-401): [#def55] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c: scope_hint: In function ‘yy_get_next_buffer’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2085:46: warning[-Wanalyzer-malloc-leak]: leak of ‘*b.yy_ch_buf’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2071:45: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2087:41: note: in expansion of macro ‘yyrealloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2862:7: note: in expansion of macro ‘yyrealloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2087:41: note: in expansion of macro ‘yyrealloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2071:45: note: in expansion of macro ‘YY_CURRENT_BUFFER_LVALUE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2087:41: note: in expansion of macro ‘yyrealloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2862:7: note: in expansion of macro ‘yyrealloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2087:41: note: in expansion of macro ‘yyrealloc’ # 2083| b->yy_buf_size *= 2; # 2084| # 2085|-> b->yy_ch_buf = (char *) # 2086| /* Include room in for 2 EOB chars. */ # 2087| yyrealloc( (void *) b->yy_ch_buf, Error: COMPILER_WARNING (CWE-1164): [#def56] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2256:16: warning[-Wunused-function]: ‘input’ defined but not used # 2256 | static int input (void) # | ^~~~~ # 2254| static int yyinput (void) # 2255| #else # 2256|-> static int input (void) # 2257| #endif # 2258| Error: GCC_ANALYZER_WARNING (CWE-401): [#def57] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c: scope_hint: In function ‘eppic_create_buffer’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2407:12: warning[-Wanalyzer-malloc-leak]: leak of ‘eppicalloc(64)’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2393:21: note: in expansion of macro ‘yy_create_buffer’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2397:31: note: in expansion of macro ‘yyalloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2857:7: note: in expansion of macro ‘yyalloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2397:31: note: in expansion of macro ‘yyalloc’ # 2405| */ # 2406| b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); # 2407|-> if ( ! b->yy_ch_buf ) # 2408| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); # 2409| Error: CPPCHECK_WARNING (CWE-476): [#def58] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2447: warning[nullPointer]: Possible null pointer dereference: b # 2445| yy_flush_buffer( b ); # 2446| # 2447|-> b->yy_input_file = file; # 2448| b->yy_fill_buffer = 1; # 2449| Error: CPPCHECK_WARNING (CWE-476): [#def59] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2448: warning[nullPointer]: Possible null pointer dereference: b # 2446| # 2447| b->yy_input_file = file; # 2448|-> b->yy_fill_buffer = 1; # 2449| # 2450| /* If b is the current buffer, then yy_init_buffer was _probably_ Error: GCC_ANALYZER_WARNING (CWE-401): [#def60] makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c: scope_hint: In function ‘eppic_scan_buffer’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2661:32: warning[-Wanalyzer-malloc-leak]: leak of ‘eppicalloc(n)’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2645:17: note: in expansion of macro ‘yy_scan_bytes’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2654:24: note: in expansion of macro ‘yyalloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2857:7: note: in expansion of macro ‘yyalloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2654:24: note: in expansion of macro ‘yyalloc’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2663:13: note: in expansion of macro ‘yy_scan_buffer’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/eppic-e8844d3793471163ae4a56d8f95897be9e5bd554/libeppic/lex.eppic.c:2595:17: note: in expansion of macro ‘yy_scan_buffer’ # 2659| buf[i] = yybytes[i]; # 2660| # 2661|-> buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; # 2662| # 2663| b = yy_scan_buffer( buf, n ); Error: GCC_ANALYZER_WARNING (CWE-476): [#def61] makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c: scope_hint: In function ‘free_config.part.0’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c:477:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c:19: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.h:305:47: note: in definition of macro ‘OFFSET’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.h:305:47: note: in definition of macro ‘OFFSET’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.h:44: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c:416:24: note: in expansion of macro ‘FALSE’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.h:47: included_from: Included from here. makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c:694:33: note: in expansion of macro ‘ERRMSG’ makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c:801:17: note: in expansion of macro ‘ERRMSG’ # 475| free(config->module_name); # 476| for (i = 0; i < config->num_filter_symbols; i++) { # 477|-> if (config->filter_symbol[i]) # 478| free_config_entry(config->filter_symbol[i]); # 479| if (config->size_symbol[i]) Error: CPPCHECK_WARNING (CWE-401): [#def62] makedumpfile-1.7.6-build/makedumpfile-1.7.6/erase_info.c:1543: error[memleakOnRealloc]: Common realloc mistake: 'erase_info' nulled but not freed upon failure # 1541| filter_symbol->symbol_expr); # 1542| idx = num_erase_info++; # 1543|-> erase_info = realloc(erase_info, # 1544| sizeof(struct erase_info) * num_erase_info); # 1545| if (!erase_info) { Error: CPPCHECK_WARNING (CWE-457): [#def63] makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.c:8993: error[uninitvar]: Uninitialized variable: z_stream # 8991| struct timespec ts_start; # 8992| int ret = FALSE; # 8993|-> z_stream z_stream, *stream = NULL; # 8994| #ifdef USELZO # 8995| lzo_bytep wrkmem = NULL; Error: CPPCHECK_WARNING (CWE-401): [#def64] makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.c:9256: error[memleakOnRealloc]: Common realloc mistake: 'obuf' nulled but not freed upon failure # 9254| if (ei_size > obuf_size) { # 9255| obuf_size = ei_size; # 9256|-> obuf = realloc(obuf, obuf_size); # 9257| if (!obuf) { # 9258| ERRMSG("Can't allocate memory for" Error: CPPCHECK_WARNING (CWE-401): [#def65] makedumpfile-1.7.6-build/makedumpfile-1.7.6/makedumpfile.c:11451: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure #11449| if (SPLITTING_SIZE_EI(i) > data_buf_size) { #11450| data_buf_size = SPLITTING_SIZE_EI(i); #11451|-> if ((data = realloc(data, data_buf_size)) == NULL) { #11452| ERRMSG("Can't allocate memory for eraseinfo" #11453| " data.\n");
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-244.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | makedumpfile-1.7.6-1.fc42 |
store-results-to | /tmp/tmp6jlnagd3/makedumpfile-1.7.6-1.fc42.tar.xz |
time-created | 2024-11-13 01:58:39 |
time-finished | 2024-11-13 02:00:35 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp6jlnagd3/makedumpfile-1.7.6-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp6jlnagd3/makedumpfile-1.7.6-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |