mirror of
https://github.com/svnscha/mcp-windbg.git
synced 2026-10-18 13:41:41 +08:00
7523a38d23
* Prepare demo crashes to explore and introduce copilot-instructions.md. * Demo on analyzing structs * Comitting recent changes.
11 lines
150 B
C++
11 lines
150 B
C++
// heap-buffer-overflow.cpp
|
|
#include <cstring>
|
|
|
|
int main()
|
|
{
|
|
char *buf = new char[8];
|
|
memset(buf, 'A', 16);
|
|
delete[] buf;
|
|
return 0;
|
|
}
|