c++ how to use gcc options --wrap=symbol in class method

前端 未结 0 1804
悲哀的现实
悲哀的现实 2021-01-18 13:51

this is a simple example,this can help me print malloc params value

void *__wrap_malloc(size_t size)
{
    printf("My malloc function!\\n");
    ret         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题