English 中文(简体)
来源代码分析工具? [闭门]
原标题:Tool for source code analysis? [closed]

问我们 重开或找图书、工具、软件图书馆、辅导或其他场外资源的问题,在Stack Overflow,因为它们往往吸引有意见的答复和垃圾邮件。 相反,描述这一问题,以及迄今为止为解决这一问题所做的工作。

Closed 8 years ago.

C和C++的源代码分析和勘探工具似乎非常缺乏。

我是否可以利用任何手段收集关于C和/或C++来源档案的信息? c 镜子确实是我需要的一部分,Doxygen更接近。

At a minimum list of all function, callers, callees, variable references etc. Perhaps Doxygen s xml output would work.

为此,最好可以忽略或忽略一半,但我尚未找到这样做的方便办法。

任何建议?

问题回答

部族静态分析器是部族前线的一部分,但我不知道它如何为C/C++工作。 这些努力似乎大多面向目标C。

http://clang-analyzer.llvm.org/

Doxygen is well for calls graphs, You ll 我想安装和利用doxywizard,以选择“呼唤”图表,用图表在图表部分(CALL_GRAPH and CALLER_GRAPH in the expert Mode Dot section)中。

http://www.campwoodsw.com/sourcemonitor.html 有助于对法典进行更多的统计分析,并免费:

Try Klocwork。 每一条详细内容都可能需要C/C++。 来源代码加起来要多得多。





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签