函数逻辑报告 |
Source Code:fs\binfmt_flat.c |
Create Date:2022-07-29 11:04:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:These are the functions used to load flat style executables and shared* libraries. There is no binary dependent code anywhere else.
函数原型:static int load_flat_binary(struct linux_binprm *bprm)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct linux_binprm * | bprm |
| 925 | regs等于current_pt_regs() |
| 926 | stack_len等于0 |
| 947 | res等于load_flat_file(bprm, & libinfo, 0, & stack_len) |
| 952 | 以i小于MAX_SHARED_LIBS循环 |
| 953 | 如果非 Has this library been loaded? 则继续下一循环 |
| 955 | 以j小于MAX_SHARED_LIBS循环 |
| 958 | __user乘p等于 Start of data segment |
| 961 | 如果put_user - Write a simple value into user space(val, p)则返回:负EFAULT |
| 968 | set_binfmt( & flat_format) |
| 971 | res等于Finalizes the stack vm_area_struct. The flags and permissions are updated,* the stack is optionally relocated, and some extra space is added. |
| 1008 | FLAT_PLAT_INIT(regs) |
| 1012 | pr_debug("start_thread(regs=0x%p, entry=0x%lx, start_stack=0x%lx)\n", regs, start_addr, start_stack) |
| 1014 | start_thread(regs, start_addr, start_stack) |
| 1016 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |