diff options
| author | Andrey Konovalov <[email protected]> | 2023-12-21 21:04:45 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-12-29 11:58:44 -0800 |
| commit | c20e3feadd4505c46a87dcabef5b129a97992466 (patch) | |
| tree | aad626e0a8180379345df8273d9772c58219d5c7 /tools/perf/scripts/python | |
| parent | 5cb6674b694b84803cbee8bfccaa2bfdfeb6eae4 (diff) | |
kasan: improve kasan_non_canonical_hook
Make kasan_non_canonical_hook to be more sure in its report (i.e. say
"probably" instead of "maybe") if the address belongs to the shadow memory
region for kernel addresses.
Also use the kasan_shadow_to_mem helper to calculate the original address.
Also improve the comments in kasan_non_canonical_hook.
Link: https://lkml.kernel.org/r/af94ef3cb26f8c065048b3158d9f20f6102bfaaa.1703188911.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Marco Elver <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions