Skip to content

Commit

Permalink
Merge pull request #18 from quarkslab/feature/upgrade-lief-version
Browse files Browse the repository at this point in the history
Feature/upgrade lief version
  • Loading branch information
cnheitman committed Aug 9, 2024
2 parents 917e076 + f3ea03d commit 27fef35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libpastis/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"pyzmq",
"psutil",
"aenum",
"lief>=v0.14.0",
"lief>=v0.15.0",
"python-magic",
"click",
"coloredlogs",
Expand All @@ -55,7 +55,7 @@
"matplotlib",
"joblib",
"rich",
"tritondse>=v0.1.11",
"tritondse>=v0.1.12",
],
tests_require=[],
license="AGPL-3.0",
Expand Down

0 comments on commit 27fef35

Please sign in to comment.