Lines Matching defs:shdr
170 GElf_Shdr shdr;
171 gelf_getshdr(section, &shdr);
173 char *e_str = elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name);
174 if (shdr.sh_type == SHT_NOTE &&
312 GElf_Shdr shdr;
313 gelf_getshdr(section, &shdr);
314 char *sec_name = elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name);
318 text_sec_start = shdr.sh_addr;
320 data_sec_start = shdr.sh_addr;
322 bss_sec_start = shdr.sh_addr;
424 GElf_Shdr shdr;
425 gelf_getshdr(section, &shdr);
427 if (shdr.sh_type == SHT_SYMTAB) {
430 int count = shdr.sh_size / shdr.sh_entsize;
438 char *sym_name = elf_strptr(elf, shdr.sh_link, sym.st_name);
544 GElf_Shdr shdr;
545 gelf_getshdr(section, &shdr);
546 sectionNames.insert(elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name));