-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debug check crashes on iOS 9 Beta #8
Comments
i have the same issue |
Yup - me too - can u provide a code example of the above solution ? |
Search for dbgGetPid() and replace it with getpid() You'll find it within SecurityCheck.xcodeproj > debugCheck.h module debugCheck(cb) Be careful not to remove the backslash from the end of the line |
Since I don't trust Apple I added an if check in my code where it'll use getpid on iOS9 but keep dbgGetPid on older versions. |
Got that to work thanks ! |
This solution does not work for me. |
If you peruse https://nabla-c0d3.github.io/blog/2015/06/16/ios9-security-privacy/ you’ll see the following section:
Apple has closed three privacy gaps that allowed Apps to detect which other Apps were installed on the device.
The first technique was to use the sysctl() function to retrieve the process table (a remnant of OS X), which includes the list of running Apps. In iOS 9, sysctl() was modified to no longer allow sandboxed Apps to retrieve information about other running processes.
IMAS uses sysctl to detect the pid.
Solution:
The IMAS function dbgGetPid() can be replaced with the built-in function getpid()
The text was updated successfully, but these errors were encountered: