<commit_before>class Labels(object):
    def __init__(self, kb):
        self._kb = kb
        self._labels = {}
        for obj in kb._project.loader.all_objects:
            for k, v in obj.symbols_by_addr.iteritems():
                if v.name:
                    self._labels[k] = v.name
            try:
                for v, k in obj.plt.iteritems():
                    self._labels[k] = v
            except AttributeError:
                pass<commit_msg>use rebased addresses for labels<commit_after>class Labels(object):
    def __init__(self, kb):
        self._kb = kb
        self._labels = {}
        for obj in kb._project.loader.all_objects:
            for k, v in obj.symbols_by_addr.iteritems():
                if v.name:
                    self._labels[v.rebased_addr] = v.name
            try:
                for v, k in obj.plt.iteritems():
                    self._labels[k] = v
            except AttributeError:
                pass
{'fraction_non_alphanumeric': 0.09439834024896265, 'fraction_numerical': 0.0, 'mean_word_length': 1.3651960784313726, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7186396', 'n_tokens_mistral': 285, 'n_tokens_neox': 266, 'n_words': 67}