diff options
author | Andrey Konovalov <[email protected]> | 2015-11-05 18:50:55 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-11-05 19:34:48 -0800 |
commit | e91210766341cb356ead7fd39f07493a3d00b80f (patch) | |
tree | 61dbc0295ce72f8df40571cdddde69f3d90e9b58 /tools/perf/scripts/python/Perf-Trace-Util | |
parent | fc5aeeaf593278f07ffa4d97296e27423ecae867 (diff) |
kasan: update reported bug types for not user nor kernel memory accesses
Each access with address lower than
kasan_shadow_to_mem(KASAN_SHADOW_START) is reported as user-memory-access.
This is not always true, the accessed address might not be in user space.
Fix this by reporting such accesses as null-ptr-derefs or
wild-memory-accesses.
There's another reason for this change. For userspace ASan we have a
bunch of systems that analyze error types for the purpose of
classification and deduplication. Sooner of later we will write them to
KASAN as well. Then clearly and explicitly stated error types will bring
value.
Signed-off-by: Andrey Konovalov <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Dmitry Vyukov <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Konstantin Serebryany <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util')
0 files changed, 0 insertions, 0 deletions