Lines Matching refs:sh
263 def GetSectionName(self, sh): argument
276 return self.GetString(strtab, sh.sh_name)
292 return (sh for sh in self.Shdr if name == self.GetSectionName(sh))
309 for sh in self.GetSectionsByName(name):
310 return sh
574 strtab = next(sh for sh in self.Shdr if sh.sh_addr == strtab_addr)
593 for sh in self.GetSectionsByName(".note.android.ident"):
594 nh = self._SeekReadStruct(sh.sh_offset, self.Elf_Nhdr)
595 name = self._SeekRead(sh.sh_offset + ctypes.sizeof(self.Elf_Nhdr),
629 for sh in self.Shdr:
630 if sh.sh_type == consts.SHT_DYNAMIC:
631 dynamic = self._LoadDynamicSection(sh)