Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » IAnalysisRule deprecated
IAnalysisRule deprecated [message #121647] Thu, 31 January 2008 23:54
Eclipse UserFriend
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
Previous Topic:C/C++ static analysis - Identifying system functions
Next Topic:Large Resource Support
Goto Forum:
  


Current Time: Mon Nov 11 09:39:45 GMT 2024

Powered by FUDForum. Page generated in 0.02915 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top