Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\kasan\report.c Create Date:2022-07-28 15:53:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__kasan_report

Proto:void __kasan_report(unsigned long addr, size_t size, bool is_write, unsigned long ip)

Type:void

Parameter:

TypeParameterName
unsigned longaddr
size_tsize
boolis_write
unsigned longip
481  If Value is more likely to compile time(!report_enabled()) Then Return
484  disable_trace_on_warning()
486  tagged_addr = addr
487  untagged_addr = reset_tag(tagged_addr)
489  access_addr = tagged_addr
490  If addr_has_shadow(untagged_addr) Then first_bad_addr = find_first_bad_addr(tagged_addr, size)
492  Else first_bad_addr = untagged_addr
494  access_size = size
495  is_write = is_write
496  ip = ip
498  start_report( & flags)
500  print_error_description( & info)
501  If addr_has_shadow(untagged_addr) Then print_tags(get_tag(tagged_addr), first_bad_addr)
503  pr_err("\n")
505  If addr_has_shadow(untagged_addr) Then
506  print_address_description(untagged_addr, get_tag(tagged_addr))
507  pr_err("\n")
508  print_shadow_for_address(first_bad_addr)
509  Else
510  dump_stack()
513  end_report( & flags)
Caller
NameDescribe
kasan_report