Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
merendamattia committed Nov 4, 2024
1 parent 6704fb4 commit 91cbba8
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions script-python/journal/run-benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,11 +341,21 @@ def results_ethersolve(directory_path, print_data):
id = int(match.group(1))
results[id] += result

match = re.match(r'buggy_(\d+)_(\d+)-\w+\.csv', file)
if match:
id = int(match.group(1))
results[id] += result

match = re.match(r'(\d+)-\w+\.csv', file)
if match:
id = int(match.group(1))
results[id] += result


match = re.match(r'(\d+)_(\d+)-\w+\.csv', file)
if match:
id = int(match.group(1))
results[id] += result

sorted_data = dict(sorted(results.items()))

print(print_data)
Expand Down Expand Up @@ -386,7 +396,7 @@ def results_solidifi(folder_path, print_data):

if __name__ == "__main__":
build_evmlisa()

"""
evmlisa_vanilla_thread = threading.Thread(target=evmlisa, kwargs={'bytecode_dir': './vanilla/bytecode/evmlisa',
'results_dir': './vanilla/results',
'result_evmlisa_dir': './vanilla/results/evmlisa'})
Expand All @@ -412,7 +422,7 @@ def results_solidifi(folder_path, print_data):
check_sound_analysis_evmlisa('./reentrancy/results/evmlisa')
check_sound_analysis_evmlisa('./vanilla/results/evmlisa')

"""
plot_results(
subtract_dicts( results_evmlisa('./reentrancy/results/evmlisa', 'evmlisa-buggy'),
results_evmlisa('./vanilla/results/evmlisa', 'evmlisa-vanilla')),
Expand Down

0 comments on commit 91cbba8

Please sign in to comment.