diff options
| author | zorz <zorz@krypt.sh> | 2026-04-02 01:11:55 +0300 |
|---|---|---|
| committer | zorz <zorz@krypt.sh> | 2026-04-02 01:11:55 +0300 |
| commit | 936433a5deb6ccc8f8476096f2c2b8dc72c33388 (patch) | |
| tree | fe62acdddbfc42bc377383f5706f2c64120b942c /chromium/patches/sanitizer-no-death-callback.patch | |
| parent | 16d3c790c04095ea1c8488116f56719e5480efb7 (diff) | |
| download | zorz-936433a5deb6ccc8f8476096f2c2b8dc72c33388.tar.gz zorz-936433a5deb6ccc8f8476096f2c2b8dc72c33388.tar.xz | |
chromium musl
Diffstat (limited to 'chromium/patches/sanitizer-no-death-callback.patch')
| -rw-r--r-- | chromium/patches/sanitizer-no-death-callback.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chromium/patches/sanitizer-no-death-callback.patch b/chromium/patches/sanitizer-no-death-callback.patch new file mode 100644 index 0000000..b2c1e1f --- /dev/null +++ b/chromium/patches/sanitizer-no-death-callback.patch | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | undefined symbol in our build | ||
| 2 | |||
| 3 | --- a/v8/src/sandbox/testing.cc | ||
| 4 | +++ b/v8/src/sandbox/testing.cc | ||
| 5 | @@ -578,7 +578,7 @@ void UninstallCrashFilter() { | ||
| 6 | // We should also uninstall the sanitizer death callback as our crash filter | ||
| 7 | // may hand a crash over to sanitizers, which should then not enter our crash | ||
| 8 | // filtering logic a second time. | ||
| 9 | -#ifdef V8_USE_ANY_SANITIZER | ||
| 10 | +#if 0 | ||
| 11 | __sanitizer_set_death_callback(nullptr); | ||
| 12 | #endif // V8_USE_ANY_SANITIZER | ||
| 13 | } | ||
| 14 | @@ -782,7 +782,7 @@ void InstallCrashFilter() { | ||
| 15 | } | ||
| 16 | CHECK(success); | ||
| 17 | |||
| 18 | -#ifdef V8_USE_ANY_SANITIZER | ||
| 19 | +#if 0 | ||
| 20 | // We install sanitizer specific crash handlers. These can only check for | ||
| 21 | // in-sandbox crashes on certain configurations. | ||
| 22 | // | ||