Function report |
Source Code:mm\usercopy.c |
Create Date:2022-07-28 16:35:45 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_heap_object
Proto:static inline void check_heap_object(const void *ptr, unsigned long n, bool to_user)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | ptr | |
| unsigned long | n | |
| bool | to_user |
| 228 | If Not virt_addr_valid(ptr) Then Return |
| 236 | page = compound_head(kmap_to_page((void * )ptr)) |
| 241 | Else |
| Name | Describe |
|---|---|
| __check_object_size | Validates that the given object is:* - not bogus address* - fully contained by stack (or stack frame, when available)* - fully within SLAB object (or object whitelist area, when available)* - not in kernel text |
| 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 |