You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 19, 2025. It is now read-only.
Anyone had similar issues? The error message references to mmap() mostly on Google. My memory is free (no apps open), other apps are not recalling the issue with memory. What else can it be?
$ dsdump --arch arm64 -U -vvv ../../../ios-analysis/IPA/Payload/NN.app/NN
0x400000000 is mapped to existing memory, exiting
How I wrote dsdump, I'll mmap the executable into memory, but I needed a way to ensure I don't mix up the load addresses of the binary with dsdump's own address space. I chose 0x400000000 as a place where not a lot of code lives. You can submit a fix via a PR, modify this location if you were to build yourself, or give me the jtool -l of the executable and wait till early 2022 when I should have enough free time to get an updated version of this tool out.
If you use macOS Monterey (12)+, try to run the old released dsdump (dsdump_compiled.zip, 1a8857e) with env MallocNanoZone=0, it should work to some degree.
Activity
DerekSelander commentedon Nov 30, 2021
How I wrote dsdump, I'll mmap the executable into memory, but I needed a way to ensure I don't mix up the load addresses of the binary with dsdump's own address space. I chose 0x400000000 as a place where not a lot of code lives. You can submit a fix via a PR, modify this location if you were to build yourself, or give me the
jtool -lof the executable and wait till early 2022 when I should have enough free time to get an updated version of this tool out.erikng commentedon Mar 5, 2022
ynyyn commentedon Jul 11, 2022
If you use macOS Monterey (12)+, try to run the old released
dsdump(dsdump_compiled.zip, 1a8857e) with envMallocNanoZone=0, it should work to some degree.For details, see my comment at #35 (comment).
duraki commentedon Jul 14, 2022
Hey @ynyyn thanks for the PR! I can confirm your build works fine on
x86_64bitMac architecture: