函数逻辑报告 |
Source Code:fs\binfmt_flat.c |
Create Date:2022-07-29 11:04:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:reate_flat_tables() parses the env- and arg-strings in new user* memory and creates the pointer tables from them, and puts their* addresses on the "stack", recording the new stack pointer value.
函数原型:static int create_flat_tables(struct linux_binprm *bprm, unsigned long arg_start)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct linux_binprm * | bprm | |
unsigned long | arg_start |
130 | sp等于start_stack |
134 | 如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK)则sp减等于2 |
136 | sp减等于1 |
138 | start_stack等于sp按位与负User data (stack) also needs to be aligned.* Here we can be a bit looser than the data sections since this* needs to only meet arch ABI requirements. |
139 | sp等于start_stack |
152 | __put_user - Write a simple value into user space, with less checking((unsignedlong)p, sp++) |
163 | __put_user - Write a simple value into user space, with less checking((unsignedlong)p, sp++) |
172 | 返回:0 |
名称 | 描述 |
---|---|
load_flat_binary | These are the functions used to load flat style executables and shared* libraries. There is no binary dependent code anywhere else. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |