Lines Matching refs:GET_LE
23 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
26 for (i = 0; i < GET_LE(&hdr->e_phnum); i++) { in BITSFUNC()
27 if (GET_LE(&pt[i].p_type) == PT_LOAD) { in BITSFUNC()
31 if (GET_LE(&pt[i].p_offset) != 0 || in BITSFUNC()
32 GET_LE(&pt[i].p_vaddr) != 0) in BITSFUNC()
35 if (GET_LE(&pt[i].p_memsz) != GET_LE(&pt[i].p_filesz)) in BITSFUNC()
38 load_size = GET_LE(&pt[i].p_memsz); in BITSFUNC()
40 } else if (GET_LE(&pt[i].p_type) == PT_DYNAMIC) { in BITSFUNC()
41 dyn = raw_addr + GET_LE(&pt[i].p_offset); in BITSFUNC()
42 dyn_end = raw_addr + GET_LE(&pt[i].p_offset) + in BITSFUNC()
43 GET_LE(&pt[i].p_memsz); in BITSFUNC()
54 GET_LE(&dyn[i].d_tag) != DT_NULL; i++) { in BITSFUNC()
55 typeof(dyn[i].d_tag) tag = GET_LE(&dyn[i].d_tag); in BITSFUNC()
62 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
63 GET_LE(&hdr->e_shentsize)*GET_LE(&hdr->e_shstrndx); in BITSFUNC()
64 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
65 for (i = 0; i < GET_LE(&hdr->e_shnum); i++) { in BITSFUNC()
66 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
67 GET_LE(&hdr->e_shentsize) * i; in BITSFUNC()
68 if (GET_LE(&sh->sh_type) == SHT_SYMTAB) in BITSFUNC()
71 if (!strcmp(secstrings + GET_LE(&sh->sh_name), in BITSFUNC()
79 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
80 GET_LE(&hdr->e_shentsize) * GET_LE(&symtab_hdr->sh_link); in BITSFUNC()
84 i < GET_LE(&symtab_hdr->sh_size) / GET_LE(&symtab_hdr->sh_entsize); in BITSFUNC()
87 ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + in BITSFUNC()
88 GET_LE(&symtab_hdr->sh_entsize) * i; in BITSFUNC()
89 const char *name = raw_addr + GET_LE(&strtab_hdr->sh_offset) + in BITSFUNC()
90 GET_LE(&sym->st_name); in BITSFUNC()
105 syms[k] = GET_LE(&sym->st_value); in BITSFUNC()
165 (unsigned long)GET_LE(&alt_sec->sh_offset)); in BITSFUNC()
167 (unsigned long)GET_LE(&alt_sec->sh_size)); in BITSFUNC()