This implements the crash helper service used to move child process crash report generation out of the main process and into its own process. This is implemented as a separate executable that is launched on startup by the main process on the desktop platforms and as a service hosted by a separate process on Android. One limitation of the current code is that the crash helper process needs to be running before we can start setting exception handlers in child processes. This limitation is due to how Breakpad exception handlers register themselves with the crash generator and prevents us from lazily starting the helper (or restarting it on Android). IPC with the crash helper is implemented using Unix sockets on Linux and macOS with the former using sequential packets and the latter using stream sockets. On Windows we use named pipes. In all cases the choice of IPC was dictated both by the requirement to eventually talk directly to child processes from within the sandbox, and to external processes in case of Windows as the Windows Error Reporting exception handler must be able to reach out to the helper from within a restricted context. These particular requirements are not used yet but will be as we move more logic out of the main process logic. Differential Revision: https://phabricator.services.mozilla.com/D231083
25 lines
440 B
Plaintext
25 lines
440 B
Plaintext
#if 0
|
|
; Specifies files that should be copied (preserving symlinks) from dist/bin
|
|
; to the .app/Contents/MacOS directory.
|
|
#endif
|
|
#filter substitution
|
|
/*.app/***
|
|
/certutil
|
|
#if defined(MOZ_GECKODRIVER)
|
|
/geckodriver
|
|
#endif
|
|
/gtest/***
|
|
/http3server
|
|
#if defined(MOZ_ASAN) || defined(MOZ_TSAN) || defined(FUZZING)
|
|
/llvm-symbolizer
|
|
#endif
|
|
#if defined(MOZ_CRASHREPORTER)
|
|
/crashhelper
|
|
#endif
|
|
/nmhproxy
|
|
/pingsender
|
|
/pk12util
|
|
/ssltunnel
|
|
/xpcshell
|
|
/XUL
|