函数逻辑报告 |
Source Code:arch\x86\kernel\alternative.c |
Create Date:2022-07-27 08:45:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:xt_poke_bp_batch() -- update instructions on live kernel on SMP*@tp: vector of instructions to patch*@nr_entries: number of entries in the vector* Modify multi-byte instruction by using int3 breakpoint on SMP
函数原型:void text_poke_bp_batch(struct text_poke_loc *tp, unsigned int nr_entries)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct text_poke_loc * | tp | |
unsigned int | nr_entries |
1050 | int3等于INT3_INSN_OPCODE |
1054 | lockdep_assert_held( & Kernel text modification mutex, used for code patching. Users of this lock* can sleep.) |
1057 | nr_entries等于nr_entries |
1063 | smp_wmb() |
1076 | 以i小于nr_entries循环 |
1085 | 如果do_sync则 |
1098 | 以i小于nr_entries循环 |
1099 | 如果text[0]恒等于INT3_INSN_OPCODE则继续下一循环 |
1103 | do_sync自加 |
1113 | vec = NULL |
1114 | nr_entries等于0 |
名称 | 描述 |
---|---|
text_poke_bp | xt_poke_bp() -- update instructions on live kernel on SMP*@addr: address to patch*@opcode: opcode of new instruction*@len: length to copy*@handler: address to jump to when the temporary breakpoint is hit* Update a single instruction with the vector in the |
arch_jump_label_transform_apply |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |