<commit_before>#!/usr/bin/env python
import z3
import s_value
import copy
import logging
l = logging.getLogger("s_memory")
l.setLevel(logging.DEBUG)

addr_mem_counter = 0
var_mem_counter = 0
# Conventions used:
# 1) The whole memory is readable
# 2) Memory locations are by default writable
# 3) Memory locations are by default not executable

class Cell:
        # Type: RWX bits
        def __init__(self, ctype, cnt):
                self.type = ctype | 4 # memory has to be readable
                self.cnt = cnt

class Symbolizer(dict):
        def __init__(self, id, backer = {}):
                import ipdb; ipdb.set_trace()
                self.backer = backer
                self.id = id
                super(Symbolizer, self).__init__()
<commit_msg>removed breakpoint<commit_after>#!/usr/bin/env python
import z3
import s_value
import copy
import logging
l = logging.getLogger("s_memory")
l.setLevel(logging.DEBUG)

addr_mem_counter = 0
var_mem_counter = 0
# Conventions used:
# 1) The whole memory is readable
# 2) Memory locations are by default writable
# 3) Memory locations are by default not executable

class Cell:
        # Type: RWX bits
        def __init__(self, ctype, cnt):
                self.type = ctype | 4 # memory has to be readable
                self.cnt = cnt

class Symbolizer(dict):
        def __init__(self, id, backer = {}):
                self.backer = backer
                self.id = id
                super(Symbolizer, self).__init__()

{'fraction_non_alphanumeric': 0.08754208754208755, 'fraction_numerical': 0.009427609427609427, 'mean_word_length': 2.439814814814815, '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': '1953441', 'n_tokens_mistral': 467, 'n_tokens_neox': 440, 'n_words': 146}