)]}'
{
  "commit": "0310e41f2c9e86c5807ff98367f450bd13a080de",
  "tree": "cd87a185af0a15a41c3d71ea3ce5b1aaa200a9d0",
  "parents": [
    "3f3e4264e262dcd316026200c4c5ff1e3f916c13"
  ],
  "author": {
    "name": "Alexander Markov",
    "email": "alexmarkov@google.com",
    "time": "Fri Dec 01 14:05:59 2023 +0000"
  },
  "committer": {
    "name": "Commit Queue",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Dec 01 14:05:59 2023 +0000"
  },
  "message": "[vm/ffi] Verify NativeFunctionPointer.asFunction type arguments\n\nProtect VM compiler code from crashing when incorrect\ntype arguments are passed to FFI _asFunctionInternal.\n\nAlso, improve front-end FFI checks to reject Function\nas a Dart type corresponding to a NativeFunction\u003c...\u003e\n(it should be an actual function type).\n\nTEST\u003dtests/ffi/vmspecific_static_checks_test.dart\nFixes https://github.com/dart-lang/sdk/issues/52730\n\nChange-Id: I02c012bb76d5c94f551da2c725a476b68c0f9db4\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/339109\nReviewed-by: Daco Harkes \u003cdacoharkes@google.com\u003e\nCommit-Queue: Alexander Markov \u003calexmarkov@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d3bf8d0052edbd1703e2903add1f3124f978cdc6",
      "old_mode": 33188,
      "old_path": "pkg/vm/lib/transformations/ffi/common.dart",
      "new_id": "391beb3a9876f552f77446e7adf86d12b6181aff",
      "new_mode": 33188,
      "new_path": "pkg/vm/lib/transformations/ffi/common.dart"
    },
    {
      "type": "modify",
      "old_id": "db26aaaaaea1e8dc838d1c6755dc33a000305c03",
      "old_mode": 33188,
      "old_path": "runtime/vm/compiler/frontend/base_flow_graph_builder.cc",
      "new_id": "59c2d6835efac1e712efe3bf2e4284b7e84a6770",
      "new_mode": 33188,
      "new_path": "runtime/vm/compiler/frontend/base_flow_graph_builder.cc"
    },
    {
      "type": "modify",
      "old_id": "e65ece1be0106fc7d4ceefd37f4243ea705b3350",
      "old_mode": 33188,
      "old_path": "tests/ffi/vmspecific_static_checks_test.dart",
      "new_id": "95543938d179a807f8807ce285ec38d2be25904f",
      "new_mode": 33188,
      "new_path": "tests/ffi/vmspecific_static_checks_test.dart"
    }
  ]
}
