Function report |
Source Code:mm\usercopy.c |
Create Date:2022-07-28 16:35:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_bogus_address
Proto:static inline void check_bogus_address(const unsigned long ptr, unsigned long n, bool to_user)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const unsigned long | ptr | |
| unsigned long | n | |
| bool | to_user |
| 155 | If ZERO_OR_NULL_PTR(ptr) Then usercopy_abort("null address", NULL, to_user, ptr, n) |
| 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 |