From 69c55d68d68c00007afa1af76a1d06f74ee72fe6 Mon Sep 17 00:00:00 2001 From: Theofilos Augoustis Date: Wed, 11 Oct 2023 16:21:21 +0200 Subject: Refactor file structure - main.py: focaccia user-interface - snapshot.py: state trace snapshots handling - compare.py: snapshot comparison algorithms - run.py: native execution tracer - arancini.py: Arancini log handling - arch/: per-architecture abstractions Co-authored-by: Theofilos Augoustis Co-authored-by: Nicola Crivellin --- arch/arch.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 arch/arch.py (limited to 'arch/arch.py') diff --git a/arch/arch.py b/arch/arch.py new file mode 100644 index 0000000..36a4e3f --- /dev/null +++ b/arch/arch.py @@ -0,0 +1,6 @@ +class Arch(): + def __init__(self, regnames: list[str]): + self.regnames = regnames + + def __eq__(self, other): + return self.regnames == other.regnames -- cgit 1.4.1