Function report |
Source Code:mm\usercopy.c |
Create Date:2022-07-28 16:35:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Checks if a given pointer and length is contained by the current* stack frame (if possible)
Proto:static noinline int check_stack_object(const void *obj, unsigned long len)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const void * | obj | |
| unsigned long | len |
| 37 | stackend = stack + THREAD_SIZE |
| 53 | ret = Walks up the stack frames to make sure that the specified object is* entirely contained by a single stack frame |
| 57 | Return GOOD_STACK |
| 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 |