1:代码
1 #include <string.h>
2
3 void test3()
4 {
5 char acBuf[12];
6 memcpy(acBuf, "123456", 10);
7 strcpy(0, "abcdefg");
8 }
9
10 void test2()
11 {
12 test3();
13 }
14
15 void test1()
16 {
17 test2();
18 }
19
20 int main(int argc, char** argv)
21 {
22 test1();
23 return 0;
24 }
2:定位过程