Last active
August 29, 2015 14:07
-
-
Save drewbug/0586f8e1790be5c2aecb to your computer and use it in GitHub Desktop.
security framework debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# trace debug-log macro | |
sudo dtrace -qn 'security_debug*:::log { printf("[%s] %s\n", copyinstr(arg0), copyinstr(arg1)); }' | |
# restart securityd | |
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.securityd.plist && | |
sudo launchctl load /System/Library/LaunchDaemons/com.apple.securityd.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful!