Function report |
Source Code:arch\x86\kernel\unwind_frame.c |
Create Date:2022-07-28 08:51:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:update_stack_state
Proto:static bool update_stack_state(struct unwind_state *state, unsigned long *next_bp)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct unwind_state * | state | |
| unsigned long * | next_bp |
| 195 | info = stack_info |
| 201 | If regs Then prev_frame_end = regs + size of regs |
| 203 | Else prev_frame_end = bp + FRAME_HEADER_SIZE |
| 207 | regs = This determines if the frame pointer actually contains an encoded pointer to* pt_regs on the stack. See ENCODE_FRAME_POINTER. |
| 208 | If regs Then |
| 212 | Else |
| 214 | len = FRAME_HEADER_SIZE |
| 225 | If get_stack_info(next_sp, task, info, & stack_mask) Then Return false |
| 230 | If orig_sp && type == prev_type && frame < prev_frame_end Then Return false |
| 235 | If regs Then |
| 238 | Else |
| 244 | If regs && ser_mode(regs) determines whether a register set came from user* mode Then ip = 0 |
| 246 | Else |
| 257 | Return true |
| Name | Describe |
|---|---|
| unwind_next_frame | |
| __unwind_start |
| 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 |