tools/mac/symbolicate_crash.py
def _CollectAddressesForImages(self, images):
    """Iterates all the threads and stack frames and all the stack frames that
    are in a list of binary |images|. The result is a dictionary, keyed by the
    image name that maps to a list of tuples. Each is a 2-Tuple of
    (stack_frame, address)"""
    # Create the collection and initialize it with empty lists for each image.
    collection = {}
    for image in images:
      collection[image] = []

    # Perform the iteration.
    for thread in self.threads:
      for frame in thread.stack:
        image_name = self._ImageForAddress(frame.address)
        if image_name in images:
          # Replace the image name in the frame in case it was elided.
          frame.image = image_name
          collection[frame.image].append((frame, frame.address))

    # Return the result.
    return collection
Iterates all the threads and stack frames and all the stack frames that
    are in a list of binary |images|. The result is a dictionary, keyed by the
    image name that maps to a list of tuples. Each is a 2-Tuple of
    (stack_frame, address)
Iterates all the threads and stack frames and all the stack frames that
are in a list of binary |images|. The result is a dictionary, keyed by the
image name that maps to a list of tuples. Each is a 2-Tuple of
(stack_frame, address)
Iterates all the threads and stack frames and all the stack frames that are in a list of binary |images| . The result is a dictionary keyed by the image name that maps to a list of tuples . Each is a 2 - Tuple of ( stack_frame address )
def _CollectAddressesForImages(self, images):
    collection = {}
    for image in images:
      collection[image] = []
    for thread in self.threads:
      for frame in thread.stack:
        image_name = self._ImageForAddress(frame.address)
        if image_name in images:
          frame.image = image_name
          collection[frame.image].append((frame, frame.address))
    return collection
def _CollectAddressesForImages ( self , images ) : collection = { } for image in images : collection [ image ] = [ ] for thread in self . threads : for frame in thread . stack : image_name = self . _ImageForAddress ( frame . address ) if image_name in images : frame . image = image_name collection [ frame . image ] . append ( ( frame , frame . address ) ) return collection
Iterates all the threads and stack frames and all the stack frames that
are in a list of binary |images|.
Iterates all the threads and stack frames and all the stack frames that are in a list of binary |images| .
"""Iterates all the threads and stack frames and all the stack frames that
    are in a list of binary |images|. The result is a dictionary, keyed by the
    image name that maps to a list of tuples. Each is a 2-Tuple of
    (stack_frame, address)""" # Create the collection and initialize it with empty lists for each image. # Perform the iteration. # Replace the image name in the frame in case it was elided. # Return the result.
self
images