dart-sdk/runtime
Ryan Macnak a8fe399c79 [vm] Stricter checks when sending isolate messages between groups.
- Check against sending arbitrary classes via types.
 - Stop allowing any object from dart:core, dart:collection, dart:typed_data (effectively reverts 807eacae30).

`SendPort.send` does not require such objects are sendable, and there is no guarantee the receiving isolate can represent them.

TEST=ci
Bug: https://github.com/dart-lang/sdk/issues/50243
Change-Id: I7e9b0e9d83080d44a98b257cd8f2a58da5443a87
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/264725
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2022-10-28 19:18:51 +00:00
..
bin [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
docs [vm/inliner] Tweak inlining heuristic, improve List.of inlining. 2022-08-15 21:14:36 +00:00
include [vm] Rename Dart_NotifyDetach to Dart_NotifyDestroyed. 2022-10-17 18:23:59 +00:00
lib [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
observatory [vm, service] Include Smis in heap snapshots. 2022-10-26 16:04:29 +00:00
observatory_2 [vm, service] Include Smis in heap snapshots. 2022-10-26 16:04:29 +00:00
platform [vm, gc] Extend alignment helpers to work with alignment offsets. 2022-10-06 00:50:45 +00:00
tests [tests] Migrate away from native 2022-10-28 09:16:40 +00:00
third_party [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
tools [graphexplorer] Use owned size instead of retained size for groups. 2022-10-28 18:03:30 +00:00
vm [vm] Stricter checks when sending isolate messages between groups. 2022-10-28 19:18:51 +00:00
.clang-tidy
.gitignore
BUILD.gn [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
codereview.settings
configs.gni [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
CPPLINT.cfg
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py [python3] Migrate PRESUBMIT.py files 2021-08-16 08:29:54 +00:00
runtime_args.gni [VM] error: ‘mallinfo mallinfo()’ is deprecated 2021-12-08 00:25:10 +00:00