函数逻辑报告 |
Source Code:lib\vsprintf.c |
Create Date:2022-07-27 07:09:21 |
| Last Modify:2022-05-21 09:47:42 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:restricted_pointer
函数原型:static __attribute__((__noinline__)) char *restricted_pointer(char *buf, char *end, const void *ptr, struct printf_spec spec)
返回类型:char
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | buf | |
| char * | end | |
| const void * | ptr | |
| struct printf_spec | spec |
| 820 | 当:kptr_restrict恒等于0 |
| 823 | 当:kptr_restrict恒等于1 |
| 831 | 如果 width of output field 恒等于负1则 width of output field 等于2乘ptr的长度 |
| 845 | cred等于current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
| 846 | 如果非has_capability_noaudit(当前进程, Allow configuring the kernel's syslog (printk behaviour) )或非uid_eq(有效uid, 进程uid)或非gid_eq(有效gid, 进程gid)则ptr = NULL |
| 850 | 退出 |
| 852 | 当:kptr_restrict恒等于2 |
| 853 | 默认 |
| 859 | 返回:pointer_string(buf, end, ptr, spec) |
| 名称 | 描述 |
|---|---|
| pointer | Show a '%p' thing. A kernel extension is that the '%p' is followed* by an extra set of alphanumeric characters that are extended format* specifiers.* Please update scripts/checkpatch.pl when adding/removing conversion* characters |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |