tools/fix_b2g_stack.py
def translate(self, lib, offset, pc=None, fn_guess=None):
        '''Translate the given offset (an integer) into the given library (e.g.
        'libxul.so') into a human-readable string and return that string.

        pc and fn_guess are hints to make the output look nicer; we don't use
        either of these optional parameters to look up lib+offsets.

        '''
        lib_path = self._find_lib(lib)
        return self._cache.get_maybe_set(lib_path, offset,
            lambda: self._addr2line(lib, offset, pc, fn_guess))
Translate the given offset (an integer) into the given library (e.g.
        'libxul.so') into a human-readable string and return that string.

        pc and fn_guess are hints to make the output look nicer; we don't use
        either of these optional parameters to look up lib+offsets.

        
Translate the given offset (an integer) into the given library  into a human-readable string and return that string.

pc and fn_guess are hints to make the output look nicer; we don't use
either of these optional parameters to look up lib+offsets.
Translate the given offset ( an integer ) into the given library into a human - readable string and return that string . pc and fn_guess are hints to make the output look nicer ; we don ' t use either of these optional parameters to look up lib + offsets .
def translate(self, lib, offset, pc=None, fn_guess=None):
        lib_path = self._find_lib(lib)
        return self._cache.get_maybe_set(lib_path, offset,
            lambda: self._addr2line(lib, offset, pc, fn_guess))
def translate ( self , lib , offset , pc = None , fn_guess = None ) : lib_path = self . _find_lib ( lib ) return self . _cache . get_maybe_set ( lib_path , offset , lambda : self . _addr2line ( lib , offset , pc , fn_guess ) )
Translate the given offset (an integer) into the given library (e.g.
Translate the given offset ( an integer ) into the given library ( e . g .
'''Translate the given offset (an integer) into the given library (e.g.
        'libxul.so') into a human-readable string and return that string.

        pc and fn_guess are hints to make the output look nicer; we don't use
        either of these optional parameters to look up lib+offsets.

        '''
self
lib
offset
pc
fn_guess