-
Notifications
You must be signed in to change notification settings - Fork 0
yboren/c_call_visualize
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
把instrument.c加进编译依赖,这样其中的函数可以在main函数前打开文件,main后关闭文件,在每个函数调用的时候记录函数地址,入口用E开头,出口用X开头,记录在trace.txt中,然后运行一下程序生成trace.txt,然后用pvtrace跑一下生成的程序,这样生成了一个dot文件,再画成图就可以看到调用关系了
About
use graphviz to generate a picture of c function's calls
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published