函数逻辑报告 |
Source Code:arch\x86\kernel\kprobes\core.c |
Create Date:2022-07-27 09:37:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns non-zero if INSN is boostable.* RIP relative instructions are adjusted at copying time in 64 bits mode
函数原型:int can_boost(struct insn *insn, void *addr)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct insn * | insn | |
void * | addr |
165 | 如果nbytes恒等于2则返回:st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from |
169 | 如果nbytes不等于1则返回:0 |
173 | 如果此条件成立可能性小(为编译器优化)(inat_is_address_size_prefix(attr))则返回:0 |
179 | 当: & == 0x60 |
181 | 返回:opcode不等于0x62 |
182 | 当: & == 0x70 |
183 | 返回:0 |
184 | 当: & == 0x90 |
185 | 返回:opcode不等于0x9a |
186 | 当: & == 0xc0 |
189 | 当: & == 0xd0 |
192 | 当: & == 0xe0 |
195 | 当: & == 0xf0 |
198 | 默认 |
名称 | 描述 |
---|---|
prepare_boost | Prepare reljump right after instruction to boost |
copy_optimized_instructions |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |