Lines Matching refs:shdr
342 Elf32_Shdr shdr;
344 if (parse_elf_section(elf, s_idx, &shdr, NULL)) {
350 return (char *)(elf->buf + shdr.sh_offset + idx);
352 Elf64_Shdr shdr;
354 if (parse_elf_section(elf, s_idx, NULL, &shdr)) {
360 return (char *)(elf->buf + shdr.sh_offset + idx);
403 Elf32_Shdr shdr;
405 parse_elf_section(&elf, i, &shdr, NULL);
407 if (shdr.sh_type == SHT_STRTAB) {
410 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
414 strtab_off32 = shdr.sh_offset;
420 Elf64_Shdr shdr;
422 parse_elf_section(&elf, i, NULL, &shdr);
424 if (shdr.sh_type == SHT_STRTAB) {
427 strcpy(strtsb_name, (char *)(elf.buf + shdr.sh_offset + shdr.sh_name));
431 strtab_off64 = shdr.sh_offset;
440 Elf32_Shdr shdr;
442 parse_elf_section(&elf, i, &shdr, NULL);
444 if (shdr.sh_type == SHT_SYMTAB) {
445 for (ofst = shdr.sh_offset;
446 ofst < shdr.sh_offset + shdr.sh_size;
447 ofst += shdr.sh_entsize) {
458 shdr.sh_link,
499 shdr.sh_link,
506 shdr.sh_link,
513 shdr.sh_link,
520 shdr.sh_link,
529 Elf64_Shdr shdr;
531 parse_elf_section(&elf, i, NULL, &shdr);
533 if (shdr.sh_type == SHT_SYMTAB) {
534 for (ofst = shdr.sh_offset;
535 ofst < shdr.sh_offset + shdr.sh_size;
536 ofst += shdr.sh_entsize) {
547 shdr.sh_link,
588 shdr.sh_link,
595 shdr.sh_link,
602 shdr.sh_link,