基于ctfwiki中Tcache attack的一篇博客
本文目的:在阅读 wiki 中的 Tcache attack 中,发现了不少模糊不清的定义和表述,于是写了这篇博客,若有问题请联系本人邮箱,感谢ing。 1. Tcache overview在 tcache 中新增了两个结构体,分别是 tcache_entry 和 tcache_perthread_struct: typedef struct tcache_entry{ struct tcache_entry *next;} tcache_entry;typedef struct tcache_perthread_struct{ char counts[TCACHE_MAX_BINS]; tcache_entry *entries[TCACHE_MAX_BINS];} tcache_perthread_struct;static __thread tcache_perthread_struct *tcache = NULL; tcache_entry:Tcache 链表中的一个空闲内存块(chunk)。tcache_perthread...
欢迎来到 Autyui 的博客
博客定位 这里主要记录我的学习笔记,包括: 1. 二进制安全 - PWN相关技术 2. 算法学习 - 算法设计与实现 3. 技术分享 - 工具使用和心得 技术选型 - 博客框架:Hexo - 主题:Butterfly - 部署:GitHub Pages - 域名:autyui.github.io 未来计划 - 分享CTF比赛中的收获 - 记录算法学习路径 期待在这里与你交流技术,共同进步! 欢迎来到我的技术博客! 路漫漫其修远兮,吾将上下而求索。
