IAnalysisRule deprecated [message #121647] |
Thu, 31 January 2008 23:54 |
Eclipse User |
|
|
|
Originally posted by: panas2.llnl.gov
Hi,
I was trying out the CDT tptp example to create my own C++ bug detector,
cf.
http://www.eclipse.org/tptp/home/documents/process/developme nt/static_analysis/TPTP_static_analysis_tutorial_part3.html
I noticed that some parts in the tutorial are deprecated, like
IAnalysisRule, therefore the following for generateResultsForASTNode is
not possible anymore
rule.addHistoryResultSet( historyId, result );
instead I tried rule.addHistoryResultSet(historyId); with
AbstractAnalysisElement.
However, I cant see any results in the viewer.
So there are several questions here.
1) Is the source code for CodeReviewResource available somewhere, so I can
see how this is done in tptp?
2) I was able to use the Java source code analysis coming with tptp, but
when
I tried to use the C++ one from CDT (C/C++ Code Review Provider), it shows
in the Analyzer tab and it runs, but no results are shown. There is
something buggy here but I cant figure out what.
I would be greatful for some help.
I am running eclipse-SDK-3.3-linux-gtk-x86_64.tar.gz
and org.eclipse.tptp.platform.analysis.codereview.cpp-TPTP-4.4.0 .3.zip
as well as any updates that I found through the updater, especially for
tptp.
Tom
|
|
|
Powered by
FUDForum. Page generated in 0.02915 seconds