huge.c

来自「这个是LINUX下的GDB调度工具的源码」· C语言 代码 · 共 20 行

C
20
字号
/* * Test GDB's ability to read a very large data object from target memory. */#include <string.h>/* A value that will produce a target data object large enough to   crash GDB.  0x200000 is big enough on GNU/Linux, other systems may   need a larger number.  */#define CRASH_GDB 0x200000static int a[CRASH_GDB], b[CRASH_GDB];main(){  memcpy (a, b, sizeof (a));  return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?