函数逻辑报告 |
Source Code:fs\binfmt_misc.c |
Create Date:2022-07-29 11:02:05 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Check if we support the binfmt* if we do, return the node, else NULL* locking is done in load_misc_binary
函数原型:static Node *check_file(struct linux_binprm *bprm)
返回类型:Node
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct linux_binprm * | bprm |
| 92 | p等于strrchr - Find the last occurrence of a character in a string*@s: The string to be searched*@c: The character to search for |
| 102 | 如果非st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则继续下一循环 |
| 113 | s等于buf加 offset of magic |
| 114 | 如果 mask, NULL for exact match 则 |
| 115 | 以j小于 size of magic/mask 循环如果s自加按位异或 magic or filename extension [j]的值按位与 mask, NULL for exact match [j]则 |
| 117 | 退出 |
| 118 | 否则 |
| 119 | 以j小于 size of magic/mask 循环如果s自加按位异或 magic or filename extension [j]则 |
| 121 | 退出 |
| 123 | 如果j恒等于 size of magic/mask 则返回:e |
| 126 | 返回:NULL |
| 名称 | 描述 |
|---|---|
| load_misc_binary | he loader itself |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |