Vallog可以识别的错误及错误提示

来源:互联网 发布:php 多种支付方式 编辑:程序博客网 时间:2024/05/21 01:29
  • 1.malloc/free: in use at exit 内存在退出前没有被释放

  • 2.Invalid write of size 非法写内存:一般为数组越界

  • 3.Invalid read of size 非法读内存:一般为数组越界

  • 4.definitely lost/possibly lost/still reachable in loss record 内存未释放

  • 5.Invalid free() / delete / delete[] 同一指针被多次释放

  • 6.Source and destination overlap 内存重叠(一般是使用strncpy,memcpy引起)

  • 7.Syscall param contains uninitialised byte 调用系统函数时传入了未初始化的变量

  • 8.Conditional jump or move depends on uninitialised value 条件判断时使用了未初始化的变量

  • 9.栈溢出Access not within mapped region/Stack overflow 栈溢出

  • 10.Mismatched free() / delete / delete [] new--delete malloc--free搭配错误

0 0
原创粉丝点击