Skip to content

post/linux-c-program-replace-glibc-memory-function-introduce #122

@utterances-bot

Description

@utterances-bot

替换 glibc malloc

在进行系统优化、内存泄漏测试时,经常需要对 glibc 的一些 API 进行替换,例如内存管理的接口。 如果代码量很大,或者使用了三方的静态库时,此时就无法直接替换相关的函数,例如 malloc() realloc() calloc() 等,需要直接替换掉系统的相关函数。这里简单介绍几

https://gohalo.me/post/linux-c-program-replace-glibc-memory-function-introduce.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions