是否有列表中使用全局变量的工具和输出由C函数? [英] Is there a tool to list global variables used and output by a C function?

查看:155
本文介绍了是否有列表中使用全局变量的工具和输出由C函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使通过的功能的功能和输出所消耗的全局变量/宏的列表。例如,对于

I want to make a list of global variables/macros consumed by a function and output by the function. For example, for:

void myfn(void) {
  out1 = in + 1;
  out2 = 2;
}

..工具将列出的输入为'',输出为OUT1和OUT2。

..the tool would list the inputs as 'in' and the outputs as 'out1' and 'out2'.

有谁知道这样一个工具?

Does anyone know of such a tool?

推荐答案

了解了C / C ++( HTTP ://www.scitools.com/products/understand/

Understand for C/C++ (http://www.scitools.com/products/understand/)

这篇关于是否有列表中使用全局变量的工具和输出由C函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆