makedumpfile-1.7.8-1.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
makedumpfile-1.7.8/arch/x86_64.c:222:14: warning[-Wanalyzer-malloc-leak]: leak of ‘frame_mfn’
makedumpfile-1.7.8/arch/x86_64.c:203:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:210:19: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:211:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:216:49: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:216:21: acquire_memory: allocated here
makedumpfile-1.7.8/arch/x86_64.c:217:12: branch_false: following ‘false’ branch (when ‘frame_mfn’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:222:14: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:222:14: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/arch/x86_64.c:222:14: danger: ‘frame_mfn’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
#  220|   	}
#  221|   
#  222|-> 	if (!readmem(PADDR, pfn_to_paddr(p2m_mfn), frame_mfn, PAGESIZE())) {
#  223|   		ERRMSG("Can't read p2m_mfn.\n");
#  224|   		goto out;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
makedumpfile-1.7.8/arch/x86_64.c:247:22: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/arch/x86_64.c:203:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:210:19: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:211:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:216:49: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:217:12: branch_false: following ‘false’ branch (when ‘frame_mfn’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:222:14: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:222:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:227:39: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: following ‘false’ branch (when ‘mfns’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:233:15: acquire_memory: allocated here
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:242:21: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/arch/x86_64.c:243:21: branch_true: ...to here
makedumpfile-1.7.8/arch/x86_64.c:244:20: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:247:37: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:247:22: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/arch/x86_64.c:247:22: danger: ‘buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
#  245|   			break;
#  246|   
#  247|-> 		if (!readmem(PADDR, pfn_to_paddr(frame_mfn[i]), buf, PAGESIZE())) {
#  248|   			ERRMSG("Can't get frame_mfn[%d].\n", i);
#  249|   			goto out;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
makedumpfile-1.7.8/arch/x86_64.c:247:22: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
makedumpfile-1.7.8/arch/x86_64.c:203:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:210:19: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:211:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:216:49: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:217:12: branch_false: following ‘false’ branch (when ‘frame_mfn’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:222:14: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:222:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:227:39: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:227:16: acquire_memory: allocated here
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: following ‘false’ branch (when ‘mfns’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:242:21: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/arch/x86_64.c:243:21: branch_true: ...to here
makedumpfile-1.7.8/arch/x86_64.c:244:20: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:247:37: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:247:22: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/arch/x86_64.c:247:22: danger: ‘mfns’ leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
#  245|   			break;
#  246|   
#  247|-> 		if (!readmem(PADDR, pfn_to_paddr(frame_mfn[i]), buf, PAGESIZE())) {
#  248|   			ERRMSG("Can't get frame_mfn[%d].\n", i);
#  249|   			goto out;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def4]
makedumpfile-1.7.8/arch/x86_64.c:274:22: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/arch/x86_64.c:203:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:210:19: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:211:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:216:49: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:217:12: branch_false: following ‘false’ branch (when ‘frame_mfn’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:222:14: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:222:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:227:39: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: following ‘false’ branch (when ‘mfns’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:233:15: acquire_memory: allocated here
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:261:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:261:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:270:21: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/arch/x86_64.c:271:31: branch_true: ...to here
makedumpfile-1.7.8/arch/x86_64.c:271:20: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:276:25: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:274:22: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/arch/x86_64.c:274:22: danger: ‘buf’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
#  272|   			break;
#  273|   
#  274|-> 		if (!readmem(PADDR, pfn_to_paddr(frame_mfn[i]),
#  275|   		    &info->p2m_mfn_frame_list[i * MFNS_PER_FRAME],
#  276|   		    mfns[i] * sizeof(unsigned long))) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
makedumpfile-1.7.8/arch/x86_64.c:274:22: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
makedumpfile-1.7.8/arch/x86_64.c:203:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:210:19: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:211:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:216:49: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:217:12: branch_false: following ‘false’ branch (when ‘frame_mfn’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:222:14: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:222:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:227:39: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:227:16: acquire_memory: allocated here
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: following ‘false’ branch (when ‘mfns’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:228:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/arch/x86_64.c:234:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:261:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:261:12: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:270:21: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/arch/x86_64.c:271:31: branch_true: ...to here
makedumpfile-1.7.8/arch/x86_64.c:271:20: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:276:25: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:274:22: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/arch/x86_64.c:274:22: danger: ‘mfns’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
#  272|   			break;
#  273|   
#  274|-> 		if (!readmem(PADDR, pfn_to_paddr(frame_mfn[i]),
#  275|   		    &info->p2m_mfn_frame_list[i * MFNS_PER_FRAME],
#  276|   		    mfns[i] * sizeof(unsigned long))) {

Error: GCC_ANALYZER_WARNING (CWE-674): [#def6]
makedumpfile-1.7.8/arch/x86_64.c:495:21: warning[-Wanalyzer-infinite-recursion]: infinite recursion
makedumpfile-1.7.8/arch/x86_64.c:482:1: enter_function: entry to ‘kvtop_xen_x86_64’
makedumpfile-1.7.8/arch/x86_64.c:486:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/arch/x86_64.c:489:13: branch_false: ...to here
makedumpfile-1.7.8/arch/x86_64.c:495:21: call_function: calling ‘kvtop_xen_x86_64’ from ‘kvtop_xen_x86_64’
#  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: CPPCHECK_WARNING (CWE-476): [#def7]
makedumpfile-1.7.8/arch/x86_64.c:893: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  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: CPPCHECK_WARNING (CWE-476): [#def8]
makedumpfile-1.7.8/arch/x86_64.c:895: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  893|   						vmapp->vmap_pfn_start = start_data_addr
#  894|   									>> PTE_SHIFT;
#  895|-> 						vmapp->vmap_pfn_end = last_data_addr
#  896|   									>> PTE_SHIFT;
#  897|   						/* these (start/end) are literal pfns

Error: CPPCHECK_WARNING (CWE-476): [#def9]
makedumpfile-1.7.8/arch/x86_64.c:899: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  897|   						/* these (start/end) are literal pfns
#  898|   						 * on this page, not start and end+1 */
#  899|-> 						vmapp->rep_pfn_start = rep_pfn_start;
#  900|   						vmapp->rep_pfn_end = rep_pfn_end;
#  901|   

Error: CPPCHECK_WARNING (CWE-476): [#def10]
makedumpfile-1.7.8/arch/x86_64.c:900: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  898|   						 * on this page, not start and end+1 */
#  899|   						vmapp->rep_pfn_start = rep_pfn_start;
#  900|-> 						vmapp->rep_pfn_end = rep_pfn_end;
#  901|   
#  902|   						if (!vmaphead) {

Error: CPPCHECK_WARNING (CWE-476): [#def11]
makedumpfile-1.7.8/arch/x86_64.c:942: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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: CPPCHECK_WARNING (CWE-476): [#def12]
makedumpfile-1.7.8/arch/x86_64.c:943: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  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;
#  945|   	vmapp->rep_pfn_end = rep_pfn_end;

Error: CPPCHECK_WARNING (CWE-476): [#def13]
makedumpfile-1.7.8/arch/x86_64.c:944: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  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;
#  945|   	vmapp->rep_pfn_end = rep_pfn_end;
#  946|   	if (!vmaphead) {

Error: CPPCHECK_WARNING (CWE-476): [#def14]
makedumpfile-1.7.8/arch/x86_64.c:945: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  943|   	vmapp->vmap_pfn_end = last_data_addr >> PTE_SHIFT;
#  944|   	vmapp->rep_pfn_start = rep_pfn_start;
#  945|-> 	vmapp->rep_pfn_end = rep_pfn_end;
#  946|   	if (!vmaphead) {
#  947|   		vmaphead = vmapp;

Error: CPPCHECK_WARNING (CWE-476): [#def15]
makedumpfile-1.7.8/arch/x86_64.c:965: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: 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: CPPCHECK_WARNING (CWE-476): [#def16]
makedumpfile-1.7.8/arch/x86_64.c:966: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  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;
#  968|   		vmapp->rep_pfn_end = cur->rep_pfn_end;

Error: CPPCHECK_WARNING (CWE-476): [#def17]
makedumpfile-1.7.8/arch/x86_64.c:967: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  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;
#  968|   		vmapp->rep_pfn_end = cur->rep_pfn_end;
#  969|   		cur = cur->next;

Error: CPPCHECK_WARNING (CWE-476): [#def18]
makedumpfile-1.7.8/arch/x86_64.c:968: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: vmapp
#  966|   		vmapp->vmap_pfn_end = cur->vmap_pfn_end;
#  967|   		vmapp->rep_pfn_start = cur->rep_pfn_start;
#  968|-> 		vmapp->rep_pfn_end = cur->rep_pfn_end;
#  969|   		cur = cur->next;
#  970|   		if (cur->prev != vmaphead)

Error: GCC_ANALYZER_WARNING: [#def19]
makedumpfile-1.7.8/dwarf_info.c:302:19: warning[-Wanalyzer-fd-use-without-check]: ‘dup’ on possibly invalid file descriptor ‘dwarf_info.fd_debuginfo’
makedumpfile-1.7.8/dwarf_info.c:1107:1: enter_function: entry to ‘get_next_symbol_addr’
makedumpfile-1.7.8/dwarf_info.c:1119:14: call_function: calling ‘init_dwarf_info’ from ‘get_next_symbol_addr’
#  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-775): [#def20]
makedumpfile-1.7.8/dwarf_info.c:309:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dwfl_fd’
makedumpfile-1.7.8/dwarf_info.c:1107:1: enter_function: entry to ‘get_next_symbol_addr’
makedumpfile-1.7.8/dwarf_info.c:1119:14: call_function: calling ‘init_dwarf_info’ from ‘get_next_symbol_addr’
#  307|   	}
#  308|   	/* Apply relocations. */
#  309|-> 	if (dwfl_report_offline(dwfl, dwarf_info.module_name,
#  310|   			dwarf_info.name_debuginfo, dwfl_fd) == NULL) {
#  311|   		ERRMSG("Failed reading %s: %s\n",

Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
makedumpfile-1.7.8/dwarf_info.c:1673:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘dwarf_info.module_name’ where non-null expected
makedumpfile-1.7.8/dwarf_info.c:1643:12: branch_false: following ‘false’ branch (when ‘mod_name’ is non-NULL)...
makedumpfile-1.7.8/dwarf_info.c:1645:13: branch_false: ...to here
makedumpfile-1.7.8/dwarf_info.c:1671:34: acquire_memory: this call could return NULL
makedumpfile-1.7.8/dwarf_info.c:1673:14: danger: argument 1 (‘strdup(mod_name)’) from [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
# 1671|   	dwarf_info.module_name = strdup(mod_name);
# 1672|   
# 1673|-> 	if (!strcmp(dwarf_info.module_name, "vmlinux") ||
# 1674|   		!strcmp(dwarf_info.module_name, "xen-syms"))
# 1675|   		return TRUE;

Error: COMPILER_WARNING (CWE-665): [#def22]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/baseops.c:8199:67: warning[-Wmissing-braces]: missing braces around initializer
# 8199 | void (*opfuncs[8][8][16])(value_t *v1, value_t *v2, value_t *ret)={
#      |                                                                   ^
# 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])(value_t *v1, value_t *v2, value_t *ret)={
# 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): [#def23]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def24]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1758:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1716:6: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1780:6: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1780:6: branch_false: following ‘false’ branch (when ‘yystate != 41’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1783:3: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1795:6: branch_false: following ‘false’ branch (when ‘yyn != -176’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1801:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1801:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1803:7: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1813:11: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1825:17: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1832:6: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1835:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1845:6: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1845:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1849:3: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1716:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1722:34: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1745:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1747:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1754:11: acquire_memory: allocated here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1756:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1756:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1761:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1766:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1774:10: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1780:6: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1780:6: branch_false: following ‘false’ branch (when ‘yystate != 41’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1783:3: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1795:6: branch_false: following ‘false’ branch (when ‘yyn != -176’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1801:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1801:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1803:7: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1804:16: throw: if ‘eppiclex’ throws an exception...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1758:9: danger: ‘yyptr’ leaks here; was allocated at [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
# 1756|           if (! yyptr)
# 1757|             YYNOMEM;
# 1758|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1759|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1760|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def25]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1758:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1716:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1722:34: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1745:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1747:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1756:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1756:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.tab.c:1758:9: danger: use of uninitialized value ‘yyss’ here
# 1756|           if (! yyptr)
# 1757|             YYNOMEM;
# 1758|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1759|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1760|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:204:11: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:200:7: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:200:7: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:203:26: acquire_memory: allocated here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:204:11: danger: ‘<unknown>’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  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: CPPCHECK_WARNING (CWE-476): [#def27]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:225: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bl
#  223|   
#  224|       bl=(blist*)m;
#  225|->     bl->size=size;
#  226|       bl->level=njmps;
#  227|       bl->prev=bl->next=bl;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def28]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:225:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘m’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:200:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:214:11: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:214:11: acquire_memory: this call could return NULL
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:225:5: danger: ‘m’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
#  223|   
#  224|       bl=(blist*)m;
#  225|->     bl->size=size;
#  226|       bl->level=njmps;
#  227|       bl->prev=bl->next=bl;

Error: CPPCHECK_WARNING (CWE-476): [#def29]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:226: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bl
#  224|       bl=(blist*)m;
#  225|       bl->size=size;
#  226|->     bl->level=njmps;
#  227|       bl->prev=bl->next=bl;
#  228|       bl->istmp=0;

Error: CPPCHECK_WARNING (CWE-476): [#def30]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:227: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bl
#  225|       bl->size=size;
#  226|       bl->level=njmps;
#  227|->     bl->prev=bl->next=bl;
#  228|       bl->istmp=0;
#  229|       TAG(m+SIZEBL);

Error: CPPCHECK_WARNING (CWE-476): [#def31]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:228: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: bl
#  226|       bl->level=njmps;
#  227|       bl->prev=bl->next=bl;
#  228|->     bl->istmp=0;
#  229|       TAG(m+SIZEBL);
#  230|       return m+SIZEBL;

Error: CPPCHECK_WARNING (CWE-682): [#def32]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:229: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
#  227|       bl->prev=bl->next=bl;
#  228|       bl->istmp=0;
#  229|->     TAG(m+SIZEBL);
#  230|       return m+SIZEBL;
#  231|   }

Error: CPPCHECK_WARNING (CWE-682): [#def33]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_alloc.c:230: error[nullPointerArithmeticOutOfMemory]: If memory allocation fails: pointer addition with NULL pointer.
#  228|       bl->istmp=0;
#  229|       TAG(m+SIZEBL);
#  230|->     return m+SIZEBL;
#  231|   }
#  232|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def34]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:84:54: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:785:1: enter_function: entry to ‘eppic_enum_decl’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:791:12: branch_true: following ‘true’ branch (when ‘n’ is non-NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:791:14: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:791:14: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:794:11: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:794:11: call_function: calling ‘eppic_startctype’ from ‘eppic_enum_decl’
#   82|       for(tst=slist.next; tst; tst=tst->next) {
#   83|   
#   84|->         if(tst->ctype.type == type && tst->name && ! strcmp(tst->name, name)) {
#   85|   
#   86|               return tst; 

Error: COMPILER_WARNING: [#def35]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c: scope_hint: In function ‘eppic_getctype’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def36]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:683:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:638:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:647:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:647:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:665:8: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:665:7: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:672:14: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:672:11: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:678:17: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:678:11: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:680:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:683:13: danger: dereference of NULL ‘eppic_getstbyindex(*t.idx, *t.type)’
#  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): [#def37]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:725:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:704:7: branch_true: following ‘true’ branch (when ‘name’ is non-NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:707:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.c:725:12: danger: dereference of NULL ‘eppic_getst(name,  ctype)’
#  723|   #endif
#  724|   
#  725|->         if(sti->all) {
#  726|   
#  727|               eppic_error("Oops eppic_ctype_decl");

Error: COMPILER_WARNING (CWE-1164): [#def38]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_define.c: scope_hint: At top level
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def39]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def40]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_define.c: scope_hint: In function ‘eppic_getmac’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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: [#def41]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_func.c: scope_hint: In function ‘eppic_getnxtfct’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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: CPPCHECK_WARNING (CWE-457): [#def42]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def43]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_func.c:1197: error[legacyUninitvar]: Uninitialized variable: exval
# 1195|           else {
# 1196|   
# 1197|->             ret=*exval;
# 1198|           }
# 1199|   

Error: COMPILER_WARNING (CWE-704): [#def44]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_input.c:482:18: warning[-Wlto-type-mismatch]: type of ‘eppicpprestart’ does not match original declaration
#  482 |             void eppicpprestart(int);
#      |                  ^
eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/<stdout>:1648:10: note: type mismatch in parameter 1
eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/<stdout>:1648:10: note: ‘eppicpprestart’ was previously declared here
eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def45]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:122:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:56:1: enter_function: entry to ‘eppic_setmem’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:71:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:104:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:104:11: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:118:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:120:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:122:66: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:122:49: call_function: calling ‘eppic_adrval’ from ‘eppic_setmem’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:122:49: return_function: returning to ‘eppic_setmem’ from ‘eppic_adrval’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_member.c:122:17: danger: argument 2 (‘eppic_adrval(v)’) NULL where non-null expected
#  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): [#def46]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:728:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:444:1: enter_function: entry to ‘eppic_exeop’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:455:9: call_function: inlined call to ‘getop’ from ‘eppic_exeop’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:690:11: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:709:18: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:709:18: branch_true: following ‘true’ branch (when ‘v1’ is NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:709:18: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:728:9: danger: dereference of NULL ‘v’
#  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): [#def47]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:836:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:19: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:835:31: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:836:21: danger: use of uninitialized value ‘madr’ here
#  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): [#def48]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:843:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:19: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:841:28: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:843:33: danger: use of uninitialized value ‘madr’ here
#  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): [#def49]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:845:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:19: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:841:28: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:845:33: danger: use of uninitialized value ‘madr’ here
#  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): [#def50]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:847:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:19: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:841:28: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:847:33: danger: use of uninitialized value ‘madr’ here
#  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): [#def51]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:849:33: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:19: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:841:28: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:849:33: danger: use of uninitialized value ‘madr’ here
#  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): [#def52]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:860:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:858:20: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:858:19: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:860:40: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:860:21: danger: use of uninitialized value ‘madr’ here
#  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): [#def53]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:865:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:858:20: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:858:19: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:865:40: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:865:21: danger: use of uninitialized value ‘madr’ here
#  863|                   } else {
#  864|   
#  865|->                     eppic_getmem(madr, &v->v.ull, 8);
#  866|                       new_madr=v->v.ull;
#  867|                   }

Error: GCC_ANALYZER_WARNING (CWE-457): [#def54]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:871:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘madr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:812:7: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:819:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:826:15: branch_true: following ‘true’ branch (when ‘n != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:828:13: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:830:15: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:833:19: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:841:28: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_op.c:871:13: danger: use of uninitialized value ‘madr’ here
#  869|   
#  870|               /* remember this address. For the '&' operator */
#  871|->             v->mem=madr;
#  872|               madr=new_madr;
#  873|           }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:82:8: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘t’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:794:1: enter_function: entry to ‘eppic_parsetype’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:802:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:803:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:803:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:804:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:804:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:806:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:836:7: branch_true: following ‘true’ branch (when ‘ctype != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:838:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:843:11: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:845:15: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:845:15: branch_false: following ‘false’ branch (when ‘ref == 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:851:17: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:856:9: call_function: calling ‘eppic_duptype’ from ‘eppic_parsetype’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:856:9: return_function: returning to ‘eppic_parsetype’ from ‘eppic_duptype’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:857:9: call_function: calling ‘eppic_freetype’ from ‘eppic_parsetype’
#   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): [#def56]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:204:5: warning[-Wanalyzer-null-argument]: use of NULL ‘ts’ where non-null expected
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:794:1: enter_function: entry to ‘eppic_parsetype’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:802:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:803:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:803:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:804:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:804:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:806:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:836:7: branch_true: following ‘true’ branch (when ‘ctype != 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:838:20: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:843:11: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:845:15: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:845:15: branch_false: following ‘false’ branch (when ‘ref == 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:851:17: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:856:9: call_function: calling ‘eppic_duptype’ from ‘eppic_parsetype’
#  202|       if(t == ts) return;
#  203|       
#  204|->     memmove(t, ts, sizeof(type_t));
#  205|       if(ts->idxlst) {
#  206|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def57]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:820:9: warning[-Wanalyzer-null-argument]: use of NULL ‘tok’ where non-null expected
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:802:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:803:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:803:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:804:13: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:804:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:806:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_type.c:820:9: danger: argument 1 (‘tok’) NULL where non-null expected
#  818|   again:
#  819|       tok=strtok(p," ");
#  820|->     if(!strcmp(tok, "struct")) {
#  821|   
#  822|           ctype=V_STRUCT;

Error: COMPILER_WARNING (CWE-476): [#def58]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c: scope_hint: In function ‘eppic_ptr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:558:29: warning[-Wnonnull]: argument 2 null where non-null expected
#  558 |                             strcpy(onefmt, ptrto(addit[i]));
#      |                             ^~~~~~
/usr/include/features.h:540: 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/16/include/stdint.h:11: included_from: Included from here.
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_api.h:65: included_from: Included from here.
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic.h:15: included_from: Included from here.
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:15: included_from: Included from here.
/usr/include/bits/string_fortified.h:89:1: note: in a call to function ‘strcpy’ declared ‘nonnull’
#   89 | __NTH (strcpy (__fortify_clang_overload_arg (char *, __restrict, __dest),
#      | ^~~~~
#  556|   def:
#  557|                           if(ptrto(addit[i])) {
#  558|->                             strcpy(onefmt, ptrto(addit[i]));
#  559|                               onefmt+=matchlen(addit[i]);
#  560|                           }

Error: COMPILER_WARNING (CWE-697): [#def59]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:568: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
#  568 |                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#      |                                      ^~
#  566|   ref:
#  567|                       /* if user overrides anything don't do nothing */
#  568|->                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#  569|                           *onefmt++='p';
#  570|   

Error: COMPILER_WARNING (CWE-697): [#def60]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:568: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
#  568 |                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#      |                                                      ^~
#  566|   ref:
#  567|                       /* if user overrides anything don't do nothing */
#  568|->                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#  569|                           *onefmt++='p';
#  570|   

Error: COMPILER_WARNING (CWE-697): [#def61]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:568: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
#  568 |                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#      |                                                                         ^~
#  566|   ref:
#  567|                       /* if user overrides anything don't do nothing */
#  568|->                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#  569|                           *onefmt++='p';
#  570|   

Error: COMPILER_WARNING (CWE-697): [#def62]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:568: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
#  568 |                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#      |                                                                                        ^~
#  566|   ref:
#  567|                       /* if user overrides anything don't do nothing */
#  568|->                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#  569|                           *onefmt++='p';
#  570|   

Error: COMPILER_WARNING (CWE-697): [#def63]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:568: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
#  568 |                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#      |                                                                                                          ^~
#  566|   ref:
#  567|                       /* if user overrides anything don't do nothing */
#  568|->                     if(ptrto(M_FLAGS)||ptrto(M_WIDTH)||ptrto(M_WIDTHARG)||ptrto(M_PREC)||ptrto(M_PRECARG)||ptrto(M_SIZE)) {
#  569|                           *onefmt++='p';
#  570|   

Error: COMPILER_WARNING (CWE-697): [#def64]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:610: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
#  610 |                             if(!ptrto(M_SIZE)) {
#      |                                ^
#  608|                           case V_BASE: case V_ENUM:
#  609|                           {
#  610|->                             if(!ptrto(M_SIZE)) {
#  611|   
#  612|                                   if(vals[posarg]->type.size==8) {

Error: COMPILER_WARNING (CWE-563): [#def65]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c: scope_hint: In function ‘eppic_setclass’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:800:7: warning[-Wunused-variable]: unused variable ‘j’
#  800 | int i,j;
#      |       ^
#  798|   void eppic_setclass(char *cl)
#  799|   {
#  800|-> int i,j;
#  801|       
#  802|       clist=0;

Error: CPPCHECK_WARNING (CWE-476): [#def66]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:815: warning[nullPointer]: Possible null pointer dereference: name
#  813|   eppic_dbg_all(int class, char *name, int lvl, char *fmt, va_list ap)
#  814|   {
#  815|->     if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) {
#  816|           printf("dbg(%d) : ", lvl);
#  817|           vprintf(fmt, ap);

Error: GCC_ANALYZER_WARNING (CWE-688): [#def67]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:815:57: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:822:1: enter_function: entry to ‘eppic_dbg’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:826:5: call_function: calling ‘eppic_dbg_all’ from ‘eppic_dbg’
#  813|   eppic_dbg_all(int class, char *name, int lvl, char *fmt, va_list ap)
#  814|   {
#  815|->     if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) {
#  816|           printf("dbg(%d) : ", lvl);
#  817|           vprintf(fmt, ap);

Error: COMPILER_WARNING (CWE-476): [#def68]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:815:57: warning[-Wnonnull]: argument 1 null where non-null expected
#  815 |     if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) {
#      |                                                         ^~~~~~~~~~~~~~~~~~~~~~
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_util.c:16: included_from: Included from here.
/usr/include/string.h: scope_hint: In function ‘eppic_dbg’
/usr/include/string.h:171:12: note: in a call to function ‘strcmp’ declared ‘nonnull’
#  171 | extern int strcmp (const char *__s1, const char *__s2)
#      |            ^~~~~~
#  813|   eppic_dbg_all(int class, char *name, int lvl, char *fmt, va_list ap)
#  814|   {
#  815|->     if(lvl<=dbglvl && (clist & class) && (!dbg_name || !strcmp(name, dbg_name))) {
#  816|           printf("dbg(%d) : ", lvl);
#  817|           vprintf(fmt, ap);

Error: COMPILER_WARNING (CWE-1164): [#def69]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_var.c: scope_hint: In function ‘eppic_vardecl’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def70]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppic_var.c: scope_hint: In function ‘eppic_getvarbyname’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def71]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1059:9: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1017:6: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1081:6: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1081:6: branch_false: following ‘false’ branch (when ‘yystate != 16’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1084:3: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1096:6: branch_false: following ‘false’ branch (when ‘yyn != -26’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1102:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1102:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1104:7: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1114:11: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1126:17: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1133:6: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1136:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1146:6: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1146:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1150:3: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1017:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1023:28: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1046:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1048:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1055:11: acquire_memory: allocated here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1057:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1059:9: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1062:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1062:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1075:10: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1081:6: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1081:6: branch_false: following ‘false’ branch (when ‘yystate != 16’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1084:3: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1096:6: branch_false: following ‘false’ branch (when ‘yyn != -26’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1102:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1102:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1104:7: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1105:16: throw: if ‘eppicpplex’ throws an exception...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1059:9: danger: ‘yyptr’ leaks here; was allocated at [(21)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/20)
# 1057|           if (! yyptr)
# 1058|             YYNOMEM;
# 1059|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1060|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1061|   #  undef YYSTACK_RELOCATE

Error: GCC_ANALYZER_WARNING (CWE-457): [#def72]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1059:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1017:6: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1023:28: branch_true: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1046:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1048:7: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1057:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1059:9: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:1059:9: danger: use of uninitialized value ‘yyss’ here
# 1057|           if (! yyptr)
# 1058|             YYNOMEM;
# 1059|->         YYSTACK_RELOCATE (yyss_alloc, yyss);
# 1060|           YYSTACK_RELOCATE (yyvs_alloc, yyvs);
# 1061|   #  undef YYSTACK_RELOCATE

Error: COMPILER_WARNING (CWE-704): [#def73]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.tab.c:939:9: note: ‘eppicpplval’ was previously declared here
#  939 | YYSTYPE yylval;
#      |         ^
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def74]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/eppicpp.y: scope_hint: In function ‘eppicppparse’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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: COMPILER_WARNING (CWE-1164): [#def75]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def76]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2406:54: warning[-Wanalyzer-malloc-leak]: leak of ‘eppicalloc(64)’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2393:21: enter_function: entry to ‘eppic_create_buffer’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2397:31: call_function: calling ‘eppicalloc’ from ‘eppic_create_buffer’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2397:31: return_function: returning to ‘eppic_create_buffer’ from ‘eppicalloc’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2398:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2401:9: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2406:54: danger: ‘eppicalloc(64)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
# 2404|   	 * we need to put in 2 end-of-buffer characters.
# 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()" );

Error: CPPCHECK_WARNING (CWE-476): [#def77]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def78]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/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): [#def79]
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2661:33: warning[-Wanalyzer-malloc-leak]: leak of ‘eppicalloc(n)’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2645:17: enter_function: entry to ‘eppic_scan_bytes’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2654:24: call_function: calling ‘eppicalloc’ from ‘eppic_scan_bytes’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2654:24: return_function: returning to ‘eppic_scan_bytes’ from ‘eppicalloc’
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2655:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2655:12: branch_false: ...to here
makedumpfile-1.7.8/eppic-72da440362e20291d5ecbb04b6eb7c7b492f233c/libeppic/lex.eppic.c:2663:13: call_function: calling ‘eppic_scan_buffer’ from ‘eppic_scan_bytes’
# 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-401): [#def80]
makedumpfile-1.7.8/erase_info.c:276:14: warning[-Wanalyzer-malloc-leak]: leak of ‘module_struct_mem’
makedumpfile-1.7.8/erase_info.c:2334:1: enter_function: entry to ‘gather_filter_info’
makedumpfile-1.7.8/erase_info.c:2344:14: call_function: calling ‘load_module_symbols’ from ‘gather_filter_info’
#  274|   		return FALSE;
#  275|   	}
#  276|-> 	if (!readmem(VADDR, addr_module, module_struct_mem,
#  277|   						SIZE(module))) {
#  278|   		ERRMSG("Can't get module info.\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
makedumpfile-1.7.8/erase_info.c:304:22: warning[-Wanalyzer-malloc-leak]: leak of ‘module_init_mem’
makedumpfile-1.7.8/erase_info.c:2334:1: enter_function: entry to ‘gather_filter_info’
makedumpfile-1.7.8/erase_info.c:2344:14: call_function: calling ‘load_module_symbols’ from ‘gather_filter_info’
#  302|   			goto out;
#  303|   		}
#  304|-> 		if (!readmem(VADDR, mod_init, module_init_mem,
#  305|   						mod_init_size)) {
#  306|   			ERRMSG("Can't access module init in memory.\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
makedumpfile-1.7.8/erase_info.c:315:14: warning[-Wanalyzer-malloc-leak]: leak of ‘module_core_mem’
makedumpfile-1.7.8/erase_info.c:2334:1: enter_function: entry to ‘gather_filter_info’
makedumpfile-1.7.8/erase_info.c:2344:14: call_function: calling ‘load_module_symbols’ from ‘gather_filter_info’
#  313|   		goto out;
#  314|   	}
#  315|-> 	if (!readmem(VADDR, mod_base, module_core_mem, mod_size)) {
#  316|   		ERRMSG("Can't access module in memory.\n");
#  317|   		goto out;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def83]
makedumpfile-1.7.8/erase_info.c:477:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
makedumpfile-1.7.8/erase_info.c:1825:1: enter_function: entry to ‘process_config_file’
makedumpfile-1.7.8/erase_info.c:1830:12: branch_false: following ‘false’ branch (when ‘name_config’ is non-NULL)...
makedumpfile-1.7.8/erase_info.c:1833:18: branch_false: ...to here
makedumpfile-1.7.8/erase_info.c:1833:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/erase_info.c:1839:9: branch_false: ...to here
makedumpfile-1.7.8/erase_info.c:1841:25: call_function: calling ‘get_config’ from ‘process_config_file’
#  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: GCC_ANALYZER_WARNING (CWE-688): [#def84]
makedumpfile-1.7.8/erase_info.c:1187:29: warning[-Wanalyzer-null-argument]: use of NULL ‘base_struct_name’ where non-null expected
makedumpfile-1.7.8/erase_info.c:1758:1: enter_function: entry to ‘process_config’
makedumpfile-1.7.8/erase_info.c:1762:15: release_memory: ‘type_name’ is NULL
makedumpfile-1.7.8/erase_info.c:1764:12: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/erase_info.c:1771:22: branch_true: ...to here
makedumpfile-1.7.8/erase_info.c:1771:22: call_function: calling ‘resolve_list_entry’ from ‘process_config’
# 1185|   			 * that of parent node.
# 1186|   			 */
# 1187|-> 			if (strcmp(base_struct_name, ce->type_name))
# 1188|   				return FALSE;
# 1189|   		}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
makedumpfile-1.7.8/erase_info.c:1230:22: warning[-Wanalyzer-malloc-leak]: leak of ‘val’
makedumpfile-1.7.8/erase_info.c:1758:1: enter_function: entry to ‘process_config’
makedumpfile-1.7.8/erase_info.c:1764:12: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/erase_info.c:1771:22: branch_true: ...to here
makedumpfile-1.7.8/erase_info.c:1771:22: call_function: calling ‘resolve_list_entry’ from ‘process_config’
# 1228|   		}
# 1229|   
# 1230|-> 		if (!readmem(VADDR, ce->vaddr, val, ce->size)) {
# 1231|   			ERRMSG("Can't read symbol/member data value\n");
# 1232|   			return FALSE;

Error: CPPCHECK_WARNING (CWE-401): [#def86]
makedumpfile-1.7.8/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: GCC_ANALYZER_WARNING (CWE-835): [#def87]
makedumpfile-1.7.8/erase_info.c:2450:16: warning[-Wanalyzer-infinite-loop]: infinite loop
makedumpfile-1.7.8/erase_info.c:2450:16: danger: infinite loop here
makedumpfile-1.7.8/erase_info.c:2450:16: branch_true: when ‘fl_info’ is non-NULL: always following ‘true’ branch...
makedumpfile-1.7.8/erase_info.c:2452:22: branch_true: ...to here
makedumpfile-1.7.8/erase_info.c:2452:20: branch_true: if it ever follows ‘true’ branch, it will always do so...
makedumpfile-1.7.8/erase_info.c:2452:20: branch_true: ...to here
# 2448|   	struct filter_info *fl_info = filter_info;
# 2449|   
# 2450|-> 	while (fl_info) {
# 2451|   
# 2452|   		if (!fl_info->erase_info_idx)

Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
makedumpfile-1.7.8/makedumpfile.c:1101:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 1099|   	if (NUMBER(sme_mask) != NOT_FOUND_NUMBER)
# 1100|   		pgaddr = pgaddr & ~(NUMBER(sme_mask));
# 1101|-> 	pgbuf = cache_search(pgaddr, read_size);
# 1102|   	if (!pgbuf) {
# 1103|   		++cache_miss;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
makedumpfile-1.7.8/makedumpfile.c:1104:26: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 1102|   	if (!pgbuf) {
# 1103|   		++cache_miss;
# 1104|-> 		cached = cache_alloc(pgaddr);
# 1105|   		if (!cached)
# 1106|   			goto error;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
makedumpfile-1.7.8/makedumpfile.c:2234:16: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 2232|   				PAGE_FLAGS_SIZE_v2_6_27_to_latest_version;
# 2233|   	}
# 2234|-> 	return TRUE;
# 2235|   }
# 2236|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
makedumpfile-1.7.8/makedumpfile.c:3047:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 3045|   	}
# 3046|   
# 3047|-> 	if ((fd = mkstemp(info->name_vmcoreinfo)) < 0) {
# 3048|   		ERRMSG("Can't open the vmcoreinfo file(%s). %s\n",
# 3049|   		    info->name_vmcoreinfo, strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def92]
makedumpfile-1.7.8/makedumpfile.c:3062:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 3060|   		goto out;
# 3061|   	}
# 3062|-> 	if (write(fd, buf, size) != size) {
# 3063|   		ERRMSG("Can't write the vmcoreinfo file(%s). %s\n",
# 3064|   		    info->name_vmcoreinfo, strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
makedumpfile-1.7.8/makedumpfile.c:3067:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 3065|   		goto out;
# 3066|   	}
# 3067|-> 	if (close(fd) < 0) {
# 3068|   		ERRMSG("Can't close the vmcoreinfo file(%s). %s\n",
# 3069|   		    info->name_vmcoreinfo, strerror(errno));

Error: COMPILER_WARNING: [#def94]
makedumpfile-1.7.8/makedumpfile.c: scope_hint: In function ‘find_unused_vmemmap_pages’
makedumpfile-1.7.8/makedumpfile.c:6982:20: warning[-Wunused-but-set-variable=]: variable ‘numpages’ set but not used
# 6982 |         int i, sz, numpages=0;
#      |                    ^~~~~~~~
# 6980|   	unsigned long *lp1, *lp2, startpfn, endpfn;
# 6981|   	unsigned long vmapstartpfn, vmapnumpfns;
# 6982|-> 	int i, sz, numpages=0;
# 6983|   	int startword, numwords, do_break=0;
# 6984|   	long deleted_pages = 0;

Error: CPPCHECK_WARNING (CWE-457): [#def95]
makedumpfile-1.7.8/makedumpfile.c:9012: error[uninitvar]: Uninitialized variable: z_stream
# 9010|   	struct timespec ts_start;
# 9011|   	int ret = FALSE;
# 9012|-> 	z_stream z_stream, *stream = NULL;
# 9013|   #ifdef USELZO
# 9014|   	lzo_bytep wrkmem = NULL;

Error: CPPCHECK_WARNING (CWE-401): [#def96]
makedumpfile-1.7.8/makedumpfile.c:9275: error[memleakOnRealloc]: Common realloc mistake: 'obuf' nulled but not freed upon failure
# 9273|   			if (ei_size > obuf_size) {
# 9274|   				obuf_size = ei_size;
# 9275|-> 				obuf = realloc(obuf, obuf_size);
# 9276|   				if (!obuf) {
# 9277|   					ERRMSG("Can't allocate memory for"

Error: CPPCHECK_WARNING (CWE-401): [#def97]
makedumpfile-1.7.8/makedumpfile.c:11470: error[memleakOnRealloc]: Common realloc mistake: 'data' nulled but not freed upon failure
#11468|   		if (SPLITTING_SIZE_EI(i) > data_buf_size) {
#11469|   			data_buf_size = SPLITTING_SIZE_EI(i);
#11470|-> 			if ((data = realloc(data, data_buf_size)) == NULL) {
#11471|   				ERRMSG("Can't allocate memory for eraseinfo"
#11472|   					" data.\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
makedumpfile-1.7.8/printk.c:179:14: warning[-Wanalyzer-malloc-leak]: leak of ‘m.prb’
makedumpfile-1.7.8/printk.c:169:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:174:24: branch_false: ...to here
makedumpfile-1.7.8/printk.c:174:17: acquire_memory: allocated here
makedumpfile-1.7.8/printk.c:175:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:179:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:179:14: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/printk.c:179:14: danger: ‘m.prb’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
#  177|   		return ret;
#  178|   	}
#  179|-> 	if (!readmem(VADDR, kaddr, m.prb, SIZE(printk_ringbuffer))) {
#  180|   		ERRMSG("Can't get prb.\n");
#  181|   		goto out_prb;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
makedumpfile-1.7.8/printk.c:194:14: warning[-Wanalyzer-malloc-leak]: leak of ‘m.descs’
makedumpfile-1.7.8/printk.c:169:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:174:24: branch_false: ...to here
makedumpfile-1.7.8/printk.c:175:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:179:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:179:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:185:31: branch_false: ...to here
makedumpfile-1.7.8/printk.c:189:19: acquire_memory: allocated here
makedumpfile-1.7.8/printk.c:190:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:194:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:194:14: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/printk.c:194:14: danger: ‘m.descs’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
#  192|   		goto out_prb;
#  193|   	}
#  194|-> 	if (!readmem(VADDR, kaddr, m.descs,
#  195|   		     SIZE(prb_desc) * m.desc_ring_count)) {
#  196|   		ERRMSG("Can't get prb.desc_ring.descs.\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
makedumpfile-1.7.8/printk.c:206:14: warning[-Wanalyzer-malloc-leak]: leak of ‘m.infos’
makedumpfile-1.7.8/printk.c:169:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:174:24: branch_false: ...to here
makedumpfile-1.7.8/printk.c:175:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:179:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:179:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:185:31: branch_false: ...to here
makedumpfile-1.7.8/printk.c:190:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:194:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:194:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:200:17: branch_false: ...to here
makedumpfile-1.7.8/printk.c:201:19: acquire_memory: allocated here
makedumpfile-1.7.8/printk.c:202:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:206:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:206:14: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/printk.c:206:14: danger: ‘m.infos’ leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
#  204|   		goto out_descs;
#  205|   	}
#  206|-> 	if (!readmem(VADDR, kaddr, m.infos, SIZE(printk_info) * m.desc_ring_count)) {
#  207|   		ERRMSG("Can't get prb.desc_ring.infos.\n");
#  208|   		goto out_infos;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
makedumpfile-1.7.8/printk.c:221:14: warning[-Wanalyzer-malloc-leak]: leak of ‘m.text_data’
makedumpfile-1.7.8/printk.c:169:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:174:24: branch_false: ...to here
makedumpfile-1.7.8/printk.c:175:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:179:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:179:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:185:31: branch_false: ...to here
makedumpfile-1.7.8/printk.c:190:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:194:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:194:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:200:17: branch_false: ...to here
makedumpfile-1.7.8/printk.c:202:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:206:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:206:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:212:36: branch_false: ...to here
makedumpfile-1.7.8/printk.c:216:23: acquire_memory: allocated here
makedumpfile-1.7.8/printk.c:217:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/printk.c:221:14: branch_false: ...to here
makedumpfile-1.7.8/printk.c:221:14: throw: if ‘readmem’ throws an exception...
makedumpfile-1.7.8/printk.c:221:14: danger: ‘m.text_data’ leaks here; was allocated at [(15)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/14)
#  219|   		goto out_infos;
#  220|   	}
#  221|-> 	if (!readmem(VADDR, kaddr, m.text_data, m.text_data_ring_size)) {
#  222|   		ERRMSG("Can't get prb.text_data_ring.\n");
#  223|   		goto out_text_data;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
makedumpfile-1.7.8/sadump_info.c:262:21: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/sadump_info.c:214:1: enter_function: entry to ‘sadump_copy_1st_bitmap_from_memory’
makedumpfile-1.7.8/sadump_info.c:227:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:232:42: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:232:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:238:21: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:239:15: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:240:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:244:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:247:16: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:248:30: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:248:20: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:261:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:261:17: call_function: calling ‘reverse_bit’ from ‘sadump_copy_1st_bitmap_from_memory’
makedumpfile-1.7.8/sadump_info.c:261:17: return_function: returning to ‘sadump_copy_1st_bitmap_from_memory’ from ‘reverse_bit’
makedumpfile-1.7.8/sadump_info.c:262:21: throw: if ‘write’ throws an exception...
makedumpfile-1.7.8/sadump_info.c:262:21: danger: ‘buf’ leaks here; was allocated at [(6)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/5)
#  260|   		 */
#  261|   		reverse_bit(buf, buf_len);
#  262|-> 		if (write(info->bitmap1->fd, buf, buf_len) != buf_len) {
#  263|   			ERRMSG("Can't write the bitmap(%s). %s\n",
#  264|   			       info->bitmap1->file_name, strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
makedumpfile-1.7.8/sadump_info.c:297:33: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/sadump_info.c:227:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:232:42: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:232:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:238:21: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:239:15: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:240:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:244:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:247:16: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:247:16: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:283:12: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:287:22: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:288:22: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:291:31: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:296:28: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:297:33: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:297:33: throw: if ‘set_bit_on_1st_bitmap’ throws an exception...
makedumpfile-1.7.8/sadump_info.c:297:33: danger: ‘buf’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
#  295|   
#  296|   			if (is_dumpable(info->bitmap_memory, backup_src_pfn, NULL))
#  297|-> 				set_bit_on_1st_bitmap(pfn, NULL);
#  298|   			else
#  299|   				clear_bit_on_1st_bitmap(pfn, NULL);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
makedumpfile-1.7.8/sadump_info.c:299:33: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/sadump_info.c:214:1: enter_function: entry to ‘sadump_copy_1st_bitmap_from_memory’
makedumpfile-1.7.8/sadump_info.c:227:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:232:42: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:232:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:238:21: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:239:15: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:240:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:244:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:247:16: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:247:16: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:283:12: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:287:22: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:288:22: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:291:31: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:296:29: call_function: calling ‘is_dumpable’ from ‘sadump_copy_1st_bitmap_from_memory’
makedumpfile-1.7.8/sadump_info.c:296:29: return_function: returning to ‘sadump_copy_1st_bitmap_from_memory’ from ‘is_dumpable’
makedumpfile-1.7.8/sadump_info.c:296:28: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:299:33: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:299:33: throw: if ‘clear_bit_on_1st_bitmap’ throws an exception...
makedumpfile-1.7.8/sadump_info.c:299:33: danger: ‘buf’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
#  297|   				set_bit_on_1st_bitmap(pfn, NULL);
#  298|   			else
#  299|-> 				clear_bit_on_1st_bitmap(pfn, NULL);
#  300|   		}
#  301|   	}

Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
makedumpfile-1.7.8/sadump_info.c:364:9: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:364:9: throw: if ‘rewind’ throws an exception...
makedumpfile-1.7.8/sadump_info.c:364:9: danger: ‘vmcoreinfo_buf’ leaks here; was allocated at [(16)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/15)
#  362|   		goto cleanup;
#  363|   	}
#  364|-> 	rewind(info->file_vmcoreinfo);
#  365|   	if (fread(vmcoreinfo_buf, size_vmcoreinfo, 1,
#  366|   		  info->file_vmcoreinfo) != 1) {

Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
makedumpfile-1.7.8/sadump_info.c:372:35: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:35: throw: if ‘tmpfile’ throws an exception...
makedumpfile-1.7.8/sadump_info.c:372:35: danger: ‘vmcoreinfo_buf’ leaks here; was allocated at [(16)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/15)
#  370|   	}
#  371|   
#  372|-> 	if (!(si->file_elf_note = tmpfile())) {
#  373|   		ERRMSG("Can't create a temporary elf_note file. %s\n",
#  374|   		       strerror(errno));

Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
makedumpfile-1.7.8/sadump_info.c:974:22: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
#  972|   
#  973|   	else {
#  974|-> 		if (!readmem(VADDR, SYMBOL(cpu_online_mask),
#  975|   			     &cpu_online_mask_addr, sizeof(unsigned long))) {
#  976|   			ERRMSG("Can't read cpu_online_mask pointer.\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
makedumpfile-1.7.8/sadump_info.c:982:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
#  980|   	}
#  981|   
#  982|-> 	if (!readmem(VADDR, cpu_online_mask_addr, si->cpu_online_mask_buf,
#  983|   		     si->cpumask_size)) {
#  984|   		ERRMSG("Can't read cpu_online_mask memory.\n");

Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
makedumpfile-1.7.8/sadump_info.c:1879:14: warning[-Wanalyzer-malloc-leak]: leak of ‘prstatus_buf’
makedumpfile-1.7.8/sadump_info.c:2247:1: enter_function: entry to ‘get_registers’
makedumpfile-1.7.8/sadump_info.c:2253:30: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:2253:12: branch_false: following ‘false’ branch (when ‘prstatus_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:2259:13: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2259:13: call_function: calling ‘get_prstatus_from_crash_notes’ from ‘get_registers’
# 1877|   		return 0UL;
# 1878|   
# 1879|-> 	if (!readmem(VADDR, ~ptr + cpu*sizeof(unsigned long), &addr,
# 1880|   		     sizeof(addr)))
# 1881|   		return 0UL;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
makedumpfile-1.7.8/sadump_info.c:1911:14: warning[-Wanalyzer-malloc-leak]: leak of ‘prstatus_buf’
makedumpfile-1.7.8/sadump_info.c:2247:1: enter_function: entry to ‘get_registers’
makedumpfile-1.7.8/sadump_info.c:2253:30: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:2253:12: branch_false: following ‘false’ branch (when ‘prstatus_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:2259:13: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2259:13: call_function: calling ‘get_prstatus_from_crash_notes’ from ‘get_registers’
# 1909|   		return FALSE;
# 1910|   
# 1911|-> 	if (!readmem(VADDR, SYMBOL(crash_notes), &crash_notes_vaddr,
# 1912|   		     sizeof(crash_notes_vaddr)))
# 1913|   		return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
makedumpfile-1.7.8/sadump_info.c:1911:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:377:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘cpu_online_mask_init’
makedumpfile-1.7.8/sadump_info.c:377:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:379:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: call_function: calling ‘is_online_cpu’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:380:9: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘is_online_cpu’
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:383:17: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:385:22: call_function: calling ‘get_registers’ from ‘sadump_generate_elf_note_from_dumpfile’
# 1909|   		return FALSE;
# 1910|   
# 1911|-> 	if (!readmem(VADDR, SYMBOL(crash_notes), &crash_notes_vaddr,
# 1912|   		     sizeof(crash_notes_vaddr)))
# 1913|   		return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
makedumpfile-1.7.8/sadump_info.c:1926:14: warning[-Wanalyzer-malloc-leak]: leak of ‘prstatus_buf’
makedumpfile-1.7.8/sadump_info.c:2247:1: enter_function: entry to ‘get_registers’
makedumpfile-1.7.8/sadump_info.c:2253:30: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:2253:12: branch_false: following ‘false’ branch (when ‘prstatus_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:2259:13: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2259:13: call_function: calling ‘get_prstatus_from_crash_notes’ from ‘get_registers’
# 1924|   		: per_cpu_ptr(crash_notes_vaddr, cpu);
# 1925|   
# 1926|-> 	if (!readmem(VADDR, percpu_addr, note_buf, KEXEC_NOTE_BYTES))
# 1927|   		return FALSE;
# 1928|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
makedumpfile-1.7.8/sadump_info.c:1926:14: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:377:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘cpu_online_mask_init’
makedumpfile-1.7.8/sadump_info.c:377:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:379:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: call_function: calling ‘is_online_cpu’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:380:9: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘is_online_cpu’
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:383:17: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:385:22: call_function: calling ‘get_registers’ from ‘sadump_generate_elf_note_from_dumpfile’
# 1924|   		: per_cpu_ptr(crash_notes_vaddr, cpu);
# 1925|   
# 1926|-> 	if (!readmem(VADDR, percpu_addr, note_buf, KEXEC_NOTE_BYTES))
# 1927|   		return FALSE;
# 1928|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
makedumpfile-1.7.8/sadump_info.c:1947:22: warning[-Wanalyzer-malloc-leak]: leak of ‘prstatus_buf’
makedumpfile-1.7.8/sadump_info.c:2247:1: enter_function: entry to ‘get_registers’
makedumpfile-1.7.8/sadump_info.c:2253:30: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:2253:12: branch_false: following ‘false’ branch (when ‘prstatus_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:2259:13: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2259:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:2270:22: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2270:22: call_function: calling ‘cpu_to_apicid’ from ‘get_registers’
# 1945|   		uint8_t apicid_u8;
# 1946|   
# 1947|-> 		if (!readmem(VADDR, SYMBOL(bios_cpu_apicid)+cpu*sizeof(uint8_t),
# 1948|   			     &apicid_u8, sizeof(uint8_t)))
# 1949|   			return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
makedumpfile-1.7.8/sadump_info.c:1947:22: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:377:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘cpu_online_mask_init’
makedumpfile-1.7.8/sadump_info.c:377:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:379:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: call_function: calling ‘is_online_cpu’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:380:9: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘is_online_cpu’
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:383:17: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:385:22: call_function: calling ‘get_registers’ from ‘sadump_generate_elf_note_from_dumpfile’
# 1945|   		uint8_t apicid_u8;
# 1946|   
# 1947|-> 		if (!readmem(VADDR, SYMBOL(bios_cpu_apicid)+cpu*sizeof(uint8_t),
# 1948|   			     &apicid_u8, sizeof(uint8_t)))
# 1949|   			return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
makedumpfile-1.7.8/sadump_info.c:1960:22: warning[-Wanalyzer-malloc-leak]: leak of ‘prstatus_buf’
makedumpfile-1.7.8/sadump_info.c:2247:1: enter_function: entry to ‘get_registers’
makedumpfile-1.7.8/sadump_info.c:2253:30: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:2253:12: branch_false: following ‘false’ branch (when ‘prstatus_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:2259:13: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2259:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:2270:22: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2270:22: call_function: calling ‘cpu_to_apicid’ from ‘get_registers’
# 1958|   		unsigned long early_ptr, apicid_addr;
# 1959|   
# 1960|-> 		if (!readmem(VADDR, SYMBOL(x86_bios_cpu_apicid_early_ptr),
# 1961|   			     &early_ptr, sizeof(early_ptr)))
# 1962|   			return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
makedumpfile-1.7.8/sadump_info.c:1960:22: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:377:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘cpu_online_mask_init’
makedumpfile-1.7.8/sadump_info.c:377:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:379:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: call_function: calling ‘is_online_cpu’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:380:9: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘is_online_cpu’
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:383:17: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:385:22: call_function: calling ‘get_registers’ from ‘sadump_generate_elf_note_from_dumpfile’
# 1958|   		unsigned long early_ptr, apicid_addr;
# 1959|   
# 1960|-> 		if (!readmem(VADDR, SYMBOL(x86_bios_cpu_apicid_early_ptr),
# 1961|   			     &early_ptr, sizeof(early_ptr)))
# 1962|   			return FALSE;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
makedumpfile-1.7.8/sadump_info.c:1972:22: warning[-Wanalyzer-malloc-leak]: leak of ‘prstatus_buf’
makedumpfile-1.7.8/sadump_info.c:2247:1: enter_function: entry to ‘get_registers’
makedumpfile-1.7.8/sadump_info.c:2253:30: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:2253:12: branch_false: following ‘false’ branch (when ‘prstatus_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:2259:13: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2259:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:2270:22: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:2270:22: call_function: calling ‘cpu_to_apicid’ from ‘get_registers’
# 1970|   			: per_cpu_ptr(SYMBOL(x86_bios_cpu_apicid) - info->kaslr_offset, cpu);
# 1971|   
# 1972|-> 		if (!readmem(VADDR, apicid_addr, &apicid_u16, sizeof(uint16_t)))
# 1973|   			return FALSE;
# 1974|   

Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
makedumpfile-1.7.8/sadump_info.c:1972:22: warning[-Wanalyzer-malloc-leak]: leak of ‘vmcoreinfo_buf’
makedumpfile-1.7.8/sadump_info.c:339:1: enter_function: entry to ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:347:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:350:19: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:350:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:355:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:355:14: call_function: calling ‘sadump_generate_vmcoreinfo_from_vmlinux’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:355:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘sadump_generate_vmcoreinfo_from_vmlinux’
makedumpfile-1.7.8/sadump_info.c:355:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:359:31: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:359:31: acquire_memory: allocated here
makedumpfile-1.7.8/sadump_info.c:359:12: branch_false: following ‘false’ branch (when ‘vmcoreinfo_buf’ is non-NULL)...
makedumpfile-1.7.8/sadump_info.c:364:20: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:365:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:372:17: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:372:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:377:14: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:377:14: call_function: calling ‘cpu_online_mask_init’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:377:14: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘cpu_online_mask_init’
makedumpfile-1.7.8/sadump_info.c:377:12: branch_false: following ‘false’ branch...
makedumpfile-1.7.8/sadump_info.c:379:9: branch_false: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:380:9: call_function: calling ‘is_online_cpu’ from ‘sadump_generate_elf_note_from_dumpfile’
makedumpfile-1.7.8/sadump_info.c:380:9: return_function: returning to ‘sadump_generate_elf_note_from_dumpfile’ from ‘is_online_cpu’
makedumpfile-1.7.8/sadump_info.c:380:9: branch_true: following ‘true’ branch...
makedumpfile-1.7.8/sadump_info.c:383:17: branch_true: ...to here
makedumpfile-1.7.8/sadump_info.c:385:22: call_function: calling ‘get_registers’ from ‘sadump_generate_elf_note_from_dumpfile’
# 1970|   			: per_cpu_ptr(SYMBOL(x86_bios_cpu_apicid) - info->kaslr_offset, cpu);
# 1971|   
# 1972|-> 		if (!readmem(VADDR, apicid_addr, &apicid_u16, sizeof(uint16_t)))
# 1973|   			return FALSE;
# 1974|   

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-102.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namemakedumpfile-1.7.8-1.fc44
store-results-to/tmp/tmpojpchzmy/makedumpfile-1.7.8-1.fc44.tar.xz
time-created2026-01-08 19:32:54
time-finished2026-01-08 19:34:43
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpojpchzmy/makedumpfile-1.7.8-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpojpchzmy/makedumpfile-1.7.8-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9