Lines Matching refs:elf
124 elf = glob.glob(d + '/' + elf_or_uuid)
125 if elf:
126 return elf[0]
128 def set_arch(self, elf): argument
132 p = subprocess.Popen(['file', '-L', elf], stdout=subprocess.PIPE)
140 def arch_prefix(self, cmd, elf): argument
141 self.set_arch(elf)
154 elf = self.get_elf(elf_name)
155 if not elf:
157 cmd = self.arch_prefix('addr2line', elf)
160 self._addr2line = self.my_Popen([cmd, '-f', '-p', '-e', elf])
225 elf = self.get_elf(elf_name)
226 cmd = self.arch_prefix('nm', elf)
227 if not reladdr or not elf or not cmd:
230 nm = self.my_Popen([cmd, '--numeric-sort', '--print-size', elf])
266 elf = self.get_elf(elf_name)
267 cmd = self.arch_prefix('objdump', elf)
268 if not reladdr or not elf or not cmd:
271 objdump = self.my_Popen([cmd, '--section-headers', elf])
313 elf = self.get_elf(elf_name)
314 if not elf:
316 cmd = self.arch_prefix('objdump', elf)
317 if not elf or not cmd:
320 objdump = self.my_Popen([cmd, '--section-headers', elf])
348 elf = self._elfs[int(elf_idx)][0]
349 if elf is None:
351 self.read_sections(elf)
352 if elf not in self._sections:
354 for s in self._sections[elf]:
467 elf = self.get_elf(e[0])
468 if elf:
469 rpath = os.path.realpath(elf)