Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Commit 31471de

Browse files
committed
Fixed objc method names, updated version to 2.0.0
1 parent 3637be2 commit 31471de

File tree

4 files changed

+22
-26
lines changed

4 files changed

+22
-26
lines changed

bin/dyldex

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ from DyldExtractor.converter import (
3232
objc_fixer
3333
)
3434

35-
import psutil
36-
3735

3836
class _DyldExtractorArgs(argparse.Namespace):
3937

@@ -181,9 +179,6 @@ def _extractImage(
181179
pass
182180
pass
183181

184-
process = psutil.Process(os.getpid())
185-
print(process.memory_info().rss) # in bytes
186-
187182
statusBar.update(unit="Extractor", status="Done")
188183

189184
finally:

setup.py

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
from setuptools import setup, find_packages
22

3-
setup(name='dyldextractor',
4-
version='1.0.8',
5-
description='Extract Binaries from Apple\'s Dyld Shared Cache',
6-
long_description='file: README.md',
7-
long_description_content_type='text/markdown',
8-
python_requires='>=3.8',
9-
author='arandomdev',
10-
url='https://github.com/arandomdev/dyldextractor',
11-
install_requires=['progressbar2', 'capstone==4.0.2'],
12-
packages=find_packages(
13-
where='src'
14-
),
15-
package_dir={"": "src"},
16-
classifiers=[
17-
'Programming Language :: Python :: 3',
18-
'License :: OSI Approved :: MIT License',
19-
'Operating System :: OS Independent'
20-
],
21-
scripts=['bin/dyldex', 'bin/dyldex_all']
22-
)
3+
setup(
4+
name='dyldextractor',
5+
version='2.0.0',
6+
description='Extract Binaries from Apple\'s Dyld Shared Cache',
7+
long_description='file: README.md',
8+
long_description_content_type='text/markdown',
9+
python_requires='>=3.8',
10+
author='arandomdev',
11+
url='https://github.com/arandomdev/dyldextractor',
12+
install_requires=['progressbar2', 'capstone==4.0.2'],
13+
packages=find_packages(
14+
where='src'
15+
),
16+
package_dir={"": "src"},
17+
classifiers=[
18+
'Programming Language :: Python :: 3',
19+
'License :: OSI Approved :: MIT License',
20+
'Operating System :: OS Independent'
21+
],
22+
scripts=['bin/dyldex', 'bin/dyldex_all']
23+
)

tests/run_all_images.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def runForAllImages(
5050
if index == stopIndex:
5151
break
5252

53+
# TODO: Imp sub caches
5354
imageOffset = dyldCtx.convertAddr(imageData.address)
5455
imagePath = dyldCtx.fileCtx.readString(imageData.pathFileOffset)[0:-1]
5556
imagePath = imagePath.decode("utf-8")

tests/run_all_images_multiprocess.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import multiprocessing as mp
22
import signal
3-
import mmap
43
import logging
54
import io
65
import progressbar

0 commit comments

Comments
 (0)