函数逻辑报告 |
Source Code:security\loadpin\loadpin.c |
Create Date:2022-07-27 21:49:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:report_load
函数原型:static void report_load(const char *origin, struct file *file, char *operation)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const char * | origin | |
| struct file * | file | |
| char * | operation |
| 24 | pathname等于Returns allocated NULL-terminated string containing pathname,* with special characters escaped, able to be safely logged. If* there is an error, the leading character will be "<". |
| 25 | cmdline等于Returns allocated NULL-terminated string containing process* command line, with inter-argument NULLs replaced with spaces,* and other special characters escaped. |
| 27 | 打印注释信息("%s %s obj=%s%s%s pid=%d cmdline=%s%s%s\n", origin, operation, (pathname && pathname[0] != '<') ? "\"" : "", pathname, (pathname && pathname[0] != '<') ? "\"" : "", task_pid_nr(当前进程), cmdline ? "\"" : "", cmdline, cmdline ? "\"" : "") |
| 35 | 释放内存 |
| 36 | 释放内存 |
| 名称 | 描述 |
|---|---|
| loadpin_read_file |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |