News for hackers. Stuff that matters.
Re:macOS Command Line by zffr on Wednesday December 07, 2022 @02:25PM (#33898962)
Theoretically you could attach to a process with LLDB, and use objc swizzling to intercept calls to NSUserDefaults. However to do this, I think you would need to disable SIP. Even then i'm not sure this would work.

In practice, people probably just read user defaults and try to reverse engineer what they do.

Re:macOS Command Line by saagarjha on Thursday December 08, 2022 @03:28AM (#33905656)
defaults logs what it is doing if you turn on debug logs for that subsystem.