how to trace function call in C?

后端 未结 8 1722
遇见更好的自我
遇见更好的自我 2020-12-02 13:45

Without modifying the source code, how can i trace which functions are called and with what parameters, when some function(say func100 in the following example) is in

8条回答
  •  Happy的楠姐
    2020-12-02 14:15

    If you use dynamic modules you can get this info with the command ltrace. You can even specify the watched library with the -l flag

提交回复
热议问题