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개 첨부 됨 ( / )
 
목록
번호 제목 글쓴이 날짜 조회 수
64 문길 설치법 단장 2017.04.19 179
63 디카 이미지 슬라이드필름처럼 보정하기 file 단장 2014.02.13 241
62 비디오 카드의 정의 단장 2013.11.30 269
61 진 여신전생 스트레인지 저니 에디터 코드 단장 2015.06.18 369
60 VC 2012이후에서 릴리즈 빌드 스택변수들 디버깅하기 file 단장 2014.03.05 401
59 마포에서 AF되는 포서드용 렌즈들 단장 2014.02.13 436
58 빠른 1/sqrt(n) 계산방법 단장 2014.03.05 549
57 해외 취업, 미국으로 가는 길 단장 2006.04.26 849
56 플래시 메모리 쉽게 끝내기 (1) 단장 2005.07.04 855
55 오자서 평전 단장 2005.09.26 855
54 파워맥에 들어가는 배터리 단장 2005.06.28 864
53 부동산 매수 시 고려해야 할 38가지 단장 2006.04.19 882
52 이해의 선물 단장 2007.03.02 909
51 No Silver Bullet 단장 2007.01.04 911
50 귤화위지의 고사 단장 2005.10.03 924
49 일어 12월명 [1] 단장 2006.03.21 933
48 유명 다이아몬드들 단장 2007.01.31 960
47 NOR-플래시 메모리 제어 (2) 단장 2005.07.04 961
46 이펙터 단장 2006.06.14 962
» VC 디버그빌드에서 들어가는 쓰레기값들의 의미 단장 2006.04.15 964