mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 00:32:35 +08:00
76a67a37b1
https://crbug.com/678959 added “fallback” crash reporting for crashpad_handler on Windows, in a Chrome- and Windows-specific way. This implements a more general self-monitor mechanism that will work on multiple platforms and in the absence of Chrome. When starting crashpad_handler (let’s call it the “first instance”) with --monitor-self, it will start another crashpad_handler (the “second instance”). The second instance monitors the first one for crashes. The second instance will be started in mostly the same way as the first instance, except --monitor-self will not be provided to the second instance. Bug: crashpad:143 Change-Id: I76f3f47d1762d8ecae1814357cb672c8b7bd5e95 Reviewed-on: https://chromium-review.googlesource.com/466267 Reviewed-by: Sigurður Ásgeirsson <siggi@chromium.org> Reviewed-by: Scott Graham <scottmg@chromium.org>
Name: Gregory Pietsch getopt Short Name: getopt URL: https://sourceware.org/ml/newlib/2005/msg00758.html License: Public domain License File: LICENSE Security Critical: no Description: A public domain implementation of getopt. Local Modifications: - Minor compilation fixes applied for Windows. - NO_ARG, REQUIRED_ARG, and OPTIONAL_ARG were renamed to the more traditional no_argument, required_argument, and optional_argument for source compatibility with BSD and glibc getopt_long(). - Add copy of copyright (Public domain) to the top of both files for Chromium's checklicenses step. - Compiled as .cc, and wrapped in namespace crashpad. - memcmp() -> strncmp() in getopt.cc to make ASan happier about some string manipulation.