Function report |
Source Code:mm\kasan\generic.c |
Create Date:2022-07-28 15:53:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memory_is_poisoned_n
Proto:static __always_inline bool memory_is_poisoned_n(unsigned long addr, size_t size)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long | addr | |
size_t | size |
135 | ret = memory_is_nonzero(kasan_mem_to_shadow((void * )addr), kasan_mem_to_shadow((void * )addr + size - 1) + 1) |
140 | last_shadow = kasan_mem_to_shadow((void * )last_byte) |
142 | If Value for the false possibility is greater at compile time(ret != (unsignedlong)last_shadow || ((long)(last_byte & KASAN_SHADOW_MASK) >= * last_shadow)) Then Return true |
146 | Return false |
Name | Describe |
---|---|
memory_is_poisoned |
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 |