函数逻辑报告 |
Source Code:arch\x86\lib\insn.c |
Create Date:2022-07-27 08:24:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:sn_get_immediate() - Get the immediates of instruction*@insn: &struct insn containing instruction* If necessary, first collects the instruction up to and including the* displacement bytes.* Basically, most of immediates are sign-expanded
函数原型:void insn_get_immediate(struct insn *insn)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct insn * | insn |
556 | 如果inat_has_moffset(attr)则 |
559 | 转到:done |
562 | 如果非inat_has_immediate(attr)则转到:done |
567 | 当:inat_immediate_size(attr)恒等于Immediate size |
571 | 当:inat_immediate_size(attr)恒等于INAT_IMM_WORD |
575 | 当:inat_immediate_size(attr)恒等于INAT_IMM_DWORD |
579 | 当:inat_immediate_size(attr)恒等于INAT_IMM_QWORD |
585 | 当:inat_immediate_size(attr)恒等于INAT_IMM_PTR |
586 | 如果非Decode ptr16:16/32(Ap) 则转到:err_out |
588 | 退出 |
589 | 当:inat_immediate_size(attr)恒等于INAT_IMM_VWORD32 |
590 | 如果非Decode imm v32(Iz). Return 0 if failed 则转到:err_out |
592 | 退出 |
593 | 当:inat_immediate_size(attr)恒等于INAT_IMM_VWORD |
594 | 如果非Decode imm v64(Iv/Ov), Return 0 if failed 则转到:err_out |
596 | 退出 |
597 | 默认 |
599 | 转到:err_out |
601 | 如果inat_has_second_immediate(attr)则 |
605 | done : |
608 | err_out : |
609 | 返回 |
名称 | 描述 |
---|---|
insn_get_length | sn_get_length() - Get the length of instruction*@insn: &struct insn containing instruction* If necessary, first collects the instruction up to and including the* immediates bytes. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |