Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 437e8175e1c38180b9fa1f82fc86f72f578f9d76
https://github.com/WebKit/WebKit/commit/437e8175e1c38180b9fa1f82fc86f72f578f9d76
Author: Dan Hecht <[email protected]>
Date: 2025-11-13 (Thu, 13 Nov 2025)
Changed paths:
M Source/JavaScriptCore/wasm/WasmConstExprGenerator.cpp
M Source/JavaScriptCore/wasm/WasmFunctionParser.h
M Source/JavaScriptCore/wasm/WasmNameSectionParser.cpp
M Source/JavaScriptCore/wasm/WasmParser.h
M Source/JavaScriptCore/wasm/WasmSectionParser.cpp
M Source/JavaScriptCore/wasm/WasmSourceMappingURLSectionParser.cpp
Log Message:
-----------
[JSC] Wasm: differentiate OOM from syntax/semantic errors
https://bugs.webkit.org/show_bug.cgi?id=302427
rdar://164587681
Reviewed by Yusuke Suzuki.
Introduce WASM_ALLOCATOR_FAIL_IF to differentiate OOM failures from
wasm bytecode syntax and semantic failures, which will continue to use
WASM_PARSER_FAIL_IF and WASM_VALIDATOR_FAIL_IF respectively.
Later, syntax and semantic checks can potentially be elided after the
bytecode has been parsed and validated, but OOM checks should remain
for all parser invocations.
Canonical link: https://commits.webkit.org/302987@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications