随笔分类 -  musl pwn

摘要:1.2.2 musl pwn 几个结构 __malloc_context(与glibc中的main_arena类似) struct malloc_context { uint64_t secret; #ifndef PAGESIZE size_t pagesize; #endif int init_ 阅读全文
posted @ 2022-10-18 07:55 狒猩橙 阅读(209) 评论(0) 推荐(1)
摘要:1.1.24 musl pwn 关键源码 static void unbin(struct chunk *c, int i) { if (c->prev == c->next) // 若 bin 只有一个 chunk,将 bin 设为空 bin a_and_64(&mal.binmap, ~(1UL 阅读全文
posted @ 2022-05-14 10:40 狒猩橙 阅读(284) 评论(1) 推荐(1)