摘要: 1. 测试程序 dumpTest.cpp #include <string> int main(){ int *ptr = NULL; *ptr = 10; return 0; } 2. 编译生成执行程序 程序要能被调试要加 -g gcc -g dumpTest.cpp -o dumpTest 3. 阅读全文
posted @ 2022-08-12 09:52 残月影歌 阅读(229) 评论(0) 推荐(0) 编辑