[webkit-changes] [WebKit/WebKit] 68cb8b: Add validators to the new CoreIPC serialization fo...

Gavin noreply at github.com
Wed Oct 12 10:52:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 68cb8b9381cc102bf6258f81a9f06cb8bd80e8f2
      https://github.com/WebKit/WebKit/commit/68cb8b9381cc102bf6258f81a9f06cb8bd80e8f2
  Author: Gavin Phillips <gavin.p at apple.com>
  Date:   2022-10-12 (Wed, 12 Oct 2022)

  Changed paths:
    M Source/WebKit/Scripts/generate-serializers.py
    M Source/WebKit/Shared/ShareableBitmap.serialization.in
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  Add validators to the new CoreIPC serialization format
https://bugs.webkit.org/show_bug.cgi?id=246407
<rdar://problem/101082457>

Reviewed by Alex Christensen.

Add the ability to declare validators as part of the new serialization
format. These will emit checks as part of GeneratedSerializers.(cpp/mm)

* Source/WebKit/Scripts/generate-serializers.py:
(generate_impl):
(parse_serialized_types):
* Source/WebKit/Shared/ShareableBitmap.serialization.in:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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




More information about the webkit-changes mailing list