今天写了一个小so, 包装了一层分配器, 把它LD_PRELOAD到某个程序后, 就可以跟踪该程序的堆操作了。
麻烦的是, 在初始化这个so的时候也可能调用堆分配器(比如dlsym解析原来分配器的符号的时候), 为此我实现了一个简易分配器。
注意 - 你可以用以下 HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
昵称
邮箱
网址
Δ
本文链接:https://twd2.me/archives/11677
距MICRO 2024反驳还有50天3时10分31秒(即4331431秒)
距MICRO 2024通知还有84天3时10分31秒(即7269031秒)
发表评论