diff options
author | Andrey Konovalov <[email protected]> | 2022-03-24 18:12:43 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2022-03-24 19:06:49 -0700 |
commit | 9d7b7dd946924de43021f57a8bee122ff0744d93 (patch) | |
tree | f39a9c9427cc314fc7edf03fd492397bd16d5259 /scripts/gdb/linux/utils.py | |
parent | 0a6e8a07dec75f7b013b70c2df3e69c64edf312f (diff) |
kasan: split out print_report from __kasan_report
Split out the part of __kasan_report() that prints things into
print_report(). One of the subsequent patches makes another error handler
use print_report() as well.
Includes lower-level changes:
- Allow addr_has_metadata() accepting a tagged address.
- Drop the const qualifier from the fields of kasan_access_info to
avoid excessive type casts.
- Change the type of the address argument of __kasan_report() and
end_report() to void * to reduce the number of type casts.
Link: https://lkml.kernel.org/r/9be3ed99dd24b9c4e1c4a848b69a0c6ecefd845e.1646237226.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]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions