函数逻辑报告 |
Source Code:arch\x86\kernel\uprobes.c |
Create Date:2022-07-27 09:46:44 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:If arch_uprobe->insn doesn't use rip-relative addressing, return* immediately. Otherwise, rewrite the instruction so that it accesses* its memory operand indirectly through a scratch register. Set* defparam->fixups accordingly
函数原型:static void riprel_analyze(struct arch_uprobe *auprobe, struct insn *insn)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct arch_uprobe * | auprobe | |
| struct insn * | insn |
| 348 | 如果nbytes则 |
| 351 | cursor与等于0xfe |
| 357 | 如果nbytes大于等于3则 |
| 368 | cursor等于insn加insn_offset_vex_prefix(insn)加1 |
| 369 | cursor或等于0x60 |
| 413 | reg2等于0xff |
| 431 | reg2等于6 |
| 432 | fixups或等于UPROBE_FIX_RIP_SI |
| 434 | reg2等于7 |
| 435 | fixups或等于UPROBE_FIX_RIP_DI |
| 437 | 否则 |
| 438 | reg2等于3 |
| 439 | fixups或等于UPROBE_FIX_RIP_BX |
| 446 | cursor等于insn加insn_offset_modrm(insn) |
| 名称 | 描述 |
|---|---|
| arch_uprobe_analyze_insn | arch_uprobe_analyze_insn - instruction analysis including validity and fixups.*@auprobe: the probepoint information.*@mm: the probed address space.*@addr: virtual address at which to install the probepoint* Return 0 on success or a -ve number on error. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |