Lines Matching refs:elf
56 elf_strptr (Elf *elf, size_t idx, size_t offset)
58 if (elf == NULL)
61 if (elf->kind != ELF_K_ELF)
67 rwlock_rdlock (elf->lock);
73 Elf_ScnList *runp = (elf->class == ELFCLASS32
74 || (offsetof (struct Elf, state.elf32.scns)
75 == offsetof (struct Elf, state.elf64.scns))
76 ? &elf->state.elf32.scns : &elf->state.elf64.scns);
102 if (elf->class == ELFCLASS32)
157 rwlock_unlock (elf->lock);
158 rwlock_wrlock (elf->lock);
181 // added data) list. Note that when the ELF file is mmapped
222 rwlock_unlock (elf->lock);