摘要:
``` #include #include #include #include #include #include using namespace boost; using namespace boost::multi_index; using namespace std; struct Employee{ int id; string name; int age; Employee():id(0 阅读全文
posted @ 2019-12-04 11:14
sfdevs
阅读(290)
评论(0)
推荐(0)
摘要:
最近学习内存分布,通过gdb调试发现一些问题,栈空间变量地址应该是从高往低分布的,但是调试发现地址虽然是从高往低分布,但是变量地址的顺序是乱的,请教同事他说可能是gcc/g++默认启用了堆栈保护,关于堆栈保护可以查看这篇文章 默认编译 关闭堆栈保护编译 阅读全文
posted @ 2019-12-04 11:04
sfdevs
阅读(525)
评论(0)
推荐(0)

浙公网安备 33010602011771号