Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Codan develoepement, new checker

Hi,
In this link: https://wiki.eclipse.org/CDT/designs/StaticAnalysis , in the create checker chapter I don't understand the following two points:
"-create an extension point for org.eclipse.cdt.codan.core.checkers. Specify one or more problem that your checker can detect with name, id, default severity and enablement"
"- create a class in selected plugin which extends one of the AbstractChecker classes, such as AbstractIndexAstChecker, see examples in org.eclipse.cdt.codan.internal.checkers"
I think that to create a simple syntax checker I should add a checker and a problem under org.eclipse.codan.core.checkers (this where it is possible to add id, severity etc...). I 'm not sure how creating an extension point would help me.
Would you please write me the before mentioned points in more detail?
Thank you very much,
Viktor

Sadik Özoguz <soezoguz@xxxxxxxxxxx> ezt írta (időpont: 2019. szept. 30., H, 9:42):

Hi Viktor,

This page explains how to create checkers by using the extension point "org.eclipse.cdt.codan.core.checkers":
https://wiki.eclipse.org/CDT/designs/StaticAnalysis
I think it's a good starting point.

-Sadik

On 30/09/2019 09.34, Viktor Csoma wrote:
Hi all,
I'm doing my final year project, in which I would like to implement/integrate into Codan my own new code checkers, for example a code syntax rule checker.
 I am not familiar with the Codan structure / developement, i.e., how to add a new problem and checker option.
Anyone can help me with that? A link to a useful guide or just a list on how to start this at all would be great.
Thank you very much in advance,
Viktor

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev
-- 
Sadik Özoguz
Verified Systems International GmbH
Geschäftsführerin Dr.-Ing. Cornelia Zahlten
HR B 18341 Amtsgericht Bremen
Am Fallturm 1
28359 Bremen, Germany
mail: soezoguz@xxxxxxxxxxx
tel:   +49 421 572 04-286
fax:   +49 421 572 04-22
http://www.verified.de
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top