commit | ac0c27a92397b847faae89c0ac5d6825f79d7979 | [log] [tgz] |
---|---|---|
author | Alex Gough <ajgo@chromium.org> | Thu Sep 28 17:09:17 2023 |
committer | Crashpad LUCI CQ <crashpad-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 28 17:24:39 2023 |
tree | 0fb06b2812c6034985b61dbd473f3d7e45de2021 | |
parent | 8da335ffad361191fa467de56a30715223f04014 [diff] |
Deregister vectored exception handler on client destruction Some users of crashpad load and unload the dll that hosts crashpad code. crashpad registers a vectored exception handler to help collect heap corruption crashes. If the dll is unloaded this handler might still be called. This CL adds a scoped handler for such registrations and uses it on Windows crashpad client. To allow this to be stored, RegisterHandler() on the client needs to move onto the client object from being a helper function. Bug: crashpad:462 Change-Id: I5d77c056e2a9a61ddcfa9d0186ab4bfd85a19bff Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4898263 Reviewed-by: Ben Hamilton <benhamilton@google.com> Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Alex Gough <ajgo@chromium.org>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.