heaptrace:跟踪 malloc、realloc 和 free 调用

时间:2021-06-01 00:19:51
【文件属性】:
文件名称:heaptrace:跟踪 malloc、realloc 和 free 调用
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-01 00:19:51
C 堆跟踪 跟踪对 malloc、realloc 和 free 的调用 用法 可以像这样使用LD_PRELOAD加载共享对象 LD_PRELOAD=heap_trace.so ./executable 例子 heaptrace 将输出有关 malloc、realloc 和 free 调用的信息 父函数的地址或已解析符号 正在进行的调用包括参数 调用的返回值 % LD_PRELOAD=heap_trace.so ./nc 0x7f2287787492: malloc(5) = 0xec4010 0x7f228778232e: free(0xec4010) ... 0x7f22877879f0: free(0xec6360) 0x7f2287785aa7: free(0xec4f00) nc: you must specify the address/port couple of the remo
【文件预览】:
heaptrace-master
----README.rst(728B)
----heap_trace.c(2KB)
----Makefile(320B)

网友评论