Files
linux/include/linux
Alexander Potapenko 922621a682 instrumented.h: add instrument_memcpy_before, instrument_memcpy_after
Bug detection tools based on compiler instrumentation may miss memory
accesses in custom memcpy implementations (such as copy_mc_to_kernel). 
Provide instrumentation hooks that tell KASAN, KCSAN, and KMSAN about such
accesses.

Link: https://lore.kernel.org/all/3b7dbd88-0861-4638-b2d2-911c97a4cadf@I-love.SAKURA.ne.jp/
Link: https://lkml.kernel.org/r/20240320101851.2589698-2-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Reviewed-by: Marco Elver <elver@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-04-25 21:07:02 -07:00
..
2024-03-07 21:52:03 +00:00
2023-10-24 13:08:14 -07:00
2024-01-18 15:21:00 -08:00
2023-09-18 09:28:22 +01:00
2023-08-23 08:21:37 +01:00
2023-09-11 08:13:18 +00:00
2023-12-20 19:26:32 -05:00
2023-10-11 08:46:01 -07:00
2024-03-27 13:17:15 +01:00
2024-03-11 15:37:23 -07:00
2023-12-02 22:24:36 +00:00
2023-12-15 16:25:55 -08:00
2024-03-07 20:37:04 +00:00
2024-02-20 14:22:55 -05:00
2024-02-20 14:22:51 -05:00
2024-03-12 23:08:29 -07:00
2024-02-25 12:05:08 +01:00
2023-12-03 10:28:17 -08:00
2024-01-08 09:36:55 +09:00
2024-03-07 09:36:08 +01:00
2024-02-28 19:36:39 -08:00
2024-03-10 14:38:04 -07:00
2024-02-15 23:43:48 -05:00
2024-02-14 11:14:40 +01:00
2023-12-20 19:26:31 -05:00
2023-12-20 19:26:31 -05:00
2023-10-11 10:11:54 -07:00
2024-02-17 16:20:41 +01:00
2023-10-18 14:43:21 -07:00
2023-10-04 10:41:57 -07:00
2023-12-20 19:26:30 -05:00
2023-10-16 12:44:06 -04:00
2023-10-16 12:44:06 -04:00
2023-08-18 10:18:59 -07:00
2023-10-18 10:01:33 +02:00
2024-03-13 18:38:13 -04:00
2024-03-06 13:04:18 -08:00
2023-11-15 22:41:27 -05:00
2024-03-01 08:44:54 +00:00
2024-03-09 09:14:51 -05:00
2024-03-09 09:14:50 -05:00
2023-12-20 19:26:30 -05:00
2023-08-18 10:12:25 -07:00
2024-03-26 11:07:20 -07:00
2023-11-15 10:15:40 +01:00
2023-12-20 19:26:31 -05:00
2024-03-13 12:53:53 -07:00
2024-03-13 12:53:53 -07:00
2023-12-20 19:26:31 -05:00
2023-12-20 19:26:31 -05:00
2024-01-09 15:00:09 +01:00
2023-12-20 19:26:30 -05:00
2023-12-27 11:49:56 -05:00
2023-08-12 09:18:47 -07:00
2023-10-06 11:01:23 +02:00
2023-12-20 19:26:32 -05:00
2023-07-15 11:34:49 -07:00
2023-12-27 11:49:56 -05:00
2023-12-20 19:26:31 -05:00
2024-03-08 12:05:10 +01:00
2023-12-20 19:26:32 -05:00
2023-12-20 19:26:32 -05:00
2023-12-20 19:26:32 -05:00
2024-02-15 12:17:28 -05:00
2024-03-03 15:06:58 -08:00
2023-12-20 19:26:31 -05:00
2024-01-21 18:09:30 +00:00
2023-10-18 14:43:21 -07:00
2023-08-21 13:37:26 -07:00
2024-02-21 16:00:03 -08:00
2023-12-28 05:02:42 -08:00
2024-02-20 13:36:34 +01:00
2024-03-04 20:46:18 -08:00
2024-03-04 17:25:09 +01:00
2023-12-20 19:26:31 -05:00
2023-08-07 17:55:54 +00:00
2023-08-11 21:12:47 +02:00
2023-12-08 12:02:37 +01:00
2024-02-18 18:59:59 +01:00
2023-12-20 19:26:30 -05:00
2024-03-06 10:52:12 +01:00
2023-08-24 13:27:47 -05:00
2024-02-09 12:07:48 +00:00