Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 99002f45c0c0b19808461a325ca0aacfdcdc9b16 https://github.com/WebKit/WebKit/commit/99002f45c0c0b19808461a325ca0aacfdcdc9b16 Author: Geoffrey Garen <gga...@apple.com> Date: 2024-11-06 (Wed, 06 Nov 2024)
Changed paths: M Source/JavaScriptCore/runtime/JSCConfig.h M Source/WTF/wtf/WTFConfig.h M Source/WebKit/GPUProcess/EntryPoint/Cocoa/XPCService/GPUServiceEntryPoint.mm Log Message: ----------- Encapsulate g_jscConfig and g_wtfConfig a tiny bit https://bugs.webkit.org/show_bug.cgi?id=282673 rdar://139334844 Reviewed by Chris Dumez. These macros trigger bounds safety warnings in lots of places. They are indeed written in an unsafe style, and we should fix that; but callers don't pass indexing parameters into these macros, so warning about them at call sites isn't useful. I did one test removal of a warning suppression in this patch, to prove it works. * Source/JavaScriptCore/runtime/JSCConfig.h: (JSC::addressOfJSCConfig): * Source/WTF/wtf/WTFConfig.h: (WTF::addressOfWTFConfig): * Source/WebKit/GPUProcess/EntryPoint/Cocoa/XPCService/GPUServiceEntryPoint.mm: (GPU_SERVICE_INITIALIZER): Canonical link: https://commits.webkit.org/286222@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes