gecko-dev/toolkit/crashreporter
Gabriele Svelto 76021a664b Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj
This patch includes multiple changes cleaning up various aspects of the crash
reporter client and exception handler:

* Some Unix-specific code was moved out from the base crashreporter client
  code and into the appropriate platform implementation
* Functions used to open files in the crashreporter client now accept C++
  `std::ios` flags instead of unreadable booleans
* Useless character conversion routines were removed from the
  minidump-analyzer
* Crash annotations are not serialized into a huge string anymore every time
  they change. They are all written out individually during an exception.
* `WriteEscapedMozCrashReason()` uses the exception-safe `my_strlen()` instead
  of plain `strlen()`
* The Windows-specific DLL-blocklist shutdown was removed from the Linux &
  macOS Breakpad callbacks
* The `CrashReporterHost`, `CrashReporterClient` and
  `CrashReporterMetadataShmem` classes now take `nsACString` references
  instead of `nsCString` ones since they never modify their contents

Differential Revision: https://phabricator.services.mozilla.com/D33267

--HG--
extra : moz-landing-system : lando
2019-05-31 21:54:03 +00:00
..
breakpad-client Bug 1542581 - Block child process termination until the handler is fully initialized r=froydnj 2019-04-17 18:55:14 +00:00
breakpad-patches Bug 1544881 - Ignore empty ranges when parsing DW_TAG_inlined_subroutine tags as they break the assumptions required during line assignment r=froydnj 2019-05-20 11:49:40 +00:00
breakpad-windows-libxul
breakpad-windows-standalone
client Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj 2019-05-31 21:54:03 +00:00
content Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop 2019-04-24 19:43:57 +00:00
docs
google-breakpad Bug 1544881 - Ignore empty ranges when parsing DW_TAG_inlined_subroutine tags as they break the assumptions required during line assignment r=froydnj 2019-05-20 11:49:40 +00:00
injector Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
minidump-analyzer Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj 2019-05-31 21:54:03 +00:00
rust Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
test Bug 1542024 - Eliminate nsXPCWrappedJSClass by moving its methods into nsXPCWrappedJS. r=bzbarsky 2019-04-08 21:39:27 +00:00
tools Bug 1523204 - Automatically add WIN_DIA_SDK_BIN_DIR to PATH when running dump_syms. r=chmanchester 2019-01-29 07:38:12 +00:00
CrashAnnotations.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CrashAnnotations.h.in
CrashAnnotations.yaml Bug 1554540 - Expose window protocol (X11, Wayland) in nsIGfxInfo and about:support. r=kats,stransky,flod 2019-05-28 06:40:34 -04:00
crashreporter.mozbuild Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester 2019-03-13 20:19:08 +00:00
CrashReports.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
CrashSubmit.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
generate_crash_reporter_sources.py
InjectCrashReporter.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
InjectCrashReporter.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
jar.mn
KeyValueParser.jsm
LoadLibraryRemote.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
LoadLibraryRemote.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
mac_utils.h
mac_utils.mm Bug 1521460 - Also reformat objective-c files r=mstange,ehsan,spohl 2019-01-21 18:18:16 +01:00
moz.build Bug 1523204 - Streamline the DIA SDK setup. r=chmanchester 2019-01-29 07:38:14 +00:00
nsDummyExceptionHandler.cpp Bug 1547698 - Refactor the code that writes the .extra file for a content process crash or hang r=froydnj 2019-05-18 16:19:55 +00:00
nsExceptionHandler.cpp Bug 1555917 - Exception handler and crash reporter client cleanup r=froydnj 2019-05-31 21:54:03 +00:00
nsExceptionHandler.h Bug 1547698 - Refactor the code that writes the .extra file for a content process crash or hang r=froydnj 2019-05-18 16:19:55 +00:00
nsExceptionHandlerUtils.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsExceptionHandlerUtils.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ThreadAnnotation.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ThreadAnnotation.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
update-breakpad.sh Bug 1538810 - Update breakpad to upstream revision 4d550cceca107f36c4bc1ea1126b7d32cc50f424 r=froydnj 2019-04-09 16:04:24 +00:00