Home | History | Annotate | Download | only in scripts

Lines Matching refs:binary

43   def symbolize(self, addr, binary, offset):
44 """Symbolize the given address (pair of binary and offset).
49 binary: path to executable/shared object containing this instruction.
50 offset: instruction offset in the @binary.
82 def symbolize(self, addr, binary, offset):
88 symbolizer_input = '%s %s' % (binary, offset)
121 def __init__(self, binary):
123 self.binary = binary
130 cmd += ['-e', self.binary]
136 def symbolize(self, addr, binary, offset):
138 if self.binary != binary:
182 def __init__(self, addr, binary):
184 self.binary = binary
190 print 'atos -o %s -arch %s' % (self.binary, self.arch)
191 cmdline = ['atos', '-o', self.binary, '-arch', self.arch]
194 def symbolize(self, addr, binary, offset):
196 if self.binary != binary:
222 def symbolize(self, addr, binary, offset):
226 result = symbolizer.symbolize(addr, binary, offset)
235 def BreakpadSymbolizerFactory(binary):
238 filename = binary + suffix
244 def SystemSymbolizerFactory(system, addr, binary):
246 return DarwinSymbolizer(addr, binary)
248 return Addr2LineSymbolizer(binary)
264 self.binary = ' '.join(fragments[4:])
311 def symbolize(self, addr, binary, offset):
312 if self.binary != binary:
327 # Used by clients who may want to supply a different binary name.
335 def symbolize_address(self, addr, binary, offset):
342 if not binary in symbolizers:
343 symbolizers[binary] = ChainSymbolizer(
344 [BreakpadSymbolizerFactory(binary), self.llvm_symbolizer])
345 result = symbolizers[binary].symbolize(addr, binary, offset)
348 symbolizers[binary].append_symbolizer(
349 SystemSymbolizerFactory(self.system, addr, binary))
350 result = symbolizers[binary].symbolize(addr, binary, offset)
379 _, frameno_str, addr, binary, offset = match.groups()
383 original_binary = binary
385 binary = self.binary_name_filter(binary)
386 symbolized_line = self.symbolize_address(addr, binary, offset)
388 if original_binary != binary:
389 symbolized_line = self.symbolize_address(addr, binary, offset)