一、紅色嘆號提示
1、 ABR: Array Bounds Read
數組越界讀(只檢測動態內存分配的數組,對Global、Local、Static的數組無法檢測)。
2、 ABW: Array Bounds Write
數組越界寫(只檢測動態內存分配的數組,對Global、Local、Static的數組無法檢
3、 ABWL: Late Detect Array Bounds Write (An ABWL message indicates that the program wrote a value before the beginning or after the end of an allocated block of memory)
4、 BSR: Beyond Stack Read
函數可能讀了一個當前堆棧之外的指針。例如在寫變量值的時候程序出現了異常,那么讀此變量時,就會發生BSR錯誤。(不適用于堆棧內的本地數組)
5、 BSW: Beyond Stack Write
函數可能寫了一個當前堆棧之外的指針。(不適用于堆棧內的本地數組)
6、 EXU: Unhandled Exception
未經處理的異常
7、 FFM: Freeing Freed Memory
正在釋放已經釋放過的內存。
8、 FIM: Freeing Invalid Memory
試圖釋放未分配的、無效的內存。
9、 FMM: Freeing Mismatched Memory
釋放不匹配的內存,用不正確的API函數釋放某類內存。
10、FMR: Free Memory Read
讀取已經釋放或者未經分配的內存內容。
11、 FMW: Free Memory Write
對已經釋放或者未經分配的內存做寫入操作。
12、 FMWL: Late Detect Free Memory Write
13、IPR: Invalid Pointer Read
程序正在讀取一個無效的,不可以設定地址的內存區域。
14、IPW: Invalid Pointer Write
程序正在對一個無效的,不可以設定地址的內存區域進行寫操作。
red zone
For error detection runs, the bytes that are placed at the beginning and end of each allocated block of memory in a program at run time. The red zone is used to detect Array Bounds Read (ABR), Array Bounds Write (ABW), and Late Detect Array Bounds Write (ABWL) errors.
15、NPR: Null Pointer Read
空指針讀。
16、NPW: Null Pointer Write
空指針寫。
文章來源于領測軟件測試網 http://www.kjueaiud.com/