函数逻辑报告 |
Source Code:kernel\debug\kdb\kdb_main.c |
Create Date:2022-07-27 12:45:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:kdbgetaddrarg - This function is responsible for parsing an* address-expression and returning the value of the expression,* symbol name, and offset to the caller
函数原型:int kdbgetaddrarg(int argc, const char **argv, int *nextarg, unsigned long *value, long *offset, char **name)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
int | argc | count of arguments in argv |
const char ** | argv | argument vector |
int * | nextarg | |
unsigned long * | value | |
long * | offset | |
char ** | name |
499 | off等于0 |
502 | found等于0 |
504 | symbol等于'\0' |
513 | 如果非Check whether the flags of the current command and the permissions* of the kdb console has allow a command to be run.则返回:KDB_NOPERM |
525 | 如果nextarg大于 count of arguments in argv则返回:KDB_ARGCOUNT |
528 | symname等于 argument vector[ * nextarg] |
536 | cp等于strpbrk - Find the first occurrence of a set of characters*@cs: The string to be searched*@ct: The characters to search for |
537 | 如果(cp != NULL)则 |
542 | 如果symname[0]恒等于'$'则 |
546 | 否则如果symname[0]恒等于'%'则 |
554 | 否则 |
556 | 如果found则 |
558 | 否则 |
565 | 如果非found则found等于kdbnearsym - Return the name of the symbol with the nearest address* less than 'addr' |
568 | nextarg自加 |
577 | 如果nextarg大于 count of arguments in argv且symbol恒等于'\0'则返回:0 |
585 | 如果symbol恒等于'\0'则 |
586 | 如果 argument vector[ * nextarg][0]不等于'+'且 argument vector[ * nextarg][0]不等于'-'则 |
591 | 返回:0 |
592 | 否则 |
593 | positive等于 argument vector[ * nextarg][0]恒等于'+' |
594 | nextarg自加 |
602 | 如果nextarg大于 count of arguments in argv且symbol恒等于'\0'则 |
604 | 返回:KDB_INVADDRFMT |
607 | 如果非symbol则 |
608 | cp等于 argument vector[ * nextarg] |
609 | nextarg自加 |
625 | 返回:0 |
名称 | 描述 |
---|---|
kdb_parse | |
kdb_md | |
kdb_mm | kdb_mm - This function implements the 'mm' command.* mm address-expression new-value* Remarks:* mm works on machine words, mmW works on bytes. |
kdb_go | kdb_go - This function implements the 'go' command.* go [address-expression] |
kdb_ef | kdb_ef - This function implements the 'regs' (display exception* frame) command. This command takes an address and expects to* find an exception frame at that address, formats and prints* it.* regs address-expression* Remarks:* Not done yet. |
kdb_per_cpu | kdb_per_cpu - This function implements the 'per_cpu' command. |
kdb_bt | |
kdb_bp | kdb_bp* Handle the bp commands |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |