Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1aeb02d996463ecb28a551b2b8687dad3c4948c6
https://github.com/WebKit/WebKit/commit/1aeb02d996463ecb28a551b2b8687dad3c4948c6
Author: Adrian Perez de Castro <[email protected]>
Date: 2024-11-08 (Fri, 08 Nov 2024)
Changed paths:
M Source/JavaScriptCore/API/glib/JSCCallbackFunction.cpp
M Source/JavaScriptCore/API/glib/JSCClass.cpp
M Source/JavaScriptCore/API/glib/JSCContext.cpp
M Source/JavaScriptCore/API/glib/JSCException.cpp
M Source/JavaScriptCore/API/glib/JSCOptions.cpp
M Source/JavaScriptCore/API/glib/JSCValue.cpp
M Source/JavaScriptCore/API/glib/JSCWeakValue.cpp
M Source/JavaScriptCore/CMakeLists.txt
M Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorServer.cpp
M Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp
Log Message:
-----------
[GTK][WPE][JSCOnly] Enable -Wunsafe-buffer-usage for the JavaScriptCore target
https://bugs.webkit.org/show_bug.cgi?id=282815
Reviewed by Justin Michaud.
Enable additional bounds safety checks from -Wunsafe-buffer-usage for
the JavaScriptCore target for the GTK, WPE, and JSCOnly ports. Add a
few needed WTF_ALLOW_UNSAFE_BUFFER_USAGE_{BEGIN,END} suppressions, to
be addressed later on.
* Source/JavaScriptCore/API/glib/JSCCallbackFunction.cpp:
* Source/JavaScriptCore/API/glib/JSCClass.cpp:
(getPropertyNames):
(jsc_class_add_constructorv):
(jsc_class_add_methodv):
* Source/JavaScriptCore/API/glib/JSCContext.cpp:
(jscContextGArrayToJSArray):
(jscContextGValueToJSValue):
* Source/JavaScriptCore/API/glib/JSCException.cpp:
(jsc_exception_report):
* Source/JavaScriptCore/API/glib/JSCOptions.cpp:
(jsc_options_get_option_group):
* Source/JavaScriptCore/API/glib/JSCValue.cpp:
(jsc_value_new_array):
(jsc_value_new_array_from_strv):
(jsc_value_object_enumerate_properties):
(jscValueCallFunction):
(jsc_value_object_invoke_methodv):
(jsc_value_new_functionv):
(jsc_value_function_callv):
(jsc_value_constructor_callv):
(jsc_value_typed_array_get_data):
* Source/JavaScriptCore/API/glib/JSCWeakValue.cpp:
* Source/JavaScriptCore/CMakeLists.txt:
* Source/JavaScriptCore/inspector/remote/glib/RemoteInspectorServer.cpp:
(Inspector::processSessionCapabilities):
* Source/JavaScriptCore/runtime/JSCBytecodeCacheVersion.cpp:
(JSC::computeJSCBytecodeCacheVersion):
Canonical link: https://commits.webkit.org/286339@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes