函数逻辑报告 |
Source Code:lib\string_helpers.c |
Create Date:2022-07-27 07:23:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:string_escape_mem - quote characters in the given memory buffer*@src: source buffer (unescaped)*@isz: source buffer size*@dst: destination buffer (escaped)*@osz: destination buffer size*@flags: combination of the flags*@only: NULL-terminated string
函数原型:int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, unsigned int flags, const char *only)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | src | |
size_t | isz | |
char * | dst | |
size_t | osz | |
unsigned int | flags | |
const char * | only |
522 | 如果flags按位与ESCAPE_SPACE且escape_space(c, & p, end)则继续下一循环 |
525 | 如果flags按位与ESCAPE_SPECIAL且escape_special(c, & p, end)则继续下一循环 |
528 | 如果flags按位与ESCAPE_NULL且escape_null(c, & p, end)则继续下一循环 |
532 | 如果flags按位与ESCAPE_OCTAL且escape_octal(c, & p, end)则继续下一循环 |
535 | 如果flags按位与ESCAPE_HEX且escape_hex(c, & p, end)则继续下一循环 |
539 | escape_passthrough(c, & p, end) |
名称 | 描述 |
---|---|
kstrdup_quotable | Return an allocated string that has been escaped of special characters* and double quotes, making it safe to log in quotes. |
test_string_escape_overflow | |
test_string_escape | |
escaped_string |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |