Peter
2007-08-14 17:40:02 UTC
I'd like to use AppVerifier to find overrun of alocated memory block on the
heap.
I created simple application with these code:
main(...)
{
char* m=malloc(16);
memset(m,0,17);
}
I have set in AppVerifier test: Basic->Heaps. In Basic->Heap->Properties I
have deafult values. I run application under VC++ debugger, I also tried
WinDbg.
Why AppVerifier does not detect memory corruption ?
Peter
heap.
I created simple application with these code:
main(...)
{
char* m=malloc(16);
memset(m,0,17);
}
I have set in AppVerifier test: Basic->Heaps. In Basic->Heap->Properties I
have deafult values. I run application under VC++ debugger, I also tried
WinDbg.
Why AppVerifier does not detect memory corruption ?
Peter