Daco Harkes
2e1a56f264
[vm/msan] Fix MemCopyInstr instrumentation
...
The MemoryCopyInstr on x64 in MSAN mode when forward copying was
unpoisoning at the wrong pointer. The `rep mov` changes the
destination register.
Now we unpoison _before_ the `rep mov` if it's a forward copy, and
_after_ the `rep mov` for backwards copies. This way the destination
register contains the start of the memory in both cases.
TEST=tests/ffi/msan_test.dart
b/266213262
Change-Id: I37688802e63797f650a8242b6ba8b884813ebbd0
Cq-Include-Trybots: luci.dart.try:vm-msan-linux-release-x64-try,vm-aot-msan-linux-release-x64-try,vm-linux-debug-ia32-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/361420
Reviewed-by: Tess Strickland <sstrickl@google.com >
Commit-Queue: Daco Harkes <dacoharkes@google.com >
2024-04-08 10:40:23 +00:00
..
2024-04-08 10:40:23 +00:00
2023-10-11 18:41:57 +00:00
2023-04-12 01:11:05 +00:00
2024-04-05 19:38:12 +00:00
2024-04-05 19:38:12 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-01-16 18:41:23 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 20:32:29 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-21 19:50:46 +00:00
2023-04-12 01:11:05 +00:00
2023-10-31 17:11:51 +00:00
2023-10-31 17:11:51 +00:00
2024-04-05 19:38:12 +00:00
2024-04-05 19:38:12 +00:00
2024-02-29 11:18:51 +00:00
2024-03-13 17:08:39 +00:00
2024-01-31 21:43:27 +00:00
2024-01-31 21:43:27 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2024-01-11 23:54:59 +00:00
2024-03-12 08:29:36 +00:00
2024-02-23 04:13:39 +00:00
2023-07-14 01:31:38 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 20:32:29 +00:00
2024-02-09 14:10:49 +00:00
2023-05-02 07:32:30 +00:00
2023-01-25 14:08:27 +00:00
2023-11-13 14:25:28 +00:00
2023-06-28 13:06:51 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-12-05 17:25:39 +00:00
2023-09-05 21:47:59 +00:00
2024-02-09 14:10:49 +00:00
2023-01-06 07:48:22 +00:00
2024-02-21 20:15:15 +00:00
2024-02-21 20:15:15 +00:00
2024-02-21 20:15:15 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2023-07-04 13:10:42 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2024-03-12 08:29:36 +00:00
2024-01-11 23:54:59 +00:00
2024-03-12 08:29:36 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2024-04-05 19:38:12 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-02-09 14:10:49 +00:00
2023-04-18 20:56:00 +00:00
2024-02-09 14:10:49 +00:00
2024-02-29 11:18:51 +00:00
2024-01-31 19:32:09 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-01-31 21:43:27 +00:00
2023-04-12 01:11:05 +00:00
2024-04-05 19:38:12 +00:00
2023-01-16 15:12:38 +00:00
2024-03-21 19:50:46 +00:00
2024-04-05 19:38:12 +00:00
2023-01-16 15:12:38 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-03-12 08:29:36 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-09-05 22:15:58 +00:00
2024-02-09 14:10:49 +00:00
2023-11-17 19:02:33 +00:00
2024-02-21 19:31:58 +00:00
2023-04-12 01:11:05 +00:00
2023-09-05 22:15:58 +00:00
2023-06-14 01:38:34 +00:00
2024-02-09 14:10:49 +00:00
2023-06-19 00:25:12 +00:00
2023-04-12 01:11:05 +00:00
2024-02-21 18:27:41 +00:00
2023-09-05 22:15:58 +00:00
2023-04-12 20:32:29 +00:00
2023-07-11 15:13:58 +00:00
2023-04-12 01:11:05 +00:00
2023-10-31 17:11:51 +00:00
2024-03-21 19:50:46 +00:00
2023-08-11 16:28:46 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-01-31 19:24:29 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-01-25 08:23:51 +00:00
2023-12-11 17:49:58 +00:00
2024-01-26 20:49:09 +00:00
2023-04-12 20:32:29 +00:00
2024-01-31 21:43:27 +00:00
2024-01-31 21:43:27 +00:00
2023-06-08 13:17:28 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-03-12 08:29:36 +00:00
2023-06-09 08:29:30 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-07-04 13:10:42 +00:00
2023-04-12 20:32:29 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 20:32:29 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2023-04-12 01:11:05 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-01-26 22:08:37 +00:00
2023-04-12 01:11:05 +00:00
2024-02-09 14:10:49 +00:00
2024-01-26 18:21:14 +00:00
2024-03-12 08:29:36 +00:00
2024-03-12 08:29:36 +00:00
2023-04-12 01:11:05 +00:00
2024-01-11 22:24:44 +00:00
2023-04-12 01:11:05 +00:00
2024-03-21 19:50:46 +00:00
2024-03-21 19:50:46 +00:00