First, I will explain what all these values that you see, like CD, DD, and so forth, mean.

Value Name Description
0xCD : [Clean Memory] Allocated memory via malloc or new but never written by the application.
0xDD : [Dead Memory] Memory that has been released with delete or free. It is used to detect writing through dangling pointers.
0xFD : [Fence Memory] Also known as "no mans land." This is used to wrap the allocated memory (like surrounding it with fences) and is used to detect indexing arrays out of bounds.
0xAB : [Allocated Block?] Memory allocated by LocalAlloc().
0xBAADF00D : [Bad Food] Memory allocated by LocalAlloc() with LMEM_FIXED, but not yet written to.
0xCC : When the code is compiled with the /GZ option, uninitialized variables are automatically assigned to this value (at byte level).

If you take a look at DBGHEAP.C, you can see how some of these values are defined:

static unsigned char _bNoMansLandFill = 0xFD;   /* fill no-man's land with this */
static unsigned char _bDeadLandFill   = 0xDD;   /* fill free objects with this */
static unsigned char _bCleanLandFill  = 0xCD;   /* fill new objects with this */

댓글 0

파일 첨부

여기에 파일을 끌어 놓거나 파일 첨부 버튼을 클릭하세요.

파일 크기 제한 : 0MB (허용 확장자 : *.*)

0개 첨부 됨 ( / )
 
목록
번호 제목 글쓴이 날짜 조회 수
24 이펙터 단장 2006.06.14 962
23 R6002 floating point not loaded ??? 단장 2006.05.16 973
22 해외 취업, 미국으로 가는 길 단장 2006.04.26 849
21 부동산 매수 시 고려해야 할 38가지 단장 2006.04.19 882
20 형법총론 핵심정리 단장 2006.04.19 1246
» VC 디버그빌드에서 들어가는 쓰레기값들의 의미 단장 2006.04.15 964
18 일어 12월명 [1] 단장 2006.03.21 933
17 아마추어 암호 설계자에게 주는 충고 by 브루스 슈나이어 단장 2005.12.22 983
16 원핸드 스트링 기본. 마운트. [1] 단장 2005.12.05 1075
15 요요회사간의 베어링 규격 단장 2005.12.05 1084
14 니콜라 테슬라 단장 2005.11.26 1168
13 비싼 카메라 이야기 단장 2005.11.21 1000
12 귤화위지의 고사 단장 2005.10.03 924
11 오자서 평전 단장 2005.09.26 855
10 순수 탄소 - 퓔러렌 단장 2005.07.19 989
9 Direct3D API들의 실행 사이클 단장 2005.07.15 988
8 음식 칼로리표 -_-;;; [3] 단장 2005.07.14 1040
7 CPU 평균온도 단장 2005.07.13 1087
6 AMD CPU 리퍼런스 테이블 단장 2005.07.11 978
5 맥 탄생비화 (1) 단장 2005.07.04 1177