From e4434b8b17a04bee2a19130b4f59a589f9880647 Mon Sep 17 00:00:00 2001 From: Christian Heitman Date: Fri, 9 Aug 2024 11:08:46 -0300 Subject: [PATCH 1/2] Upgrade lief version to >= 0.15.0 --- libpastis/package.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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..cbcf781 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", From f3ea03dac37ad4288e645aee981b19cec24e1da2 Mon Sep 17 00:00:00 2001 From: Christian Heitman Date: Fri, 9 Aug 2024 15:21:11 -0300 Subject: [PATCH 2/2] Upgrade tritondse version to 0.1.12 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index cbcf781..5be7eb6 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ "matplotlib", "joblib", "rich", - "tritondse>=v0.1.11", + "tritondse>=v0.1.12", ], tests_require=[], license="AGPL-3.0",