commit | a5e179663a3876ed652b0bc8631abab2ba9334a2 | [log] [tgz] |
---|---|---|
author | Alex Gough <[email protected]> | Fri Jun 23 14:53:06 2023 -0700 |
committer | Crashpad LUCI CQ <[email protected]> | Fri Jun 23 23:06:52 2023 +0000 |
tree | 730f5d2c3dc2054c58ffb51b5774d556b9b4b0b4 | |
parent | bc1e904f09c0e000a9fa9295e8c846c9863685c5 [diff] |
Catch heap corruption failures on Windows Windows claims that heap corruption crashes are passed to Windows Error Reporting but they are not, they are swallowed and the process is simply terminated. WerFault.exe does not run. We can however intercept these crashes using a vectored exception handler which forwards STATUS_HEAP_CORRUPTION to the normal crash handler. Adds an end-to-end test. Bug: 2515 Change-Id: I2e1361dacef6fd03ea0f00327fee0b05a0c4899e Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4637533 Commit-Queue: Alex Gough <[email protected]> Reviewed-by: Joshua Peraza <[email protected]>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.