Function report |
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 activity | Download SCCT | Chinese |
Name:__kasan_report
Proto:void __kasan_report(unsigned long addr, size_t size, bool is_write, unsigned long ip)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long | addr | |
| size_t | size | |
| bool | is_write | |
| unsigned long | ip |
| 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 |
| 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 |
| 507 | pr_err("\n") |
| 509 | Else |
| 510 | dump_stack() |
| 513 | end_report( & flags) |
| Name | Describe |
|---|---|
| kasan_report |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |