摘要: 0x01:简介 在堆中的内存申请和释放中,为了减少使用系统调用函数对内存操作,malloc_state(分配区)结构中使用了fastbinsY数组和bins数组。当chunk被free后,bins链会将这些free chunk组织起来。当下次malloc时,会先对bins链中的free chunk进 阅读全文
posted @ 2022-03-16 19:01 tolele 阅读(554) 评论(0) 推荐(0)