函数逻辑报告 |
Source Code:lib\string.c |
Create Date:2022-07-27 06:59:08 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
函数原型:ssize_t strscpy(char *dest, const char *src, size_t count)
返回类型:ssize_t
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | dest | |
| const char * | src | |
| size_t | count |
| 184 | res等于0 |
| 186 | 如果count恒等于0或WARN_ON_ONCE(count > INT_MAX)则返回:负E2BIG |
| 208 | c等于read_word_at_a_time(src + res) |
| 209 | 如果判断为零则 |
| 210 | data等于prep_zero_mask(c, data, & constants) |
| 211 | data等于create_zero_mask(data) |
| 212 | *dest加res的和等于c按位与The mask we created is directly usable as a bytemask (data) |
| 236 | 返回:负E2BIG |
| 名称 | 描述 |
|---|---|
| strscpy_pad | strscpy_pad() - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The |
| wq_worker_comm | sed to show worker information through /proc/PID/{comm,stat,status} |
| cgroup_file_name | |
| init_cgroup_root | |
| gdbstub_state | |
| kdb_getstr | kdb_getstr* Print the prompt string and read a command from the* input device.* Parameters:* buffer Address of buffer to receive command* bufsize Size of buffer in bytes* prompt Pointer to string to use as prompt string* Returns: |
| kallsyms_symbol_complete | kallsyms_symbol_complete* Parameters:* prefix_name prefix of a symbol name to lookup* max_len maximum length that can be returned* Returns:* Number of symbols which match the given prefix |
| kallsyms_symbol_next | kallsyms_symbol_next* Parameters:* prefix_name prefix of a symbol name to lookup* flag 0 means search from the head, 1 means continue search.* buf_size maximum length that can be written to prefix_name* buffer* Returns: |
| seccomp_names_from_actions_logged | |
| trace_event_raw_event_synth | |
| __update_field_vars | |
| sysctl_cpy_dir | |
| ____bpf_sysctl_get_name | |
| process_one_work | process_one_work - process single work*@worker: self*@work: work to process* Process @work |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |