Skip to content

Instantly share code, notes, and snippets.

@ultimatile
Last active March 10, 2024 11:09
Show Gist options
  • Save ultimatile/c2452c20c31e377b9df3ffed5ea3680a to your computer and use it in GitHub Desktop.
Save ultimatile/c2452c20c31e377b9df3ffed5ea3680a to your computer and use it in GitHub Desktop.
For codesign to use gdb on macOS. This code is taken from https://sourceware.org/gdb/wiki/PermissionsDarwin. This gist is created to do wget the file.
<!--original source: https://sourceware.org/gdb/wiki/PermissionsDarwin-->
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.disable-executable-page-protection</key>
<true/>
<key>com.apple.security.cs.debugger</key>
<true/>
<key>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment