Open Access

表3

空指针引用故障类型划分信息表

产生条件 故障类型 编号
指针变量赋空 一级指针定义时赋空 F14
二级指针定义时赋空 F15
一级指针调用时赋空 F16
二级指针调用时赋空 F17
复杂类型指针赋空 F18
指针数组赋空 F19
自定义函数的返回值为空 F20
函数参数赋空 F21
库函数char*strchr(const char*str, int c)赋值指针 F22
库函数char*strtok(char*str, const char*delim)赋值指针 F23
内存分配函数malloc赋值指针 F24
内存分配函数rcalloc赋值指针 F25

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.