[webkit-changes] [WebKit/WebKit] e3ac93: [JSC] Wasm Catch / Try should check FunctionSignature

Yusuke Suzuki noreply at github.com
Tue Jan 7 18:25:49 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e3ac9340710c75031e06252d81390e1327c1d829
      https://github.com/WebKit/WebKit/commit/e3ac9340710c75031e06252d81390e1327c1d829
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    A JSTests/wasm/stress/catch-function-signature.js
    M Source/JavaScriptCore/wasm/WasmFunctionParser.h

  Log Message:
  -----------
  [JSC] Wasm Catch / Try should check FunctionSignature
https://bugs.webkit.org/show_bug.cgi?id=285180
rdar://142081680

Reviewed by Justin Michaud.

Wasm should be robust against non function signature for try / catch.

* JSTests/wasm/stress/catch-function-signature.js: Added.
* Source/JavaScriptCore/wasm/WasmFunctionParser.h:
(JSC::Wasm::FunctionParser<Context>::parseExpression):
(JSC::Wasm::FunctionParser<Context>::parseUnreachableExpression):

Canonical link: https://commits.webkit.org/288575@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list