diff --git a/libpastis/package.py b/libpastis/package.py index 127b1b9..0ef7cc6 100644 --- a/libpastis/package.py +++ b/libpastis/package.py @@ -263,8 +263,8 @@ def _read_binary_infos(file: Path) -> Optional[Tuple[Platform, Arch]]: return None # Determine the architecture of the binary - mapping = {lief.ELF.ARCH.x86_64: Arch.X86_64, - lief.ELF.ARCH.i386: Arch.X86, + mapping = {lief.ELF.ARCH.X86_64: Arch.X86_64, + lief.ELF.ARCH.I386: Arch.X86, lief.ELF.ARCH.ARM: Arch.ARMV7, lief.ELF.ARCH.AARCH64: Arch.AARCH64} arch = mapping.get(p.header.machine_type) diff --git a/setup.py b/setup.py index 9ab4ac7..5be7eb6 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ "pyzmq", "psutil", "aenum", - "lief>=v0.14.0", + "lief>=v0.15.0", "python-magic", "click", "coloredlogs", @@ -55,7 +55,7 @@ "matplotlib", "joblib", "rich", - "tritondse>=v0.1.11", + "tritondse>=v0.1.12", ], tests_require=[], license="AGPL-3.0",