Re: Hello. Is there a way to stop Apple CrashReporter from collecting crashes of my process?
Re: Hello. Is there a way to stop Apple CrashReporter from collecting crashes of my process?
- Subject: Re: Hello. Is there a way to stop Apple CrashReporter from collecting crashes of my process?
- From: Doug Hill <email@hidden>
- Date: Mon, 11 Jul 2016 09:00:58 -0700
Maybe you could strip symbols from your binary? This would at least stop private info from being shown to the user.
You mgiht also remove any logging statements from your shipping binary if that also exposes private information.
Doug Hill
> On Jul 11, 2016, at 7:04 AM, Motti Shneor <email@hidden> wrote:
>
> Hi.
>
> I develop a global daemon, maintained by launchd. Obviously It cannot be distributed in the Mac App Store. To collect crash-reports from customers, I integrated a mainstream 3rd party crash reporter library (PLCrashReporter). I collect crashes of our daemon, and send them for analysis, and all is well.
>
> However, when crash happens, the user can still see a line in the Console “All Messages” section, and also see the full crash-report in the “System Diagnostic Reports”. I would want to avoid this, and disable this crash-reporting that is unusable to me, and exposes private info about my program (I’m writing a security tool).
>
> I could not find any process-specific behavior of CrashReporter. The only thing I could find is how to stop the crash-reporter altogether from collecting crashes. (see man ReportCrash) - and of course I don’t want this.
>
> Is it possible at all to stop CrashReporter from collecting just MY crashes? how? Is there a runtime API (xpc or other) to control CrashReporter behavior? Any filtering mechanism?
>
> Any hint will be greatly appreciated.
>
> Thanks!
>
> Motti Shneor
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden