Bug 272481

Summary: Add -fsanitize=local-bounds to UBSan builds
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: 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)
Reported 2024-04-10 14:22:39 PDT
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
Radar WebKit Bug Importer
Comment 1 2024-04-10 14:23:27 PDT
David Kilzer (:ddkilzer)
Comment 2 2024-04-10 14:35:43 PDT
EWS
Comment 3 2024-04-10 19:52:04 PDT
Committed 277345@main (5cf22ee7f10a): <https://commits.webkit.org/277345@main> Reviewed commits have been landed. Closing PR #27112 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.