Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4ae295c2bf8b7d67a86067e5b24be9faa3346548
https://github.com/WebKit/WebKit/commit/4ae295c2bf8b7d67a86067e5b24be9faa3346548
Author: David Kilzer <[email protected]>
Date: 2026-07-04 (Sat, 04 Jul 2026)
Changed paths:
M Source/bmalloc/bmalloc/BAssert.h
M Source/bmalloc/bmalloc/BCompiler.h
Log Message:
-----------
Suppress core.FixedAddressDereference static analyzer warnings in bmalloc's
BCRASH() macro
<https://bugs.webkit.org/show_bug.cgi?id=318543>
<rdar://181315666>
Reviewed by Yusuke Suzuki.
The clang static analyzer's `core.FixedAddressDereference` checker
reports a dereference of a fixed address wherever an assertion-failure
path reaches `BCRASH()` because the macro's deliberate
`*(int*)0xbbadbeef = 0;` fail-fast store writes through a literal
address.
Mark the store as an intentional false positive with a leading
`[[clang::suppress]]` attribute inside `BCRASH()` itself.
No new tests since this change is not directly testable.
* Source/bmalloc/bmalloc/BAssert.h:
* Source/bmalloc/bmalloc/BCompiler.h:
Canonical link: https://commits.webkit.org/316513@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications