Bug 272481
| Summary: | Add -fsanitize=local-bounds to UBSan builds | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
| Component: | Tools / Tests | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 176131, 230100, 244540 | ||
| Bug Blocks: | |||
David Kilzer (:ddkilzer)
Add -fsanitize=local-bounds to UBSan builds.
> -fsanitize=bounds: Out of bounds array indexing, in cases where the array bound can be statically determined. The check includes -fsanitize=array-bounds and -fsanitize=local-bounds. Note that -fsanitize=local-bounds is not included in -fsanitize=undefined.
<https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#available-checks>
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/126231948>
David Kilzer (:ddkilzer)
Pull request: https://github.com/WebKit/WebKit/pull/27112
EWS
Committed 277345@main (5cf22ee7f10a): <https://commits.webkit.org/277345@main>
Reviewed commits have been landed. Closing PR #27112 and removing active labels.