You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This has to do with poisoning and unpoisoning of the stack when doing FFI calls in which parts of the memory of the stack is sometimes Dart stack and sometimes C stack (see this discussion). The cleanest solution would be to call the MSAN unpoison hooks from the FFI transition/pointer code when the VM is built with MSAN.
Properly running msan on this test would require us to emit
msan_unpoison and msan_poison calls in the ffi trampolines to mark
explicitly what we are doing with the stack during ffi calls.
Issue: #42314
Also, this CL unifies the two status files a bit more.
Change-Id: I3a234b9c6dc430883a2d224b9ed3d7d48f4f678a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151399
Reviewed-by: Tess Strickland <sstrickl@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
- Mark the outgoing arguments stack area as initialized.
- Mark the trampoline's incoming parameter slots as initialized in case they are used as local handles.
- Mark the outgoing register arguments as initialized.
TEST=msan
Bug: #42314
Bug: #49298
Bug: #49957
Change-Id: Ifa978e1b905a424ec9f64b89879cea6e82f70d12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/259102
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8877698707636655312/+/steps/test_results/0/logs/new_test_failures__logs_/0
Cause: https://dart-review.googlesource.com/c/sdk/+/145591
The text was updated successfully, but these errors were encountered: