Searched refs:elf_ex (Results 1 – 5 of 5) sorted by relevance
508 struct elfhdr elf_ex; in is_target_elf_binary() local517 elf_ex = *((struct elfhdr *)buf); in is_target_elf_binary()518 bswap_ehdr(&elf_ex); in is_target_elf_binary()520 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in is_target_elf_binary()603 struct elfhdr elf_ex; in load_elf_binary() local618 bswap_ehdr(&elf_ex); in load_elf_binary()621 if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || in load_elf_binary()634 elf_phdata = (struct elf_phdr *)malloc(elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary()642 elf_ex.e_phentsize * elf_ex.e_phnum); in load_elf_binary()766 info->elf_flags = elf_ex.e_flags; in load_elf_binary()[all …]
851 if (elf_ex->e_type != ET_EXEC && elf_ex->e_type != ET_DYN) in load_elf_binary()853 if (!elf_check_arch(elf_ex)) in load_elf_binary()855 if (elf_check_fdpic(elf_ex)) in load_elf_binary()994 retval = arch_check_elf(elf_ex, in load_elf_binary()1159 elf_ex->e_phnum); in load_elf_binary()1176 if (elf_ex->e_type == ET_DYN) { in load_elf_binary()1227 e_entry = elf_ex->e_entry + load_bias; in load_elf_binary()1375 struct elfhdr elf_ex; in load_elf_library() local1378 retval = elf_read(file, &elf_ex, sizeof(elf_ex), 0); in load_elf_library()1386 if (elf_ex.e_type != ET_EXEC || elf_ex.e_phnum > 2 || in load_elf_library()[all …]
26 #define START_THREAD(elf_ex, regs, elf_entry, start_stack) \ argument
335 int mips_elf_read_implies_exec(void *elf_ex, int exstack) in mips_elf_read_implies_exec() argument
518 extern int mips_elf_read_implies_exec(void *elf_ex, int exstack);