Searched refs:elf_int (Results 1 – 2 of 2) sorted by relevance
/external/toybox/toys/posix/ |
D | file.c | 38 int64_t (*elf_int)(void *ptr, unsigned size); local 43 elf_int = (endian==2) ? peek_be : peek_le; 46 i = elf_int(toybuf+16, 2); 52 if (elf_int(toybuf+36+12*(bits==2), 4) & 0x8000) printf(" (fdpic)"); 72 printf("%s", elf_arch_name(elf_int(toybuf+18, 2))); 88 phentsize = elf_int(toybuf+42+12*bits, 2); 89 phnum = elf_int(toybuf+44+12*bits, 2); 90 phoff = elf_int(toybuf+28+4*bits, 4+4*bits); 91 shsize = elf_int(toybuf+46+12*bits, 2); 92 shnum = elf_int(toybuf+48+12*bits, 2); [all …]
|
/external/toybox/toys/pending/ |
D | readelf.c | 68 static unsigned elf_int(char **p) in elf_int() function 88 name_offset = elf_int(&shdr); in get_sh() 89 s->type = elf_int(&shdr); in get_sh() 94 s->link = elf_int(&shdr); in get_sh() 95 s->info = elf_int(&shdr); in get_sh() 147 ph->type = elf_int(&phdr); in get_ph() 149 ph->flags = elf_int(&phdr); in get_ph() 157 ph->offset = elf_int(&phdr); in get_ph() 158 ph->vaddr = elf_int(&phdr); in get_ph() 159 ph->paddr = elf_int(&phdr); in get_ph() [all …]
|