Function report |
Source Code:mm\kasan\tags.c |
Create Date:2022-07-28 15:55:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_memory_region
Proto:bool check_memory_region(unsigned long addr, size_t size, bool write, unsigned long ret_ip)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
size_t | size | |
bool | write | |
unsigned long | ret_ip |
86 | If Value for the false possibility is greater at compile time(size == 0) Then Return true |
108 | If tag == ative kernel pointers tag Then Return true |
111 | untagged_addr = reset_tag((constvoid * )addr) |
114 | kasan_report(addr, size, write, ret_ip) |
115 | Return false |
118 | shadow_last = kasan_mem_to_shadow(untagged_addr + size - 1) |
119 | When shadow <= shadow_last cycle |
126 | Return true |
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 |