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-27 13:17:15 +01:00
2024-03-11 15:37:23 -07:00
2024-03-12 23:08:29 -07:00
2024-03-10 14:38:04 -07:00
2024-03-13 18:38:13 -04:00
2024-03-09 09:14:51 -05:00
2024-03-09 09:14:50 -05:00
2024-03-26 11:07:20 -07:00
2024-03-13 12:53:53 -07:00
2024-03-13 12:53:53 -07:00