(ld_headers)
return shared
extract the shareable objects from ld_headers
    character "[" is used to strip off the path information.
    Note: the "[" and "]" characters that are part of dump -H output
    are not removed here.
extract the shareable objects from ld_headers
    character "[" is used to strip off the path information.
    Note: the "[" and "]" characters that are part of dump -H output
    are not removed here.
extract the shareable objects from ld_headers character [ is used to strip off the path information . Note : the [ and ] characters that are part of dump - H output are not removed here .
def get_shared(ld_headers):
    """
    extract the shareable objects from ld_headers
    character "[" is used to strip off the path information.
    Note: the "[" and "]" characters that are part of dump -H output
    are not removed here.
    """
    shared = []
    for (line, _) in ld_headers:
        # potential member lines contain "["
        # otherwise, no processing needed
        if "[" in line:
            # Strip off trailing colon (:)
            shared.append(line[line.index("["):-1])
    return shared
def get_shared ( ld_headers ) : shared = [ ] for ( line , _ ) in ld_headers : # potential member lines contain "[" # otherwise, no processing needed if "[" in line : # Strip off trailing colon (:) shared . append ( line [ line . index ( "[" ) : - 1 ] ) return shared