Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mm walk问题 #46

Open
xqh199203 opened this issue Mar 8, 2024 · 1 comment
Open

mm walk问题 #46

xqh199203 opened this issue Mar 8, 2024 · 1 comment

Comments

@xqh199203
Copy link

image
我用工具查证堆外内存毛刺,对比两次mm map的结果发现了两块毛刺结束后消失的较大内存块,但是想要用mm walk进一步分析内存里的内容和引用时结果却出现了问题
image
used和freed的内存都是0,内存块的长度也不太对

@zhaolei0505
Copy link
Contributor

mm walk 被设计来遍历 ptmalloc 的 c++ heap 数据段, 一般位于 load 4. 这个区段有可能不是 ptmalloc 的数据, 所以无法解析遍历.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants