Lines Matching refs:ex
267 Elf32_Ehdr ex; in main() local
305 i = read(infile, &ex, sizeof(ex)); in main()
306 if (i != sizeof(ex)) { in main()
312 if (ex.e_ident[EI_DATA] == ELFDATA2MSB) in main()
323 convert_elf_hdr(&ex); in main()
326 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, in main()
327 ex.e_phnum * sizeof(Elf32_Phdr), "ph"); in main()
329 convert_elf_phdrs(ph, ex.e_phnum); in main()
331 sh = (Elf32_Shdr *) saveRead(infile, ex.e_shoff, in main()
332 ex.e_shnum * sizeof(Elf32_Shdr), in main()
335 convert_elf_shdrs(sh, ex.e_shnum); in main()
337 shstrtab = saveRead(infile, sh[ex.e_shstrndx].sh_offset, in main()
338 sh[ex.e_shstrndx].sh_size, "shstrtab"); in main()
346 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main()
348 for (i = 0; i < ex.e_phnum; i++) { in main()
358 ex.e_phnum, ph[i].p_type); in main()
420 eah.entry = ex.e_entry; in main()
558 for (i = 0; i < ex.e_phnum; i++) { in main()