Vallog可以识别的错误及错误提示
生活随笔
收集整理的這篇文章主要介紹了
Vallog可以识别的错误及错误提示
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
-
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搭配錯誤
總結
以上是生活随笔為你收集整理的Vallog可以识别的错误及错误提示的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Valgrind 安装与使用
- 下一篇: git 配色方法