about summary refs log tree commit diff stats
path: root/arch/arch.py
diff options
context:
space:
mode:
authorTheofilos Augoustis <theofilos.augoustis@gmail.com>2023-10-21 16:39:49 +0200
committerTheofilos Augoustis <theofilos.augoustis@gmail.com>2023-10-21 16:39:49 +0200
commit6f01367f9c8ad4c3d641cc63dbb1a3977ff4ec56 (patch)
tree5b9677b9a5cca449497cea4418b2bb10e2ab0509 /arch/arch.py
parent83d4b4dbe6f20c2fa7865e4888b89e888d3509f9 (diff)
downloadfocaccia-6f01367f9c8ad4c3d641cc63dbb1a3977ff4ec56.tar.gz
focaccia-6f01367f9c8ad4c3d641cc63dbb1a3977ff4ec56.zip
Support for testing concrete and emulated execution with angr
Diffstat (limited to 'arch/arch.py')
-rw-r--r--arch/arch.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arch.py b/arch/arch.py
index 36a4e3f..a46439e 100644
--- a/arch/arch.py
+++ b/arch/arch.py
@@ -1,6 +1,7 @@
 class Arch():
-    def __init__(self, regnames: list[str]):
-        self.regnames = regnames
+    def __init__(self, archname: str, regnames: list[str]):
+        self.archname = archname
+        self.regnames = set(regnames)
 
     def __eq__(self, other):
         return self.regnames == other.regnames