diff options
| author | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2023-12-08 16:17:35 +0100 |
|---|---|---|
| committer | Theofilos Augoustis <theofilos.augoustis@gmail.com> | 2023-12-08 16:17:35 +0100 |
| commit | 4a5584d8f69d8ff511285387971d8cbf803f16b7 (patch) | |
| tree | 11c9e104fadc9b47f3f423f4be3bf0be34edf4f8 /arch/__init__.py | |
| parent | 0cf4f736fd5d7cd99f00d6c5896af9a608d2df8b (diff) | |
| download | focaccia-4a5584d8f69d8ff511285387971d8cbf803f16b7.tar.gz focaccia-4a5584d8f69d8ff511285387971d8cbf803f16b7.zip | |
Adapt symbolic compare to new transform interface
Also implement a `MiasmSymbolicTransform.concat` function that concatenates two transformations. Some minor adaptions to the eval_expr code was necessary to remove some assumptions that don't work if the resolver state returns symbols instead of concrete values. Remove obsolete utilities that were used for angr. Co-authored-by: Theofilos Augoustis <theofilos.augoustis@gmail.com> Co-authored-by: Nicola Crivellin <nicola.crivellin98@gmail.com>
Diffstat (limited to 'arch/__init__.py')
| -rw-r--r-- | arch/__init__.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/__init__.py b/arch/__init__.py index 4943749..2926d20 100644 --- a/arch/__init__.py +++ b/arch/__init__.py @@ -1,7 +1,11 @@ from .arch import Arch from . import x86 -"""A dictionary containing all supported architectures at their names.""" +"""A dictionary containing all supported architectures at their names. + +The arch names (keys) should be compatible with the string returned from +`platform.machine()`. +""" supported_architectures: dict[str, Arch] = { - "X86": x86.ArchX86(), + "x86_64": x86.ArchX86(), } |