Searched refs:symtab (Results 1 – 3 of 3) sorted by relevance
143 symtab = self.Shdr[rel_sh.sh_link]144 strtab = self.Shdr[symtab.sh_link]165 sym = self.GetRelocationSymbol(symtab, reloc)205 symtab = self.GetSectionByName(symtab_name)206 if not symtab:208 strtab = self.Shdr[symtab.sh_link]209 for sym in self.GetSymbols(symtab):240 symtab = self.GetSectionByName(symtab_name)241 if not symtab:243 strtab = self.Shdr[symtab.sh_link][all …]
91 symtab = self.elf_file.GetSectionByName('.symtab')92 strtab = self.elf_file.Shdr[symtab.sh_link]93 syms = self.elf_file.GetSymbols(symtab)101 symtab = self.elf_file.Shdr[reltab.sh_link]102 strtab = self.elf_file.Shdr[symtab.sh_link]105 sym = self.elf_file.GetRelocationSymbol(symtab, rela)
334 def GetSymbol(self, symtab, idx): argument347 off = symtab.sh_offset + idx * symtab.sh_entsize350 def GetSymbols(self, symtab): argument362 num = int(symtab.sh_size // symtab.sh_entsize)363 return (self.GetSymbol(symtab, i) for i in range(num))365 def GetRelocationSymbol(self, symtab, rel): argument378 return self.GetSymbol(symtab, rel.GetSymbol())652 symtab = self.GetSectionByName(symtab_name)654 if not symtab or not strtab or symtab.sh_size == 0:662 for sym in self.GetSymbols(symtab):