Skip to content

Commit

Permalink
Enable and Upgrade MachO Scanner (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-dunn-sublime authored Feb 23, 2024
1 parent 491d32a commit 6a361af
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 395 deletions.
16 changes: 8 additions & 8 deletions build/configs/scanners.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,14 @@ scanners:
- 'application/x-xz'
- 'xz_file'
priority: 5
# 'ScanMacho':
# - positive:
# flavors:
# - 'application/x-mach-binary'
# - 'macho_file'
# priority: 5
# options:
# tmp_directory: '/dev/shm/'
'ScanMacho':
- positive:
flavors:
- 'application/x-mach-binary'
- 'macho_file'
priority: 5
options:
tmp_directory: '/dev/shm/'
'ScanManifest':
- positive:
flavors:
Expand Down
2 changes: 1 addition & 1 deletion build/python/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ libarchive-c==2.9

# lief doesn't have prebuilt binaries for ARM64 in PyPi, use our own prebuilt binary
https://sublime-python-deps.s3.amazonaws.com/lief-0.12.3-cp310-cp310-linux_aarch64.whl; sys_platform == 'linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64')
lief==0.12.3; sys_platform != 'linux' or (platform_machine != 'arm64' and platform_machine != 'aarch64')
lief==0.13.2; sys_platform != 'linux' or (platform_machine != 'arm64' and platform_machine != 'aarch64')

lxml==4.9.1
M2Crypto==0.38.0
Expand Down
Loading

0 comments on commit 6a361af

Please sign in to comment.