函数逻辑报告 |
Source Code:fs\exec.c |
Create Date:2022-07-29 10:33:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:ycle the list of binary formats handler, until one recognizes the image
函数原型:int search_binary_handler(struct linux_binprm *bprm)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct linux_binprm * | bprm |
1637 | need_retry等于IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_MODULES) |
1642 | 如果recursion_depth大于5则返回:负ELOOP |
1645 | retval等于security_bprm_check(bprm) |
1650 | retry : |
1651 | read_lock( & binfmt_lock) |
1653 | 如果非判断模块是否处于活动状态则继续下一循环 |
1655 | read_unlock( & binfmt_lock) |
1657 | recursion_depth自加 |
1658 | retval等于load_binary(bprm) |
1659 | recursion_depth自减 |
1661 | read_lock( & binfmt_lock) |
1662 | put_binfmt(fmt) |
1665 | read_unlock( & binfmt_lock) |
1667 | 返回:retval |
1670 | read_unlock( & binfmt_lock) |
1671 | 返回:retval |
1674 | read_unlock( & binfmt_lock) |
1676 | 如果need_retry则 |
1680 | 如果request_module("binfmt-%04x", * (ushort * )(buf + 2))小于0则返回:retval |
1682 | need_retry = false |
1683 | 转到:retry |
1686 | 返回:retval |
名称 | 描述 |
---|---|
exec_binprm | |
load_em86 | |
load_misc_binary | he loader itself |
load_script |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |