Function report |
Source Code:arch\x86\kernel\kprobes\opt.c |
Create Date:2022-07-28 08:39:15 |
Last Modify:2022-05-22 07:44:06 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check whether insn jumps into specified address range
Proto:static int insn_jump_into_range(struct insn *insn, unsigned long start, int len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct insn * | insn | |
unsigned long | start | |
int | len |
208 | target = 0 |
211 | Case bytes[0] == 0xe0 |
212 | Case bytes[0] == 0xe1 |
213 | Case bytes[0] == 0xe2 |
214 | Case bytes[0] == 0xe3 |
215 | Case bytes[0] == 0xe9 |
216 | Case bytes[0] == 0xeb |
217 | Break |
218 | Case bytes[0] == 0x0f |
219 | If (bytes[1] & 0xf0) == 0x80 Then Break |
221 | Return 0 |
222 | Default |
223 | If (bytes[0] & 0xf0) == 0x70 Then Break |
225 | Return 0 |
Name | Describe |
---|---|
can_optimize | Decode whole function to ensure any instructions don't jump into target |
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 |