函数逻辑报告 |
Source Code:lib\dynamic_debug.c |
Create Date:2022-07-27 08:14:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Parse words[] as a ddebug query specification, which is a series* of (keyword, value) pairs chosen from these possibilities:* func <function-name>* file <full-pathname>* file <base-filename>* module <module-name>* format
函数原型:static int ddebug_parse_query(char *words[], int nwords, struct ddebug_query *query, const char *modname)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
char * | words | |
int | nwords | |
struct ddebug_query * | query | |
const char * | modname |
324 | rc等于0 |
327 | 如果nwords取模2不等于0则 |
345 | string_unescape_inplace(words[i + 1], UNESCAPE_SPACE | UNESCAPE_OCTAL | UNESCAPE_SPECIAL) |
352 | 如果first_lineno或last_lineno则 |
358 | 如果Parse a single line number. Note that the empty string ""* is treated as a special case and converted to zero, which* is later treated as a "don't care" value.小于0则返回:负EINVAL |
360 | 如果last则 |
362 | 如果Parse a single line number. Note that the empty string ""* is treated as a special case and converted to zero, which* is later treated as a "don't care" value.小于0则返回:负EINVAL |
366 | 如果last_lineno恒等于0则last_lineno等于UINT_MAX |
369 | 如果last_lineno小于first_lineno则 |
370 | 打印错误信息("last-line:%d < 1st-line:%d\n", last_lineno, first_lineno) |
373 | 返回:负EINVAL |
375 | 否则 |
376 | last_lineno等于first_lineno |
378 | 否则 |
385 | vpr_info_dq(query, "parsed") |
386 | 返回:0 |
名称 | 描述 |
---|---|
ddebug_exec_query |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |