Function report | 
Source Code:arch\x86\kernel\jump_label.c | 
Create Date:2022-07-28 07:41:21 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__jump_label_set_jump_code
Proto:static void __jump_label_set_jump_code(struct jump_entry *entry, enum jump_label_type type, union jump_code_union *code, int init)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct jump_entry * | entry | |
| enum jump_label_type | type | |
| union jump_code_union * | code | |
| int | init | 
| 43 | const unsigned char default_nop[] = {STATIC_KEY_INIT_NOP} | 
| 48 | jump = 0xe9 | 
| 52 | If init Then | 
| 53 | expect = default_nop | 
| 54 | Else if type == JUMP_LABEL_JMP Then | 
| 56 | Else | 
| 60 | If memcmp((void * )jump_entry_code(entry), expect, JUMP_LABEL_NOP_SIZE) Then bug_at((void * )jump_entry_code(entry), line) | 
| 63 | If type == JUMP_LABEL_NOP Then memcpy(code, ideal_nop, JUMP_LABEL_NOP_SIZE) | 
| Name | Describe | 
|---|---|
| __jump_label_transform | |
| arch_jump_label_transform_queue | 
| 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  |